I don't know if could be this.. but.. maybe you must give your application
authorization to use the GPS.. through the AndroidManifest.xml... and/or
authorization to access the internet...

On Mon, Oct 4, 2010 at 12:01 PM, ColletJb <[email protected]> wrote:

> Hi,
>
> I'm trying to use Google Maps Navigation from within my application.
>
> I've found on the net it can be done with this intent :
>
> Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:"+lat
> +","+lng));
>
> where lat and lng are the latitude and longitude.
>
> Unfortunately, I get a SecurityException :'(. Can someone tell me
> which permission I should ask ?
>
> Thanks a lot for your help.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
<<PSMJ>> Paulo Sérgio Morandi Júnior
-----------------------------------------------------------------------------
Bsc. em Ciência da Computação - UFRGS
Porto Alegre - RS - Brasil
-----------------------------------------------------------------------------
Mobiltec - Mobilidade em Negócios
http://www.mobiltec.com.br

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to