Re: [android-developers] Re: Google Map not showing

2013-05-10 Thread surabhi jain
Hey my problem has been solved, actually i have created wrong api key
Thanks lbendlin


On Tue, May 7, 2013 at 9:32 PM, lbendlin l...@bendlin.us wrote:

 39 characters is correct.  However you do NOT want to post your API key in
 public.

 You really will want to read the documentation.

 https://developers.google.com/maps/documentation/android/start


 On Tuesday, May 7, 2013 2:01:37 AM UTC-4, surabhi jain wrote:

 When i am generating api key it is generating 39 characters key,
 AIzaSyDvC0EKylvJ3vnDF3pBzVxOhc**weF_V_Urs

 not generating 40 characters


 On Tue, May 7, 2013 at 11:27 AM, surabhi jain surabhi...@gmail.comwrote:

 I have run my app on device but it is not displaying map, again it is
 displaying grid.
 is there any jar file or other thing to import?



 On Tue, May 7, 2013 at 12:11 AM, lbendlin lu...@bendlin.us wrote:

 In addition, V2 maps do not (easily) work on an emulator.  You would
 need an actual device with Play Services installed.


 On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote:

 The Google Maps Android API v2 uses a new system of managing keys.
 Existing keys from a Google Maps Android v1 application, commonly known as
 MapView, will not work with the v2 API.

 On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all,

 I am using Android Google Map V2.I have created api key with the help
 of below command

 keytool -list -v -alias androiddebugkey -keystore
 C:\Users\android\.android\**deb**ug.keystore -storepass android
 -keypass
 android

 After generating api key,when I run my application on emulator it
 display grid.
 Map is not displaying.

 Thanks
 Surabhi Jain

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-d...@**googlegroups.com

 To unsubscribe from this group, send email to
 android-developers+**unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to android-developers+**unsubscr...@googlegroups.com.
 For more options, visit 
 https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
 .





  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map not showing

2013-05-07 Thread surabhi jain
When i am generating api key it is generating 39 characters key,
AIzaSyDvC0EKylvJ3vnDF3pBzVxOhcweF_V_Urs

not generating 40 characters


On Tue, May 7, 2013 at 11:27 AM, surabhi jain surabhi17.j...@gmail.comwrote:

 I have run my app on device but it is not displaying map, again it is
 displaying grid.
 is there any jar file or other thing to import?



 On Tue, May 7, 2013 at 12:11 AM, lbendlin l...@bendlin.us wrote:

 In addition, V2 maps do not (easily) work on an emulator.  You would need
 an actual device with Play Services installed.


 On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote:

 The Google Maps Android API v2 uses a new system of managing keys.
 Existing keys from a Google Maps Android v1 application, commonly known as
 MapView, will not work with the v2 API.

 On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all,

 I am using Android Google Map V2.I have created api key with the help
 of below command

 keytool -list -v -alias androiddebugkey -keystore
 C:\Users\android\.android\**debug.keystore -storepass android
 -keypass
 android

 After generating api key,when I run my application on emulator it
 display grid.
 Map is not displaying.

 Thanks
 Surabhi Jain

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map not showing

2013-05-07 Thread lbendlin
39 characters is correct.  However you do NOT want to post your API key in 
public.

You really will want to read the documentation. 

https://developers.google.com/maps/documentation/android/start

On Tuesday, May 7, 2013 2:01:37 AM UTC-4, surabhi jain wrote:

 When i am generating api key it is generating 39 characters key,
 AIzaSyDvC0EKylvJ3vnDF3pBzVxOhcweF_V_Urs 

 not generating 40 characters


 On Tue, May 7, 2013 at 11:27 AM, surabhi jain 
 surabhi...@gmail.comjavascript:
  wrote:

 I have run my app on device but it is not displaying map, again it is 
 displaying grid.
 is there any jar file or other thing to import?  



 On Tue, May 7, 2013 at 12:11 AM, lbendlin lu...@bendlin.us javascript:
  wrote:

 In addition, V2 maps do not (easily) work on an emulator.  You would 
 need an actual device with Play Services installed.


 On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote:

 The Google Maps Android API v2 uses a new system of managing keys. 
 Existing keys from a Google Maps Android v1 application, commonly known as 
 MapView, will not work with the v2 API.

 On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all, 

 I am using Android Google Map V2.I have created api key with the help 
 of below command 

 keytool -list -v -alias androiddebugkey -keystore 
 C:\Users\android\.android\**debug.keystore -storepass android 
 -keypass 
 android 

 After generating api key,when I run my application on emulator it 
 display grid. 
 Map is not displaying. 

 Thanks 
 Surabhi Jain 

  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to 
 android-d...@googlegroups.comjavascript:
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com javascript:
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 --- 
 You received this message because you are subscribed to the Google 
 Groups Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to android-developers+unsubscr...@googlegroups.comjavascript:
 .
 For more options, visit https://groups.google.com/groups/opt_out.
  
  





-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Google Map not showing

2013-05-06 Thread lbendlin
The Google Maps Android API v2 uses a new system of managing keys. Existing 
keys from a Google Maps Android v1 application, commonly known as MapView, 
will not work with the v2 API.

On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all, 

 I am using Android Google Map V2.I have created api key with the help 
 of below command 

 keytool -list -v -alias androiddebugkey -keystore 
 C:\Users\android\.android\debug.keystore -storepass android -keypass 
 android 

 After generating api key,when I run my application on emulator it display 
 grid. 
 Map is not displaying. 

 Thanks 
 Surabhi Jain 


-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Google Map not showing

2013-05-06 Thread lbendlin
In addition, V2 maps do not (easily) work on an emulator.  You would need 
an actual device with Play Services installed.

On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote:

 The Google Maps Android API v2 uses a new system of managing keys. 
 Existing keys from a Google Maps Android v1 application, commonly known as 
 MapView, will not work with the v2 API.

 On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all, 

 I am using Android Google Map V2.I have created api key with the help 
 of below command 

 keytool -list -v -alias androiddebugkey -keystore 
 C:\Users\android\.android\debug.keystore -storepass android -keypass 
 android 

 After generating api key,when I run my application on emulator it display 
 grid. 
 Map is not displaying. 

 Thanks 
 Surabhi Jain 



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map not showing

2013-05-06 Thread surabhi jain
I have run my app on device but it is not displaying map, again it is
displaying grid.
is there any jar file or other thing to import?


On Tue, May 7, 2013 at 12:11 AM, lbendlin l...@bendlin.us wrote:

 In addition, V2 maps do not (easily) work on an emulator.  You would need
 an actual device with Play Services installed.


 On Monday, May 6, 2013 2:40:02 PM UTC-4, lbendlin wrote:

 The Google Maps Android API v2 uses a new system of managing keys.
 Existing keys from a Google Maps Android v1 application, commonly known as
 MapView, will not work with the v2 API.

 On Monday, May 6, 2013 1:09:53 PM UTC-4, surabhi jain wrote:

 Hi all,

 I am using Android Google Map V2.I have created api key with the help
 of below command

 keytool -list -v -alias androiddebugkey -keystore
 C:\Users\android\.android\**debug.keystore -storepass android
 -keypass
 android

 After generating api key,when I run my application on emulator it
 display grid.
 Map is not displaying.

 Thanks
 Surabhi Jain

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map Android Api V2 not working

2013-01-30 Thread harryb87
I tried the code at this link, but its not working on Galaxy Young device.
Having  fragment exception at layout file.
at code:- *setContentView(R.layout.activity_main);*

01-30 14:01:41.089: E/AndroidRuntime(451): FATAL EXCEPTION: main
01-30 14:01:41.089: E/AndroidRuntime(451): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{com.example.androidmapsv2/com.example.androidmapsv2.MainActivity}:
android.view.InflateException: Binary XML file line #12: Error inflating
class fragment
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.ActivityThread.access$1500(ActivityThread.java:117)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.os.Handler.dispatchMessage(Handler.java:99)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.os.Looper.loop(Looper.java:130)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.ActivityThread.main(ActivityThread.java:3683)
01-30 14:01:41.089: E/AndroidRuntime(451): at
java.lang.reflect.Method.invokeNative(Native Method)
01-30 14:01:41.089: E/AndroidRuntime(451): at
java.lang.reflect.Method.invoke(Method.java:507)
01-30 14:01:41.089: E/AndroidRuntime(451): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
01-30 14:01:41.089: E/AndroidRuntime(451): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
01-30 14:01:41.089: E/AndroidRuntime(451): at
dalvik.system.NativeStart.main(Native Method)
01-30 14:01:41.089: E/AndroidRuntime(451): Caused by:
android.view.InflateException: Binary XML file line #12: Error inflating
class fragment
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:581)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.view.LayoutInflater.inflate(LayoutInflater.java:408)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
01-30 14:01:41.089: E/AndroidRuntime(451): at
com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:207)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.Activity.setContentView(Activity.java:1657)
01-30 14:01:41.089: E/AndroidRuntime(451): at
com.example.androidmapsv2.MainActivity.onCreate(MainActivity.java:35)
01-30 14:01:41.089: E/AndroidRuntime(451): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)


On Wed, Jan 30, 2013 at 10:33 AM, sree android
android.sreeni...@gmail.comwrote:

 see these link,it is usefull to u.

 http://android-er.blogspot.in/2013/01/using-mapfragment-instead-of.html


  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Thanks !!!
Harpreet Singh
Mobile: 9041132001  9988780509
email: harry...@gmail.com

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map Android Api V2 not working

2013-01-30 Thread harryb87
Yah, Official Google Map is installed at phone.

On Tue, Jan 29, 2013 at 6:07 PM, Krishna Prasad 
krishnaprasadrs.1...@gmail.com wrote:

 check whether google map is installed in phone


 On Monday, January 21, 2013 10:05:10 PM UTC-8, Haps wrote:

 Hi Guys,

 I am trying to use the latest api launched by google i.e. *Google Map
 Android Api V2*
 All the code and each scenario is correct, but I am still having the
 blank fragments screen i.e. *No Map Visible. *I have attached its
 screenshot with this post.
 *
 *
 *The logs shows the issue:-*
 *Google Maps Android API(25280): Failed to load map.  Could not contact
 Google servers.*
 *
 *
 Many developers told me that it can be issue regarding generating the Api
 Key for map, so I want to  say that I tried the exact procedure which is
 told at Google Sample Example Page and I also tried to use 2-3 Google
 Account to generate Api Key but the issue is still same.

 I have also added the question on StackOverflow regading it. Here is its
 link.http://stackoverflow.com/questions/14216205/google-map-android-api-v2-sample-code-not-working/14436556#14436556

 Please help.

 Thanks.

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
Thanks !!!
Harpreet Singh
Mobile: 9041132001  9988780509
email: harry...@gmail.com

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map Android Api V2 not working

2013-01-30 Thread sree android
can u send your xml code.

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Google Map Android Api V2 not working

2013-01-29 Thread Krishna Prasad
check whether google map is installed in phone

On Monday, January 21, 2013 10:05:10 PM UTC-8, Haps wrote:

 Hi Guys,

 I am trying to use the latest api launched by google i.e. *Google Map 
 Android Api V2*
 All the code and each scenario is correct, but I am still having the blank 
 fragments screen i.e. *No Map Visible. *I have attached its screenshot 
 with this post.
 *
 *
 *The logs shows the issue:-*
 *Google Maps Android API(25280): Failed to load map.  Could not contact 
 Google servers.*
 *
 *
 Many developers told me that it can be issue regarding generating the Api 
 Key for map, so I want to  say that I tried the exact procedure which is 
 told at Google Sample Example Page and I also tried to use 2-3 Google 
 Account to generate Api Key but the issue is still same.

 I have also added the question on StackOverflow regading it. Here is its 
 link.http://stackoverflow.com/questions/14216205/google-map-android-api-v2-sample-code-not-working/14436556#14436556

 Please help.

 Thanks.



-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Google Map Android Api V2 not working

2013-01-29 Thread sree android
see these link,it is usefull to u.

http://android-er.blogspot.in/2013/01/using-mapfragment-instead-of.html

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Re: Google Map Android Api V2 not working

2013-01-22 Thread lbendlin
what happens when you use a custom tile provider?

