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 6 years ago.
Improve this question
I'm developing a wallpaper app but I dont exactly know which database I can use to store the images (SQLite or MySQL) .Can you please help me if you have some experience in this domain ?
You should not use a DB to directly store the images as BLOBs, they can get very very bulky.
Instead use any of the above DB and save the Links to your images with your images actually being stored elsewhere.
Good places to store images would be Dropbox, drive etc..
Also there are good CDN providers which allow you to save images and also provide image manipulation as well as caching features.
i use cloudinary...
Also i will suggest you to use Picasso/Fresco/Universal Image Loader for actually handling the images in your app... They will deal with caching/memory and other issues and save you a lot of trouble
The DB is really upto you.. hope this helps
Related
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 1 year ago.
Improve this question
I'm about to make an android app something like "fun places to visit in my city" where u can see photos and description of the place.
I thought something like store all images in drawable folder, and create list of data class.
But the app will be very heavy?
I dont know which is the best way to store data and images locally. Any suggestion?
If you wish to keep app light maybe the better approach would be to store them somewhere on cloud and load them using library like picasso.
Storing them directly in the app truly can increase apk size a lot because you also should store different sizes of every images if you are following guidelines.
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.
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 quiet new to databases and SQLlite in general so I'm sure there's probably an easier way to do this but...
1) How can I store a database online so it is accessable by multiple devices? If this isn't clear, an example of what I'm trying to do can be seen on the Android app "whatsapp". When you update your status(i.e. set it as available or busy), it show's on everyone's device.
2) if this is too complicated to explain on here, can you recommend a tutorial series?
Thanks
Yes you can store your data on your online database but first learn about webservices and how it works. As for tutorial I think this one can give you an idea on how it will work:
http://www.androidhive.info/2012/01/android-login-and-registration-with-php-mysql-and-sqlite/
Also take note that SQLite database are stored locally on your device. :)
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 am trying to build an online application for movie management. I want the application to be an online one, could any have inputs as to how to build it, as in currently i am downloading each of the dynamic content and loading the layouts which is highly inefficient. Could anyone suggest a better procedure to make an online application and guide for the same.
https://developers.google.com/eclipse/docs/endpoints-androidconnected-gae
That link will show you how to make a Google app engine project. The easiest way to use an online database with android. You can post, and get with very little code. What you do with the data you get back is up to you... Throw it into list views, text views, fragments, etc. But yes this is the best place to start as you need an online database or a social network would not work at all. I suggest you do the above totural and then come back with some more questions. Hope this helps!
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 3 years ago.
Improve this question
I would like to have a database of items stored on the user's phone. I currently have everything set up using WebView pointed at my domain, but obviously this isn't ideal if the user is in a low-signal location.
If possible I would also like to be able to search the list for multiple words.
Any pointers to tutorials etc would be ideal.
In Android you'll want to use SQLite databases, here are some places from where I learned my way with databases in Android:
Start here:
http://www.codeproject.com/Articles/119293/Using-SQLite-Database-with-Android
Or here if you want to use an existing database:
http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/
If you decide on XML, though, you might want to read this instead:
http://www.anddev.org/parsing_xml_from_the_net_-_using_the_saxparser-t353.html
http://www.androidpeople.com/android-xml-parsing-tutorial-using-saxparser
Here you have a tutorial involving both methods, downloading data in XML format, parsing it and storing the information on a database, probably the guide you want to read if you're starting with Android, since it covers pretty much what you are trying to achieve, probably :P
http://mobile.tutsplus.com/tutorials/android/android-fundamentals-downloading-data-with-services/