Tuesday, June 1, 2010

[android-developers] Geting Activity from package


Hi All

I want to get activity from a package

like 
                
          final PackageManager packageManager = getPackageManager();
        Intent intent = packageManager.getLaunchIntentForPackage("com.android.alarmclock"); 

But infact i want the activity in which i send the time and that will set the alarm
pleae help me

thanks
--
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murtaza@pucit.edu.pk

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment