PERMISSIONS Problem

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

PERMISSIONS Problem

Postby Malefico » Mon Nov 10, 2008 10:03 am

Hi,

I have a problem with my application. When i run it i have these warnings and the application can't detect the gps position.

I used the same code in FriendFinder tutorial and all run well.

where is the problem?

LOG:

Unknown permission android.permission.ACCESS_GPS in package com...
Unknown permission android.permission.ACCESS_LOCATION in package com...
Unknown permission android.permission.ACCESS_ASSISTED_GPS in package com...
Unknown permission android.permission.ACCESS_CELL_ID in package com...



MANIFEST.XML
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <manifest xmlns:android="http://schemas.android.com/apk/res/android"
  3.      package="com.softeam.android.contacts"
  4.      android:versionCode="1"
  5.      android:versionName="1.0.0">
  6.    
  7.         <uses-permission android:name="android.permission.READ_CONTACTS" />
  8.         <uses-permission android:name="android.permission.CALL_PHONE" />
  9.         <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
  10.         <uses-permission android:name="android.permission.ACCESS_GPS" />
  11.         <uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION" />
  12.         <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
  13.         <uses-permission android:name="android.permission.INTERNET" />
  14.         <uses-permission android:name="android.permission.ACCESS_LOCATION" />
  15.         <uses-permission android:name="android.permission.ACCESS_ASSISTED_GPS" />
  16.         <uses-permission android:name="android.permission.ACCESS_CELL_ID" />  
  17.            
  18.     <application android:label="@string/app_name" android:icon="@drawable/android_lyra_icon">
  19.         <activity android:label="@string/app_name" android:name="ContactsMain">
  20.                 <intent-filter>
  21.                 <action android:name="android.intent.action.MAIN" />
  22.                 <category android:name="android.intent.category.LAUNCHER" />
  23.             </intent-filter>
  24.                 </activity>
  25.                 <uses-library android:name="com.google.android.maps"></uses-library>
  26.                 <activity android:name="Map"></activity>
  27.                 <activity android:name="CustomerDetails"></activity>
  28.                 <activity android:name="CustomersSearch"></activity>
  29.                 <activity android:name="ActivityDetails"></activity>
  30.                 <activity android:name="ActivityList"></activity>
  31.                 <activity android:name="OrderDetails"></activity>
  32.                 <activity android:name="OrderList"></activity>
  33.                 <activity android:name="GeneralMap"></activity>
  34.                 <activity android:name="Options"></activity>
  35.                 <activity android:name="test"></activity>
  36.         </application>
  37. </manifest>
Parsed in 0.008 seconds, using GeSHi 1.0.8.4


Thx
Malefico
Developer
Developer
 
Posts: 30
Joined: Fri Oct 24, 2008 3:32 pm

Top

Postby Bruce.lntu » Mon Nov 10, 2008 10:28 am

Try to check whether these permissions are exist or not in this page
http://code.google.com/android/reference/android/Manifest.permission.html
User avatar
Bruce.lntu
Developer
Developer
 
Posts: 37
Joined: Thu Jan 03, 2008 11:36 am

Postby Malefico » Mon Nov 10, 2008 10:56 am

Ops :oops: ..you are right. Probably these are old permission names.

It seems the only permission i need is ACCESS_FINE_LOCATION.

Now i try with it.

thx
Malefico
Developer
Developer
 
Posts: 30
Joined: Fri Oct 24, 2008 3:32 pm

Postby alpesh_harsoda » Fri Nov 14, 2008 11:45 am

hello i hv problem that map is not displayed.only it shows white dots.
so what is i missing can anyone tell me pls....
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Postby MrSnowflake » Fri Nov 14, 2008 11:48 am

alpesh_harsoda wrote:hello i hv problem that map is not displayed.only it shows white dots.
so what is i missing can anyone tell me pls....
2 things, you acitivy should have android.permission.INTERNET and you need to have a map key. (theres a tutorial how to do this in the tutorial section)

This question has been posed numerous times, so try to search the forum first. Also, this isn't a reply to the problem the thread started with, so you should've started a new thread.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby alpesh_harsoda » Fri Nov 14, 2008 11:53 am

ok buddy.......next time i will take care of this...
thks....
User avatar
alpesh_harsoda
Senior Developer
Senior Developer
 
Posts: 106
Joined: Sat Sep 20, 2008 12:35 pm
Location: Rajkot,Gujarat(India)

Top

Return to Map Problems

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests