Android :: Persistent Data Even When App Uninstalled
Oct 2, 2009
My application needs to store some application specific data on the device that persist, even when the app is uninstalled. Using files or databases is not possible as they are deleted with the app when the app is uninstalled. Storing it on an SD-card is too fragile. It is my understanding Content Providers also are deleted with their parent app?
View 7 Replies
Aug 6, 2009
I need to retain a complex object in my service, so I can reliably come back to it (it holds updates). Initially I coded it just as a class filed in my Service implementation but I'm observing that the updates object is periodically reset to null which tells me that server class itself is recreated. Can someone recommend lightweight reliable strategy to save and recreate such updates object (I can make it serializable)
View 2 Replies
View Related
Nov 9, 2010
This usually happens when the user hits "Home", does something else, then eventually wanders back into the app - it attempts to go back to where it was before, but the application Context has mysteriously lost all its previously-saved state information (in my case, a few integers and a few Strings). I know this is a very vague question, but are there any cases (other than the user using "back" to back completely out of the application) where the application Context gets completely destroyed even though the application is not terminated? Is there a better way to maintain persistent state information?
View 1 Replies
View Related
May 18, 2010
Im using
CODE:.......
Now, since Cookie does not implement serializeable, I can't serialize that List.
specified my goal, not only the problem)
My goal is to use the DefaultHttpClient with persistent cookies.
View 1 Replies
View Related
Aug 31, 2010
I noticed that recently any photo uploads have the caption "Uploaded via Facebook Mobile" instead of "Uploaded via Facebook for Android". This changed sometime between May 10 and 15: Sometime between May 10 and 15 the Facebook Android app has c on Twitpic.Can anyone help me with this issue? and is anybody having the same problems as I'm having?
View 1 Replies
View Related
Jul 21, 2010
In the class PersistentState.java the prefs variable gets the saved/typed text from prior sessions here, on line 106 into restoredText.
Where does the getString method get the saved/typed text?
CODE:............
View 1 Replies
View Related
Apr 29, 2010
First off, let me say that feel free to recommend me if long lived TCP persistent connections are the way to go or persistent HTTP connections are better.
I've also pre-read that instead of having a persistent connection, I can have a polling mechanism.
I'm just asking in the curious interest of how can I create a persistent connection from Android to a server?
View 2 Replies
View Related
Nov 23, 2010
How can I execute an action (maybe an Intent) on every specified time (e.g. Every day on 5AM)? It has to stay after device reboots, similar to how cron works.
I am not sure if I can use AlarmManager for this, or can I?
View 1 Replies
View Related
Oct 27, 2010
I'm writing a bitmap editor where I use the Command Pattern to represent actions that will transform the document. I keep all the commands executed so far in a list and, to implement undo, I restore the document to its initial state and then replay all but the last command.
I would like my undo/redo system to have the following feature: When the user closes the editor and returns, the document, including the available undo and redo commands, should be restored to the state it was in when the user left.
I'm implementing this for Android where your application can be given very little notice before it will be cleared from memory if e.g. the user gets a phone call. Also, some of my commands are e.g. a list of all the x,y co-ord the user painted on so these might take a few moments to save to disk.
My current idea is as follows:
When a new action is performed, the command object is added to a list S for commands that need to be saved to disk.
A background thread is used that will continually take commands from list S and save them to disk. The postfix of the filenames used will be numbered in sequence. For example, if the user filled the screen then drew 2 circles, the command files might be called FillCommand1.cmd, DrawCircleCommand2.cmd, DrawCircleCommand3.cmd.
Periodically, we save a "checkpoint" command whose purpose is to store the full document state so that, even if one of the .cmd files is corrupted, we can restore a recent version of the document.
When the user exits the app, the background thread attempts to finish up saving all the commands it can (but it might get killed).
On startup, we look for the most recent .cmd file that represents a checkpoint that we can load successfully. All the .cmd files we can load after this (i.e. some files might be corrupt) go in the redo command list, all the .cmd files we can load between the first checkpoint loaded and the oldest checkpoint we can load go in the undo list.
I want the undo limit to be about 20 or 30 commands back so I need extra logic for discarding commands, deleting .cmd files and I've got to worry about multi-threading behaviour. This system seems pretty complex and will need a lot of testing to make sure it doesn't go wrong.
Is there anything in Java or Android than can help make this easier? Am I reinventing the wheel anywhere? Maybe a database would be better?
View 2 Replies
View Related
Feb 19, 2010
I have an application that sets the user's background. Is it possible to remove the wallpaper if my app is uninstalled?
View 1 Replies
View Related
Oct 22, 2010
How do you stop persistent programs,
for instance:
when i goto manage applications -> running services, fring is always running even if i don't run the app.
I will force stop the app, then minutes later, it will be back there again. that's just one of them.
Amazon mp3 also does the same thing. it still comes back even if i use titanium backup to freeze the app.
View 2 Replies
View Related
Oct 22, 2013
I'm looking for an email app with really persistent notifications, that is: instead of the single tone/vibrate notification when a new email arrives, I need it to keep notifying me periodically (say, once per minute) until I open the app and read the email, or at least clear it from the notification shade.
recommend an email app that does that, or an addon/plugin/extra app that accomplishes the same thing?
View 2 Replies
View Related
Jan 10, 2014
So, we all know that some apps that are meant to always be running have this feature to place a constant notifcation in the statusbar which keeps the app from being killed off by Android... and now we got, in Jellybean, the possibility to hide notifcations from any app. If I do this with an app that has this enhanced priority notification running, will the app still remain "protected" from being killed? Or will the hiding of this notification result in the app being reduced back to its "regular" state?
View 3 Replies
View Related
Feb 14, 2013
Any mod or app that allows the notification/status bar be visible all the time throughout any app? I dont mind loosing that few bits of screen.
View 3 Replies
View Related
Mar 18, 2010
I recently converted to BH_MAN stock BH2 image + root. I'm having the following situation:After the install and performing the Master reset everything is working fine, I proceeded to download some applications and everything was operational. I rebooted my phone (for some reason I do not recall right now, happened 2 days ago) and when it came up, I had several applications corrupted: There was an icon in the same place that the original was with the same name but different icon, and if I clicked it would advise that the application was not installed. I would go to my downloads and the application management sections and see the application and it wouldn't work till I uninstalled it, then reinstalled it.Now, last night I also uninstalled the T-Mobile "My Account" software and let my battery drain out completely to have it sync correctly (that was another problem I was having, batt would say I was at 20% and I had 4 bars in the screen, fixed now) and once I let it charge completely I powered it on and some applications were uninstalled again, but the T-Mobile Account software was there again! Can anyone explain if this is a permanent problem or is there something to be done?
View 3 Replies
View Related
Feb 18, 2013
I have Cyanogenmod 10.1 (self-built) on my Samsung I9300 Int., but I assume the question applies to every android version (I'm new to android development and flashing custom firmwares to my phone, but I have thorough experience with other embedded devices and gnu/linux):
I'm currently modifying a system apk (specifically LockClock.apk), which comes with CM10.1. From time to time, I "adb push" a modified version of the apk to my /system/app. (When the app works), it works without problems until the phone is restartet. After the reboot, the application does no longer appear to be installed (though the modified apk is still present in /system/app). I have to "adb push" the apk again, to make it work again. Is there a way to make the app permanently installed after an "adb push"?
View 2 Replies
View Related
Sep 11, 2012
I am sure this has happened to many - with persistent notifications the status bar is all taken up and any new notifications do not show up without dropping the notification scroll.
Short of removing persistent notifications, I have tried No LED/ Super Notifier/ Super Status Bar/ Status Bar Pro - all have one or the other problems. For example the Super Status bar just did not work. So I am writing to ask??
Is there an elegant solution - such as maybe double wide status bar, or like windows - hiding the notifications you do not need to see but they're still there (so you can ensure the app did not go quit on ya).
I am running a Verizon Spectrum LG VS920 Stock GB ROM.
View 1 Replies
View Related
Sep 5, 2010
Okay, So I have my brightness set to max, I have power saving mode turned OFF, yet when the battery starts to die down, the phone INSISTS on automatically setting the brightness to a lower setting.Anyone else notice this, or is it just my phone? Again I have brightness set to max, power saving off yet when my battery level gets really low, the darn phone insists that the brightness should be less, and decreases it for me automatically.
View 11 Replies
View Related
Jul 15, 2010
Unless I'm mistaken, it seems the X only ringtones or vibrates one time when an SMS, MMS or GMail is received. There does not seem to be a method to allow periodic ringtones, vibrations or LED blinks -- to indicate a message was received. So the only way to see if you have a message seems to be to wake the phone up. If true -- this would be a real bummer.
View 7 Replies
View Related
Dec 1, 2009
At one point I'd downloaded the Dolphin browser to my Droid, and then uninstalled itI was recently going to try it again, but when I went to the market, it said it was already installed. When I went to Manage Applications to uninstall it again, it wasn't in the list.I've been messing around with the contents of my SD card, and I wonder if I did something to get this app into some strange state. Anybody have any suggestions?
View 5 Replies
View Related
Apr 21, 2010
Is there a way to get a system notification when an app has been uninstalled?I would like to maintain a table of all clients' info currently using my app. However, that seems impossible if there is no way to detect this event. The first solution I can think of is to have an always running service in the background listening for android.intent.action.PACKAGE_REMOVED. But then would that service be killed once the uninstallation process has ended, or would it be stopped just before the process has kicked off? Also even if this is a solution it's has the potential to put off a lot of people when they realise that part of the app is running in the background.
View 2 Replies
View Related
Apr 23, 2010
I want to write an app that a parent can use to disable phone functionality to prevent their child from using it.One way the child could circumvent this is by uninstalling the app.Is there a way to prevent application uninstall on the Android?
View 1 Replies
View Related
Jan 9, 2010
I uninstalled K9 email app yesterday and today I went to install it again and in the market it says that it is installed and I can install it again. It just gives me an option to uninstall but it already is! What can I do?
View 6 Replies
View Related
Jul 22, 2010
I need to find an app that I unistalled like two weeks ago but I cant remember the name. Any way to do it?
View 3 Replies
View Related
Sep 3, 2009
Is there any method to leave some info after my app is uninstalled?For example:file,database,setting etc.
View 5 Replies
View Related
Jan 28, 2010
I am working on an Android service which will be OTA downloadable.How to avoid an application or service from being uninstalled from the device by the user?Is there some setting that we could enable in the AndroidManifest.xml to achieve this?Can the above be achieved without any OEM integration?
View 2 Replies
View Related
Sep 30, 2010
Maybe this belongs somewhere else but not sure. I installed Universal Androot and ran it. Then I sarted uninstalling somethings I thought I didn't need. Well I accidentally uninstalled my touchscreen keyboard. Is there anyway to get it back? I didn't use it a whole lot anyways but it would be nice to have it back. Thanks for any help
View 2 Replies
View Related
Feb 9, 2010
i find it quite annoying that uninstalling an app doesn't remove all of its data.sure, this is desired behavior for some apps (a camera for instance), but imo google should have implemented a requirement for an app to explicitly request to be allowed to save permanent data, and if the request wasn't made, collect the location of any saved data and remove it upon uninstallation
View 5 Replies
View Related
Dec 7, 2009
When my application is uninstalled, the widget stays on the HOME screen and gives an error message "problem loading widget". How do I remove the widget when my application is uninstalled?Is there an attribute in the manifest that I am missing?I have tried asking on the Google Android groups, but they take so long to approve and then it get's lost with the 100's of other questions that are ask that get approved at the same time.I was sure that this would happen by default by the OS, but guess I was wrong.I am catching the "PACKAGE_ REMOVED" intent, and checking the "EXTRA_REPLACING" to make sure it's not a reinstall, but I don't know the actual code to use to actually remove the widget.
View 1 Replies
View Related
Feb 14, 2010
Ive had an HTC G1 and I now have the Samsung Behold II. Theres a problem I've noticed on both phones. Lets say I have 60mb of flash memory and I download an app that is 5mb. That would put me down to 55 if my 2nd grade math serves me correctly. Now if I were to uninstall this app, my phone will only go back up to 58mb. Even after restarting the phone 10 times, taking the battery out or doing whatever, it remains at 58mb of memory.
I want to know why does this happen? And is there any way to recover that lost storage? I just find it a bit crappy management of memory. Because this problem can be more drastic, I downloaded a 20mb app which sucked balls, to which I quickly uninstalled. I only got 12mb of the 20 back. Thats 8mb lost somewhere. Again, I'm looking for at the very least an explanation
View 18 Replies
View Related