On Tuesday, January 22, 2013 1:05:10 AM UTC-5, Haps wrote:

 Hi Guys,

 I am trying to use the latest api launched by google i.e. *Google Map 
 Android Api V2*
 All the code and each scenario is correct, but I am still having the blank 
 fragments screen i.e. *No Map Visible. *I have attached its screenshot 
 with this post.
 *
 *
 *The logs shows the issue:-*
 *Google Maps Android API(25280): Failed to load map.  Could not contact 
 Google servers.*
 *
 *
 Many developers told me that it can be issue regarding generating the Api 
 Key for map, so I want to  say that I tried the exact procedure which is 
 told at Google Sample Example Page and I also tried to use 2-3 Google 
 Account to generate Api Key but the issue is still same.

 I have also added the question on StackOverflow regading it. Here is its 
 link.http://stackoverflow.com/questions/14216205/google-map-android-api-v2-sample-code-not-working/14436556#14436556

 Please help.

 Thanks.



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

[android-developers] Re: Google map with airballoon image...

2013-01-17 Thread skink


tom wrote:
 Hi,

  I have created google map using android and set zoom control also..
  Now i try to create a air balloons on top of the countries but i don't
 have any idea.
  So if you know please share with me...

 Thanks,



http://https://developers.google.com/maps/documentation/android/v1/reference/com/google/android/maps/Overlay

pskink

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


[android-developers] Re: Google Map Example Crashes?

2013-01-04 Thread bob
 

Make sure you have the right permissions.  I bet you need INTERNET 
permission.

On Friday, January 4, 2013 3:27:31 PM UTC-6, Dan Uff wrote:

 Hi all,
 I am very new to Android and Google Maps.  I am trying to learn how to put 
 a map in my app by using the below example:


 https://developers.google.com/maps/documentation/android/start#specify_settings_in_the_application_manifest

 When I run the example, I get the dreaded The file has stopped 
 unexpectedly error.  The file compiles fine.  I have a feeling it is in 
 the main.xml file.  Can anyone give me any ideas?

 Here's the code:

 main.xml

 LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

 xmlns:tools=http://schemas.android.com/tools;

 android:layout_width=match_parent

 android:layout_height=match_parent

 tools:context=.MainActivity 


 fragment xmlns:android=http://schemas.android.com/apk/res/android;

   android:id=@+id/map

   android:layout_width=match_parent

   android:layout_height=match_parent

   class=com.google.android.gms.maps.MapFragment/


 /LinearLayout


 Android manifest:


 ?xml version=1.0 encoding=utf-8?

 manifest xmlns:android=http://schemas.android.com/apk/res/android;

 package=com.connectingpeoplesoftware.maptest

 android:versionCode=1

 android:versionName=1.0 


 uses-sdk android:minSdkVersion=1 android:targetSdkVersion=16 /

 

 meta-data

 android:name=com.google.android.maps.v2.API_KEY

 android:value=KEY NOT SHOWN BUT IS IN HERE./


   permission android:name=
 com.connectingpeoplesofware.maptest.permission.MAPS_RECEIVE

   android:protectionLevel=signature/

 uses-permission android:name=
 com.connectingpeoplesofware.maptest.permission.MAPS_RECEIVE/

 

 uses-permission android:name=android.permission.INTERNET/

 uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE
 /

 uses-permission android:name=
 com.google.android.providers.gsf.permission.READ_GSERVICES/

 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION
 /

 uses-permission android:name=android.permission.ACCESS_FINE_LOCATION/

 

 uses-feature

   android:glEsVersion=0x0002

   android:required=true/

 

 application

 android:allowBackup=true

 android:icon=@drawable/ic_launcher

 android:label=@string/app_name

 android:theme=@style/AppTheme 

 activity

 android:name=
 com.connectingpeoplesoftware.maptest.MainActivity

 android:label=@string/app_name 

 intent-filter

 action android:name=android.intent.action.MAIN /


 category android:name=android.intent.category.LAUNCHER 
 /

 

   

 

 /intent-filter

 /activity

 /application


 /manifest





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

Re: [android-developers] Re: Google Map Example Crashes?

2013-01-04 Thread TreKing
On Fri, Jan 4, 2013 at 4:23 PM, bob b...@coolfone.comze.com wrote:

 Make sure you have the right permissions.  I bet you need INTERNET
 permission.


Which he has, according to the manifest he posted with his question ...

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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

[android-developers] Re: Google Map

2012-11-28 Thread antklim
Do you have a release API Key for Google Map.
As I know during developing you can use only developer API Key. When
you release your application you should use another (release) API Key.

On 26 ноя, 15:58, Narendra Singh Rathore nsr.curi...@gmail.com
wrote:
 On Mon, Nov 26, 2012 at 12:11 AM, Ehsan Ghasisin ehsan@gmail.comwrote:

  Hi Every one .  I created  Google map in android   and  test with
   emulator and it worked currently , but when install  in my phone
  (Samsung galaxy ) my program didn't show anything  just  show a simple page
  .

  Tnx

 Hi Ehsan, is internet working on your phone?
 May be thats the problem.

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


Re: [android-developers] Re: Google Map

2012-11-28 Thread Ehsan Ghasisin
Hi antklim .

No I don't  release API  key for google map . i just  created a key for the
first time in my system. how can  I release a  new key when release my
application .

On Tue, Nov 27, 2012 at 4:18 PM, antklim antk...@gmail.com wrote:

 Do you have a release API Key for Google Map.
 As I know during developing you can use only developer API Key. When
 you release your application you should use another (release) API Key.

 On 26 ноя, 15:58, Narendra Singh Rathore nsr.curi...@gmail.com
 wrote:
  On Mon, Nov 26, 2012 at 12:11 AM, Ehsan Ghasisin ehsan@gmail.com
 wrote:
 
   Hi Every one .  I created  Google map in android   and  test with
emulator and it worked currently , but when install  in my phone
   (Samsung galaxy ) my program didn't show anything  just  show a simple
 page
   .
 
   Tnx
 
  Hi Ehsan, is internet working on your phone?
  May be thats the problem.

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


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

[android-developers] Re: Google Map

2012-11-27 Thread Diogo Henrique
Ehsan, which Log leave the device ?

try debug application in device and post the output.


Em domingo, 25 de novembro de 2012 16h41min33s UTC-2, Ehsan Ghasisin 
escreveu:

 Hi Every one .  I created  Google map in android   and  test with 
  emulator and it worked currently , but when install  in my phone 
 (Samsung galaxy ) my program didn't show anything  just  show a simple page 
 . 

 Tnx 


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

[android-developers] Re: google map activity - show message no network connection

2012-05-07 Thread lbendlin
use a toast.

On Monday, May 7, 2012 11:44:06 AM UTC-4, athpapa wrote:

 Hello,

 I have a public class like this: MyLocationActivity extends MapActivity 
 which shows me my location on google maps.But the program needs internet 
 connection. How can I display a message that network connection is 
 required when the phone is not connected on the internet and open for 
 example the wifi. I tried many ways but didn't manage to get it work.

 Thanks


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

[android-developers] Re: [Google Map] Handle click on route

2012-02-21 Thread Benjamin DJAHANDIDEH
On Feb 20, 4:19 pm, TreKing treking...@gmail.com wrote:
 Tip: Don't post a giant blob of unformatted, unreadable code. Post the
 least bit of code that will get the point across. No one is going to read
 through all that, it makes your post hard to read, and increases the
 chances of people ignoring your post because they never get to the bottom
 where the real substance is.


You're right, I'll remember it.

  For information, I was thinking about something which would probably
  be inefficient, but I'll tell it, we never knows :)

 Try it. See how fast it is. Profile it. Optimize it, if necessary.

  Since the route establishement is basicaly a succession of drawings
  beetween two geopoints (segments), we could prehaps handle route
  clicking this way :

   - Using the `onTouchEvent` method of the map overlay, we can get the
  geopoint associated to a click.
   - Then we try to establish if the clicked geopoint is part of a route
  segment.

 You probably want to determine if the clicked geopoint is close enough to
 a route segment, as it's unlikely the user will always perfectly tap on a
 route segment or point on said segment.

  One last information : Several routes will be drawn on the map at the same
  instant, so the click must be associated to a unique route and not all of
  them.

 Then stop processing the tap event after you find one valid route.


The main message of this post was 'Am I missing something ?', is there
another solution to manage route clicking than the one I briefly
exposed.
Since I didn't found any additional information, I'm going to test the
route clicking management this way, finding if the clicked geopoint is
close to a route segment (depending on the road drawing heavyness).

Thank you.

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


Re: [android-developers] Re: [Google Map] Handle click on route

2012-02-21 Thread TreKing
On Tue, Feb 21, 2012 at 2:51 AM, Benjamin DJAHANDIDEH 
d.djahandi...@gmail.com wrote:

 The main message of this post was 'Am I missing something ?', is
 there another solution to manage route clicking than the one I
 briefly exposed.


Don't think so. There might be tricks for doing this faster using some
fancy spatial partitioning algorithms, but that would probably be overkill.
What you described is basically what I do in my own app for tapping on a
route and it works just fine (as long as you're smart about quickly
ignoring points that are off-screen).

-
TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
transit tracking app for Android-powered devices

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

Re: [android-developers] Re: google map marker

2011-07-28 Thread Raghav Sood
Android cannot give you an error of lines not supported.

Did you try modifying the code to work with your project or did you just
blindly copy paste? Did you change the variables and the XML files to the
ones you have in your project?

There are thousands of tutorials for this on the Internet. Google it.

Thanks

On Thu, Jul 28, 2011 at 10:35 AM, arun kumar hariarun2...@gmail.com wrote:

 abhishek can you send source code with xml file and android manifest
 file like project. because i try your coding its shows error.like some
 lines are not supported.

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




-- 
Raghav Sood
http://www.raghavsood.com/
http://wiki.androidappcheck.com/
http://www.telstop.tel/
https://market.android.com/developer?pub=Appaholics

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

Re: [android-developers] Re: google map marker

2011-07-28 Thread arun kumar
Hello Raghav,
 you cannot understand my words. first analyze other words what they
are saying and their situation right? then you tell your own
suggestion. otherwise dont tell this kind of blindly copy paste words.



On 7/28/11, Raghav Sood raghavs...@gmail.com wrote:
 Android cannot give you an error of lines not supported.

 Did you try modifying the code to work with your project or did you just
 blindly copy paste? Did you change the variables and the XML files to the
 ones you have in your project?

 There are thousands of tutorials for this on the Internet. Google it.

 Thanks

 On Thu, Jul 28, 2011 at 10:35 AM, arun kumar hariarun2...@gmail.com wrote:

 abhishek can you send source code with xml file and android manifest
 file like project. because i try your coding its shows error.like some
 lines are not supported.

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




 --
 Raghav Sood
 http://www.raghavsood.com/
 http://wiki.androidappcheck.com/
 http://www.telstop.tel/
 https://market.android.com/developer?pub=Appaholics

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

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


Re: [android-developers] Re: google map marker

2011-07-28 Thread Raghav Sood
I am not telling you to blindly copy paste. On the contrary I am telling you
not to copy paste anything blindly. If you had bothered to read my mail
properly you would have noticed that I asked you if you had changed the code
given by Abhishek to be usable with your project. That is changed the
variable names, changed the R.class references to what you are using. I also
pointed out that if you Google this problem you will get many tutorials that
clearly explain what you are trying to achieve.

Thanks

On Thu, Jul 28, 2011 at 3:17 PM, arun kumar hariarun2...@gmail.com wrote:

 Hello Raghav,
  you cannot understand my words. first analyze other words what they
 are saying and their situation right? then you tell your own
 suggestion. otherwise dont tell this kind of blindly copy paste words.



 On 7/28/11, Raghav Sood raghavs...@gmail.com wrote:
  Android cannot give you an error of lines not supported.
 
  Did you try modifying the code to work with your project or did you just
  blindly copy paste? Did you change the variables and the XML files to the
  ones you have in your project?
 
  There are thousands of tutorials for this on the Internet. Google it.
 
  Thanks
 
  On Thu, Jul 28, 2011 at 10:35 AM, arun kumar hariarun2...@gmail.com
 wrote:
 
  abhishek can you send source code with xml file and android manifest
  file like project. because i try your coding its shows error.like some
  lines are not supported.
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to
 android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en
 
 
 
 
  --
  Raghav Sood
  http://www.raghavsood.com/
  http://wiki.androidappcheck.com/
  http://www.telstop.tel/
  https://market.android.com/developer?pub=Appaholics
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

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




-- 
Raghav Sood
http://www.raghavsood.com/
http://wiki.androidappcheck.com/
http://www.telstop.tel/
https://market.android.com/developer?pub=Appaholics

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

Re: [android-developers] Re: google map marker

2011-07-28 Thread arun kumar
ya i change his code for my purpose. but got some error. i tried
another code and i got multiple markers in google map. Thanks for your
suggestion RAGAV.

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


[android-developers] Re: google map marker

2011-07-27 Thread arun kumar
abhishek can you send source code with xml file and android manifest
file like project. because i try your coding its shows error.like some
lines are not supported.

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


[android-developers] Re: Google Map retains the reference to the context of the enclosing activity?

2011-07-25 Thread Joan Pujol
Hi Katsiaryna.

I've exatcly the same problem than you. I also have an application with 
tabs, and mapview in one of this tabs and have also exactly the same leak.

Did you found any solution?

A lot of thanks in advance.

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

[android-developers] Re: Google Map retains the reference to the context of the enclosing activity?

2011-07-25 Thread Zsolt Vasvari
I don't know the Google map view, but do you have to pass in a Context
object anywhere?  If so, you may want to try to pass in
ApplicationContext as opposed to your Activity.

On Jul 26, 1:03 am, Joan Pujol joanpu...@gmail.com wrote:
 Hi Katsiaryna.

 I've exatcly the same problem than you. I also have an application with
 tabs, and mapview in one of this tabs and have also exactly the same leak.

 Did you found any solution?

 A lot of thanks in advance.

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


[android-developers] Re: google map marker

2011-07-22 Thread Abhishek Akhani
Hi Arun 
I am giving you two code snippets from my application in which i used three 
different colored markers. One is myOverlay Class Which will be the inner 
class of your Map Screen Activity and another code is a function in your 
activity which creates itemized overlay objects according to need of 
different colored markers and adds that overlay to map... Hope this will 
help you... :-)

MyOverlay Class --


class MyOverlay extends ItemizedOverlayOverlayItem {

private ArrayListOverlayItem mOverlays = new 
ArrayListOverlayItem();
private MapScreenActivity currentContext = null;
private GeoPoint clickedOverlayGeoPoint;
private Point point = null;
private GeoPoint geoPoint = null;
private Point pointTap = null;
private Point pointScreenOverlay = null;
private Point mapCenterPoint = null;
private Drawable marker = null;
private Projection projection = null;
View view = null;
private LayoutInflater inflater;
private TextView  txtAddress;
private ImageView imgBlueArrow;

public MyOverlay(Drawable defaultMarker) {
super(boundCenter(defaultMarker));
marker = defaultMarker;
populate();
}

public MyOverlay(Drawable defaultMarker, Context context) {
super(boundCenter(defaultMarker));
inflater = LayoutInflater.from(context);
view = inflater.inflate(R.layout.popup ,null);
txtAddress = (TextView) view.findViewById(R.id.txtAddress);
imgBlueArrow = (ImageView) view.findViewById(R.id.imgBlueArrow);
marker = defaultMarker;

imgBlueArrow.setOnClickListener(new OnClickListener() {

public void onClick(View v) {
drawPath(new 
GeoPoint((int)(ConstantData.latitude*100), 
(int)(ConstantData.longitude*100)), clickedOverlayGeoPoint, Color.RED, 
mapView);
mapView.invalidate();
}
});
}

@Override
public void draw(Canvas canvas, MapView mapView, boolean shadow) {
super.draw(canvas, mapView, false);

//drawing numbers for overlapped dots
for(int i=0;iarrayList.size();i++){
// get projection to convert geopoint to screen point
geoPoint = new 
GeoPoint((int)(arrayList.get(i).getLatitude()*100), 
(int)(arrayList.get(i).getLongitude()*100));
projection = mapView.getProjection();
Point point = new Point();
projection.toPixels(geoPoint, point);
}

}

public void addOverlay(MapScreenActivity currentContext, Record 
record) {
this.currentContext = currentContext;
geoPoint = new GeoPoint((int) (record.getLatitude() * 1E6),
(int) (record.getLongitude() * 1E6));
OverlayItem overlay = new OverlayItem(geoPoint, Marker, 
Marker Text);
overlay.setMarker(marker);
mOverlays.add(overlay);
populate();
}

@Override
protected OverlayItem createItem(int i) {
// TODO Auto-generated method stub
return mOverlays.get(i);

}

@Override
public int size() {
// TODO Auto-generated method stub
return mOverlays.size();

}

@Override
public boolean onTap(GeoPoint p, MapView mapView) {

try {
pointTap = mapView.getProjection().toPixels(p, null);
if (popup != null  popup.isShowing()) {
popup.dismiss();
putRecordOverlays();
putUserOverlay();
}
} catch (Exception e) {
Log.e(-, e.toString());
}
return super.onTap(p, mapView);
}

@Override
protected boolean onTap(int index) {

geoPoint = mOverlays.get(index).getPoint();
pointScreenOverlay = mapView.getProjection().toPixels(
geoPoint, null);

Rect overlayRect = new Rect();
overlayRect.top = (pointScreenOverlay.y - 
marker.getIntrinsicHeight() / 2) - 10;
overlayRect.left = (pointScreenOverlay.x - 
marker.getIntrinsicWidth() / 2) - 10;
overlayRect.right = (pointScreenOverlay.x + 
marker.getIntrinsicWidth() / 2) + 10;
overlayRect.bottom = (pointScreenOverlay.y + 
marker.getIntrinsicHeight() / 2) + 10;


if (overlayRect.contains(pointTap.x, pointTap.y)) {
try {
OverlayItem item = 

[android-developers] Re: Google Map Directions

2011-04-25 Thread Virendra Patidar
Any working code example will help..

On Sat, Apr 23, 2011 at 7:58 AM, Virendra Patidar virendrapati...@gmail.com
 wrote:

 I want to show the direction with arrow using google map between two
 locations in my application.
 Please help me in getting working code/API

 --
 Best Regards,
 Virendra Patidar
 Cell #  09910288925




-- 
Best Regards,
Virendra Patidar
Cell #  09910288925

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

[android-developers] Re: Google MAP api?

2011-03-07 Thread lbendlin
Let's try it this way: Create a new project against the Google API
(not Android API) and select from existing project

On Mar 7, 9:08 pm, Jignesh Kakkad \( Jiggy \) jig2n...@gmail.com
wrote:
 Hi buddy,

 Thank you for reply

 Yeah, some working example or some sort example in the official documents ..
 to start something on MAP API

 Thank you

 Regards

 Jiggy

 From: android-developers@googlegroups.com
 [mailto:android-developers@googlegroups.com] On Behalf Of TreKing
 Sent: Tuesday, 8 March 2011 1:00 PM
 To: android-developers@googlegroups.com
 Subject: Re: [android-developers] Google MAP api?

 On Mon, Mar 7, 2011 at 6:46 PM, Jignesh Kakkad ( Jiggy )

 jig2n...@gmail.com wrote:

 This sounds bit stupid but can anyone suggest good example of Google Map API
 and View?

 Like the example in the official documentation?

 ---­-
 -
 TreKing http://sites.google.com/site/rezmobileapps/treking  - Chicago
 transit tracking app for Android-powered devices

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/android-developers?hl=en

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


Re: [android-developers] Re: Google Map Error

2011-02-24 Thread Nesim TUNÇ
Hi,

Sorry for the delayed reply :( Today I tried to solve it ... I changed the
api Google Inc 7. I removed all android jar then I add the Google Inc 7 api.
Then worked for me ... Thanks to all you ...

On Tue, Feb 22, 2011 at 10:49 AM, pravin mohol pravin.mo...@gmail.comwrote:

 change your workspace or change your plug-in..you will solve it.

 On Tue, Feb 22, 2011 at 1:35 PM, Nesim TUNÇ nesimt...@gmail.com wrote:

 I tried changed to Google Inc.:Google APIs:7 as my target platform in
 default.properties file. Same error and plus layot files cannot show the
 graphical ui, Missing theme error appears

 On Mon, Feb 21, 2011 at 5:27 PM, Spiral123 cumis...@gmail.com wrote:

 are you using the standard libraries and manually adding the Google
 Map jar?

 if so, change the properties of your app to point to the Google APIs
 instead.



 On Feb 21, 3:31 am, Nesim TUNÇ nesimt...@gmail.com wrote:
  Hi Awesome Developers!
 
  I'm trying to use Google Map in my Android App. My SDK version is 2.1
 update
  1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still
  getting this error .. Here is my codes:
 
  Manifest file:
 
   activity android:name=x.maps.GoogleMapActivity/
  uses-library android:name=com.google.android.maps
  android:required=true/   is child node of application tag
  and these permissons are requested:
  uses-permission
  android:name=android.permission.INTERNET/uses-permission
  uses-permission
 
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission
  uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /
  uses-permission android:name=android.permission.CALL_PHONE/
  uses-permission android:name=android.permission.VIBRATE /
  uses-permission android:name=android.permission.READ_PHONE_STATE /
 
  layout/mapview.xml
   com.google.android.maps.MapView
  android:id=@+id/mapView
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:enabled=true
  android:clickable=true
  android:apiKey=my key goes here
  /
 
  and this my activity class
 
  public class GoogleMapActivity extends MapActivity {
 
  @Override
   protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
   setContentView(R.layout.mapview);
 
  }
 
  @Override
   protected boolean isRouteDisplayed() {
  // TODO Auto-generated method stub
   return false;
 
  }
  }
 
  and here is how I call it from a imagview click
 
  Intent mapIntent = new Intent(v.getContext(),
  x.maps.GoogleMapActivity.class);
  startActivity(mapIntent);
 
  And I get this error:
 
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): FATAL EXCEPTION: main
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257):
  java.lang.IllegalStateException: Could not execute method of the
 activity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2082)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View.performClick(View.java:2461)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$PerformClick.run(View.java:8890)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.handleCallback(Handler.java:587)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.dispatchMessage(Handler.java:92)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Looper.loop(Looper.java:123)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.app.ActivityThread.main(ActivityThread.java:4627)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
 871)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.NativeStart.main(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.reflect.InvocationTargetException
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 mekanist.placedetail.PlaceDetailActivity.showMap(PlaceDetailActivity.java:2
 96)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2077)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 11 more
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.NoClassDefFoundError: x.maps.GoogleMapActivity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 15 more
  

Re: [android-developers] Re: Google Map Error

2011-02-22 Thread Nesim TUNÇ
I tried changed to Google Inc.:Google APIs:7 as my target platform in
default.properties file. Same error and plus layot files cannot show the
graphical ui, Missing theme error appears

