Why GPS based android app is not installing in Assisted-GPS (A-GPS) based android device?
Asked Answered
P

1

6

It shows, Error states that "No eligible devices for app install"

Device specification is as follows,

Model : Lenovo A369i

Android OS Ver : 4.2.2

I am doing below permission in android mainfest file

<uses-permission android:name="android.permission.CLEAR_APP_CACHE" />
    <uses-permission android:name="com.ylogtrack.activity.permission.MAPS_RECEIVE" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
      <uses-permission android:name="android.permission.BLUETOOTH" />

plz suggest

Peduncle answered 18/2, 2014 at 12:24 Comment(7)
#13748236Debroahdebs
@KarthickPandiyan, what it means?Peduncle
where does this error occur?Ahithophel
I am using location client to get current location. In any device which have A-GPS functionality like LENOVO A369i , not giving proper location at given time interwal.Peduncle
pls post whole manifest with min and target versionsMoonscape
@Peduncle What are you asking is not clear to me, you first said your app is not installing in the question and in the message you are saying that you are not getting proper location at interval..Explain a bit more clearlyCaralie
Check your Minimum SDK VERSION android:minSdkVersion in your manifest? and make sure to have our max set android:targetSdkVersion to 19 (the latest version) eg. <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="19" />Mongolia
S
2

From the specs found at GSM Arena - Lenovo A369i it states:

A-GPS support only

What that means it that the device doesn't have a distinct GPS component and is dependent on the mobile network for location.

The permission

<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />

Actually implies that a GPS is available and you could get location information without a network.

ACCESS_FINE_LOCATION requires android.hardware.location.gps and android.hardware.location

See: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions-features

Since the store checks the permission and the device doesn't have GPS, your app is not visible.

Try adding to your manifest:

<uses-feature android:name="android.hardware.location.gps" android:required="false" />

And see if that resolves the problem.

Sextant answered 26/2, 2014 at 19:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.