Using a database or ...? In a android app

Just starting out? Need help? Post your questions and find answers here.
User avatar
T4r4ntul4
Posts: 132
Joined: Wed May 21, 2014 1:57 pm
Location: Netherlands
Contact:

Using a database or ...? In a android app

Post by T4r4ntul4 »

Hi all,

Maybe this is asked allready alot, but i dont know how far development is with SB.

Is there a possibility to use a database in the android app? A permanent way as long it is installed to use a database, or some other alternative way to store data in the android app?

Thats all what holds me back to make android apps. some sort of sqlite database would be nice, like PB has.

Can someone point me in the right direction if this is already possible, and if not are there any alternatives to save same data in the android app?

Any thoughts are appreciated!
IdeasVacuum
Posts: 143
Joined: Tue Feb 25, 2014 1:27 pm

Re: Using a database or ...? In a android app

Post by IdeasVacuum »

I was wondering about the same thing T4r4ntul4. Android does support SQL.

However, depending how much data is involved, you can do a good job now with either JSON or a text file. If SB file read-write on Android is as fast as PB read-write on Windows, I'm going to take the text file route as my db is a record of business appointments, so fairly "light". One very good thing is that SB has AES, so sensitive data can be protected.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Using a database or ...? In a android app

Post by Peter »

@T4r4ntul4:

no database-solution but perhaps it fits your needs: https://github.com/spiderbytes/Preferences

Greetings ... Peter
Post Reply