Onclick of image

Put your problem here if it does not fit any of the other categories.

Onclick of image

Postby NithinG » Wed Feb 27, 2008 8:27 am

hi All,

I got the images on the emulator screen... but the problem is i am not getting how to traverse to next screen.. i mean onclick of that image should go to next screen... can any body help me in this...

Thanks...
NithinG
Developer
Developer
 
Posts: 36
Joined: Wed Feb 27, 2008 6:24 am

Top

Postby plusminus » Wed Feb 27, 2008 10:50 am

Hello NithinG,

traversing to next Activity can also be found using the search function.
I extracted relevant information for you:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.           /* Create intent which will finally start the Main-Activity. */
  2.  
  3.           Intent myStarterIntent = new Intent(context, LaunchOnStartup.class);
  4.  
  5.           /* Send the Intent to the OS. */
  6.  
  7.           startActivity(myStarterIntent);
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby NithinG » Fri Feb 29, 2008 6:00 am

Thanks plusminus.. its working perfectly... :D
NithinG
Developer
Developer
 
Posts: 36
Joined: Wed Feb 27, 2008 6:24 am

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 24 guests