Android :: Can Apps Request Additinal Permissions At Runtime

Feb 1, 2010

I'm working on an app which contains some scripting support. The scripts executed by this app might require all sorts of permissions in the future, but it's difficult to predict which ones.

Is there a way to request additional permissions at runtime (like iPhone apps sometimes do) instead of specifying them all in advance in AndroidManifest.xml?

Android :: Can apps request additinal permissions at runtime


ADVERTISEMENT

Android :: Google Reader API Request Token - Get 400:Bad Request

Jul 8, 2010

this Android code worked fine before, but i'm having problems for some reason. here is the request i'm trying to make: https://www.google.com/reader/api/0/token. i'm getting 400:Bad Request as a response, and i'm not sure why. isn't this the correct URL for requesting a token? the auth token is being passed as a header in all requests now, and i can request feed list, and it works just fine, so there's nothing wrong with the auth code. what gives? in addition, i can request a token in a normal browser, like Chrome, and get a token as a response body. so the request itself is not the problem. i just can't figure out what is wrong with my requests in code...

View 1 Replies View Related

Android :: Permissions To Install Other Apps

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

Android :: Updating Permissions For Apps That Modify SharedUserID

Oct 6, 2009

I'm looking to update my app and provide a sharedUserId as part of my manifest, so that the several apps I have can all nicely look at each other's private files if necessary. Unfortunately, I've discovered that adding a sharedUserId where it did not exist before will change the userId and make me unable to modify current existing files.Is there a graceful way to handle updating your sharedUserId now that I need its functionality? Or am I pretty much resigned to requiring people to uninstall and reinstall my app to be able to do this?

View 3 Replies View Related

Android : Default Permissions Granted For Apps On Droid?

Aug 6, 2010

I have noticed in an application I wrote, in-spite of me not specifying any permission in the manifest file, the application throws up permissions granted, such as

android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE

What is all that about? I was not even aware my application needs to write into external store, and I am pretty sure it doesn't need to. So why are these permission being granted when I never requested for them?

View 1 Replies View Related

Create Runtime For JS / HTML Apps Using Cordova?

Oct 15, 2012

I plan to create a runtime for hosting (inner) JavaScript apps using Cordova.

1. There should be a host app acting as the runtime. In this Host-App, it should able to load JS/Html Apps dynamically. Same goes for removing.

2. Also, the inner JS/Html Apps should be able to communicate with each other.

Important is

- that the loaded JS/Html should call native functions like contact list (thats why Cordova should be used)

- and the JS/Html is not necessarily on the device when the apk is created. Hence, it should be able to download the sources and show them in the native app.

View 2 Replies View Related

Bad Request While Trying To Send Cookie With HttpGet Request

Aug 17, 2012

I am developing an Android app for a website. I'm trying to get some information from the website by sending a cookie using a HttpGet request. I don't know where I am going wrong with the request. I am using AsyncTask to send the request to the server. The request also uses a token which I receive when I login to the webpage. All this is clear in the code below. This is part of the process in the doInBackground() function of the Asynctask:

