How to explicitly launch the system's Home application by code?

by Stoyan Damov » Tue, 10 Mar 2009 21:18:37 GMT


Sponsored Links
 I can't help you with this. Tough luck - I'd assume that when an
intent has alternative intent filters and an intent filter crashes,
the user would be presented with the list of intent filters to retry
the operation. I guess that's not the case or you wouldn't be asking.

Cheers






--~--~---------~--~----~------------~-------~--~----~



How to explicitly launch the system's Home application by code?

by Romain Guy » Wed, 11 Mar 2009 02:41:45 GMT


 on't use the package and class name directly, this will work only for
the current default Home screen. Use an Intent with the CATEGORY_HOME
instead.

On Tue, Mar 10, 2009 at 11:40 AM, MrSnowflake <mrsnowfl...@gmail.com> wrote:



--
Romain Guy
Android framework engineer
romain...@android.com

Note: please don't send private questions to me, as I don't have time
to provide private support. All such questions should be posted on
public forums, where I and others can see and answer them

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


How to explicitly launch the system's Home application by code?

by Dianne Hackborn » Thu, 12 Mar 2009 02:14:37 GMT


 uery the package manager for all home activities, and pick the one that has
the SYSTEM flag set.

On Wed, Mar 11, 2009 at 6:26 AM, MrSnowflake <mrsnowfl...@gmail.com> wrote:



--
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support. All such questions should be posted on public
forums, where I and others can see and answer them.

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Overriding Camera Button takePicture inside App

I am writing an application that starts the camera via the menu...
then it launches the camera preview.

I know I can use my own takePicture Method.... but how do I override
the one being performed by the camera button?



--~--~---------~--~----~------------~-------~--~----~

2. GPS / LocationListener / Location.getSpeed(), m/s or knots?

Hi,

I've been playing around a bit with the sdk and the emulator today,
and have a question about Location.getSpeed()

I made a small app to test getting speed from the gps. It just prints
out the speed as it is received from the gps using a LocationListener
and Location.getSpeed()

The source code is here: http://pastebin.com/f75e6bfd0

To test it I used the "geo nmea XXX" command in the telnet console. I
made a small app that reads a nmea log I created earlier using gpsd
when doing a car trip, prepends "geo nmea " to each line and writes
them to port 5554 on localhost.

The problem is, the speed I get from getSpeed() isn't right, when
converting from m/s to km/h I get almost double the speed I really
did. Using the same nmea log with "gpsfake" and a linux app that uses
gpsd gives me the correct speed.

But if I treat the number I get from Location.getSpeed() as knots
instead of m/s i get the correct speed in km/h. I tried knots, since
many of the nmea sentences that return speed does so in knots.

So to me it seems that Location.GetSpeed actually returns the speed in
knots, not in m/s as is stated in the documentation. Is this correct,
or is there something else wrong? I've only tried this on the
emulator, not on an actual handset, since I don't own any phones that
run Android. So I dont know if a real handset acts differently from
the emulator. I'm using sdk 1.0 r2 on windows and eclipse with the
android plugin.

  --Vegard

--~--~---------~--~----~------------~-------~--~----~

3. Regarding .apk file converting to .java file

4. android gps module ;do not exist the path data/misc/location;

5. Android DevCamp in Amsterdam!

6. Socket node and Session Controller node

7. how to evoke pv logger