Contact
December 29th, 2008
If you are looking for Android development and technology partners or if you have some random questions related to Android or other mobile development, our team will be pleased to help you out.
Feel free to drop us a line on info at androidcompetencycenter dot com.
Hi,
I am creating an application in android. I have already done this application using J2ME.
This application completely uses List Views for every screen.
Basically i am parsing XML for every List View.
But i do not know how to go from one screen to another when i click on different items on the List.
Please advise. I am stuck for nearly a week now.
@Vijay
Hi Vijay,
You have to use Intent and the function onListItemClick.
Suppose you want to transfer the control to class SecondActivity from Class FirstActivity
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
….
Intent i = new Intent(this,SecondActivity.class);
//SecondActivity is the name of the next screen you want to //display upon the click on this list
startActivity(i);
….
}
For more on intend see docs folder in Android sdk installation
\docs
OR
http://code.google.com/android/documentation.html
/docs/reference/android/content/Intent.html
and also see this
/docs/kb/commontasks.html#opennewscreen
OR
http://code.google.com/android/kb/commontasks.html#opennewscreen
Regards,
Zeeshan Khan
Hi there,
I’m happy to find your blog!! It must be helpful for me!
I downloaded android source from “http://source.android.com/download/”.
I found some tips in “http://blog.michael-forster.de/2008/12/view-android-source-code-in-eclipse.html” to finish it.
So I can see android’s class files when I click on class name with CTRL key.
Now I’d like to see the android native application source and debug them.
I wonder if it’s possible with Eclipse on window OS..
Thanks..!!
I am interested in the complete list of what you can do on the Android platform. I.e.
1) utilize location based gps
Hi ive looked at your alarm manager tutorial , its very helpful but i want to know how you would set off an alarm for a certain time for example 10am on Tuesday , is there a way to enter the date and time?
Hi all,
I built the android source and sdk on ubuntu machine. Now when i launch the emulator i get emulator screen having mobile screen blank.
when i try to run adb commands keeping emulator running i get “device offline” error. Can anyone please suggest me the solution?
thanks in advance
Anu