BufferedReader in = null;
JSONObject token = Login.getToken(); // Token received after login, used in the cookie
try {
r = token.get("session_token").toString();
} catch (JSONException e) {
// TODO Auto-generated catch block
e.printStackTrace();
[code]...

View 1 Replies View Related

General :: What Is (DIAL Request Modified To SS Request)

Aug 21, 2013

I own a Xiaomi MI2S, running MIUI-3.8.16 @ Android version 4.1.1.JRO03L with Baseband version CEFWMAZM-2.0.128 017.

From my phone provider (Tele2) i have to dial a 1 (one) before my PIN-code when traveling abroad.

The code is accepted, I can be called and i can send and receive SMS messages.

However i cannot make phone-calls...

The error (?) is "DIAL request modified to SS request" and (very short) "not connected"

View 2 Replies View Related

General :: Apps Permissions After Uninstall

Mar 11, 2014

When installing a app (after confirm its permissions) - the persmissions like "contact", "calls", etc (all kind of permissions) - are disabled to the dev once I delete the app or he always have access to my info (at permissions) OR at the time I've download the app he have access to the permissions until I delete it and all the permissions are disable?

Usually this information/permissions are availabe to the dev automatically once I install the app or he need manualy to get into this informations? If I force stop the app, will it still have access to my data (permissions) or only if its running?

View 2 Replies View Related

General :: Stopping Permissions Of Certain Apps

Feb 25, 2013

Stopping certain apps from using certain permissions. Eg. GPS coming on sporadically with apps that don't need it.

View 2 Replies View Related

General :: Apps With No Permissions Shown?

Mar 16, 2012

Just want to ask how to view the permissions of apps installed but with no permissions shown(even "This app does not require permission.)

Does this present problems for security?

View 1 Replies View Related

General :: Apps With Excessive / Unnecessary Permissions?

Mar 30, 2014

A friend has ordered her first ever smartphone (Moto G) and I am tasked with showing her the ropes on using it. Although she really isn't technically-inclined, she does listen to what she is told and I really want to instill good, safe habits in her from the outset.

One of the lessons she needs teaching is regarding malicious apps, and checking permissions before installing anything. You know, stuff like games which want access to make phone calls, send sms, etc

To be clear, what I'm looking for is apps that request excessive permissions, so I can show her what she should be looking out for and avoiding when she's installing apps

View 1 Replies View Related

General :: App Showing Permissions Of Loaded Apps?

Apr 4, 2013

App which shows (concisely) the permissions on all the apps loaded on phone? I have noticed some free apps request phone book info, contact info, etc. for no good reason.

View 2 Replies View Related

Motorola Droid X :: List Of Apps With System App Permissions

Aug 1, 2010

Which apps that are considered bloatware are required to have system app permissions? I removed a few and I want to set their permissions correctly but I dont want to screw up and possibly brick.

View 2 Replies View Related

General :: Apps That Require Permissions Not Needed For Task

Feb 20, 2013

I didnt have a smartphone for a while and i just got a shining new nexus 4.

I want to installs all the apps out there but i realise many of them require permissions that (i think) are not actually needed by the app to do whatever it needs to do..

For example i want to install power toggles it asks to use my camera... cant the flashlight be turned on without allowing the camera to be used?

Anyways, i realise that apps that sometimes do the exact same things require different permissions, hence... ?

So main question is: is the permission to use the camera really required by an app that turns on the led?

View 1 Replies View Related

Android :: Runtime Error Using Exported - Signed Apk But No Runtime Error Using Eclipse IDE

Mar 2, 2009

1) I am developing my app in Eclipse 3.4.1 with Android (ver 1.1_r1) plugin. My app compiles and executes without errors when using the Eclipse IDE.

However, when I export my app (unsigned) using Eclipse (via {select project} >right-click>Android tools>export unsigned application package), sign it, and try to run it on the Emulator, it throws a runtime error when I try to update my sqlite database, at which time the specific error created is: SQLite error#14, unable to open database. It is able to read from the database without problems. (I have also verified that the database is: open, is not readonly, is not locked by another thread, is not in the middle of a transaction.)

I have limited experience, but this seems more like a "system" problem given that the app works OK in Eclipse IDE but then fails as an exported/signed apk. Some googling of SQLite resources revealed a similar error on a non-Android platform which was fixed by: "Set your permissions correctly on /var/tmp, or whatever directory you are using to hold temporary files".

Does Android have temporary files, and if so how does it handle permissions on temporary files? Is there a way to check or set these permissions to see if this fixes my problem here?

2) Not sure if it is related, but after I have run the exported/signed app which causes the runtime error, if I reboot the Emulator, and try to run the program using the Eclipse IDE , the program fails with the same exact error. PLUS I also noticed the following error message while the program is installing/running: 03-01 22:22:29.282: ERROR/PackageManager(53): Package com.northwestradiology has mismatched uid: 0 on disk, 10019 in settings; read messages:

I can restore the Eclipse version of my program to be able to execute without runtime errors by utilizing the -wipe-data option for the emulator. But note that if I run my signed APK using an emulator created with the -wipe-data option, it still throws the runtime error listed above...

View 2 Replies View Related

General :: Stop Apps From Starting Automatically / Overriding App Permissions?

Nov 2, 2012

Some backround on this post. I own 2 android devices, a Samsung Galaxy i9003 and since yesterday, a Nexus 7.

I have ditched my Galaxy as a phone and gone to Blackberry due to battery issues, and apps on my Samsung draining the battery from full to empty in the space of a few hours, so I am now very careful about what I install. Since removing almost all the apps (and the SIM card) from the galaxy, I now have a battery live measured in days (including watching video) rather than hours just sitting doing nothing...

I understand the use of apps auto-starting themselves to provide notifications, such as Facebook, Twitter & Accuweather, but even though I do use these apps for what they are, I do not need them running all the time to provide a notification: The added "work" in starting the app to check updates is worth the extra battery life I get, as if I leave things alone to be automatically managed, my battery life is divided by 10... and having to flip the phone in and out of flight mode is a pain... (especially when you forget to activate it in the afternoon after charging and at 3 AM in the morning you have no battery left to call a taxi...)

So, what I would like to understand is this: Where does android store the information on autostarting applications? Even if I use a task killer, some apps will restart later on. Android must have some sort of task scheduler to restart registered apps after a certain amount of time has passed or on certain events.

how Android manages this list - and more importantly, how to change it, and also if there is any way to override the registered permissions of an app once it has been installed?

View 9 Replies View Related

Jelly Bean :: LG Optimus G Pro - Changing Permissions Of Individual Apps?

Sep 15, 2013

Any way to change the permissions of individual apps ?