On Mon, Feb 21, 2011 at 5:27 PM, Spiral123 cumis...@gmail.com wrote:

 are you using the standard libraries and manually adding the Google
 Map jar?

 if so, change the properties of your app to point to the Google APIs
 instead.



 On Feb 21, 3:31 am, Nesim TUNÇ nesimt...@gmail.com wrote:
  Hi Awesome Developers!
 
  I'm trying to use Google Map in my Android App. My SDK version is 2.1
 update
  1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still
  getting this error .. Here is my codes:
 
  Manifest file:
 
   activity android:name=x.maps.GoogleMapActivity/
  uses-library android:name=com.google.android.maps
  android:required=true/   is child node of application tag
  and these permissons are requested:
  uses-permission
  android:name=android.permission.INTERNET/uses-permission
  uses-permission
  android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission
  uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION
 /
  uses-permission android:name=android.permission.CALL_PHONE/
  uses-permission android:name=android.permission.VIBRATE /
  uses-permission android:name=android.permission.READ_PHONE_STATE /
 
  layout/mapview.xml
   com.google.android.maps.MapView
  android:id=@+id/mapView
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:enabled=true
  android:clickable=true
  android:apiKey=my key goes here
  /
 
  and this my activity class
 
  public class GoogleMapActivity extends MapActivity {
 
  @Override
   protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
   setContentView(R.layout.mapview);
 
  }
 
  @Override
   protected boolean isRouteDisplayed() {
  // TODO Auto-generated method stub
   return false;
 
  }
  }
 
  and here is how I call it from a imagview click
 
  Intent mapIntent = new Intent(v.getContext(),
  x.maps.GoogleMapActivity.class);
  startActivity(mapIntent);
 
  And I get this error:
 
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): FATAL EXCEPTION: main
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257):
  java.lang.IllegalStateException: Could not execute method of the activity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2082)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View.performClick(View.java:2461)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$PerformClick.run(View.java:8890)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.handleCallback(Handler.java:587)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.dispatchMessage(Handler.java:92)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Looper.loop(Looper.java:123)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.app.ActivityThread.main(ActivityThread.java:4627)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
 871)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.NativeStart.main(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.reflect.InvocationTargetException
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 mekanist.placedetail.PlaceDetailActivity.showMap(PlaceDetailActivity.java:2
 96)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2077)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 11 more
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.NoClassDefFoundError: x.maps.GoogleMapActivity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 15 more
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.IllegalAccessError: Class ref in pre-verified class resolved to
  unexpected implementation
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.DexFile.defineClass(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
  02-21 10:30:04.645: 

[android-developers] Re: Google Map Error

2011-02-22 Thread pedro242
Basic remark..
Did you define your GoogleMapActivity in the manifest file?
(activity android:name=.YourClassPath.GoogleMapActivity/ )

On Feb 21, 9:31 am, Nesim TUNÇ nesimt...@gmail.com wrote:
 Hi Awesome Developers!

 I'm trying to use Google Map in my Android App. My SDK version is 2.1 update
 1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still
 getting this error .. Here is my codes:

 Manifest file:

  activity android:name=x.maps.GoogleMapActivity/
 uses-library android:name=com.google.android.maps
 android:required=true/   is child node of application tag
 and these permissons are requested:
 uses-permission
 android:name=android.permission.INTERNET/uses-permission
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission
 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION /
 uses-permission android:name=android.permission.CALL_PHONE/
 uses-permission android:name=android.permission.VIBRATE /
 uses-permission android:name=android.permission.READ_PHONE_STATE /

 layout/mapview.xml
  com.google.android.maps.MapView
         android:id=@+id/mapView
         android:layout_width=fill_parent
         android:layout_height=fill_parent
         android:enabled=true
         android:clickable=true
         android:apiKey=my key goes here
         /

 and this my activity class

 public class GoogleMapActivity extends MapActivity {

 @Override
  protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
  setContentView(R.layout.mapview);

 }

 @Override
  protected boolean isRouteDisplayed() {
 // TODO Auto-generated method stub
  return false;

 }
 }

 and here is how I call it from a imagview click

 Intent mapIntent = new Intent(v.getContext(),
 x.maps.GoogleMapActivity.class);
 startActivity(mapIntent);

 And I get this error:

 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): FATAL EXCEPTION: main
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):
 java.lang.IllegalStateException: Could not execute method of the activity
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$1.onClick(View.java:2082)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View.performClick(View.java:2461)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$PerformClick.run(View.java:8890)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Handler.handleCallback(Handler.java:587)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Handler.dispatchMessage(Handler.java:92)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Looper.loop(Looper.java:123)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.app.ActivityThread.main(ActivityThread.java:4627)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invokeNative(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invoke(Method.java:521)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:871)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.NativeStart.main(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.reflect.InvocationTargetException
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 mekanist.placedetail.PlaceDetailActivity.showMap(PlaceDetailActivity.java:296)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invokeNative(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invoke(Method.java:521)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$1.onClick(View.java:2077)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 11 more
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.NoClassDefFoundError: x.maps.GoogleMapActivity
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 15 more
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to
 unexpected implementation
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.DexFile.defineClass(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.ClassLoader.loadClass(ClassLoader.java:573)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.ClassLoader.loadClass(ClassLoader.java:532)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 15 more

 What is the problem? 

Re: [android-developers] Re: Google Map Error

2011-02-22 Thread pravin mohol
change your workspace or change your plug-in..you will solve it.

On Tue, Feb 22, 2011 at 1:35 PM, Nesim TUNÇ nesimt...@gmail.com wrote:

 I tried changed to Google Inc.:Google APIs:7 as my target platform in
 default.properties file. Same error and plus layot files cannot show the
 graphical ui, Missing theme error appears

 On Mon, Feb 21, 2011 at 5:27 PM, Spiral123 cumis...@gmail.com wrote:

 are you using the standard libraries and manually adding the Google
 Map jar?

 if so, change the properties of your app to point to the Google APIs
 instead.



 On Feb 21, 3:31 am, Nesim TUNÇ nesimt...@gmail.com wrote:
  Hi Awesome Developers!
 
  I'm trying to use Google Map in my Android App. My SDK version is 2.1
 update
  1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still
  getting this error .. Here is my codes:
 
  Manifest file:
 
   activity android:name=x.maps.GoogleMapActivity/
  uses-library android:name=com.google.android.maps
  android:required=true/   is child node of application tag
  and these permissons are requested:
  uses-permission
  android:name=android.permission.INTERNET/uses-permission
  uses-permission
 
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission
  uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /
  uses-permission android:name=android.permission.CALL_PHONE/
  uses-permission android:name=android.permission.VIBRATE /
  uses-permission android:name=android.permission.READ_PHONE_STATE /
 
  layout/mapview.xml
   com.google.android.maps.MapView
  android:id=@+id/mapView
  android:layout_width=fill_parent
  android:layout_height=fill_parent
  android:enabled=true
  android:clickable=true
  android:apiKey=my key goes here
  /
 
  and this my activity class
 
  public class GoogleMapActivity extends MapActivity {
 
  @Override
   protected void onCreate(Bundle savedInstanceState) {
  super.onCreate(savedInstanceState);
   setContentView(R.layout.mapview);
 
  }
 
  @Override
   protected boolean isRouteDisplayed() {
  // TODO Auto-generated method stub
   return false;
 
  }
  }
 
  and here is how I call it from a imagview click
 
  Intent mapIntent = new Intent(v.getContext(),
  x.maps.GoogleMapActivity.class);
  startActivity(mapIntent);
 
  And I get this error:
 
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): FATAL EXCEPTION: main
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257):
  java.lang.IllegalStateException: Could not execute method of the
 activity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2082)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View.performClick(View.java:2461)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$PerformClick.run(View.java:8890)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.handleCallback(Handler.java:587)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Handler.dispatchMessage(Handler.java:92)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.os.Looper.loop(Looper.java:123)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.app.ActivityThread.main(ActivityThread.java:4627)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:
 871)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.NativeStart.main(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.reflect.InvocationTargetException
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
 
 mekanist.placedetail.PlaceDetailActivity.showMap(PlaceDetailActivity.java:2
 96)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  android.view.View$1.onClick(View.java:2077)
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 11 more
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.NoClassDefFoundError: x.maps.GoogleMapActivity
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): ... 15 more
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
  java.lang.IllegalAccessError: Class ref in pre-verified class resolved
 to
  unexpected implementation
  02-21 10:30:04.645: ERROR/AndroidRuntime(6257): at
  dalvik.system.DexFile.defineClass(Native Method)
  02-21 

[android-developers] Re: Google Map Error

2011-02-21 Thread Spiral123
are you using the standard libraries and manually adding the Google
Map jar?

if so, change the properties of your app to point to the Google APIs
instead.



