[android-beginners] Re: Map API Demo

2010-06-14 Thread Rahul Garg
Thanks saket, I tried it, but still I am unable to show the map. it is showing following error Checkin failed : https://android.clients.google.com/checkin (request #0) org.apache.http.conn.ConnectTimeoutException : Connect to / 72.14.254.100:443 timed out regards Rahul Garg On Jun 14, 10:56 

[android-beginners] Re: Switch between views.

2010-06-14 Thread m0ny3t
which api demo? is this a nice way saying RTFM? at least be kind to give us related link, so we can find out what you mean. On Jun 13, 10:48 pm, sachin ravi sachinravi...@gmail.com wrote: check the api demo for samples On Sun, Jun 13, 2010 at 3:35 PM, Ubuntu Explorer

Re: [android-beginners] Switch between views.

2010-06-14 Thread Steven Maitlall
You should really be using Intents to launch activities, like Justin said. Each of your views would be a separate activity. The OS will handle going back to the previous activity for you, by means of the phone's back button. When a button is clicked that should switch to a different view, launch

[android-beginners] Can a videoview play a video stored on internal storage?

2010-06-14 Thread Sid
I'm trying to provide my users with the ability to use either external or internal storage. I'm displaying both images and videos (of a scientific nature). When storing the media on the SD card, all is fine. But when I store the media internally, only the images will display. No matter what I try

[android-beginners] Re: Bungalow park Bonfire Exclusive located at 200 m. from sea center.

2010-06-14 Thread Philip H.
If you click the 'More options' link on a post, there's the option to 'Report this message'. On Jun 12, 2:04 pm, Kevin Brooks bear35...@gmail.com wrote: This is spam.  Moderator can we block this user? On Sat, Jun 12, 2010 at 12:45 AM, Property Dealer mmur...@commonsware.comwrote:

[android-beginners] Re: ContentProvider to Spinner results in blank, not empty, list

2010-06-14 Thread Kyaw Kyaw Win
Have a look at this code from android developer guide page (http:// developer.android.com/guide/topics/ui/binding.html) SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this, android.R.layout.simple_spinner_item, // Use a template // that

Re: [android-beginners] Switch between views.

2010-06-14 Thread sachin ravi
Hi,, U can have the one activity with 2 views. For that you need to set the new layout (say view 2) using setContentView() function when button 1 is pressed in view 1. When user press the BACK key, handle the same using onKeyDown() and call again setContentView() method with view1 layout. But

Re: [android-beginners] Re: ContentProvider to Spinner results in blank, not empty, list

2010-06-14 Thread Raymond C. Rodgers
I'll give that a try, thanks for the tip! On 6/14/2010 12:39 PM, Kyaw Kyaw Win wrote: Have a look at this code from android developer guide page (http:// developer.android.com/guide/topics/ui/binding.html) SimpleCursorAdapter adapter2 = new SimpleCursorAdapter(this,

[android-beginners] Re: ContentProvider to Spinner results in blank, not empty, list

2010-06-14 Thread Kyaw Kyaw Win
I searched it again on the web. According to this post http:// groups.google.com/group/android-beginners/browse_thread/thread/ 36454669a1e40172, you need to change the line int [] i = {R.id.myspinner}; TO int[] i = new int[] { android.R.id.text1 }; coz android.R.id.text1 is predefined UI

[android-beginners] Animation tutorial

2010-06-14 Thread Ubuntu Explorer
Is there any sample app or tutorial that explains how to do animations in Android. In particular I am interested in doing translate animation. Regards, UE -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your

[android-beginners] Re: Switch between views.

2010-06-14 Thread m0ny3t
Nice replies guyz. Here is my code: Intent intention = new Intent( this, MyView2.class ); intention.putExtra( param1, strings of JSON text ); startActivity( intention ); The question is: 1. Do I did a correct the way calling the other activity? 2.

[android-beginners] Re: Switch between views.

2010-06-14 Thread m0ny3t
Nice replies guyz. Here is my code: Intent intention = new Intent( this, MyView2.class ); intention.putExtra( param1, strings of JSON text ); startActivity( intention ); The question is: 1. Do I did a correct the way calling the other activity? 2.

[android-beginners] Re: Switch between views.

2010-06-14 Thread m0ny3t
Nice replies guyz. Here is my code: Intent intention = new Intent( this, MyView2.class ); intention.putExtra( param1, strings of JSON text ); startActivity( intention ); The question is: 1. Do I did a correct the way calling the other activity? 2.

Re: [android-beginners] Re: Map API Demo

2010-06-14 Thread Saket Srivastav
did you generate your google map api and provided the neccessary permissions in your manifest file? Regards Saket Srivastav On Mon, Jun 14, 2010 at 5:48 AM, Rahul Garg rahul.lnm...@gmail.com wrote: Thanks saket, I tried it, but still I am unable to show the map. it is showing following

[android-beginners] java.lang.ExceptionInInitializererror

2010-06-14 Thread pradeep
Hi, Can any one please help to resolve the above error. Also can any one please clarify whether we can unit test j2me methods I am trying to call J2ME APIs in one of the test methods of Instrumentation TestCase. I have modified the dx source code such that it converts j2me jars to dalvik format