I'm running 4.1.2 on the LG Optimus G Pro.

I can see the permissions by app, but I can't find a way to change them if I don't one of them doing something.

View 4 Replies View Related

General :: Adjusting Permissions Or Feeding False Data To Apps?

Mar 24, 2014

Before rooting my device I had read there's the possibility of adjusting the permissions or even feeding false data to apps.

Today I found such an app to allow me to do so.

Both xposed apk and xprivacy ! I downloaded both which is needed. Anyway before configuring to operate there was a warning to have backup of whole system and know how to recover. Further warning said there was possibility of soft brick and bootloop. I immediately deleted them both. So did I do the right thing?

View 5 Replies View Related

General :: App Update Permissions - Any Way To Restrict Permissions?

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

Android :: Android Market Hiding Apps With Bluetooth Permissions From Android 1.5 And 1.6

Jul 10, 2010

I released updates of my apps yesterday and they are being hidden from android 1.5 and 1.6 phones.

This is due to a Market bug which hides apps with bluetooth permissions from android 1.5 and 1.6.

Come on Google fix the market. We spend countless hours making are apps work on ALL android versions and now you do this...

This issue has been raised since June, but has only affected me since i made an update to the market yesterday.

View 1 Replies View Related

Android :: Dial Up App Request

Jun 19, 2010

I already use easytether for internet access on the go, what i need is an app that will allow me to tether my phone and dial a specific number of my choosing. I run a termninal program on my pc that connects to a remote terminal via land line that uses typical rs-232 communications, but easytether or pdanet do not allow dialing of specific numbers. I use a LG VX8360 with the drivers (LG CDMA USB mondem driver) and this gives me the option in my terminal program on my PC to select the LG phone and as modem and the terminal then dials which ever phone number i choose.

Picasa Web Albums - Tommy - dial up app#

Any one able to make and app like this? I believ essentially the phone needs to be displayed in the phone modem options under control panel to ensure that it will be available to the terminal application. The terminal app is Procomm Plus.

View 6 Replies View Related

Android :: Know The Db Size At Runtime?

Nov 12, 2010

i'm trying to know the database space available. In J2ME you have getSizeAvailable(), but there is no direct replacement in Android, so i thought about doing getMaximumSize() minus database size, the thing is i just can't find a way to know the db actual size, at runtime.

View 1 Replies View Related

Android :: Request Customer Signature App

Feb 25, 2010

I'm looking for an app, but don't know if it exists. Basically what I want is an app that I can but a little disclaimer blurb, or something similar on and then have my customer sign it, all on the phone without the need for paper. If this could also be a part of a data base to keep track of customer info, that would be better.

View 2 Replies View Related

Android :: Request For Test Of A Game On An Evo

Jul 1, 2010

Try a game I've released on an Evo? A user has reported that the controls are the wrong way round on the device. Like most arrogant developers :) I initially thought "dumb user error", but I suppose it *might* draw with the Y axis reversed.

The game is Pocket Racing Lite. Touching the left side of the screen should turn the car anti-clockwise, and the right side - clockwise.

View 3 Replies View Related

Android :: Request For Shake Functionality

Nov 21, 2009

The things that sometimes a brute force shake would be most helpful for and that I would pay money to have my phone do:

1. Shake to full brightness. When it's too bright to see the screen, it's a PITA to try to get the brightness turned up.

2. Shake to current phone call. Occasionally, I exit the phone app and it's frustrating not to be able to hop back over there quickly.

3. Shake to unlock. It's annoying to always be swiping when I just want to quickly check something on my phone. A quick shake would be much easier as an option.

View 15 Replies View Related

Android :: Response From Server Without Request?

Jun 30, 2009

How can i response from the server without request? I can send httpRequest but i want to server will be able to send any response whenever it want. (Server will be able to push to handset) Must i install web server to my android?

View 2 Replies View Related

Android :: What Mechanism To Ensure Request Comes From App?

Sep 17, 2010

If I have my app fetching content from my server, what mechanism should I use on my server to ensure that its my app making the request? Is there any way that I can sign the request to using my app's signature to show its come from my app and not from a stolen version or copycat?

View 4 Replies View Related

Android :: Post Multipart Request With SDK

Jan 7, 2010

I'm trying to do something I thought would be relatively simple: Upload an image to a server with the Android SDK. I'm found a lot of example code:

http://groups.google.com/group/android-developers/browse_thread/thread/f9e17bbaf50c5fc/46145fcacd450e48
[url]

But neither work for me. The confusion I keep running into is what is really needed to make a multipart request. What is the simplest way to have a multipart upload (with an image) for Android?

View 1 Replies View Related

Android :: Request About MySQL Connection

Oct 19, 2010

I have to develop a program that need to access a MySQL database to retrieve information stored there. I searched through the Web but I cannot find any definitive best approach to get it done: someone advices SOAP, someone else HTTPClient or XMLRPC.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved