Android :: Permissions To Be Set For An MMS Receiver Application
Jun 28, 2009
I have found the solution to this problem, the issue was I was also supposed to add the data tag:<data android:mimeType="application/vnd.wap.mms-message" />.Can someone provide some sample code to access the contents of the MMS message received.
View 2 Replies
Sep 3, 2010
I have an application which has some of it's activities restricted via my own permission. The permission is published in the manifest of the application A and a second application B should request this permission and then be able to call an activity from app A. Both applications belong to me and are signed with the same certificate (they share the same keystore and alias/password from it). Application A gets granted the permission but app B gets never granted the permission! Logcat tells me about this during the installation and the app crashes with an security exception when trying to start the activity from app A. What the heck am I doing wrong? Could it be something with the application signing? Please help me, I'm totally out of ideas.
View 3 Replies
View Related
Jul 29, 2009
I am broadcasting an Intent from an activity. Can we make another application as a receiver. So that it will get invoked when that specific intent is broadcasted.
View 2 Replies
View Related
Jul 11, 2010
I am wanting to know if a developer has the ability to choose not to display the permissions needed for an app they create. For an example if there is a note taking app in the market that says no permissions needed, but in reality, it does have "internet access"capabilities not shown to the user/downloader, Is it possible for App permissions to be hidden and not displayed to the user? Can someone explain to me the process on assigning and displaying permissions on android apps?
View 4 Replies
View Related
Oct 15, 2010
I have a question about a simple application, the only permission that i have set is Internet, because it's a simple application that reads something on the net. Anyway, the app requires to me (when i install it) three permissions, Internet, SD Storage and Phone usage.
Anyone knows why happens this?
View 2 Replies
View Related
Feb 25, 2010
I know you can apply Permissions for Applications on it's manifest.xml file. What I want to know is, can those Permissions be adjusted by the Applications on the fly?Here's my reason: say I have an application that is allowed to do "x", "y", and "z" (SMS, sockets, etc) Permissions. Now lets say I have a logical "user" that connects to this Application, and I want that user to only be able to do "x" and "y", but not "z" Permissions. It would be nice to have the Android Framework handle that instead of having a bunch of "if's" in the App code.
View 1 Replies
View Related
Aug 30, 2010
I need to compile an application with system permissions in order to use target application com.android.settings. For now while I try to run my apk I get the error message
Test run failed: Permission Denial:
starting instrumentation
ComponentInfo{com.jayway.test/android.test.InstrumentationTestRunner}
from pid=354, uid=354 not allowed
because package com.jayway.test does
not have a signature matching the
target com.android.settings
How can I compile my application with system permissions?
View 1 Replies
View Related
Aug 13, 2010
I want to run some code when an app is launched, so my broadcast receiver has to be notified when user open any app.
View 1 Replies
View Related
Jul 1, 2009
I'd like to add a Broadcast Action to my Intent Filter that listens for when my application is successfully updated(replaced).A new version of an application package has been installed, replacing an existing version that was previously installed. The data contains the name of the package."
View 4 Replies
View Related
Jul 3, 2010
I was wondering, is there anyway a developer can hide or exclude a certain app permissions from being seen by Android market users? And are the permissions for an app controlled or regulated by Google? Another question I have - Is there anyway to restrict PDF files from opening in the default browser? This is a problem when I am on a search engine and accidentally click a link that's a pdf file- I don't want pdf's downloaded without asking me permission atleast. And my last question, is there a way to view current extensions that are installed in the browser.? Where is androids inbuilt file manager? Does uninstalling an application completely take off everything related to that app from your phone?
View 2 Replies
View Related
Apr 7, 2010
I've noticed a troubling issue with app permissions. It seems that after installing, some apps that didn't ask for these two permissions:
Storage: modify/delete SD card contents
Phone calls: read phone state and identity
will magically acquire them after install! These apps do not ask for these permissions during install, nor do their Market pages disclose that they need them. After looking through many logcat messages during an install, I found this:
04-07 03:23:08.973,I,PackageParser,1016,com.some.app.nam e.here: compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
Digging around, I found this online:
Android permissions: Phone Calls: read phone state and identity - Stack Overflow. It seems that an app that is compatible with systems earlier than 1.6 will automatically be assigned those two permissions. If a developer is willing to make their app compatible only with 1.6+ systems, they can change their app's manifest:
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="4" />
and when users on 1.6+ devices install the app, those two extra permissions won't show up.
I bet a lot of app developers don't know this, and therefore their apps will seems to acquire those two permissions magically. Users will install those apps, see the two extra permissions when they inspect the app security setting and be very puzzled. They'll probably think the app is malware and uninstall it. I've contacted some app developer about this issue, so that they can (hopefully) fix their app so it doesn't look like malware. Unfortunately, until all legit apps are fixed, it'll be hard to distinguish amongst apps that have those permissions, which app actually needs those permissions, which apps need fixing, and which apps are malware.
View 2 Replies
View Related
Apr 29, 2010
I have two published apps that are pretty targeted to the user collecting their personal medical data (like Blood Pressure, etc.) and then, eventually sending it somewhere, if they choose.
I decided to put Read/Write permission on my ContentProvider, so if another app comes along that wants to the access that content, the user will be warned. The permission that is required is declared in my apps.
When the user installs my apps, they are also given a warning that the app requires that permission (even though it's the one that declares it), and it shows up in the Marketplace also.
The question is: Is it possible that the permission acceptance part of installing my app could be putting customers off? I don't know what other's acceptance rate is, but mine is around 50% of customers who download it have active installs.
View 5 Replies
View Related
Jan 31, 2014
how to find permissions a given application has. Each app is run as a certain user, so wouldn't finding the file permissions of an app be the same as finding the file permissions of a user? On Linux/Unix there is the find command but I don't know of any alternative command that is available on android. I am running KitKat 4.4.2 kernal 3.40-gadb2201.
View 3 Replies
View Related
Mar 18, 2010
How can I write a Broadcast Receiver that will be invoked when user clicks on any application icon?
I tried by writing:
CODE:...................
But it is not called.
I tried, by using Packagemanager I will get ApplicationInfo. From that I can know all the application starting activity name and package names. I thought I can use them to registerReceiver and my receiver will listen by its launching activity and package name.
View 1 Replies
View Related
Jan 15, 2012
I could open the file input/output of my application through a broadcast receiver. Normally, I would use openFileOutput/Input(), but this can only be done through activities. Would it be more sensible to create my file in res/raw? or create an instance of the activity and call openFileOutput() on it?
View 1 Replies
View Related
Jul 23, 2012
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?
View 2 Replies
View Related
Sep 28, 2009
trying to create a broadcast receiver which responds to system events and change system settings. I don't need any interaction from the user so I don't need an activity and have been trying to do everything through the manifest file. I've put a log event into my onReceive method but it never logs anything so I'm presuming my method is never called. I've tried this with both the 1.5 and 1.6 SDKs. I was hoping somebody could have a look at my code please and let me know if there are any problems.
View 2 Replies
View Related
Jul 30, 2010
In android manifest code these permissions are used sometimes.for what these are used?
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_SMS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_CONTACTS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
View 4 Replies
View Related
Sep 25, 2010
I know where to go to view them, but how can you change them?
View 1 Replies
View Related
Aug 30, 2010
I've been following the "Is there a way to request permissions from a user as you need them?" thread with a lot of interest, but even if someone is convinced to make the Android permissions system better, it doesn't do anything for right now.
So, I thought I'd start a thread for coming up with alternative ways to reduce the permissions your app needs.
My app absolutely needs internet access (it's useless without it), and it uses Google Maps extensively (it's the main activity), so I have the following :
CODE:.................
I want to be able to know if I have a network connection, hence the ACCESS_NETWORK_STATE. I also try to use GPS hence the "ACCESS_FINE_LOCATION", and if GPS is not available I try to find the user's location using something else hence "ACCESS_COARSE_LOCATION" and of couse the "INTERNET" permission. I also use the "My Location' feature of Google Maps.
So... the question is : Is there a robust way to use Google Maps, and be able to send requests to my server without all those permissions (in a user friendly way) ?
I'm also experimenting with C2DM, so I have the following:
CODE:................
If I want to use C2DM, it seems I am stuck with those... Anybody know
Now... I also want to use the camera (optional) and vibrate (optional but most users will want it) so I have to add :
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.VIBRATE" />
Total 10 lines of permissions in the manifest.... AND this is AFTER removing 4 other permissions that a small percentage of users would have found very handy, AND not adding a few other features because of the permissions bloat they would have added
CALL_PHONE READ_CONTACTS GET_ACCOUNTS SEND_SMS
So... given all of this, is there a way to reduce the permissions I need any more than I already have? AND why do I need a total of 8 permissions just to ask my server for the data they want, and try to keep them current using C2DM? Surely those permissions could be reduced somehow.
View 7 Replies
View Related
Jan 18, 2010
I'm currently reading the specs about Android's Security system and something is not clear on my mind... Can somebody explain me ? About the Permissions, it is possible to set four levels (Normal, Dangerous, Signature and SignatureOrSystem) The documentation is here : http://developer.android.com/reference/android/R.styleable.html#Andro...About the "Dangerous" level, it's written : "For example, any dangerous permissions requested by an application may be displayed to the user and require confirmation before proceeding, or some other approach may be taken to avoid the user automatically allowing the use of such facilities." What does "Some other approach may be taken..." means ? How does that work ? Is there any example?
View 4 Replies
View Related
Nov 26, 2009
When I run any application from Eclipse on my real G1 device (a retail one, this is not a dev phone), I am granted the READ_PHONE_STATE and WRITE_EXTERNAL_STORAGE even if i don't declare them in the AndroidManisfest.xml. I actually can call TelephonyManager.getDeviceID () to retrieve the IMEI and I see these permissions in Settings -> Applications. I don't have this behavior in the emulator. Does anyone have the same "problem"?
View 6 Replies
View Related
Mar 4, 2010
I have some well-debugged XML-RPC interfaces on a site that work wonderfully from both PHP and from JAVA. Using Eclipse I am able to write Java apps using either the Redstone or Apache XML-RPC libraries quite simply. These test cases using the 2 libraries utilize JavaSE-1.6 (jre6) libraries as well as one of the 2 xml-rpc libs referenced above.
My problem is making this work on Android. I have added ADT to my Eclipse setup and easily executed the HelloWorld test using a virtual 1.6 or 2.1 Android device - no problems. Whenever I go into the Build Path in Eclipse and add the external jars for either the apache or redstone XML-RPC libs my console goes wacky with a ton of the following:
Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associated EnclosingMethod attribute. (This class was probably produced by a broken compiler.)
If I push ahead and debug the code when it actually ships off the XML request I get an exception out of the XML library on permissions of some sort. Why does this only happen in an "Android" project. These libraries seem to have no problem running in Non-Android standard java configs. Once we proof the ability to talk to our server we can proceed down the road of actually porting our app to Android.
View 2 Replies
View Related
Aug 13, 2010
I have a service which both downloads a file and saves it, and it seems I can only specify one permission.
<service android:enabled="true"
android:name=".DownloadService" android:permission="android.permission.INTERNET">
</service>
or
<service android:enabled="true"
android:name=".DownloadService" android:permission="android.permission.WRITE_EXTERNAL_STORAGE">
</service>
View 1 Replies
View Related
Mar 25, 2010
This seems to be a bit of a vexed issue: see
http://groups.google.com/group/android-developers/browse_thread/threa...
Like the person who started that thread, I need to get a unique ID for a device, without using scary permissions for TelephonyManager. I've tried
id = android.provider.Settings.Secure.getString(getContentResolver(), android.provider.Settings.Secure.ANDROID_ID);
but that just produces "android_id" on my phone. I'm using a Nexus One and Android 2.1.
View 7 Replies
View Related
Sep 24, 2010
I created an application that starts a service. This service is expected to run in background. This service has to access the Location. I am currently unable to do so I have given permission to my Manifest file I think the issue is that the application has the permission, but the Service does not ! What happens is that the service keeps running even if the application is stopped .Does the Service need special / different permissions ? How do I assign permissions to Service ( my service class extends : Service).
View 2 Replies
View Related
May 27, 2010
For the current application/widget I'm creating I have not set any permissions yet, altough the apk files I have already generated (for example this one: http://code.google.com/p/workregistrationwidget-android/downloads/det...) on install it notifies the users that it requests both SD card access and phone state access. The application source is available here: http://code.google.com/p/workregistrationwidget-android/ Can anyone have a look and tell me what I do wrong or is it just a bug?
View 4 Replies
View Related
Dec 23, 2009
I downloaded Unit Converter, and noticed that the market said it needed no permissions, while the manage apps list on the phone said it needed to modify the sd card and read phone state. Not that this was a huge deal, but why would they be different?
Anyways, how does everyone like that unit converter? It seems like it has everything!!
View 3 Replies
View Related
Oct 8, 2010
I was looking to install handcent sms on my phone and noticed that it needed a ton of permissions! it makes me feel a little uneasy how much access i have to grant it. why does it need so many when it just reads and send texts?
View 1 Replies
View Related
Apr 9, 2009
We are a team of Android developers and we are facing a serious problem for quite some time. Our app (a game client) is designed in such a way, that once it's installed it can be used to download games from a game server. In order for the downloaded games to work, they have to be installed and launched by the client.The problem is that the client has no write/update rights for the / data/dalvik-cache directory, unless we specifically execute the chmod 777 command for that directory. Setting the android.permission.INSTALL_PACKAGES permission in the client's manifest file also doesn't work. After reading countless forums where other people have complained about the same problem, we would like to know when this issue is going to be resolved. Apparently the code for this feature already exists (the DexFile class of the so called "cupcake" release) but it hasn't been released yet.What's more frustrating is that the Android team points out that all Android apps are equal, that system apps are equal in rights to custom apps. Obviously this is not the case. If the client game app is installed in the /system/app the problem described above is solved. System apps have the right to dynamically install other apps. Regular apps (installed in the /data/data folder) do not.Is this issue going to be resolved anytime soon? Will the "cupcake" DexFile class going to be present in the next release? This is a rather urgent problem since we are waiting for this new functionality in order to continue development.
View 14 Replies
View Related