Tagged Questions
1
vote
1answer
92 views
Sync device data with web-server
I have data in my application which must be updated on the server on the basis of network availability. I store this data on a local database on android using sqlite. Currently the idea is:
Data ...
2
votes
4answers
130 views
How to randomly set text to buttons from SQLite without repetition?
I have a db imported to assets, and i read from it and randomly set text to buttons and a texview, with code below:
mDbHelper.open();
Cursor c = mDbHelper.getTestData();
...
1
vote
1answer
179 views
java ,Properly using Static variables to prevent deadlock - Synchronizing
I am new to android programming and 've not thoroughly studied java before . I am really confused on how to use synchronized to ensure thread safety on static variables :
I usually create a class ...
0
votes
1answer
154 views
Creating directory structure in database and storing data in it
I am stuck with how to create directory like structure in sqlite database.
private void listFilesForFolder(Entry list) throws DropboxException
{
for (Entry ent : list.contents)
{
...
0
votes
1answer
86 views
How to load themed activity after correct or wrong answer in a quiz?
OK, I was adviced to make a new thread for my question. I am using imported SQLite database. Anyway, I have made two themed dialogs for right and wrong answers, and I want to show them when right or ...
-1
votes
1answer
240 views
Exporting SQLite Table data as XML
I am getting a Null pointer Exception while trying to export my SQLite database's table into an XML file.
StackTrace: PasteBin Link
--Update 2:
I just don't get it of what is passed in(at time of ...