[android-beginners] Why My application could play http but not rtsp?

2009-08-27 Thread yjshi
I wrote a application .It could playback the internet video and audio , if I give it a address begin with http://.But when I input the address that is beginning with the rtsp://,It could not play. Log: I/ActivityManager( 1074): Process com.android.voicedialer (pid 2152) has died.

[android-beginners] Re: startActivity() crash...

2009-08-27 Thread Tikoze
Roman, Thanks for looking into this issue. I spoke with another developer who has published a similar app on the market and was able to come up with a workaround for the problem. Is the solution you described specific to the calendar activity or can it be used in general? e.g. Can I use

[android-beginners] Stop background of ScrollView from Scaling?

2009-08-27 Thread Croccy22
Hi All, Not sure if I am doing something wrong here but here goes anyway: I have an application where most of the XML Views are Linear Layouts. With these when the Virtual Keyboard comes on screen it simply pushes the screen upwards to make space for the keyboard. This is fine and what I want

[android-beginners] Native database

2009-08-27 Thread eaindra nilar
How do I access native database on android?I want to take web history on my android mobile. It related on content provider. But I don' t know how to use it ? pls help me. thank ni --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-beginners] Re: why I can't use movieview to play the movie came from the internet?

2009-08-27 Thread yjshi
I set a path in the VideoViewDemo. code public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.videoview); mVideoView = (VideoView) findViewById(R.id.surface_view); path=rtsp://125.76.233.38/h263.3gp;

[android-beginners] Re: A Google Maps App

2009-08-27 Thread Maxood
I have achieved to have both satellite and street view in my app. I want to have live photographic images to be displayed in my app as well. I am talking about images shown on the page maps.google.com once you drop on a particular location. Please go maps.google.com and use it and tell me how can

[android-beginners] Android-Beginners Query : How to get the full path of the files under res folder of an Android App?

2009-08-27 Thread Latha Shivanna
Hii All, In my application, I have some image files under res\drawable folder. My problems are in getting their full pathname. Can anybody please answer my following queries? 1. Do these files go as a part of apk? 2. If so where do they actually stay on device? Is it

[android-beginners] Get activity current view

2009-08-27 Thread Mina Shokry
Hello all, I am wondering is there a way to ask an activity or dialog for its currently displayed view? I tried getCurrentFocus() but it returns null! any clues? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-beginners] Re: 3 icons for one app

2009-08-27 Thread Tikoze
I very well may be wrong (I am a very new android developer and haven't done something like this yet), but have you tried removing the category android:name=android.intent.category.LAUNCHER / line from the activities you don't want icons for? I think I read somewhere that the recipe for getting

[android-beginners] Camera Button Broadcast Receiver Problem...

2009-08-27 Thread Tikoze
I am trying to launch my app when the camera button is pressed. However, when I do this the camera app is launched first and then my app is launched. How do I get an activity choosing dialog to prevent this from happening? Aside from having the camera permission, this is what I have in my

[android-beginners] Re: startActivity() crash...

2009-08-27 Thread Tikoze
For anyone out there wondering what my workaround was, what you have to do is this (courtesy of the developer of Task Manager): - Get a list of the ActivityManager.RunningTaskInfo and ActivityManager.RecentTaskInfo objects. - ActivityManager has a baseIntent object - Both classes have an id that

[android-beginners] Re: 3 icons for one app

2009-08-27 Thread Liviu Ungureanu
2009/8/27 Tikoze janderson@gmail.com I very well may be wrong (I am a very new android developer and haven't done something like this yet), but have you tried removing the category android:name=android.intent.category.LAUNCHER / line from the activities you don't want icons for? I

[android-beginners] How to consume objects from an external package

2009-08-27 Thread Menny
Hi, I develop an on screen keyboard. This keyboard support several layouts (english, hebrew, russian, azerty, etc), and support suggestions for some of them. As you can understand, if I want to continue to extend the support to more and more languages, I'll end up with a huge APK file. So I

[android-beginners] Re: 3 icons for one app

2009-08-27 Thread tinyang
That did the trick! Thanks so much! :D _ From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Liviu Ungureanu Sent: Thursday, August 27, 2009 9:11 AM To: android-beginners@googlegroups.com Subject: [android-beginners] Re: 3 icons for one app

[android-beginners] Re: How to consume objects from an external package

2009-08-27 Thread Menny
OK. So I'll create two packages, one is the main application, and the second is the plugin. I sign both of them with the same key. And after I do that, how do I load a type in the first application from the second package? Menny On Aug 27, 6:12 pm, Donn Felker donnfel...@gmail.com wrote: Yes,

[android-beginners] Re: How to consume objects from an external package

2009-08-27 Thread Donn Felker
Yes, make sure you are signing your applications with the same key. See this document for more info: http://developer.android.com/guide/publishing/app-signing.html On Thu, Aug 27, 2009 at 9:53 AM, Menny menn...@gmail.com wrote: Hi, I develop an on screen keyboard. This keyboard support

[android-beginners] Re: 3 icons for one app

2009-08-27 Thread tinyang
Thanks for your reply, this worked! -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Tikoze Sent: Thursday, August 27, 2009 8:13 AM To: Android Beginners Subject: [android-beginners] Re: 3 icons for one app I very

[android-beginners] Installation error: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION

2009-08-27 Thread midtoad
Recently I tried to run my application in the emulator, and got this error: [2009-08-27 07:50:26 - FixedGears] Installation error: INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION [2009-08-27 07:50:26 - FixedGears] Please check logcat output for more details. logcat was rather unhelpful. The only

[android-beginners] Upload picture to my php website

2009-08-27 Thread jbrohan
Hello I can now use the camera to take and store a picture with the Android. The next step is to upload it to a website. Is there an implementation of cURL or an example of how to do this? --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-beginners] Re: Upload picture to my php website

2009-08-27 Thread jbrohan
Than for your reply. But... My goal is to make a system that is extremely easy to use and limited in functionality.. Snap a picture and choose between Save and Cancel. The target population is old, ignorant of computers and websites, and probably has poor vision. The others can use the Camera and

[android-beginners] Re: Publishing Updates for my application

2009-08-27 Thread Georgy
but I have to unpublish then publish the newer version? won't the market take it as if the application has just been released? what will happen to all the ratings and feed backs... that's my only concern. On Aug 27, 12:39 am, Carmen Delessio carmendeles...@gmail.com wrote: I just did a version

[android-beginners] Parsing Namespaced XML with XMLPullParser

2009-08-27 Thread Dave Bordoley
Can anyone point me to a good example of parsing namespaced XML (similar to atom) with and XMLPullParser. Google searching has been somewhat unfruitful so far. thanks, dave --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-beginners] Re: 3 icons for one app

