Thread: Menu item
View Single Post
Old 09-14-2009, 08:24 AM   #2 (permalink)
vivartpandey
Thumbs Must Hurt
 
Join Date: Jun 2008
Model: 9000
Carrier: Airtel
Posts: 81
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

just give alternate entry point for menu item using.
ApplicationDescriptor app = ApplicationDescriptor
.currentApplicationDescriptor();
// set the argument so that we know which app we want to have launched
app = new ApplicationDescriptor(app,
new String[] { ARG_LAUNCH_CONTACT_DEMO });

and handle this alternate entry point in main method
__________________
blog.vimviv.com
Offline   Reply With Quote