I want to create a hymnal app in android for my phone.
-
This app is for my local church. I want to create a hymnal app for my android phone vodafone 858. The problem is am new to android development but I have some programming background and also I don't know how store go about it. I don't know if I should store the hymns in an XML file or some sort of database. Any advice as to how to do or go about it is welcome as well as any resource I might need. Thanks
-
Answer:
Android offer various http://developer.android.com/guide/topics/data/data-storage.html For this particular app you have three options suits well. http://developer.android.com/guide/topics/data/data-storage.html#filesInternal With this option you can save hymns on Files which will be saved on device internal storage and can be only accessed by your app. http://developer.android.com/guide/topics/data/data-storage.html#filesExternal With this storage option you can save files to SHARED external storage of device, which can be removable storage media or internal memory of device. http://developer.android.com/guide/topics/data/data-storage.html#dbYou can save hymns in a SQLite database provided by Android.
Vivek Singh at Quora Visit the source
Other answers
If you are good with most things being read-only (like rolling out a new version whenever you want to add a new song), then you can just use assets and load files from there. Thatâs like a simple folder you can take files from. Melodies (like sound files) as assets - probably you wonât be changing them. Example: http://stackoverflow.com/questions/8106694/play-media-files-located-in-assets-folderLyrics - actually you can store that in simple TXT (Json) files as assets/or â/rawâ folder as well. Just remember to have some kind of âidentificatorâ field (like âlowercase_song_name_or_something_similar_uniqueâ ) for bookmark identification.For user-selected âfavouriteâ or âlastâ bookmarks use the standard Shared preferences, thatâs what they are created for.There are multiple ways of implementing the same thing. When you get up to speed and find yourself limited by these options, you can look at Realm database (like Shared Preferences, but structured and searchable).
Oskars BÄrziÅÅ¡
Related Q & A:
- If I want to become a doctor what should I do?Best solution by Yahoo! Answers
- I want to be a reporter what should I major in, in college.Best solution by Yahoo! Answers
- I want to find a friend who moved address..... how can i do it.Best solution by Yahoo! Answers
- What should I do if I want to become a chef?Best solution by Yahoo! Answers
- I want to put some of my music on my new phone.Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.