2009-08-27 Thread Liviu Ungureanu
Welcome! Happy coding:) On Aug 27, 2009 6:03 PM, tinyang tiny...@earthlink.net wrote: Thanks for your reply, this worked! -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Tikoze Sent: Thursday, August 27, 2009 8:13...

[android-beginners] Re: Problem with Ecplise android plugin install

2009-08-27 Thread yodaa
Hi, Thanks for your answer. Seems like problem could be Eclipse specific... I tried to add an local atchived site to use Android plugin. 1 ) Downloaded the .zip file from : http://dl-ssl.google.com/android/ADT-0.9.1.zip to my local directory home/username/workspace/android-plugin/ 2 ) In

[android-beginners] Re: Publishing Updates for my application

2009-08-27 Thread Carmen Delessio
No do not unpublish. The market will take care of it. I just like to be sure that the new APK will install properly. My goal was to test the install without having to publish in the market, that is where APKatcher helps. The uninstall on the phone is done command line: tools/adb uninstall

[android-beginners] Re: Android-Beginners Query : How to get the full path of the files under res folder of an Android App?

2009-08-27 Thread Justin Anderson
I may be wrong but I don't think you need the full path of where they are on the device... You should be able to reference them using the R class. On Thu, Aug 27, 2009 at 6:11 AM, Latha Shivanna latha...@gmail.com wrote: Hii All, In my application, I have some image files under res\drawable

[android-beginners] Re: Android-Beginners Query : How to get the full path of the files under res folder of an Android App?

2009-08-27 Thread Israel Ferrer
The images goes into the apk. You have to put the images in the drawable folder from resource and if you want to use it: Drawable image= getResources().getDrawable(R.drawable.id); or Bitmap b = BitmapFactory.decodeResource(getResources(),R.drawable.id); El 27/08/2009, a las 23:02, Justin

[android-beginners] Re: problem with service

2009-08-27 Thread Justin Anderson
Some source code might help... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Aug 26, 2009 at 4:56

[android-beginners] Re: Upload picture to my php website

2009-08-27 Thread tinyang
Some photo sharing sites can accept picture uploads via email. But I would also think you could just handle this through your website. Maybe make a mobile web page that you could open in a webkit window on the phone, then select the file/picture and upload it through the webpage. -Original

[android-beginners] ZipFile reading error

2009-08-27 Thread Harshit Mapara
Hi Guys, I am trying to read content of a zip file(that is on sd card). I want to read xml file from that zip file. Here is my code: public String getGameMetaData(String pathToFile) throws IOException { zipFile = new ZipFile(pathToFile); packageData = new

[android-beginners] Re: ListView item stay selected

2009-08-27 Thread Justin Anderson
The preferred way is to use a long-press to bring up a context menu. The menu populated by pressing the menu button should be used for things that do not require a selection. -- There are only 10 types of people in the world...

[android-beginners] Source not found

2009-08-27 Thread tinyang
Hello. When I click on a button in my app, I get a Class file editor/source not found message. I'm not sure why this is a problem because I have other buttons that do the same thing (start an activity) and they do not have this problem. If anyone has suggestions, it would be much appreciated!

[android-beginners] Re: startActivity() crash...

2009-08-27 Thread Roman ( T-Mobile USA)
Justin, For being able to start up a system application you need to find out the package name and the activity name. In case of Calendar app it is package=com.android.calendar activity android:name=LaunchActivity which results in the intent calendarIntent.setClassName