How can you access the contents of Android Emulator databases?

I’ve read the answer to a question as to how to access the contents of the databases, however I cannot seem to get it to work on my machine. Here is the shell log: C:\android-sdk-windows\tools>adb -s emulator-5554 shell # sqlite3 /data/data/com.android.demo.notepad2/databases/notes sqlite3 /data/data/com.android.demo.notepad2/databases/notes SQLite version 3.5.9 Enter “.help” for instructions sqlite> .tables .tables sqlite> ^C … Read more

Is there a way to securely store user data on an Android device?

I’m writing an application wherein users will sometimes make orders through it. I want to give users the option to save their billing info (name, address, etc.) so that it can be quickly restored later if they want to make another order. The user will enter a password to secure the data. Obviously I can’t … Read more

How to access the database when developing on Android phone? [duplicate]

This question already has answers here: Debugging sqlite database on the device (17 answers) Closed 4 years ago. I am having trouble accessing the database while I am developing on the phone. Whenever I execute cd /data/data/com.mycompck/databases and then run ls I get: “opendir failed, Permission denied” Or whenever I type in sqlite3 I get: … Read more

Android ImageButton – determine what resource is currently set

Is there a way I can find what resource a particular ImageButton is set to, at any given time? For eg: I have an ImageButton that I set to R.drawable.btn_on onCreate. Later, at some point, the ImageButton gets set to R.drawable.btn_off. I want to be able to check what resource the ImageButton is set to … Read more

What is the best server client communication protocol to use in Android and iOS?

We have a server application (implemented in Java) that will provide some data for our mobile apps. The apps will be created for Android and iOS. Which is the best protocol / library for this purpose? The overhead of the protocol should be as small as possible. Thanks. Edit: It should be a request->response szenario. … Read more