Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Is there any better NoSQL DB for Android other than CouchDB and MongoDB. With couchdb the issue is its start-up time on Android devices, which take 5-10 seconds(is very high).
On the other hand I found TouchDB which is not yet mature enough to use, right now.
I want to store whole data in a NoSQL DB in JSON format(both online and on Android phone). I there any DB that has start up time in milliseconds and stores data in JSON format?
Two possible options are:
BerkeleyDB
UnQLite
you have many options, you can use iBoxDB.java if you're using java, or iBoxDB for mono if using c#.
iBoxDB stores data in Map format, it is easily converted to JSON. iBoxDB includes Replication(example in Test.java), so if just want to doing Sync data, don't need JSON.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 1 year ago.
Improve this question
I have an android app that constantly inputs data on a database (sqlite).
every 3 or 6 seconds (sometime is less than that) I insert data into the DB.
I created a DatabaseHelper (SQLiteOpenHelper) object which does that but I've been wondering if its better to close and create a new DatabaseHelper object each time I input data or if its better to keep it open?
It's better to use a single connection throughout your whole app, it's explanied here.
Also you could use ORM Lite.
But keep in mind that you should use ROOM, from Android documentation:
We highly recommended using the Room Persistence Library as an
abstraction layer for accessing information in your app's SQLite
databases.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I'm newbie in android and I'm writing a transport scheduling android app.
I have a JSON data with a huge structure (time, bus stops list, train-stops list, routes, etc). The scheduling changes 2 times per year (summer and winter times).
To write my own API is too hard for me.
Can I store JSON data in SQLite or SharedPreferences? Or the best way to store in service like parse.com and than download it to device ? Or I can store it in the file?
I will recommend, best way would be to parse the data at beginning. create required table in sqlite and dump the parsed data into sqlite database. Later you can query and fetch the required data from the sqlite database.
I use RushOrm (http://www.rushorm.com/) to store easily all my data in the sqlite database :)
Try it :)
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
How and where I can maintain my DB for my android app. I know we can use sqlite DB for android apps but, I don't have any idea of Storing the DB at some other location and then accessing it on the app.
Example Structure:
I want to know, where and how we can have DB at some different point of location, Do I need to buy space or rent? Or there are any other ways (Having DB Server at my own Desktop and accessing it via IP address. Will there be any difficulties or dependencies) I believe we can access it by creating a connection to the Db and writing queries to fetch by using Http Get and Post or Put methods.
If yes, then can we use SQL Server Management studio 2008 or what would be the simplest & the best to work with.
Use parse.com as a backend services.Easy to use and simple. follow this answer
Use realm, please.
https://realm.io/
It is much easier comparing to sqlite.
You can check the usages at https://realm.io/docs/java/latest/
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
My application has some complicated database operations, Almost all the sql queries i have to use.
If I want server based access to my data, what should i choose to communicate with Parse server: SDK is good, but I know there is an API as well.
I think SDK will not provide a lot of accesses, operations like email verification, complex db operation can't be handle through it. and I don't know anything of server side coding.
Please suggest , Thanks in advance
I would suggest you to first read these
All the limits of parse
Parse SDK review
The second one is for iOS, but it's basically the same for Android. (I basically copied Objective-C code to Java, especialy the requests)
If you are sure you want to make complex app on Parse, then I would probably suggest to go for SDK. It is not that restricting, but will probably be hard to understand in the beggining, but you can do whatever you want if you setup good arhitecture from the start. :)
(But. It's only my opinion)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm creating a website with an according app for iOS/Android and I'm doing some research for how I should do everything. I need to be able to post data from the different platforms and I want to access the same data from every platform, kind of like a wall where ypu can write stuff. I'm thinking that the data needs to be stored in a database but how do I access i.e. an SQL database from iOS/Android?
A simple research would've brought you a great tutorial on how to link a MySQL database through PHP to an Android app.
You'll be required the basics of PHP though so you may want to study a bit about that prior to starting.
Take a look at parse.com. This likely provides what you need without having to set up server with a database, etc. You can access your data on parse.com from iOS, Android, your web site, and a number of other platforms should you need to.