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. Phone Call Simulator App

Suppose I wanted to design a cheap little app which lets you schedule
fake phone calls to yourself, along similar lines as this app:
http://magictap.net/fakecalls/

I'd imagine using an AlarmManager would be suitable for this purpose,
the question is how to generate a fake incoming call screen, complete
with the slide to answer call option. My initial approach, the
AlarmManager should launch a PendingIntent. However, I'm not sure
where to go from here, in particular to get an Activity started which
displays the fake call screen.

-- 

2. Edit contact android < 2.x

Hi,

I know it is possible to add contact via Intent and putExtra with all
infromation you want to add.
Is it possible to update contact with new information by calling Intent with
putExtra with new info?

tnx in advance.

-- 
God is Real, unless declared Integer.
J. Allan Toogood, FORTRAN programmer

-- 

3. Customize a Android distro boot and laucher

4. I/O streams in android

5. Thread handling problem in Test Case

6. Contacts helper class or simple library?

7. A Mistake in Dev Guide