Android :: Permission Do I Have To Add To Manifest To Get Gps Sensor Readings On Phone?

Mar 11, 2010

Which permission needs my application to get access to the location of the user on Android?

Android :: Permission do I have to add to manifest to get gps sensor readings on Phone?


Android :: Permission Enforcement In Application And Manifest

Jan 10, 2010

I have two applications A and B (in different packages). A can send an explicit intent to B to perform some kind of action. Then,I enforced a permission in application B called "my.permissions.B_PERMISSION ". The A application can still call B despite the fact that it doesn't have the appropriate <uses-permission> in its manifest. Have I understood something wrong?

View 7 Replies View Related

Android :: Internet Permission In Application (Manifest XML)

Mar 5, 2010

One of my users is experiencing an odd problem on network access via my application. Checking his logs shows up the following exception. The odd thing is that I have "android.permission.INTERNET" in application AndroidManifest.xml and many users have already used my app with no problem (I've launched it 4 months ago).

java.net.SocketException: Permission denied (maybe missing INTERNET permission) at org.apache.harmony.luni.platform.OSNetworkSystem.createStreamSocketImpl(Native Method) at org.apache.harmony.luni.platform.OSNetworkSystem.createStreamSocket(OSNetworkSystem.java:187) at org.apache.harmony.luni.net.PlainSocketImpl.create(PlainSocketImpl.java:266­) at java.net.Socket.checkClosedAndCreate(Socket.java:872) at java.net.Socket.connect(Socket.java:1019) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.<init> (HttpConnection.java:62) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager $ConnectionPool.getHttpConnection(HttpConnectionManager.java:145) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionManager .getConnection(HttpConnectionManager.java:67) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.get HTTPConnection(HttpURLConnection.java:821) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.con nect(HttpURLConnection.java:807) at org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection.get OutputStream(HttpURLConnection.java:1150) ......

View 2 Replies View Related

Android :: Add Manifest Permission To Droid Application?

Jan 30, 2010

I am trying to access http link using HttpURLConnection to download a file, but getting this warning in LogCat

WARN/System.err(223): java.net.SocketException: Permission denied (maybe missing INTERNET permission)

I have added android.Manifest.permission to my application but its still giving the same exception. Any suggestions?

View 4 Replies View Related

Android :: No Permission In Manifest File For Call But Activity Starts?

Jan 30, 2009

I just created a simple application, that starts the Dial Activity and place a call. I did not provide any permission in the manifest file to start a call, but still the call activity starts. I also checked the AndroidManifest.xml file, there is no permission added, still the activity starts.

View 6 Replies View Related

Android :: Admob - Android.permission.ACCESS_COARSE_LOCATION Set In My Manifest

Mar 28, 2010

I'm using Admob, and currently have android.permission.ACCESS_COARSE_LOCATION set in my manifest.

Now, my app clearly doesn't require location, and a lot of users are asking why I need it. I've just discovered that Admob doesn't actually require that the location is set, the only essential permission is the INTERNET one.

So my question is, can I remove the location permission, and be confident that the ads will still serve just as effectively, and that it won't have a detrimental affect on my ad revenue?

View 12 Replies View Related

Android :: Best Phone Orientation For Compass Readings?

Dec 26, 2009

I've noticed that I get a slightly different reading from the compass depending on how I hold the phone. If I hold it vertically, its different than when I hold it horizontal (ie parallel to a table or floor). Does anyone know the most accurate way to hold the phone for the compass?

View 5 Replies View Related

Android :: No Light Sensor / Proximity Sensor Detected On Hero?

Feb 8, 2010

I have a HTC Hero here, and when I tried to get the list of available sensors on the device by calling ((SensorManager) getSystemService (Context.SENSOR_SERVICE)) .getSensorList(Sensor.TYPE_ALL); I get only the following sensors: D/SensorManager( 6302): found sensor: BMA150 3-axis Accelerometer, handle=0 D/SensorManager( 6302): found sensor: AK8973 3-axis Magnetic field sensor, handle=1 D/SensorManager( 6302): found sensor: AK8973 Orientation sensor, handle=2 D/SensorManager( 6302): found sensor: AK8973 Temperature sensor, handle=3 According to the specs, there should be a light and a proximity sensor on the Hero, and I've seen it in action (the automatic screen brightness adjustment) - so at least the ambient light sensor is definitely there. My question is then, why doesn't the getSensorList return for me the light and the proximity sensors?

View 8 Replies View Related

Android :: Difference Between Orientation Sensor / Magnetic Field Sensor

Nov 2, 2010

Does anyone know the difference between the orientation sensor and magnetic field sensor on Android?Since I've read that magnetometer is synonymous with digital compass I'm a little bit confused. What are they really?

View 1 Replies View Related

Android :: Is Orientation Sensor A Physical Sensor Different From Accelerometer?

Oct 30, 2009

Or it's just some virtual sensor the uses the data provided by the accelerometer and the magnetic field sensor to calculate the orientation?

View 7 Replies View Related

Android :: Removing G Factor From Accelerometer Readings?

Jul 31, 2010

removing the g factor from accelerometer readings. I am using SensorEventListener with onSensorChanged() method for getting Sensor.TYPE_ACCELEROMETER data. I need only pure acceleration values in all directions. So at any state if the device is stable (or in constant speed), it should give (0.0,0.0,0.0) roughly.
Currently, depending on its pitch and roll, it gives me variable output depending on the g forces acting on each axis. I hope there is some formula to remove this, as I also get orientation values (pitch and roll) from Sensor.TYPE_ORIENTATION listener. I had used some but didn't work.

View 1 Replies View Related

Android :: Converting Accelerometer Readings To Degrees

Apr 20, 2009

Does anyone know how to convert the accelerometer readings from g's to degrees?For example, if I want to use the x-axis readings and measure the tilt of the phone, flat would be 0g = 0 degrees and a 90 degree tilt to the right would be 1g (9.80665 m/sec^2).I can't come up with a formula for say 20 degrees or 45 degrees. Any help would be greatly appreciated.

View 2 Replies View Related

Android :: Calibration With The Environment May Improve The Readings?

Jun 9, 2009

Reading the sensor API (http://developer.android.com/reference/android/ hardware/SensorManager.html) The section about ACCURACY speak about calibration:

"calibration with the environment is needed"

How do it calibrate?! Is this software calibration? Phone specific calibration??

I don't see any methods to calibrate.

Using the HTC Magic the compass often give me crazy values like if I was on the magnetic pole. I feel pretty scared and hide under a tinfoil hat just in case...

So any url, doc or explanation!

View 9 Replies View Related

Android :: Add New Sensor Support In Sensor Framework

Nov 18, 2009

Can some one point towards any documentation/resources/ threads that can explain how a new sensor support can be added in android sensor framework?

View 2 Replies View Related

HTC Droid Eris :: My Home Sensor Is Not As Responsive As My Back Sensor

Feb 18, 2010

My home icon is way less responsive than the back icon which seems to be perfectly normal. Sometimes I have to "press" the home icon twice to get the "buzz" and have it move the screen. However the back icon works 99% of the time on the first press. IS there any adjustment I can make or should I bring the phone back. I have had it now for 2 weeks.

View 9 Replies View Related

Android :: Latency When Getting Sensor Data From Phone?

Mar 9, 2010

I am working on a project using HTC magic which requires the data from the electronic compass, including both the accelerometer and magnetic sensor. But I find that there is a significant latency between the move of the phone and the trigger of the sensorChanged event. In other word, the acceleration and magnetic data obtained from sensor are updated about half of a second after my motion. And I have several questions about the problem as follow. Are the orientation data computed by the acceleration and magnetic data? Or are there a physical sensor for orientation? Does the latency result from the android API (using the event) or the physical limitation of the electronic compass? It is said that the model of the electronic compass is AK8976A from Asahi Kasei. Does anybody have the datasheet or know the frequency of the sampling? Any idea to improve the real-time experience?

View 1 Replies View Related

Android : Mobile Phone Accelaration Sensor

Sep 22, 2009

I'm interested in developing some software for the android OS using acceleration sensor and I would like to know how precise this technology is in mobile phones ? so I wont be waiting my time.If anyone know something please share!

View 3 Replies View Related

HTC EVO 4G :: Phone Hangs Up - Way To Turn Off The Sensor?

Jul 22, 2010

My wife and i both have the EVO and for some reason she is always hanging up on people. is there any way to turn off the sensor so that when the phone is takin away from your face it doesnt light up the end call button?

View 4 Replies View Related

How Phone Figures Out Sensor Accuracy

Mar 29, 2014

I'm new to android development and I'm implementing a simple localization method to get used to the device. I've been reading some articles and I can't seem to figure out how the phone figures out sensor accuracy. My guess is that it decides this based on how long its been since it was last calibrated.

View 3 Replies View Related

Android :: Permission Required To Toggle Phone GPS Setting?

Apr 20, 2009

What is the permission required to toggle the phone GPS setting?

View 2 Replies View Related

HTC Incredible :: Screwed With G - Sensor Settings / Phone Won't Go Into Landscape

May 4, 2010

I was dunking around with settings and got to the g-sensor level. I clicked calibrate, everything seemed fine. Now the phone won't go into landscape mode unless I shake it hard a few times. How the hell do I fix this?

View 9 Replies View Related

General :: What App Permission Can Really Do On Phone

Apr 23, 2013

apps asking to have to the ability to access our personal info. Can they really go through our files on our phone? I notice that with every update they want to add new permissions. How safe is the information stored on our phone?

View 1 Replies View Related

Motorola Droid 2 :: Proximity Sensor Not Working / Display Stays On While Phone Next To Face

Sep 9, 2010

Is anyone having this issue? Friend of mine has the D2. Says the display does not turn off when next to her face and registers any touches.I don't have a D2, so I don't know what the phone options/settings might be.

View 3 Replies View Related

General :: Spoof (Phone Identity) Permission For Apps?

Apr 1, 2012

I cant seem to find any posts about this but it has driven me nuts since I upgraded to Android from my non-smart phone. I don't want to give my number out to every app I install. Yes I understand I can not install apps that require this permission, but is there a way to "Spoof" this permission. in other words if an app requests my phone identity, it would return a fake number instead of my real number?

I am running Cyanogen Jordon

View 4 Replies View Related

Android :: Start Activity Without Manifest

Jan 22, 2009

I create my Network provider and I want to start Activity from it. Is it necessary to create separate Activity with Manifest and then launch it using startActivity? Can I launch unregistered Activity directly from my provider?

View 5 Replies View Related

Android :: Getting Manifest.xml Of Applications From Market?

May 20, 2009

is there some way to retrieve the manifest.xml of an application from the market, without installing the application? I think the official Market Application somehow get this file (or at least parts of it) to show needed permissions, etc. before installing. I'd be interested in seeing the IntentFilters defined by applications and their activities and processing this information in my application.

View 6 Replies View Related

Android :: Two Applications In One Manifest File?

Mar 12, 2009

Is it possible to have two application tags (<application>)in the same AndroidManifest.xml file ?If yes - is there anything special that needs to be done, I am trying it, the syntax is accepted by the XML parser but when I install my second application is not available.

View 4 Replies View Related

Android :: Modifying Manifest On Runtime

Nov 3, 2010

I am writing an application that will run on 2.0 and above. Now, I am thinking of adding the Data backup feature to the application. Is there anyway to modify the manifest file to include the metadata only if the phone is using Froyo(2.2). Ideally, i would like to avoid creating a separate application for just Froyo.

View 3 Replies View Related

Android :: Get Manifest Versionname By Code?

Jun 5, 2009

How can i request the versionName stored in manifext.xml from within my Code?

>manifest.xml

View 2 Replies View Related

Android :: Getting Package String From Manifest?

Sep 14, 2010

This should be simple but I can't find any info on this...

I simply want to read the package value in the android manifest...

CODE:......

The reason is simple I have to call context.getResources().getIdentifier(...)and I need the package.

Since this code will be reused in other apps I want to make it fool proof when I export it and therefore not have to change the value each time.

View 2 Replies View Related







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