Discussion Forums  >  Uncategorized

Replies: 5    Views: 305

AppBuilderUSA
Aspiring developer
Profile
Posts: 103
Reg: Feb 21, 2011
Columbus Ohio
1,730
06/05/11 09:28 AM (14 years ago)

google maps will not open

Okay, I know this is a common problem, but I've followed every step of the directions, and now my link on the app to open up my google map just won't do anything, I'm not getting an error, it just will not do anything, hopefully this is an easy fix, been working on this for awhile, appreciate the help. Verson 1.4, android, during simulator
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/05/11 11:38 PM (14 years ago)
Yeah, maps does cause some confusion but not like you describe. The common problem is the map doesn't show the tiles. It's not common that we hear the map screen 'wont open.' What happens when you tap the menu-item...nothing, like literally nothing? In this case, I'm thinking your 'showLocationMap' function isn't uncommented properly? Find the showLocationMap method in Act_ActivityBase.java, it's around line 287. Make it look like this: public void showLocationMap(){ Intent theIntent = new Intent(this, Screen_LocationMap.class); startActivity(theIntent); } Recompile, retest. At minimum this should transition the map screen when a map menu item is selected. Look at the console output (in Eclipse) if it doesn't...post your findings.
 
virendrapatidar
Android Fan
Profile
Posts: 4
Reg: Jun 22, 2011
Dubai
40
like
06/23/11 01:58 AM (14 years ago)
I am getting below exception...my setting is exactly what u have mentioned above.. also I am not sure what value to put for googleMapsAPIKeyDebug and googleMapsAPIKeyRelease 06-23 12:45:44.759: INFO/ZZ(521): Act_ActivityBase:menuTap: screen_locationMap 06-23 12:45:44.765: DEBUG/AndroidRuntime(521): Shutting down VM 06-23 12:45:44.765: WARN/dalvikvm(521): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): FATAL EXCEPTION: main 06-23 12:45:44.805: ERROR/AndroidRuntime(521): java.lang.NoClassDefFoundError: com.v1_4.BF44A9872858D713BF60DF04.com.Screen_LocationMap 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at com.v1_4.BF44A9872858D713BF60DF04.com.Act_ActivityBase.showLocationMap(Act_ActivityBase.java:290) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at com.v1_4.BF44A9872858D713BF60DF04.com.Act_ActivityBase.menuTap(Act_ActivityBase.java:115) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at com.v1_4.BF44A9872858D713BF60DF04.com.Act_Home$6.onItemClick(Act_Home.java:305) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.widget.AdapterView.performItemClick(AdapterView.java:284) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.widget.ListView.performItemClick(ListView.java:3382) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.widget.AbsListView$PerformClick.run(AbsListView.java:1696) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.os.Handler.handleCallback(Handler.java:587) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.os.Handler.dispatchMessage(Handler.java:92) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.os.Looper.loop(Looper.java:123) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at android.app.ActivityThread.main(ActivityThread.java:4627) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at java.lang.reflect.Method.invokeNative(Native Method) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at java.lang.reflect.Method.invoke(Method.java:521) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 06-23 12:45:44.805: ERROR/AndroidRuntime(521): at dalvik.system.NativeStart.main(Native Method) 06-23 12:45:44.815: WARN/ActivityManager(71): Force finishing activity com.v1_4.BF44A9872858D713BF60DF04.com/.Act_Home 06-23 12:45:45.355: WARN/ActivityManager(71): Activity pause timeout for HistoryRecord{450c7890 com.v1_4.BF44A9872858D713BF60DF04.com/.Act_Home} 06-23 12:45:51.735: DEBUG/dalvikvm(389): GC_EXPLICIT freed 183 objects / 13312 bytes in 97ms 06-23 12:45:52.205: INFO/Process(521): Sending signal. PID: 521 SIG: 9 06-23 12:45:52.645: INFO/ActivityManager(71): Process com.v1_4.BF44A9872858D713BF60DF04.com (pid 521) has died.
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/23/11 03:25 AM (14 years ago)
Hmm... the no-class definition found message in the above blurb makes me suspect of the AndroidManifest file. Are you sure you uncommented the part in that file? I think the info in the Readme mentions this...don't remember. Have a look at the manifest and look for this note: IF GOOGLE MAPS ARE USED, UNCOMMENT THIS AND SEE THE INSTRUCTIONS IN THE README.txt FILE Uncomment that if it's commented out.
 
virendrapatidar
Android Fan
Profile
Posts: 4
Reg: Jun 22, 2011
Dubai
40
like
06/23/11 04:18 AM (14 years ago)
Thanks David.. I am able to make it google maps worked.. Yes the Manifest file had the commended code.. Now.. I am facing another issue with Twitter... It say login and password is incorrect.. I tried this 10 times but didn't worked.. The crendentials are ok as i login with same credential on twitter. No logs is generated only error saying that Your username or password (or both) could not be validated.Please try again
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
06/23/11 04:26 AM (14 years ago)
Cool, glad you got maps working. We heard about the Twitter thing a week so ago and havn't looked into yet. Some users are having zero trouble, other users are having the trouble you describe. If you can't get it to work a work around is a simple Custom URL screen leading to your Twitter page. There's also a mobile version of your Twitter page if you want it to look nice. I think it's m.twitter.com? Google it maybe? We're not sure when we'll get around to the Twitter bug but will post more info on the forum when we learn more.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.