Porting 1.0 to 1.5, Street view intent (also broken in Google Maps)

by JP » Thu, 30 Apr 2009 10:09:51 GMT


Sponsored Links
 id I say in an earlier post everything checks out porting from 1.0 to
1.5? Correction. Invoking the Street View activity crashes in the
emulator. Both in ported app and Google Maps app (there by clicking on
an address bubble) Stack dump:

04-30 02:00:27.757: ERROR/AndroidRuntime(665): Uncaught handler:
thread main exiting due to uncaught exception
04-30 02:00:27.785: ERROR/AndroidRuntime(665):
android.content.ActivityNotFoundException: No Activity found to handle
Intent { action=android.intent.action.VIEW
data=google.streetview:cbll=47.625476,-122.356021&cbp=1,268.72,,0,0&mz=17 }
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.app.Instrumentation.checkStartActivityResult
(Instrumentation.java:1484)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.app.Instrumentation.execStartActivity(Instrumentation.java:
1454)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.app.Activity.startActivityForResult(Activity.java:2656)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.app.Activity.startActivity(Activity.java:2700)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.google.android.maps.StreetViewOverlay.startStreetViewActivity
(StreetViewOverlay.java:697)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.google.android.maps.StreetViewOverlay.startStreetView
(StreetViewOverlay.java:686)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.google.android.maps.StreetViewOverlay.access$1200
(StreetViewOverlay.java:55)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.google.android.maps.StreetViewOverlay$5.onClick
(StreetViewOverlay.java:201)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.View.performClick(View.java:2179)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.View.onTouchEvent(View.java:3828)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.View.dispatchTouchEvent(View.java:3368)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:831)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:863)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchTouchEvent(PhoneWindow.java:1707)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.android.internal.policy.impl.PhoneWindow.superDispatchTouchEvent
(PhoneWindow.java:1197)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.app.Activity.dispatchTouchEvent(Activity.java:1993)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1691)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.view.ViewRoot.handleMessage(ViewRoot.java:1525)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.os.Handler.dispatchMessage(Handler.java:99)
04-30 02:00:27.785: ERROR/AndroidRuntime(665): at
android.os.Looper.loop(Looper.java:123)
04-30 02:00:27.785:



Other Threads

1. Flash Development for Android

Does anyone know how to install these components in Flash CS5? I've tried some
thingsbut without success.

http://xperiments.es/blog/en/as3-android-flash-components/


*Flvio Malaquias*
*Analista de Sistemas*
*@fsmalaquias*

-- 

2. Advanced Medialets Question...

For those who've used medialets - having a problem dynamically setting
the ap_id.

I have a couple of apps that use an android Library. Medialets uses an
"app_id" string in the strings.xml of the app. All of the
functionality for the ads is in the Library code (see below), but each
app needs to have its own unique medialets app id.

Here's how the app is laid out:

App1 - MainActivity.class -> extends Activity, sets up some
parameters, starts the Library's main activity and finishes.
App1's strings.xml has the medialets app_id.

Library - LibraryActivity.class -> extends an abstract Medialets
wrapper class, and runs a method of that class to initiate the ads.
Library - Medialets wrapper class -> extends AdManager (Medialets)

Here's the problem - if the Library does not have a proper medialets
app_id in its strings.xml, the ads fail. As soon as I make sure it has
a proper app_id, it works fine.

The Android docs make it very clear that when using a Library,
conflicting files are "merged" with the Library and the class using
the Library always overrides. When I debug Medialets, I can in fact
confirm that the proper key is being sent to them. But sure enough,
unless a proper app_id is IN the Library's strings.xml, the ads do not
work.

Any thoughts?

-- 

3. Implementing "Guild" IM client

4. Android widget--table display

5. problem with asyntask

6. URLConnection & Verizon 3G

7. SecurityException: Permission Denial