I have seen the code to do factory reset, it uses masterClear method,
but I don't understand how does
it works? Can anybody answer this question?thanks
ICheckinService service =
  71
ICheckinService.Stub.asInterface(ServiceManager.getService
("checkin"));
  72                 if (service != null) {
  73                     try {
  74                         // This RPC should never return
  75                         service.masterClear();
  76                     } catch (android.os.RemoteException e) {
  77                         // Intentionally blank - there's nothing
we can do here
  78                         Log.w("MasterClear", "Unable to invoke
ICheckinService.masterClear()");
  79                     }
  80                 } else {
  81                     Log.w("MasterClear", "Unable to locate
ICheckinService");
  82                 }


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to