On Feb 21, 3:31 am, Nesim TUNÇ nesimt...@gmail.com wrote:
 Hi Awesome Developers!

 I'm trying to use Google Map in my Android App. My SDK version is 2.1 update
 1 (Level 7), I added the Google Map Lib (maps.jar) - Level 7 but still
 getting this error .. Here is my codes:

 Manifest file:

  activity android:name=x.maps.GoogleMapActivity/
 uses-library android:name=com.google.android.maps
 android:required=true/   is child node of application tag
 and these permissons are requested:
 uses-permission
 android:name=android.permission.INTERNET/uses-permission
 uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION/uses-permission
 uses-permission android:name=android.permission.ACCESS_COARSE_LOCATION /
 uses-permission android:name=android.permission.CALL_PHONE/
 uses-permission android:name=android.permission.VIBRATE /
 uses-permission android:name=android.permission.READ_PHONE_STATE /

 layout/mapview.xml
  com.google.android.maps.MapView
         android:id=@+id/mapView
         android:layout_width=fill_parent
         android:layout_height=fill_parent
         android:enabled=true
         android:clickable=true
         android:apiKey=my key goes here
         /

 and this my activity class

 public class GoogleMapActivity extends MapActivity {

 @Override
  protected void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
  setContentView(R.layout.mapview);

 }

 @Override
  protected boolean isRouteDisplayed() {
 // TODO Auto-generated method stub
  return false;

 }
 }

 and here is how I call it from a imagview click

 Intent mapIntent = new Intent(v.getContext(),
 x.maps.GoogleMapActivity.class);
 startActivity(mapIntent);

 And I get this error:

 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): FATAL EXCEPTION: main
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):
 java.lang.IllegalStateException: Could not execute method of the activity
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$1.onClick(View.java:2082)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View.performClick(View.java:2461)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$PerformClick.run(View.java:8890)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Handler.handleCallback(Handler.java:587)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Handler.dispatchMessage(Handler.java:92)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.os.Looper.loop(Looper.java:123)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.app.ActivityThread.main(ActivityThread.java:4627)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invokeNative(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invoke(Method.java:521)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java: 
 871)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:629)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.NativeStart.main(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.reflect.InvocationTargetException
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 mekanist.placedetail.PlaceDetailActivity.showMap(PlaceDetailActivity.java:2 
 96)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invokeNative(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.reflect.Method.invoke(Method.java:521)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 android.view.View$1.onClick(View.java:2077)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 11 more
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.NoClassDefFoundError: x.maps.GoogleMapActivity
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 15 more
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257): Caused by:
 java.lang.IllegalAccessError: Class ref in pre-verified class resolved to
 unexpected implementation
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.DexFile.defineClass(Native Method)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.DexFile.loadClassBinaryName(DexFile.java:209)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 dalvik.system.PathClassLoader.findClass(PathClassLoader.java:203)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.ClassLoader.loadClass(ClassLoader.java:573)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     at
 java.lang.ClassLoader.loadClass(ClassLoader.java:532)
 02-21 10:30:04.645: ERROR/AndroidRuntime(6257):     ... 15 

Re: [android-developers] Re: Google Map activity not working

2010-11-29 Thread 大辉
hi,Abhishek,
this link is my googlemap demo code,
http://bigcateasymorse.googlecode.com/svn/trunk/androidmapdemo1.0/,maybe it
can help you。

2010/11/28 akkilis deepakverma.u...@gmail.com

 Ohh.I should have spotted this earlier.

 You have to add this in the applications element in the manifest
 file:

 uses-library android:name=com.google.android.maps /

 i.e. Manifest should be like this:

 uses-permission ./uses-permission
application ...
 uses-library android:name=com.google.android.maps /
 
activity android:name=.mymap 
intent-filter
...
/intent-filter
/activity
/application



 On Nov 27, 9:41 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
  Thanks for your reply
  Is this what you are asking for :-
 
  11-27 22:06:56.064: INFO/DEBUG(28): debuggerd: May  6 2010 09:07:51
  11-27 22:06:56.165: INFO/vold(27): Android Volume Daemon version 2.0
  11-27 22:06:56.335: DEBUG/qemud(35): entering main loop
  11-27 22:06:56.395: INFO/vold(27): New MMC card 'SU02G' (serial 1012966)
  added @ /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
  11-27 22:06:56.485: INFO/vold(27): Disk (blkdev 179:0), 131072 secs (64
 MB)
  0 partitions
  11-27 22:06:56.485: INFO/vold(27): New blkdev 179.0 on media SU02G, media
  path /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
  11-27 22:06:56.485: INFO/vold(27): Evaluating dev
  '/devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118/block/mmcblk0'
 for
  mountable filesystems for '/sdcard'
  11-27 22:06:56.485: INFO/vold(27): Aborting start of /sdcard (bootstrap =
 1)
  11-27 22:06:56.485: INFO/vold(27): Volmgr not ready to handle device
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: DEBUG/vold(27): Bootstrapping complete
  11-27 22:06:57.014: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.014: DEBUG/qemud(35): created client 0xe078 listening on
 fd 8
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'boot-properties'
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive:- received
  channel id 1
  11-27 22:06:57.044: DEBUG/qemud(35): client_registration: registration
  succeeded for client 1
  11-27 22:06:57.044: INFO/qemu-props(44): connected to 'boot-properties'
  qemud service.
  11-27 22:06:57.054: INFO/qemu-props(44): received:
 qemu.sf.lcd_density=160
  11-27 22:06:57.054: INFO/qemu-props(44): received: dalvik.vm.heapsize=16m
  11-27 22:06:57.084: INFO/qemu-props(44): received:
  11-27 22:06:57.084: INFO/qemu-props(44): invalid format, ignored.
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.645: DEBUG/qemud(35): created client 0xe078 listening on
 fd
  11
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_event: disconnect on fd 11
  11-27 22:06:57.665: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.665: DEBUG/qemud(35): created client 0xe078 listening on
 fd
  11
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'gsm'
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive:- received
  channel id 2
  11-27 22:06:57.675: DEBUG/qemud(35): client_registration: registration
  succeeded for client 2
  11-27 22:06:57.994: DEBUG/AndroidRuntime(30): 
 AndroidRuntime
  START 
  11-27 22:06:58.014: DEBUG/AndroidRuntime(30): CheckJNI is ON
  11-27 22:06:58.834: INFO/(31): ServiceManager: 0xad08
  11-27 22:06:58.834: DEBUG/AudioHardwareInterface(31): setMode(NORMAL)
  11-27 22:06:58.854: INFO/CameraService(31): CameraService started: pid=31
  11-27 22:06:58.894: INFO/AudioFlinger(31): AudioFlinger's thread 0xb388
  ready to run
  11-27 22:06:59.134: DEBUG/AndroidRuntime(30): --- registering native
  functions ---
  11-27 22:06:59.894: INFO/SamplingProfilerIntegration(30): Profiler is
  disabled.
  11-27 22:07:00.024: INFO/Zygote(30): Preloading classes...
  11-27 22:07:00.044: DEBUG/dalvikvm(30): GC freed 793 objects / 50568
 bytes
  in 16ms
  11-27 22:07:00.235: DEBUG/dalvikvm(30): GC freed 251 objects / 16168
 bytes
  in 10ms
  11-27 22:07:00.435: DEBUG/dalvikvm(30): GC freed 295 objects / 18768
 bytes
  in 10ms
  11-27 22:07:00.555: DEBUG/dalvikvm(30): GC freed 214 objects / 13712
 bytes
  in 12ms
  11-27 22:07:00.715: DEBUG/dalvikvm(30): GC freed 415 objects / 26544
 bytes
  in 14ms
  11-27 22:07:00.984: 

[android-developers] Re: Google Map activity not working

2010-11-27 Thread akkilis
Abhishek,

By looking upon your code nothing seems wrong with it.

Have you obtained the key correctly?

Can you post the error message so that issue can be looked upon.


On Nov 27, 5:41 pm, Abhishek Talwar r.o.b.i.n.abhis...@gmail.com
wrote:
 Hi guys
 I was trying for the first time to make a google map application on
 android and
 the following are the steps i followed :-

 1. I have made the application separately in 2.2 , 2.1 , 2.2 google
 api, 2.1 google api

 2. This is the manifest file :-

 ?xml version=1.0 encoding=utf-8?
 manifest xmlns:android=http://schemas.android.com/apk/res/android;
       package=org.mymap
       android:versionCode=1
       android:versionName=1.0
       uses-permission
 android:name=android.permission.ACCESS_FINE_LOCATION /
 uses-permission
 android:name=android.permission.ACCESS_COARSE_LOCATION /
 uses-permission android:name=android.permission.INTERNET /
     application android:icon=@drawable/icon android:label=@string/
 app_name
         activity android:name=.mymap
                   android:label=@string/app_name
             intent-filter
                 action android:name=android.intent.action.MAIN /
                 category
 android:name=android.intent.category.LAUNCHER /
             /intent-filter
         /activity
     /application
 /manifest

 It includes all the permissions necessary.

 3.  This is the java file :-

 package org.mymap;

 import android.app.Activity;
 import android.os.Bundle;
 import com.google.android.maps.MapActivity;
 import com.google.android.maps.MapView;

 public class mymap extends MapActivity {
         MapView mymap;
     /** Called when the activity is first created. */
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);
     }
         @Override
         protected boolean isRouteDisplayed() {
                 // TODO Auto-generated method stub
                 return false;
         }

 }

 Even if i run this simple activity which is without any logic and just
 MapView in the layout file it is giving me a
 Force Close ERROR
 I wonder if i am using the correct API

 4.  main.xml :-

 ?xml version=1.0 encoding=utf-8?
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/
 android
     android:orientation=vertical
     android:layout_width=fill_parent
     android:layout_height=fill_parent
     
     com.google.android.maps.MapView
          android:id=@+id/mymap
          android:layout_width=fill_parent
          android:layout_height=fill_parent
          android:apiKey=033PkWkCKskK50UfVjdjehD71XJ55xuDOEassDQ
          /

 /LinearLayout

 I seem to be doing everything correct but i still cant see the Map :(
 Please guide

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


[android-developers] Re: Google Map activity not working

2010-11-27 Thread akkilis
Ohh.I should have spotted this earlier.

You have to add this in the applications element in the manifest
file:

uses-library android:name=com.google.android.maps /

i.e. Manifest should be like this:

uses-permission ./uses-permission
application ...
 uses-library android:name=com.google.android.maps /

activity android:name=.mymap 
intent-filter
...
/intent-filter
/activity
/application



On Nov 27, 9:41 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
 Thanks for your reply
 Is this what you are asking for :-

 11-27 22:06:56.064: INFO/DEBUG(28): debuggerd: May  6 2010 09:07:51
 11-27 22:06:56.165: INFO/vold(27): Android Volume Daemon version 2.0
 11-27 22:06:56.335: DEBUG/qemud(35): entering main loop
 11-27 22:06:56.395: INFO/vold(27): New MMC card 'SU02G' (serial 1012966)
 added @ /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
 11-27 22:06:56.485: INFO/vold(27): Disk (blkdev 179:0), 131072 secs (64 MB)
 0 partitions
 11-27 22:06:56.485: INFO/vold(27): New blkdev 179.0 on media SU02G, media
 path /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
 11-27 22:06:56.485: INFO/vold(27): Evaluating dev
 '/devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118/block/mmcblk0' for
 mountable filesystems for '/sdcard'
 11-27 22:06:56.485: INFO/vold(27): Aborting start of /sdcard (bootstrap = 1)
 11-27 22:06:56.485: INFO/vold(27): Volmgr not ready to handle device
 11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
 '/sys/class/switch/test' (No such file or directory)
 11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
 '/sys/class/switch/test' (No such file or directory)
 11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
 '/sys/class/switch/test2' (No such file or directory)
 11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
 '/sys/class/switch/test2' (No such file or directory)
 11-27 22:06:56.485: DEBUG/vold(27): Bootstrapping complete
 11-27 22:06:57.014: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
 10
 11-27 22:06:57.014: DEBUG/qemud(35): created client 0xe078 listening on fd 8
 11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive: attempting
 registration for service 'boot-properties'
 11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive:    - received
 channel id 1
 11-27 22:06:57.044: DEBUG/qemud(35): client_registration: registration
 succeeded for client 1
 11-27 22:06:57.044: INFO/qemu-props(44): connected to 'boot-properties'
 qemud service.
 11-27 22:06:57.054: INFO/qemu-props(44): received: qemu.sf.lcd_density=160
 11-27 22:06:57.054: INFO/qemu-props(44): received: dalvik.vm.heapsize=16m
 11-27 22:06:57.084: INFO/qemu-props(44): received:
 11-27 22:06:57.084: INFO/qemu-props(44): invalid format, ignored.
 11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
 10
 11-27 22:06:57.645: DEBUG/qemud(35): created client 0xe078 listening on fd
 11
 11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_event: disconnect on fd 11
 11-27 22:06:57.665: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
 10
 11-27 22:06:57.665: DEBUG/qemud(35): created client 0xe078 listening on fd
 11
 11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive: attempting
 registration for service 'gsm'
 11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive:    - received
 channel id 2
 11-27 22:06:57.675: DEBUG/qemud(35): client_registration: registration
 succeeded for client 2
 11-27 22:06:57.994: DEBUG/AndroidRuntime(30):  AndroidRuntime
 START 
 11-27 22:06:58.014: DEBUG/AndroidRuntime(30): CheckJNI is ON
 11-27 22:06:58.834: INFO/(31): ServiceManager: 0xad08
 11-27 22:06:58.834: DEBUG/AudioHardwareInterface(31): setMode(NORMAL)
 11-27 22:06:58.854: INFO/CameraService(31): CameraService started: pid=31
 11-27 22:06:58.894: INFO/AudioFlinger(31): AudioFlinger's thread 0xb388
 ready to run
 11-27 22:06:59.134: DEBUG/AndroidRuntime(30): --- registering native
 functions ---
 11-27 22:06:59.894: INFO/SamplingProfilerIntegration(30): Profiler is
 disabled.
 11-27 22:07:00.024: INFO/Zygote(30): Preloading classes...
 11-27 22:07:00.044: DEBUG/dalvikvm(30): GC freed 793 objects / 50568 bytes
 in 16ms
 11-27 22:07:00.235: DEBUG/dalvikvm(30): GC freed 251 objects / 16168 bytes
 in 10ms
 11-27 22:07:00.435: DEBUG/dalvikvm(30): GC freed 295 objects / 18768 bytes
 in 10ms
 11-27 22:07:00.555: DEBUG/dalvikvm(30): GC freed 214 objects / 13712 bytes
 in 12ms
 11-27 22:07:00.715: DEBUG/dalvikvm(30): GC freed 415 objects / 26544 bytes
 in 14ms
 11-27 22:07:00.984: DEBUG/skia(30): -- build_power_table 1.4
 11-27 22:07:00.994: DEBUG/skia(30): -- build_power_table 0.714286
 11-27 22:07:01.074: DEBUG/dalvikvm(30): GC freed 418 objects / 28656 bytes
 in 15ms
 11-27 22:07:01.114: DEBUG/dalvikvm(30): Trying to load lib
 /system/lib/libmedia_jni.so 

Re: [android-developers] Re: Google Map activity not working

2010-11-27 Thread Robin Talwar
Thanks man
You saved my day.

Can you also tell me how can i check the problems with the app through the
log files??
Like what are the key elements i should be looking for?

Regards

On Sat, Nov 27, 2010 at 10:47 PM, akkilis deepakverma.u...@gmail.comwrote:

 Ohh.I should have spotted this earlier.

 You have to add this in the applications element in the manifest
 file:

 uses-library android:name=com.google.android.maps /

 i.e. Manifest should be like this:

 uses-permission ./uses-permission
application ...
 uses-library android:name=com.google.android.maps /
 
activity android:name=.mymap 
intent-filter
...
/intent-filter
/activity
/application



 On Nov 27, 9:41 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
  Thanks for your reply
  Is this what you are asking for :-
 
  11-27 22:06:56.064: INFO/DEBUG(28): debuggerd: May  6 2010 09:07:51
  11-27 22:06:56.165: INFO/vold(27): Android Volume Daemon version 2.0
  11-27 22:06:56.335: DEBUG/qemud(35): entering main loop
  11-27 22:06:56.395: INFO/vold(27): New MMC card 'SU02G' (serial 1012966)
  added @ /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
  11-27 22:06:56.485: INFO/vold(27): Disk (blkdev 179:0), 131072 secs (64
 MB)
  0 partitions
  11-27 22:06:56.485: INFO/vold(27): New blkdev 179.0 on media SU02G, media
  path /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
  11-27 22:06:56.485: INFO/vold(27): Evaluating dev
  '/devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118/block/mmcblk0'
 for
  mountable filesystems for '/sdcard'
  11-27 22:06:56.485: INFO/vold(27): Aborting start of /sdcard (bootstrap =
 1)
  11-27 22:06:56.485: INFO/vold(27): Volmgr not ready to handle device
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: DEBUG/vold(27): Bootstrapping complete
  11-27 22:06:57.014: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.014: DEBUG/qemud(35): created client 0xe078 listening on
 fd 8
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'boot-properties'
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive:- received
  channel id 1
  11-27 22:06:57.044: DEBUG/qemud(35): client_registration: registration
  succeeded for client 1
  11-27 22:06:57.044: INFO/qemu-props(44): connected to 'boot-properties'
  qemud service.
  11-27 22:06:57.054: INFO/qemu-props(44): received:
 qemu.sf.lcd_density=160
  11-27 22:06:57.054: INFO/qemu-props(44): received: dalvik.vm.heapsize=16m
  11-27 22:06:57.084: INFO/qemu-props(44): received:
  11-27 22:06:57.084: INFO/qemu-props(44): invalid format, ignored.
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.645: DEBUG/qemud(35): created client 0xe078 listening on
 fd
  11
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_event: disconnect on fd 11
  11-27 22:06:57.665: DEBUG/qemud(35): fdhandler_accept_event: accepting on
 fd
  10
  11-27 22:06:57.665: DEBUG/qemud(35): created client 0xe078 listening on
 fd
  11
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'gsm'
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive:- received
  channel id 2
  11-27 22:06:57.675: DEBUG/qemud(35): client_registration: registration
  succeeded for client 2
  11-27 22:06:57.994: DEBUG/AndroidRuntime(30): 
 AndroidRuntime
  START 
  11-27 22:06:58.014: DEBUG/AndroidRuntime(30): CheckJNI is ON
  11-27 22:06:58.834: INFO/(31): ServiceManager: 0xad08
  11-27 22:06:58.834: DEBUG/AudioHardwareInterface(31): setMode(NORMAL)
  11-27 22:06:58.854: INFO/CameraService(31): CameraService started: pid=31
  11-27 22:06:58.894: INFO/AudioFlinger(31): AudioFlinger's thread 0xb388
  ready to run
  11-27 22:06:59.134: DEBUG/AndroidRuntime(30): --- registering native
  functions ---
  11-27 22:06:59.894: INFO/SamplingProfilerIntegration(30): Profiler is
  disabled.
  11-27 22:07:00.024: INFO/Zygote(30): Preloading classes...
  11-27 22:07:00.044: DEBUG/dalvikvm(30): GC freed 793 objects / 50568
 bytes
  in 16ms
  11-27 22:07:00.235: DEBUG/dalvikvm(30): GC freed 251 objects / 16168
 bytes
  in 10ms
  11-27 22:07:00.435: DEBUG/dalvikvm(30): GC freed 295 objects / 18768
 bytes
  in 10ms
  11-27 22:07:00.555: DEBUG/dalvikvm(30): GC freed 214 objects / 13712
 bytes
  in 12ms
  11-27 22:07:00.715: 

[android-developers] Re: Google Map activity not working

2010-11-27 Thread akkilis


On Nov 27, 10:17 pm, akkilis deepakverma.u...@gmail.com wrote:
 Ohh.I should have spotted this earlier.

 You have to add this in the applications element in the manifest
 file:

 uses-library android:name=com.google.android.maps /

 i.e. Manifest should be like this:

 uses-permission ./uses-permission
         application ...
                  uses-library android:name=com.google.android.maps /

                 activity android:name=.mymap 
                         intent-filter
                                 ...
                         /intent-filter
                 /activity
         /application

 On Nov 27, 9:41 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:

  Thanks for your reply
  Is this what you are asking for :-

  11-27 22:06:56.064: INFO/DEBUG(28): debuggerd: May  6 2010 09:07:51
  11-27 22:06:56.165: INFO/vold(27): Android Volume Daemon version 2.0
  11-27 22:06:56.335: DEBUG/qemud(35): entering main loop
  11-27 22:06:56.395: INFO/vold(27): New MMC card 'SU02G' (serial 1012966)
  added @ /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
  11-27 22:06:56.485: INFO/vold(27): Disk (blkdev 179:0), 131072 secs (64 MB)
  0 partitions
  11-27 22:06:56.485: INFO/vold(27): New blkdev 179.0 on media SU02G, media
  path /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
  11-27 22:06:56.485: INFO/vold(27): Evaluating dev
  '/devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118/block/mmcblk0' for
  mountable filesystems for '/sdcard'
  11-27 22:06:56.485: INFO/vold(27): Aborting start of /sdcard (bootstrap = 1)
  11-27 22:06:56.485: INFO/vold(27): Volmgr not ready to handle device
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
  '/sys/class/switch/test2' (No such file or directory)
  11-27 22:06:56.485: DEBUG/vold(27): Bootstrapping complete
  11-27 22:06:57.014: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
  10
  11-27 22:06:57.014: DEBUG/qemud(35): created client 0xe078 listening on fd 8
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'boot-properties'
  11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive:    - received
  channel id 1
  11-27 22:06:57.044: DEBUG/qemud(35): client_registration: registration
  succeeded for client 1
  11-27 22:06:57.044: INFO/qemu-props(44): connected to 'boot-properties'
  qemud service.
  11-27 22:06:57.054: INFO/qemu-props(44): received: qemu.sf.lcd_density=160
  11-27 22:06:57.054: INFO/qemu-props(44): received: dalvik.vm.heapsize=16m
  11-27 22:06:57.084: INFO/qemu-props(44): received:
  11-27 22:06:57.084: INFO/qemu-props(44): invalid format, ignored.
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
  10
  11-27 22:06:57.645: DEBUG/qemud(35): created client 0xe078 listening on fd
  11
  11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_event: disconnect on fd 11
  11-27 22:06:57.665: DEBUG/qemud(35): fdhandler_accept_event: accepting on fd
  10
  11-27 22:06:57.665: DEBUG/qemud(35): created client 0xe078 listening on fd
  11
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive: attempting
  registration for service 'gsm'
  11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive:    - received
  channel id 2
  11-27 22:06:57.675: DEBUG/qemud(35): client_registration: registration
  succeeded for client 2
  11-27 22:06:57.994: DEBUG/AndroidRuntime(30):  AndroidRuntime
  START 
  11-27 22:06:58.014: DEBUG/AndroidRuntime(30): CheckJNI is ON
  11-27 22:06:58.834: INFO/(31): ServiceManager: 0xad08
  11-27 22:06:58.834: DEBUG/AudioHardwareInterface(31): setMode(NORMAL)
  11-27 22:06:58.854: INFO/CameraService(31): CameraService started: pid=31
  11-27 22:06:58.894: INFO/AudioFlinger(31): AudioFlinger's thread 0xb388
  ready to run
  11-27 22:06:59.134: DEBUG/AndroidRuntime(30): --- registering native
  functions ---
  11-27 22:06:59.894: INFO/SamplingProfilerIntegration(30): Profiler is
  disabled.
  11-27 22:07:00.024: INFO/Zygote(30): Preloading classes...
  11-27 22:07:00.044: DEBUG/dalvikvm(30): GC freed 793 objects / 50568 bytes
  in 16ms
  11-27 22:07:00.235: DEBUG/dalvikvm(30): GC freed 251 objects / 16168 bytes
  in 10ms
  11-27 22:07:00.435: DEBUG/dalvikvm(30): GC freed 295 objects / 18768 bytes
  in 10ms
  11-27 22:07:00.555: DEBUG/dalvikvm(30): GC freed 214 objects / 13712 bytes
  in 12ms
  11-27 22:07:00.715: DEBUG/dalvikvm(30): GC freed 415 objects / 26544 bytes
  in 14ms
  11-27 22:07:00.984: DEBUG/skia(30): -- build_power_table 1.4
  11-27 22:07:00.994: DEBUG/skia(30): -- build_power_table 0.714286
  11-27 

Re: [android-developers] Re: Google Map activity not working

2010-11-27 Thread Robin Talwar
okay... i didn't get dat.. lol

On Sat, Nov 27, 2010 at 11:36 PM, akkilis deepakverma.u...@gmail.comwrote:



 On Nov 27, 10:17 pm, akkilis deepakverma.u...@gmail.com wrote:
  Ohh.I should have spotted this earlier.
 
  You have to add this in the applications element in the manifest
  file:
 
  uses-library android:name=com.google.android.maps /
 
  i.e. Manifest should be like this:
 
  uses-permission ./uses-permission
  application ...
   uses-library android:name=com.google.android.maps /
 
  activity android:name=.mymap 
  intent-filter
  ...
  /intent-filter
  /activity
  /application
 
  On Nov 27, 9:41 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote:
 
   Thanks for your reply
   Is this what you are asking for :-
 
   11-27 22:06:56.064: INFO/DEBUG(28): debuggerd: May  6 2010 09:07:51
   11-27 22:06:56.165: INFO/vold(27): Android Volume Daemon version 2.0
   11-27 22:06:56.335: DEBUG/qemud(35): entering main loop
   11-27 22:06:56.395: INFO/vold(27): New MMC card 'SU02G' (serial
 1012966)
   added @ /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118
   11-27 22:06:56.485: INFO/vold(27): Disk (blkdev 179:0), 131072 secs (64
 MB)
   0 partitions
   11-27 22:06:56.485: INFO/vold(27): New blkdev 179.0 on media SU02G,
 media
   path /devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118, Dpp 0
   11-27 22:06:56.485: INFO/vold(27): Evaluating dev
  
 '/devices/platform/goldfish_mmc.0/mmc_host/mmc0/mmc0:e118/block/mmcblk0' for
   mountable filesystems for '/sdcard'
   11-27 22:06:56.485: INFO/vold(27): Aborting start of /sdcard (bootstrap
 = 1)
   11-27 22:06:56.485: INFO/vold(27): Volmgr not ready to handle device
   11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
   '/sys/class/switch/test' (No such file or directory)
   11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
   '/sys/class/switch/test' (No such file or directory)
   11-27 22:06:56.485: ERROR/vold(27): Error opening switch name path
   '/sys/class/switch/test2' (No such file or directory)
   11-27 22:06:56.485: ERROR/vold(27): Error bootstrapping switch
   '/sys/class/switch/test2' (No such file or directory)
   11-27 22:06:56.485: DEBUG/vold(27): Bootstrapping complete
   11-27 22:06:57.014: DEBUG/qemud(35): fdhandler_accept_event: accepting
 on fd
   10
   11-27 22:06:57.014: DEBUG/qemud(35): created client 0xe078 listening on
 fd 8
   11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive: attempting
   registration for service 'boot-properties'
   11-27 22:06:57.034: DEBUG/qemud(35): client_fd_receive:- received
   channel id 1
   11-27 22:06:57.044: DEBUG/qemud(35): client_registration: registration
   succeeded for client 1
   11-27 22:06:57.044: INFO/qemu-props(44): connected to 'boot-properties'
   qemud service.
   11-27 22:06:57.054: INFO/qemu-props(44): received:
 qemu.sf.lcd_density=160
   11-27 22:06:57.054: INFO/qemu-props(44): received:
 dalvik.vm.heapsize=16m
   11-27 22:06:57.084: INFO/qemu-props(44): received:
   11-27 22:06:57.084: INFO/qemu-props(44): invalid format, ignored.
   11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_accept_event: accepting
 on fd
   10
   11-27 22:06:57.645: DEBUG/qemud(35): created client 0xe078 listening on
 fd
   11
   11-27 22:06:57.645: DEBUG/qemud(35): fdhandler_event: disconnect on fd
 11
   11-27 22:06:57.665: DEBUG/qemud(35): fdhandler_accept_event: accepting
 on fd
   10
   11-27 22:06:57.665: DEBUG/qemud(35): created client 0xe078 listening on
 fd
   11
   11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive: attempting
   registration for service 'gsm'
   11-27 22:06:57.665: DEBUG/qemud(35): client_fd_receive:- received
   channel id 2
   11-27 22:06:57.675: DEBUG/qemud(35): client_registration: registration
   succeeded for client 2
   11-27 22:06:57.994: DEBUG/AndroidRuntime(30): 
 AndroidRuntime
   START 
   11-27 22:06:58.014: DEBUG/AndroidRuntime(30): CheckJNI is ON
   11-27 22:06:58.834: INFO/(31): ServiceManager: 0xad08
   11-27 22:06:58.834: DEBUG/AudioHardwareInterface(31): setMode(NORMAL)
   11-27 22:06:58.854: INFO/CameraService(31): CameraService started:
 pid=31
   11-27 22:06:58.894: INFO/AudioFlinger(31): AudioFlinger's thread 0xb388
   ready to run
   11-27 22:06:59.134: DEBUG/AndroidRuntime(30): --- registering native
   functions ---
   11-27 22:06:59.894: INFO/SamplingProfilerIntegration(30): Profiler is
   disabled.
   11-27 22:07:00.024: INFO/Zygote(30): Preloading classes...
   11-27 22:07:00.044: DEBUG/dalvikvm(30): GC freed 793 objects / 50568
 bytes
   in 16ms
   11-27 22:07:00.235: DEBUG/dalvikvm(30): GC freed 251 objects / 16168
 bytes
   in 10ms
   11-27 22:07:00.435: DEBUG/dalvikvm(30): GC freed 295 objects / 18768
 bytes
   in 10ms
   11-27 22:07:00.555: DEBUG/dalvikvm(30): GC freed 214 objects / 13712
 bytes
   in 12ms
   11-27 

[android-developers] Re: Google Map Pin

2010-11-24 Thread pedr0
Thanks so much!


On 24 Nov, 13:57, Mark Murphy mmur...@commonsware.com wrote:
 On Wed, Nov 24, 2010 at 4:42 AM, pedr0 pulsarpie...@gmail.com wrote:
  I am looking for a default marker for overlay items in the maps, but I
  haven't finded it, something is wrong or really Google Map API don't
  offers this feature?

 AFAIK, there is no default marker with the Google Maps add-on for Android.

  I have to draw manually my pin or make it via some graphic tool like
  GIMP?

 There is a vast array of graphics available on the Internet, some of
 which is available under a free license.

  Another question is about the copyright of pin Google Maps, I found
  the pin image over internet but I don't know if I can really use it,
  is this image under some copyright?

 That image almost assuredly is copyrighted. Whether it is available
 under a free license I cannot say, but I would not assume that it is.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 Android App Developer Books:http://commonsware.com/books

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


[android-developers] Re: Google Map Key issue please help

2010-06-01 Thread mah
The Android shell tells you permission denied even when the command
you're trying to execute simply doesn't exist on the device.

On May 26, 3:14 pm, Ali Murtaza mralimurt...@gmail.com wrote:
 Hi

 I use this code to get the finger print in android emulator i got
 message keystore: permission denied

 So please help me. It realy urgent

 $ keytool -list -alias androiddebugkey \
 -keystore path_to_debug_keystore.keystore \
 -storepass android -keypass android

 --
 Ali Murtaza

 BCSF06M021
 Research Assistant
 Data Virtulization Ware House
 PUCIT, Lahore, Pakistan
 ali.murt...@pucit.edu.pk

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


Re: [android-developers] Re: Google Map Key issue please help

2010-06-01 Thread Ali Murtaza
Yap therefor you should go to the location where JAVA JDK is Installed

lets go to location in command line

c:\program files\java\jdk\bin

and then run the query which is mention above
On Tue, Jun 1, 2010 at 4:38 PM, mah m...@heilpern.com wrote:

 The Android shell tells you permission denied even when the command
 you're trying to execute simply doesn't exist on the device.

 On May 26, 3:14 pm, Ali Murtaza mralimurt...@gmail.com wrote:
  Hi
 
  I use this code to get the finger print in android emulator i got
  message keystore: permission denied
 
  So please help me. It realy urgent
 
  $ keytool -list -alias androiddebugkey \
  -keystore path_to_debug_keystore.keystore \
  -storepass android -keypass android
 
  --
  Ali Murtaza
 
  BCSF06M021
  Research Assistant
  Data Virtulization Ware House
  PUCIT, Lahore, Pakistan
  ali.murt...@pucit.edu.pk

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
Ali Murtaza

BCSF06M021
Research Assistant
Data Virtulization Ware House
PUCIT, Lahore, Pakistan
ali.murt...@pucit.edu.pk

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

[android-developers] Re: google map api are missing

2010-03-12 Thread raqz
sorry..but i dont find an google api listed there buddy...i dont find
a link to download that as well...can you please help me

On Mar 12, 4:56 pm, TreKing treking...@gmail.com wrote:
 On Fri, Mar 12, 2010 at 3:38 PM, raqz abdulraqee...@gmail.com wrote:
  hi..i wanted to use the MapActivity but i dont find the google api add
  on...

 In Eclipse, Project - Properties - Android - Select on of the Google APIs
 matching the platform version you want to target (generally the latest one).

 -
 TreKing - Chicago transit tracking app for Android-powered 
 deviceshttp://sites.google.com/site/rezmobileapps/treking

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


Re: [android-developers] Re: google map api are missing

2010-03-12 Thread Mark Murphy
raqz wrote:
 sorry..but i dont find an google api listed there buddy...i dont find
 a link to download that as well...can you please help me

http://developer.android.com/sdk/adding-components.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Warescription: Three Android Books, Plus Updates, One Low Price!

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


[android-developers] Re: google map api are missing

2010-03-12 Thread raqz
i checked the download manager but i dont find the google api package
there as well...
i downloaded the entire sdk again to check but its not present in the
addon either...nor am i able to get it from the manager

On Mar 12, 5:09 pm, Mark Murphy mmur...@commonsware.com wrote:
 raqz wrote:
  sorry..but i dont find an google api listed there buddy...i dont find
  a link to download that as well...can you please help me

 http://developer.android.com/sdk/adding-components.html

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 Warescription: Three Android Books, Plus Updates, One Low Price!

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


[android-developers] Re: Google Map Error

2010-02-11 Thread Vaikunth
Use onCreate() method.
Like
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.map_test);
map=(MapView)findViewById(R.id.map);
:::
}

