Android : Delete Package Programmatically Without UI?
Apr 7, 2009
We can delete package by following steps below: Uri uri = Uri.fromParts("package", strPackageName, null);
Intent it = new Intent(Intent.ACTION_DELETE, uri);
startActivity(it);
But in that way, Applications Manager's UI will display, my question is how to delete packages silently (without Applications Manager's UI showing).
View 4 Replies
May 21, 2009
Can a package uninstall itself? Can a package uninstall another package if they share the same userId and signature?
View 2 Replies
View Related
Apr 10, 2009
I have some questions related to Android's home-screen contents:
1) Is there a way to programmatically delete a home-screen shortcut on Android? I know that it can be done manually but I want to do it in code.
2) Is there a directory where all the contents of the home-screen are stored and, if there is, is there a way to update the contents of this directory?
View 3 Replies
View Related
Aug 6, 2010
General question for those in the "know". I'm trying to free up some space on my SD card (before I upgrade to a 32GB) and I was wondering---for apk's downloaded outside of the market..once you install that apk, can u delete the apk package file off your SD? Or will this cause problems to the overall application itself?
View 5 Replies
View Related
Nov 14, 2010
How to programmatically move copy and delete files and directories on SD(android)
View 1 Replies
View Related
Oct 26, 2010
I've a widget which i would like to delete programmatically if the user gives the command by clicking on some button or so.. But as per my knowledge the app programme and the widget programme will be running in different processes. So how is it possible to get the controll of another process remote view and delete the same clearing all the db contents related to the widget?
View 1 Replies
View Related
Mar 10, 2014
I have been searching but I couldn't find any app that allows me to delete (either programatically or in an easier way than deleting them one by one) several folders (or the files in them) from my Samsung S3350 (Android 4.1.2). I found Autoremove, but it only works for the Download folder. Before you mention it, no, they are not cache files and a cache cleaner will not be useful for me (I've already have one).
View 5 Replies
View Related
Feb 20, 2009
I want to Delete SMS how i can delete it programmatically? I am receiving sms in my application in this format string. "12345 username password" ****************************** i have post this thread on so many groups and forums but i dont receive any reply from last one week. its very urgent for our product. so i am sending this mail to all of you.
...............................................
after getting my required data i want to delete this currently received sms programmatically. data is very confidential in this sms and i want to delete it here after getting data and also clear it from notification bar.or i want to discard it because i dont want to show it in inbox any one can help me regarding this.can any one give me code snippet which was working perfectly for deleting sms or discarding it.
View 6 Replies
View Related
Feb 12, 2009
i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9->1.0 update android.content.pm. PackageStats(String pkgName)(cacheSize, codeSize, dataSize) returns always "0" Size of phys. file (java.io.File) in "/data/app" seems wrong/not completely. Has anybody any solution to get the total disc space used by an installed package?
View 4 Replies
View Related
Oct 7, 2010
I'm attempting to override an Android View class to tweak the functionality just slightly. But I need to modify a field that does not have a setter method. I've placed the subclass in a package called android.widget. Why can't I access any of the package-private member fields? I notice that the compiler says they "cannot be resolved," rather than not being accessible. Does this have something to do with how Android.jar is built?
View 2 Replies
View Related
Jul 23, 2010
Last night I donated and am just waiting for the paid version now, but I have a couple of questions:
1. What exactly is "freezing" an app? Will it remove the app from the app drawer? Will it just prevent it from running?
2. Can I use Titanium backup to delete apps that are safe for delete like amazon.mp3, etc?
3. If I "freeze" an app like backup assistant will it still be on the phone so that it doesn't brick if I do a reset?
4. Can I delete or freeze things like crap ringtones so they don't show up when I am setting a ringtone?
View 19 Replies
View Related
Jan 20, 2010
is there a way to delete threaded messages, similar to if you wanted to delete emails? like if i have 20 text threads, and only wanna delete 10.. but do all 10 at the same time..
View 1 Replies
View Related
Aug 25, 2010
When I delete emails for gmail on my phone, will they delete online also?
View 4 Replies
View Related
May 19, 2014
Still learning on Samsung Galaxy Ring; how can I delete all texts in a thread rather than just delete one at a time? I played around with touch, slide, etc.
View 7 Replies
View Related
Sep 16, 2009
I have installed the new SDK 1.6r1 on Windows and I realise that 1.6 does not included the older APIs so ran the android.bat tool to download them. The "available packages" only offer me SDK Platform Android 1.1 API 2; I was also hoping to download 1.0 API 1 as I am developing an application that only needs very basic functionality and I would like to be compatible with as many devices as possible.
View 2 Replies
View Related
Oct 21, 2010
Guys I found this today http://innovator.samsungmobile.com/galaxyTab.do and was able to install the package into my avd manager and I now have the Galaxy Tab emulator running.
View 10 Replies
View Related
Jul 10, 2013
if row_id goes from top to bottom and columns go left to right i dont want to delete the row only all data . is it better to use delete or upgrade?
column1|column2|column3
1 items | name1 |name2
2
3
4
5
is there a way to delete name1 and name2 without deleteing any rows?
i have some code ive been tring but it doesnt work.
[code]
publicboolean updatenotdelete(long rowId, String item, String have, String need, String got, String store, String cost) {
ContentValues args = new ContentValues();
// args.put(KEY_ITEMS, item);
args.put(KEY_HAVE, have);
[Code]....
View 1 Replies
View Related
Aug 27, 2009
Just wanted to know, if we participate in ADC2 will we be required to use a different package name (to the ADC one) for our app *after* the competition is over? Reason for this is that I'm wondering whether I should assign a separate package name now for ADC and keep my standard one for later.
View 2 Replies
View Related
Nov 23, 2009
I have splitted my Android project in 2 packages, lets say: test.current and test.another. From an activity in test.current I want to start an activity in the package test.another
View 6 Replies
View Related
Mar 23, 2009
I'm looking for a way to get the certificates from a package that are used to sign it. Using the PackageInfo class it is possible to get the signatures. But what can I do with signatures if I don't get the public keys to verify these.
The next question I have where does the PackageInstaller verify the signed APK file? The PackageParser class loads the APK file into a JarFile object but does this automatically verify the signature?
View 3 Replies
View Related
Nov 1, 2010
does anyone know how you can find the package name for a particular app already installed on your handset? They usually go like: com.example.prototype(Where the folder prototype cotains the runnable files)Trying to use the intent function to launch an app within an app.Was told putting this code in the onclicklistener method for the button would allow this, yet to test it successfully. I reckon it works, just need to figure out package name of the app I wanna launch.Intent i = new Intent(Intent.ACTION_MAIN);i.addCategory( Intent.CATEGORY_LAUNCHER); i.setPackage("com.otherapp.package"); startActivity(i);Want to press a button, to launch the "com.otherapp.package"
View 8 Replies
View Related
Jul 9, 2010
If i create a service and in it use the method context.getPackageName() or context.getPackageCodePath(). If i then compile that service into a .jar file and someone else includes it in their app will those methods return the original package of the service or that package that they have been included in?
View 3 Replies
View Related
Jun 30, 2009
Is there any method to get all android package name?
View 4 Replies
View Related
May 14, 2010
I am trying to put an XML file containing over 1,000 different fish into my app so that I can read this file, create an Array and attach that to the AutoCompleteTextView. I first tried to create a string-array in a resource file but apparently the array was to large and would never actually load anything after a certain number of values. So want I want to do is add that XML file to a place in my app that I can access it and read from it. Whenever I try to bring the XML file in I get all these errors in Eclipse. So how do I add this file and how do I reference it later in order to access it? I could just store it online and access it that way but I think it is a little bit of a waste to have to access the net for that if I can instead just add it to my package setup someplace.
View 4 Replies
View Related
Jun 2, 2010
I've written an Android app wich various abstract classes that perform useful functions. These functions could be leveraged in other apps. I want to share a class module with another programmer, but I don't want to share the source code. I would like to share a .class file but I'm not sure how to do the following:
Compile an Android .java file into .class What does the receiver of the .class file have to do to use that .class in their project? (using Eclipse environment)
View 2 Replies
View Related
Apr 5, 2009
I need to use the transform package (transformer, transformfactory, etc.) so that I can convert an xml node to a new document. However, when I try to import the package, it says that it cannot be resolved. Are you not allowed to use this package on Android?
View 7 Replies
View Related
Aug 18, 2010
I am working on windows with JDK, Android SDK and eclipse set successfully. I download the com.android.sdk package from: http://android.git.kernel.org/?p=platform/packages/apps/Stk.git;a=summary
But when I import the project to the eclipse, errors happen everywhere. Mostly is about the com.android.internal.telephony.gsm.stk.something cannot be imported. I googled to find the reason. It only says because of the these packages is internal package and cannot import with standard SDK. So the question is: How can I compile this project? Should I make a linux environment and get the whole android source code to do this?
View 1 Replies
View Related
May 31, 2010
Once I have created a project with the Android wizard, how do I change the API Package from say 1.5 to 2.1 ?
I'm not referring to the application xml where the minimum API is set, I'm referring to the jar's included in my project to the Google APIs.
View 1 Replies
View Related
Jun 29, 2010
I've been playing around with android app and widgets. have a few things running. but one thing i cant seem to figure out is how to package more than 1 widget. say i wanted to release my set of widgets? where in the manifests can i do this?
View 2 Replies
View Related
Feb 24, 2009
How do I get the Package Name if I am having the PID of the process. For example, if I want to output a list of currently running processes, I can get the PIDs but how do I get the names of the PIDs?
View 7 Replies
View Related