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. step through code in remote service

Is there a way to step through code in a remote service?  What I do
now is install the service, then run the app that starts it and use
trace output.  Is there a way to perhaps automatically start the
service upon installation, and have it stop at break points?  Or is
there another method?  thanks
--~--~---------~--~----~------------~-------~--~----~

2. G1 Android Phone May Be Unable to Receive Updates

Benerkah?


=================


Users of the first Android phone, the G1, may be unable to get
significant future operating-system updates because the phone's
internal flash is nearly full.

A Google developer who works on Android said recently that he's unsure
if the G1 will be able to handle further updates.

"As much as I'm hoping that it'll be possible to somehow continue
updating the G1, I can't promise anything," Jean-Baptiste Queru, a
software engineer at Google, wrote on Twitter. "We knew that internal
flash space was going to be very tight on the G1 and we kept the
system partition tight on purpose," he also wrote.

G1 users got the so-called Cupcake update to the operating system
earlier this year. Google is reportedly working on further updates to
the software, including a version known as Donut. It has not published
information beyond the first-quarter update on the Android road map
page.

T-Mobile denies that the G1 will be unable to accept future updates.
"We plan to continue working with Google to introduce future software
updates to the T-Mobile G1. Reports to the contrary are inaccurate,"
it said in a statement.

But some observers wonder if T-Mobile will continue offering certain
updates, like security patches and bug fixes, but not more substantial
updates.

The issue raises questions about application compatibility in the
future. If developers build applications to the latest software
version but the G1 doesn't have that software, the applications may
not work for G1 users.

Queru declined to comment further for this story, and Google did not
respond to a request for comment.


http://tech.yahoo.com/news/pcworld/20090817/tc_pcworld/g1androidphonemaybeunabletoreceiveupdates
--~--~---------~--~----~------------~-------~--~----~

3. G1 Android Phone May Be Unable to Receive Updates

4. How to use requestLocationUpdates to sample GPS based on time only?

5. Experimental Bluetooth Library

6. ListView data binding from XML (REST-RPC request)

7. HTC Hero has multi-touch. SDK support?