I have no issue by calling again.

Hope you can get.

Regards.


On Feb 10, 1:58 pm, Daniel Drozdzewski daniel.drozdzew...@gmail.com
wrote:
 ok, the exception you see means that you can set content view only once;
 Make sure you call setContentView() method only once rather than each
 time you want to bring the activity to foreground.

 Daniel



 On Wed, Feb 10, 2010 at 4:44 AM, Sasikumar.S sasikumar.it1...@gmail.com 
 wrote:
  Thank You Daniel.
  I'm not calling setContentView() on onCreat().
  I'm calling setContentView() on some other method.

  According to my program i can't able to set setContentView() in onCreat().
  How to recreate it , to see one more time.
  can you pls give suggestion?...

  On Tue, Feb 9, 2010 at 8:14 PM, Daniel Drozdzewski
  daniel.drozdzew...@gmail.com wrote:

  ...
  Caused by:
  java.lang.IllegalStateException: You are only allowed to have a single
  MapView in a MapActivity
  ...

  where do you call setContentView() from? It should be called from
  onCreate().

  Daniel

  On 9 Feb, 13:10, Sasikumar.S sasikumar.it1...@gmail.com wrote:
   Hi,

   when i'm using Google map, it is showing nice.
   After i'm coming back  then try to see one more time newly it is
   showing
   error.

   The error is below

   02-09 18:36:40.555: ERROR/AndroidRuntime(300): Uncaught handler: thread
   main
   exiting due to uncaught exception
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):
   android.view.InflateException: Binary XML file line #14: Error inflating
   class unknown
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.createView(LayoutInflater.java:513)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.inflate(LayoutInflater.java:407)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.inflate(LayoutInflater.java:320)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.LayoutInflater.inflate(LayoutInflater.java:276)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at

   com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.app.Activity.setContentView(Activity.java:1622)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   pack.sample.find.mapview(find.java:253)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   pack.sample.find.onClick(find.java:337)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.View.performClick(View.java:2364)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.View.onTouchEvent(View.java:4179)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.widget.TextView.onTouchEvent(TextView.java:6540)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.View.dispatchTouchEvent(View.java:3709)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at

   com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at

   com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.app.Activity.dispatchTouchEvent(Activity.java:2061)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at

   com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.os.Handler.dispatchMessage(Handler.java:99)
   02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
   android.os.Looper.loop(Looper.java:123)
   02-09 18:36:40.694: 

