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. How can I get the seconds since 1.1.1970 as a long in Android?

System.currentTimeMillis() gets you the number of milliseconds sinc
1/1/1970 00:00:00.000 UTC.




-- 

2. WiFi Driver error?

Hello to everybody,

I'm testing an app that handles automatically a connection to WiFi
using WiFi Manager on a Motorola Milestone (Android OS 2.0).

I happens to me a lot of times to see this error:

ERROR: - wpa_driver_tista_send - error sending Wext private IOCTL to
STA driver (ioctl_cmd = 8000306, res = -1, errno = 95).

Also, is there anyway to detect if the WiFiManager is scanning
networks in order to not start a new scanning? May be this problem
appears because on startScan is launched before anotherone ends.

Thanks

Ezequiel

-- 

3. Android used in an identity theft

4. di undang lg ma IsatDroid

5. How can I get the seconds since 1.1.1970 as a long in Android?

6. PlayDriver

7. vm out-of-memory problem