Android :: Removing Some Permissions Of Already Compiled Applications?
Aug 2, 2010
There are so many apps in the market and I don't trust all of them. Is there a way to remove some permissions of the already compiled APK? It doesn't matter if I cannot sign it anymore with the original certificate of the developer. And is there also a way to add an error-handler into the .apk-file, so that the errors of the requested permissions will also be suppressed?
I have two applications, one of which (B) implements a broadcast receiver. The application (A) which sends the broadcast, binds a permission to it which the receiver (B) shall possess. The problem is now: If I install the receiver (B) first and the sender (A) afterwards, the receiver will never receive the broadcast. I assume this happens because the installation of the receiver somewhere fails when it comes to the "uses permission" part of the manifest (because this permission is not yet registered/defined).
However, this issue should be resolved as soon as the sender (which defines the permission in the manifest) is installed, but unfortunately isn't. It does not even help to re-install the receiver. The only way to resolve the issue is to completely uninstall the receiver application and do a fresh install. Is this behaviour intended ("not a bug, a feature")?
When installing applications from android market some permissions are not listed to the user, but are granted to the application upon installation, including the notorious "Phone calls" permission. When installing locally through "Package installer" the full set of permissions is listed. That behavior may be observed with many applications one of which is 'net.jimblackler.newswidget' (no offense Jim - I hope it's true there's no bad publicity).
This bug was reported as issue #9365  back in Jun 27, 2010 but has gone so far unnoticed, perhaps because android market is not part of AOSP, which is why I post here. I consider this a serious problem as it is misleading for users and reflects badly on application developers and the whole android echo system. Hopefully this will get the needed attention and treatment, especially after all the recent noise around applications security and privacy breaches.  http://code.google.com/p/android/issues/detail?id=9365
Only when i try to post a status, i get this message. Not on comments just on my main update status. i didnt install anything new and ive had this error a few days now. i tried uninstalling and reinstalling the app and nothing seems to be changing. im runnung BB0 0.7.5 if it matters and have been for a long time. i havent dont anything new with my phone...
I originally setup my Droid with my Google Apps account as primary. A few months ago I decided to buy a paid app in the Market and couldn't do so using my Google Apps account. Reluctantly, I added my Google Account as a secondary account on my phone, which allowed me to purchase apps in the Market. Now that I can finally use Google Checkout with my Google Apps account, I would like to remove my Google Account from my phone, since I'm tired of being prompted to select an account each time I create a new contact. Will removing my secondary account affect apps that are already installed? What about when updates become available for these apps in the Market?
I have finally figured out how to root and flash new roms. I have the xtrSense and love it. But my question is this. How do I remove some of the apps at were included on the rom (ie.- amazon mp3, original calculator, footprints)? These are apps that I don't and/or won't use and can't see wasting the disk space.
I was messing around with my phone being bored and went into the superuser permissions app. I was looking at all the entries that were in there and I know that it's just a list of permissions you've allowed on your phone. Anyway I wanted to see what would happen if I clicked on one of them. Well it cleared it from the list and I just clicked on all of them so when I'm in the SU app there is nothing there. Now when I try and get into one of my apps that require permission it tells me it requires root and doesn't have permission. So it looks like I blocked all permissions for my rooted apps. The question is how do I get it back? I'm sure I can just reflash a nandroid backup I have but I was wondering if there is any other way?
Now I've got my Desire rooted can I start removing the default apps which are install like peep and footprint which I never use? Also is it possible to do this via a windows machine or will I need to be using a linux boot disc / image?
i've searched around here trying a find an answer and I can't seem to find anything. I was wondering if there was a way to take the applications that are in the drawer and move them to a folder. I don't like that fact that I have all these applications in the drawer, it gets too congested. I would just like to put them in a folder on on of my home screens so its a little bit more cleaned up...
I have a rooted Droid X running the 2.2 leak. I want to remove apps by renaming them to .bak files but I can't seem to do it with root explorer. Can someone help me manually rename the files by providing a list of comment prompt inputs?
I've got almost everything streamlined for DE03 but I keep seeing two Apps that always reload in Advanced Task Manager: com.samsung.internal, and System Updates First question, since I'm not using Sprint's version of software, do I *need* either of these? And, if *not*...what are the names of the files, so I can rip 'em out?
The permissions say that you must agree to allow them to delete files from your storage including your SD card; must agree to allow them to extract any information from your phone, etc. In other words they can do any thing they want with your phone and the data in it.
Is there any way to not grant these permissions and still get updates?
I have some xml files with a custom format (based on the scxml specifications) that I want my program to read. I've already written the code to read it, but I'm running into problems actually reading the file itself. I want the file to be compiled with the apk, as it will not be changed at all during run time. So I put the file (test.xml) in the res/xml/ folder, and got the inputstream by using:
getResources().openRawResource(R.xml.test); But when I read in this inputstream it is complete jibberish, which makes me suspect it is being read in binary, as openRawResource() is often used for binary files like images, if I am correct. What is the correct way to do this?
Is there any 1.5 image going around for the emulator? I would like to try my apps with onscreen keyboard. Maybe someone is actually making nightly builds but I can't find any. PS: Not sure if it's appropriate to ask in this list.
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
I have an application which is based Android 1.5 but for enabling different screen types support I have to compile and package it with v1.6. When I install and run the resulted APK on my 1.5 emulator, everything works fine except that "Preferences" activity crashes every time I launch it!
When I revert back my API dependency to 1.5 and remove a few 1.6 specific config blocks from AndroidManifest.xml and compile/package it with 1.5, everything works just fine!
I am writing an application and due to various reasons I had to build it using make (froyo code) and not SDK. When I run my app on emulator it works fine. I have an Android device and code to build image for the device. When I build my app with device code, it builds fine. How ever, when I run the application, I get java.lang.ClassNotFoundException: <package.class> in loader dalvik.system.PathClassLoader[.]
A source file in my code is actually doing sourceClass = classLoader.loadClass(sourceName); sourceName here is pointing to a class I actually build (I have classname.java file in my code under correct package directory and package name). Note that this app is running fine on emulator, but on a device it is failing.
I verified that the .class file exists in out/target/common/obj/APPS/ xxxApp_intermediates/classes.jar, classes-full-debug.jar, classes-full- names.jar
I was able to setup my android project to call a native function from a .so file. And actually I need to add box2d to my project, but I when I include the header files, it won't make. So basically my problem is how do I tell the make file to include a whole folder with header and cpp files.
I tried adding the path directly to the include statement just for the sake of testing it. The error goes away, but new errors come out.
A lot of Android apps are open source, but how can we make sure the person who finally uploads to the Google Market does not include some spyware just before uploading?
Background: Mobile apps security seems to be a growing concern, and I would like to reassure the users of my Open Source Android app. Solutions that require to modify the deployment process or application content are acceptable too.