I have searched for weeks but I couldn't find any useful information about how to manage files while deleting in android.and want to develop an app to manage deleted files and APKs.can anyone tell me how I can achieve this?
Use SQLite to read and write data,
The limit of a SQLite database is something like 2TB. Your Android device will not have that much storage space.
You can get the SQLite tutorial, here it is explained quite well.
Related
I would like my app to backup the user data that they create on my app to google drive account of user.
I have looked at few ways to do it, but I would like to know what is the best way?
I did use android:fullBackupContent="true" but I don't see any data saved on google drive.
Thanks in advance.
I am developing a soundboard application in which I need to get the specified audio file from the server when the user requests it, but I don't want to stream it or download it every time, just the first time so I was thinking of caching it someway.
I made some research and I found the ExoPlayer library from google but I think it's kinda overkill for my purpose and I can't seem to get my head around it as I'm not so experienced in android development.
Is there any library that I can use?
If not, how can I make the process myself?
Save it to the file system the first time. Then you never have to download it again.
I am learning to build an android app for the first time...this is an educational project.
I don't have a database, and I'm not using a cloud server. The latter is slightly outside of the project scope, and I was advised that I was better using XML to store data, rather than SQLite.
My app should enable users to select images from their image gallery at runtime, these are then resized, and stored in the app (visually - it will look like a pin board of thumbnails). I was going to store them in the resources folder, but have just realised from reading other posts, that this isn't accessible at runtime.
Can anyone point me in the direction of what my options are when I'm not using a cloud server.
Is XML feasible? If so, how do I go about storing images in XML at runtime?
Can I make use of the SD card?
Or is SQLite the only option?
Is there any info where I can read about the limitations and benefits of each of these?
Any advice would be so much appreciated!!
Realm is better for you. Look at the below links you will get Idea to use realm in your project
https://realm.io/news/realm-for-android/
http://www.androidhive.info/2016/05/android-working-with-realm-database-replacing-sqlite-core-data/
I need to create an Android app that performs the cloud sync with the data. I came across Parse SDK (BaaS) and tried some sample app.
Now, for providing features like local data storage during offline use and syncing up whenever network is available, I was wondering weather we have to use Local SQLite DB. But I noticed Parse provides 'Local Data Store' feature as well.
https://www.parse.com/tutorials/using-the-local-datastore
So is it necessary to use SQLite in the app then?
What are all the cons if are sticking to Parse and avoiding SQLite.
I had the same problem in my app.
What i found out that SQLite is faster than parse's local storage, and a bit more stable. Also plus is that you can encrypt SQLite databases.
I dont remember now exactly what happened, but i think there were some crashes related to local storage. Also it didnt work as expected. On some devices the parse local storage was very slow.
In general i would recommend using SQLite. Also there are some architectural problems that cant be solved with Parse's local storage. Those pin and saveInBackground methods were not so transparent to me, so i ended up using SQLite instead.
There were different frameworks for SQLite, but i couldn't get my head into them and ended using SQLite without frameworks, which turned out to be easy.
Total beginner here.... :(
I am using Eclipse with ADT and Google App Engine plug in.
I have built my "awesome" android app, but now I want to save some of the data the app produces onto a cloud service so I can share it between my users.
So I am trying to do this with google services. I have incorporated in my project both Cloud Storage API and Google Cloud Datastore API, both using the GDT plug in, but that's as far as I can get :((((
I know I am asking a lot, but I don't even know if it is a lot, it might be a few lines of code, at least that's what I think.
So now I need a way, through some Google API to connect to a database that "belongs" to me, and store 5 numbers there from each of my users, and share other user's numbers with each other...
Can someone take me by the hand and tell me what I need to import and what not...?
I have spend hours reading all documentation about these APIs I could find and I ended up going in circles :( either trying commands that cannot be resolved, like DataStoreService(), or simply not even finding where do I put my info to get to "my" database....
Thank you all.