Re: [android-developers] bmgr not working?

2013-02-14 Thread Daniel
Hi,

I need help too !!

Thanks
www.neoage.com.br

On Monday, May 24, 2010 4:05:40 PM UTC-3, James Chou wrote:

 I'm trying to test out the new BackupManager class so I've been trying 
 to play around with the sample. For some reason I cannot get the bmgr 
 tool to work with the BackupRestoreActivity sample application 
 included in Android 2.2. What I tried was I started 
 BackupRestoreActivity, changed the inputs and typed in adb -e shell 
 bmgr backup com.example.android.backuprestore: 


 05-24 18:57:47.100: VERBOSE/BRActivity(1107): Checkbox toggled: 
 android.widget.CheckBox@43dce740 
 05-24 18:57:47.149: VERBOSE/BRActivity(1107): NEW STATE: mayo=true 
 tomato=false filling=2130968579 
 05-24 18:57:47.570: VERBOSE/BRActivity(1107): Checkbox toggled: 
 android.widget.CheckBox@43dcf3c0 
 05-24 18:57:47.570: VERBOSE/BRActivity(1107): NEW STATE: mayo=true 
 tomato=true filling=2130968579 
 05-24 18:57:48.451: VERBOSE/BRActivity(1107): New radio item selected: 
 2130968577 
 05-24 18:57:48.460: VERBOSE/BRActivity(1107): NEW STATE: mayo=true 
 tomato=true filling=2130968577 
 05-24 18:57:57.590: DEBUG/AndroidRuntime(1328):  
 AndroidRuntime START  
 05-24 18:57:57.860: DEBUG/AndroidRuntime(1328): --- registering native 
 functions --- 
 05-24 18:57:58.849: DEBUG/AndroidRuntime(1328): Shutting down VM 
 05-24 18:57:58.879: DEBUG/jdwp(1328): adbd disconnected 


 Followed by adb -d shell bmgr run: 

 05-24 18:57:58.889: INFO/AndroidRuntime(1328): NOTE: attach of thread 
 'Binder Thread #3' failed 
 05-24 18:58:04.400: DEBUG/AndroidRuntime(1340):  
 AndroidRuntime START  
 05-24 18:58:04.400: DEBUG/AndroidRuntime(1340): CheckJNI is ON 
 05-24 18:58:04.669: DEBUG/AndroidRuntime(1340): --- registering native 
 functions --- 
 05-24 18:58:05.549: WARN/BackupManagerService(60): Backup pass but 
 e=true p=false 
 05-24 18:58:05.569: DEBUG/AndroidRuntime(1340): Shutting down VM 
 05-24 18:58:05.569: DEBUG/jdwp(1340): adbd disconnected 
 05-24 18:58:05.611: INFO/AndroidRuntime(1340): NOTE: attach of thread 
 'Binder Thread #3' failed 
 05-24 18:58:19.215: DEBUG/SntpClient(60): request time failed: 
 java.net.SocketException: Address family not supported by protocol 


 Then I changed the fillings in the activity again and typed in adb -d 
 shell bmgr restore com.example.android.backuprestore. In the console 
 I see the output: 

 Unable to restore package com.example.android.backuprestore 
 done 

 and in the android logs: 


 05-24 18:58:49.660: VERBOSE/BRActivity(1107): New radio item selected: 
 2130968579 
 05-24 18:58:49.700: VERBOSE/BRActivity(1107): NEW STATE: mayo=true 
 tomato=true filling=2130968579 
 05-24 18:58:53.489: DEBUG/AndroidRuntime(1366):  
 AndroidRuntime START  
 05-24 18:58:53.489: DEBUG/AndroidRuntime(1366): CheckJNI is ON 
 05-24 18:58:53.750: DEBUG/AndroidRuntime(1366): --- registering native 
 functions --- 
 05-24 18:58:54.630: VERBOSE/LocalTransport(60): finishRestore() 
 05-24 18:58:54.671: DEBUG/AndroidRuntime(1366): Shutting down VM 
 05-24 18:58:54.690: DEBUG/jdwp(1366): adbd disconnected 
 05-24 18:58:54.724: INFO/AndroidRuntime(1366): NOTE: attach of thread 
 'Binder Thread #3' failed 

 Is anybody else having the same problem? 


 -- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group. 
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript: 
 To unsubscribe from this group, send email to 
 android-developers+unsubscr...@googlegroups.com javascript: 
 For more options, visit this group at 
 http://groups.google.com/group/android-developers?hl=en

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] bmgr not working?