Re: [android-developers] Re: Google Map Error

2010-02-11 Thread Sasikumar.S
Thank U.

I did  the same and i got the answer

Pls see the below link  tell the answer

http://groups.google.com/group/android-developers/browse_thread/thread/9f10a3c2511b4b6d

http://groups.google.com/group/android-developers/browse_thread/thread/9f10a3c2511b4b6d

On Thu, Feb 11, 2010 at 3:44 PM, Vaikunth vaikunth.kraffs...@gmail.comwrote:

 Use onCreate() method.
 Like
 public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.map_test);
map=(MapView)findViewById(R.id.map);
:::
 }

 I have no issue by calling again.

 Hope you can get.

 Regards.


 On Feb 10, 1:58 pm, Daniel Drozdzewski daniel.drozdzew...@gmail.com
 wrote:
  ok, the exception you see means that you can set content view only once;
  Make sure you call setContentView() method only once rather than each
  time you want to bring the activity to foreground.
 
  Daniel
 
 
 
  On Wed, Feb 10, 2010 at 4:44 AM, Sasikumar.S sasikumar.it1...@gmail.com
 wrote:
   Thank You Daniel.
   I'm not calling setContentView() on onCreat().
   I'm calling setContentView() on some other method.
 
   According to my program i can't able to set setContentView() in
 onCreat().
   How to recreate it , to see one more time.
   can you pls give suggestion?...
 
   On Tue, Feb 9, 2010 at 8:14 PM, Daniel Drozdzewski
   daniel.drozdzew...@gmail.com wrote:
 
   ...
   Caused by:
   java.lang.IllegalStateException: You are only allowed to have a single
   MapView in a MapActivity
   ...
 
   where do you call setContentView() from? It should be called from
   onCreate().
 
   Daniel
 
   On 9 Feb, 13:10, Sasikumar.S sasikumar.it1...@gmail.com wrote:
Hi,
 
when i'm using Google map, it is showing nice.
After i'm coming back  then try to see one more time newly it is
showing
error.
 
The error is below
 
02-09 18:36:40.555: ERROR/AndroidRuntime(300): Uncaught handler:
 thread
main
exiting due to uncaught exception
02-09 18:36:40.694: ERROR/AndroidRuntime(300):
android.view.InflateException: Binary XML file line #14: Error
 inflating
class unknown
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.createView(LayoutInflater.java:513)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
   
 android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.inflate(LayoutInflater.java:407)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.inflate(LayoutInflater.java:320)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.LayoutInflater.inflate(LayoutInflater.java:276)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
   
 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.app.Activity.setContentView(Activity.java:1622)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
pack.sample.find.mapview(find.java:253)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
pack.sample.find.onClick(find.java:337)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.View.performClick(View.java:2364)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.View.onTouchEvent(View.java:4179)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.widget.TextView.onTouchEvent(TextView.java:6540)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.View.dispatchTouchEvent(View.java:3709)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
   
 com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
   
 com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
android.app.Activity.dispatchTouchEvent(Activity.java:2061)
02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
  

Re: [android-developers] Re: Google Map Error

2010-02-10 Thread Daniel Drozdzewski
ok, the exception you see means that you can set content view only once;
Make sure you call setContentView() method only once rather than each
time you want to bring the activity to foreground.

Daniel



