How to reboot Android

by Kriston » Wed, 04 Mar 2009 11:52:27 GMT


Sponsored Links
 Hi all,

Instead of turning off the machine, how to reboot Android in the x86
target machine ?
Is there any button or settings that make us reboot Android ?

Thanks :-)
--~--~---------~--~----~------------~-------~--~----~

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



How to reboot Android

by Kagasan » Sat, 07 Mar 2009 06:08:40 GMT


 I dont know about your build, but you might be able to hit alt-right
arrow and that will take you to a CLI, type "reboot" and hit enter.



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

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


Sponsored Links


How to reboot Android

by Kriston Fang » Mon, 09 Mar 2009 03:47:22 GMT


 This works, thanks Kagasan :-)

2009/3/7 Kagasan <senorz...@gmail.com>



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

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



Other Threads

1. Issue Determining the Location

My app needs to determine the current location.  I'd like the best
location that is available but can live with a coarse location.  I
configured the app to request ACCESS_COARSE_LOCATION permission.
Everything seems to work fine for me on my HTC EVO but a Droid 2 user
says that the app cannot determine location even though Google is able
to.  That user has his GPS activated and, since it's a phone, his
network is active as well.

This is the code I am using for determining location:

private Location getLocation() {
  String provider = "fake";
  Location l = new Location(provider);
  LocationManager lm = (LocationManager) context
        .getSystemService(Context.LOCATION_SERVICE);
  if (lm == null) {
    Log.e("AndroidGeoLocation", "No location manager?!?");
    locationWasDetermined = false;
    return l;
  }
  List<String> providers = lm.getProviders(true);
  if (null == providers) {
    Log.e("AndroidGeoLocation", "No providers?!?");
    locationWasDetermined = false;
    return l;
  }
  /*
   * Loop over the array backwards, and if you get an accurate location,then 
break
   * out the loop
   */
  for (int i = providers.size() - 1; i >= 0; i--) {
    l = lm.getLastKnownLocation(providers.get(i));
    if (l != null) {
      break;
    }
  }

  if (l != null)
    locationWasDetermined = true;
  else
    Log.e("AndroidGeoLocation", "No accurate location?!?");
  return l;
}

Am I doing something wrong here?  Should I be requesting
ACCESS_FINE_LOCATION instead of ACCESS_COARSE_LOCATION?

Thanks.

...Jake


-- 
Jake Colman -- Android Tinkerer

-- 

2. R: Querying SQL Lite Data types Dynamically ???

> Has anyone ever inspected the column type of a field

SQLite uses "dynamic typing" (http://www.sqlite.org/datatype3.html), so I
*guess* you're right there is no such a method in Android: it would be more
or less useless because the column type is probably not even stored into the
db itself...

You may eventually use the typeof() SQLite3 function in order to discover
the most compact type of a SQL expression.

Giampaolo

-- 
.

3. Querying SQL Lite Data types Dynamically ???

4. how to make the live wallpaper scrollable?

5. Live wallpaper refresh rate

6. Possible to deserialize java object on Android?

7. Android-Kernel-regarding