Geting Activity from package

by Ali Murtaza » Wed, 02 Jun 2010 02:08:06 GMT


Sponsored Links
 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.murt...@pucit.edu.pk

--



Other Threads

1. Activity Analysis

For what it is worth, I have an analysis of the Activity life cycle at
http://sites.google.com/site/mysticlakesoftware/android-surfaceview-template
which includes some skeleton code for an application. I know there are
a lot of other sites that present this information but I may have a
slightly different approach some might find interesting. This will be
an ongoing effort to present Android information on my part.
--~--~---------~--~----~------------~-------~--~----~

2. How to know where a HorizontalScrollView is flinted?

Hello folks,

Could somebody teach me how to get current left x-position relative to
a HorizontalScrollView view after a Flint event is processing by
HorizontalScrollView's factory onFlint handler?

There seems to me no such API in current SDK. Am I correct?

Thank you!!
--~--~---------~--~----~------------~-------~--~----~

3. Documentation inconsistency in Service.onBind() intent extras availability

4. XML Layout Language

5. Displaying Web Content Using Java Android Application

6. Problem with Convert Project in Eclipse Plugin

7. Port Android to an M-88 Miphone