You can use the package-manager tool to clear data for installed apps (similar to pressing the ‘clear data’ button in the app settings on your device).
So using adb you could do:
adb shell pm clear my.wonderful.app.package
More Related Contents:
- How to hide a folder programmatically in Android [closed]
- Why use Fragment#setRetainInstance(boolean)?
- How to _really_ programmatically change primary and accent color in Android Lollipop?
- SearchView In ListView having a custom Adapter
- How to style PopupMenu?
- How to use apply a custom drawable to RadioButton?
- What’s wrong with debugging in Eclipse on Android? [duplicate]
- How to keep an alertdialog open after button onclick is fired? [duplicate]
- How to start Power Manager of all android manufactures to enable background and push notification?
- How to check the multiple permission at single request in Android M?
- Using build types in Gradle to run same app that uses ContentProvider on one device
- Command line “Android update sdk” on headless Linux
- android capture video frame
- How to add “Android Design Support Library” to Eclipse with ADT-plugin?
- How to use SharedPreferences to save more than one values?
- Action Bar menu item text color
- Android 4.0.1 breaks WebView HTML 5 local storage?
- Captured Photo orientation is changing in android
- Android BroadcastReceiver, auto run service after reboot of device
- Android Webview POST
- Call to `getDrawingCache` returns null when scroll is enabled
- SMS Manager send mutlipart message when there is less than 160 characters
- Bitmap too large to be uploaded into a texture
- 3D cube transition in Android [closed]
- FragmentActivity can not be tested via ActivityInstrumentationTestCase2
- How to delete a topic from Firebase Console? (FCM)
- Android AlarmManager problem with setting & resetting an alarm
- How can I get the date & time from the network provider?
- Stop MediaPlayer when an other app play music
- Error java.lang.RuntimeException: Stub! in Android with Fitnesse testing