2010-06-12 Thread Mark Murphy
On 05/24/2010 03:05 PM, James Chou wrote:
 I'm trying to test out the new BackupManager class so I've been trying
 to play around with the sample. For some reason I cannot get the bmgr
 tool to work with the BackupRestoreActivity sample application
 included in Android 2.2.

I have tried writing my own sample, using BackupAgentHelper, and I get
similar symptoms.

In my case, the message when I do bmgr run is:

WARN/BackupManagerService: Backup pass but e=false p=false

Then, I get a failed restore when I try to restore.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.1 Available!

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


[android-developers] bmgr not working?

2010-05-24 Thread James Chou
I'm trying to test out the new BackupManager class so I've been trying
to play around with the sample. For some reason I cannot get the bmgr
tool to work with the BackupRestoreActivity sample application
included in Android 2.2. What I tried was I started
BackupRestoreActivity, changed the inputs and typed in adb -e shell
bmgr backup com.example.android.backuprestore:


05-24 18:57:47.100: VERBOSE/BRActivity(1107): Checkbox toggled:
android.widget.check...@43dce740
05-24 18:57:47.149: VERBOSE/BRActivity(1107): NEW STATE: mayo=true
tomato=false filling=2130968579
05-24 18:57:47.570: VERBOSE/BRActivity(1107): Checkbox toggled:
android.widget.check...@43dcf3c0
05-24 18:57:47.570: VERBOSE/BRActivity(1107): NEW STATE: mayo=true
tomato=true filling=2130968579
05-24 18:57:48.451: VERBOSE/BRActivity(1107): New radio item selected:
2130968577
05-24 18:57:48.460: VERBOSE/BRActivity(1107): NEW STATE: mayo=true
tomato=true filling=2130968577
05-24 18:57:57.590: DEBUG/AndroidRuntime(1328): 
AndroidRuntime START 
05-24 18:57:57.860: DEBUG/AndroidRuntime(1328): --- registering native
functions ---
05-24 18:57:58.849: DEBUG/AndroidRuntime(1328): Shutting down VM
05-24 18:57:58.879: DEBUG/jdwp(1328): adbd disconnected


Followed by adb -d shell bmgr run:

05-24 18:57:58.889: INFO/AndroidRuntime(1328): NOTE: attach of thread
'Binder Thread #3' failed
05-24 18:58:04.400: DEBUG/AndroidRuntime(1340): 
AndroidRuntime START 
05-24 18:58:04.400: DEBUG/AndroidRuntime(1340): CheckJNI is ON
05-24 18:58:04.669: DEBUG/AndroidRuntime(1340): --- registering native
functions ---
05-24 18:58:05.549: WARN/BackupManagerService(60): Backup pass but
e=true p=false
05-24 18:58:05.569: DEBUG/AndroidRuntime(1340): Shutting down VM
05-24 18:58:05.569: DEBUG/jdwp(1340): adbd disconnected
05-24 18:58:05.611: INFO/AndroidRuntime(1340): NOTE: attach of thread
'Binder Thread #3' failed
05-24 18:58:19.215: DEBUG/SntpClient(60): request time failed:
java.net.SocketException: Address family not supported by protocol


Then I changed the fillings in the activity again and typed in adb -d
shell bmgr restore com.example.android.backuprestore. In the console
I see the output:

Unable to restore package com.example.android.backuprestore
done

and in the android logs:


05-24 18:58:49.660: VERBOSE/BRActivity(1107): New radio item selected:
2130968579
05-24 18:58:49.700: VERBOSE/BRActivity(1107): NEW STATE: mayo=true
tomato=true filling=2130968579
05-24 18:58:53.489: DEBUG/AndroidRuntime(1366): 
AndroidRuntime START 
05-24 18:58:53.489: DEBUG/AndroidRuntime(1366): CheckJNI is ON
05-24 18:58:53.750: DEBUG/AndroidRuntime(1366): --- registering native
functions ---
05-24 18:58:54.630: VERBOSE/LocalTransport(60): finishRestore()
05-24 18:58:54.671: DEBUG/AndroidRuntime(1366): Shutting down VM
05-24 18:58:54.690: DEBUG/jdwp(1366): adbd disconnected
05-24 18:58:54.724: INFO/AndroidRuntime(1366): NOTE: attach of thread
'Binder Thread #3' failed

Is anybody else having the same problem?


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