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. How to record audio stream?

Hi all,

I want to send audio stream to internet directly, instead of store in
the file. But the output of MediaRecord only supports file by seting
setOutputFile(String path) , not OutputStream.  Is  there any methods
to do this?
Thanks.


--~--~---------~--~----~------------~-------~--~----~

2. Micro Thumbnail Issue

In Android cupcake release, both image and video support micro
thumbnail (96*96), and micro thumbnails are stored in one database
file, which is under location /sdcard/dcim/.thumbnails.

The thumbnail database file for micro thumbnail consists of blocks,
the size of each block is 10k bytes. That is, every micro thumbnail
(96*96) occupys one block. Application can use the image  or video ID
from media database to locate the micro thumbnail in thumbnail
database.  The issue is that when the image or video is deleted from
file system, the occupied block in micro thumbnail database file is
not freed. So there may be lots of dead blocks, which accupied file
system memory and are never freed. The bad situation is that the dead
blocks may accupy hundreds of magebytes.

Will this issue be fixed in later android release?

--~--~---------~--~----~------------~-------~--~----~

3. Where are all the Android sessions at SD West?

4. How to use IOCTL() to access H/W, via Sahred Library + JNI or else, in Android applications?

5. Fetching and Storing Images

6. How ratio of dp-to-pixel change with the screen density?

7. Keep app from restarting when touching icon from Home screen