On Wed, Feb 10, 2010 at 4:44 AM, Sasikumar.S sasikumar.it1...@gmail.com wrote:
 Thank You Daniel.
 I'm not calling setContentView() on onCreat().
 I'm calling setContentView() on some other method.

 According to my program i can't able to set setContentView() in onCreat().
 How to recreate it , to see one more time.
 can you pls give suggestion?...

 On Tue, Feb 9, 2010 at 8:14 PM, Daniel Drozdzewski
 daniel.drozdzew...@gmail.com wrote:

 ...
 Caused by:
 java.lang.IllegalStateException: You are only allowed to have a single
 MapView in a MapActivity
 ...

 where do you call setContentView() from? It should be called from
 onCreate().

 Daniel



 On 9 Feb, 13:10, Sasikumar.S sasikumar.it1...@gmail.com wrote:
  Hi,
 
  when i'm using Google map, it is showing nice.
  After i'm coming back  then try to see one more time newly it is
  showing
  error.
 
  The error is below
 
  02-09 18:36:40.555: ERROR/AndroidRuntime(300): Uncaught handler: thread
  main
  exiting due to uncaught exception
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):
  android.view.InflateException: Binary XML file line #14: Error inflating
  class unknown
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.createView(LayoutInflater.java:513)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.inflate(LayoutInflater.java:407)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.inflate(LayoutInflater.java:320)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.LayoutInflater.inflate(LayoutInflater.java:276)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 
  com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.app.Activity.setContentView(Activity.java:1622)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  pack.sample.find.mapview(find.java:253)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  pack.sample.find.onClick(find.java:337)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.View.performClick(View.java:2364)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.View.onTouchEvent(View.java:4179)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.widget.TextView.onTouchEvent(TextView.java:6540)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.View.dispatchTouchEvent(View.java:3709)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 
  com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 
  com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.app.Activity.dispatchTouchEvent(Activity.java:2061)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 
  com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.os.Handler.dispatchMessage(Handler.java:99)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.os.Looper.loop(Looper.java:123)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  android.app.ActivityThread.main(ActivityThread.java:4363)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 
  com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
  02-09 18:36:40.694: 

[android-developers] Re: Google Map Error

2010-02-09 Thread Daniel Drozdzewski
...
Caused by:
java.lang.IllegalStateException: You are only allowed to have a single
MapView in a MapActivity
...

where do you call setContentView() from? It should be called from
onCreate().

Daniel



On 9 Feb, 13:10, Sasikumar.S sasikumar.it1...@gmail.com wrote:
 Hi,

 when i'm using Google map, it is showing nice.
 After i'm coming back  then try to see one more time newly it is showing
 error.

 The error is below

 02-09 18:36:40.555: ERROR/AndroidRuntime(300): Uncaught handler: thread main
 exiting due to uncaught exception
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):
 android.view.InflateException: Binary XML file line #14: Error inflating
 class unknown
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.createView(LayoutInflater.java:513)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.inflate(LayoutInflater.java:407)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.inflate(LayoutInflater.java:320)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.inflate(LayoutInflater.java:276)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.app.Activity.setContentView(Activity.java:1622)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 pack.sample.find.mapview(find.java:253)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 pack.sample.find.onClick(find.java:337)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.View.performClick(View.java:2364)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.View.onTouchEvent(View.java:4179)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.widget.TextView.onTouchEvent(TextView.java:6540)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.View.dispatchTouchEvent(View.java:3709)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.app.Activity.dispatchTouchEvent(Activity.java:2061)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.os.Handler.dispatchMessage(Handler.java:99)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.os.Looper.loop(Looper.java:123)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.app.ActivityThread.main(ActivityThread.java:4363)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 java.lang.reflect.Method.invokeNative(Native Method)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 java.lang.reflect.Method.invoke(Method.java:521)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 dalvik.system.NativeStart.main(Native Method)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300): Caused by:
 java.lang.reflect.InvocationTargetException
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 com.google.android.maps.MapView.init(MapView.java:237)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 java.lang.reflect.Constructor.constructNative(Native Method)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 java.lang.reflect.Constructor.newInstance(Constructor.java:446)
 02-09 18:36:40.694: ERROR/AndroidRuntime(300):     at
 android.view.LayoutInflater.createView(LayoutInflater.java:500)
 

Re: [android-developers] Re: Google Map Error

2010-02-09 Thread Sasikumar.S
Thank You Daniel.

I'm not calling setContentView() on onCreat().
I'm calling setContentView() on some other method.


According to my program i can't able to set setContentView() in onCreat().
How to recreate it , to see one more time.

can you pls give suggestion?...

On Tue, Feb 9, 2010 at 8:14 PM, Daniel Drozdzewski 
daniel.drozdzew...@gmail.com wrote:

 ...
 Caused by:
 java.lang.IllegalStateException: You are only allowed to have a single
 MapView in a MapActivity
 ...

 where do you call setContentView() from? It should be called from
 onCreate().

 Daniel



 On 9 Feb, 13:10, Sasikumar.S sasikumar.it1...@gmail.com wrote:
  Hi,
 
  when i'm using Google map, it is showing nice.
  After i'm coming back  then try to see one more time newly it is showing
  error.
 
  The error is below
 
  02-09 18:36:40.555: ERROR/AndroidRuntime(300): Uncaught handler: thread
 main
  exiting due to uncaught exception
  02-09 18:36:40.694: ERROR/AndroidRuntime(300):
  android.view.InflateException: Binary XML file line #14: Error inflating
  class unknown
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.createView(LayoutInflater.java:513)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.rInflate(LayoutInflater.java:621)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.inflate(LayoutInflater.java:407)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.inflate(LayoutInflater.java:320)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.LayoutInflater.inflate(LayoutInflater.java:276)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
 com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.app.Activity.setContentView(Activity.java:1622)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  pack.sample.find.mapview(find.java:253)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  pack.sample.find.onClick(find.java:337)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.View.performClick(View.java:2364)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.View.onTouchEvent(View.java:4179)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.widget.TextView.onTouchEvent(TextView.java:6540)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.View.dispatchTouchEvent(View.java:3709)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:884)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
 com.android.internal.policy.impl.PhoneWindow$DecorView.superDispatchTouchEvent(PhoneWindow.java:1659)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
 com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1107)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.app.Activity.dispatchTouchEvent(Activity.java:2061)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
 com.android.internal.policy.impl.PhoneWindow$DecorView.dispatchTouchEvent(PhoneWindow.java:1643)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.view.ViewRoot.handleMessage(ViewRoot.java:1691)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.os.Handler.dispatchMessage(Handler.java:99)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.os.Looper.loop(Looper.java:123)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  android.app.ActivityThread.main(ActivityThread.java:4363)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  java.lang.reflect.Method.invokeNative(Native Method)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  java.lang.reflect.Method.invoke(Method.java:521)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
 
 com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): at
  dalvik.system.NativeStart.main(Native Method)
  02-09 18:36:40.694: ERROR/AndroidRuntime(300): Caused by:
  java.lang.reflect.InvocationTargetException
  02-09 

[android-developers] Re: Google Map retains the reference to the context of the enclosing activity?

2010-01-21 Thread Katsiaryna
Still no luck. Seems I should report it as a bug...

On Jan 15, 6:27 pm, Katsiaryna katsiaryna.nali...@ndrc.ie wrote:
 Hello All,

 I am trying to get rid of the memory leaks in my application. The
 structure of the application is as follows: the main tab activity
 includes several other activities as its tabs, one of these child
 activities contains a map view to display a standard Google map.

 I noticed that after the application is restarted a copy of the main
 activity (and all its children) is created, so, of course, the memory
 is consumed very quickly. By memory profiling I eliminated several
 long-lived pointers to my activities. However, according to the
 profiling data, one last pointer is retained by the map with the
 following path to garbage collection:

 my tab activity @
 0x4323c2f0
 '- mParent my child activity with map   @
 0x4324c788
    '- context com.google.common.io.android.AndroidPersistentStore @
 0x43250180
       '- store com.google.googlenav.map.MapFlashService @
 0x43263d70
          '- flashService com.google.googlenav.map.MapService @
 0x43263158
             |- Java Local, target java.lang.Thread @ 0x4326cf00
 MapService Thread
             |- mapService com.google.googlenav.map.Map @
 0x43262538

 So it seems that the map service is keeping the pointer to my activity
 in order to use its persistent store, and this pointer is not released
 after the activity, to which it refers, is destroyed. Is this the
 intended behavior of the map service? Also, is it possible to release
 this pointer somehow to allow the garbage collector to recycle the
 activity?

 Thanks in advance for your suggestions!

 ---
 Best regards,
 Katsiaryna
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread windstorm
If the tilesSteve mentioned is like grid without any street or city,
that's exactly the same problem I met with.

Dunno the solution yet, and I did have the internet permission

On Dec 6, 11:23 pm, Mark Wyszomierski mar...@gmail.com wrote:
 What do you mean you only get the tiles? You mean the actual map tile
 images (like roads and cities)? That would be odd. If you have your
 map key setup properly, and the tiles are what's not showing up (which
 is probably the case), make sure you have the internet access
 permission defined in your manifest, you need that for the map to work
 as well.

 On Dec 6, 3:30 pm, Steve Keener stevena.kee...@gmail.com wrote:



  So I'm an experienced Java developer.  I've worked with Google Maps /
  Earth before.

  Working through examples fo doing it on the Android platform has been
  pretty straightforward so far.  Nothing surprising really.
  Erexcept that my map won't actually appear.   I only get the
  tiles.

  keystore is set up, key is in the code.  I see the simple overlay just
  fine.

  Suggestions anybody?

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


[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread Andrei
this is because u did not put correct license string for maps, which
is based on certificate u
use to sign app

On Dec 7, 12:47 pm, windstorm likunarmstr...@gmail.com wrote:
 If the tiles    Steve mentioned is like grid without any street or city,
 that's exactly the same problem I met with.

 Dunno the solution yet, and I did have the internet permission

 On Dec 6, 11:23 pm, Mark Wyszomierski mar...@gmail.com wrote:

  What do you mean you only get the tiles? You mean the actual map tile
  images (like roads and cities)? That would be odd. If you have your
  map key setup properly, and the tiles are what's not showing up (which
  is probably the case), make sure you have the internet access
  permission defined in your manifest, you need that for the map to work
  as well.

  On Dec 6, 3:30 pm, Steve Keener stevena.kee...@gmail.com wrote:

   So I'm an experienced Java developer.  I've worked with Google Maps /
   Earth before.

   Working through examples fo doing it on the Android platform has been
   pretty straightforward so far.  Nothing surprising really.
   Erexcept that my map won't actually appear.   I only get the
   tiles.

   keystore is set up, key is in the code.  I see the simple overlay just
   fine.

   Suggestions anybody?

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


[android-developers] Re: Google Map not showing up....just the tiles

2009-12-07 Thread warunsl
Hi,

If u mean only the grid is appearing, then you would want to check if
you have specified your API-key in the layout.xml file. If yes, then
see if you have given the INTERNET permissions and uses-library in
the AndroidManifest.xml file.

Hope this helps..

Regards,
Varun

On Dec 7, 1:30 am, Steve Keener stevena.kee...@gmail.com wrote:
 So I'm an experienced Java developer.  I've worked with Google Maps /
 Earth before.

 Working through examples fo doing it on the Android platform has been
 pretty straightforward so far.  Nothing surprising really.
 Erexcept that my map won't actually appear.   I only get the
 tiles.

 keystore is set up, key is in the code.  I see the simple overlay just
 fine.

 Suggestions anybody?

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


[android-developers] Re: Google Map not showing up....just the tiles

2009-12-06 Thread Mark Wyszomierski
What do you mean you only get the tiles? You mean the actual map tile
images (like roads and cities)? That would be odd. If you have your
map key setup properly, and the tiles are what's not showing up (which
is probably the case), make sure you have the internet access
permission defined in your manifest, you need that for the map to work
as well.

On Dec 6, 3:30 pm, Steve Keener stevena.kee...@gmail.com wrote:
 So I'm an experienced Java developer.  I've worked with Google Maps /
 Earth before.

 Working through examples fo doing it on the Android platform has been
 pretty straightforward so far.  Nothing surprising really.
 Erexcept that my map won't actually appear.   I only get the
 tiles.

 keystore is set up, key is in the code.  I see the simple overlay just
 fine.

 Suggestions anybody?

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


[android-developers] Re: google map

2009-04-02 Thread vivien wu

Hi, All,

I met the same issue with Bin.
Maps exists on SDK 1.0, 1.1, and G1 but doesn't exist on emulator
build by myself with SDK source code.
How to install maps as the default application ?
I can't find source code for maps under android\packages\apps.
Does it require additional license with Google ?
Thanks.

Regards,
Vivien


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