[android-developers]How to get the data from LBS?
Use LBS, how to get the data? For example, hotel, restaurant, groggery info and so on. -- 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]How to get the data from LBS?
Like Foursquare, I want to develop an application which can get the location and get the useful info(hotel, restaurant, groggery info and so on) around the location. So how to get the useful info? -- 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] How to remove Android sms notification?
I want to remove notification when SMS comes in general inbox. Is it possible... If yes then how... I got many site where is metion this is not possible through 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
[android-developers] [Android] If modify framework layer code, how to debug it validly?
Now i modify framework code in source code, so every time i must rebuild the whole source code and view the result. Any debug skill to improve the effect? 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
Re: [android-developers] [android] How to wrap multi APK into one Installation package?
I have found the solution. (AssertsManager, InputStream, OutputStream) Thanks. 2010/10/15 kevens hao ithjf.kev...@gmail.com Hi Marcin, I add the APKs into assets folder. But how to get the APK from the resource and install it? Thanks. 2010/10/14 Marcin Orlowski webnet.andr...@gmail.com On 14 October 2010 04:36, kevens hao ithjf.kev...@gmail.com wrote: Now have some APKs, and want wrap these APKs into one installation package. How to do it? There's no one installation package other than APK. You could craft custom APK with other APK as resources but such wrapping is quite pointless as you are unable to silently install anything on the defice, so user will have to confirm installation each APK In short: you can't -- 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 -- 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] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo
I cannot use debugger when run monkey test. (monkey test likes windows mobile's hopper test.) From the log, the crashing code is super.onRestoreInstanceState(). 2010/10/14 TreKing treking...@gmail.com On Wed, Oct 13, 2010 at 8:55 PM, kevens hao ithjf.kev...@gmail.comwrote: I do not understand your means. Can you explain it clearly? [Note] This exception occurs when run monkey test. If test it manually, cannot reproduce it. I don't know how monkey works, but normally you step through your debugger to get a better of idea of where exactly your code is crashing. Are you able to use your debugger while getting this exception? - 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.comandroid-developers%2bunsubscr...@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] [android] How to wrap multi APK into one Installation package?
Hi Marcin, I add the APKs into assets folder. But how to get the APK from the resource and install it? Thanks. 2010/10/14 Marcin Orlowski webnet.andr...@gmail.com On 14 October 2010 04:36, kevens hao ithjf.kev...@gmail.com wrote: Now have some APKs, and want wrap these APKs into one installation package. How to do it? There's no one installation package other than APK. You could craft custom APK with other APK as resources but such wrapping is quite pointless as you are unable to silently install anything on the defice, so user will have to confirm installation each APK In short: you can't -- 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 -- 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] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo
When invoke super.onRestoreInstanceState, occur exception. [Code] @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { Log.d(LOGTAG, + onRestoreInstanceState()); mFrequency = savedInstanceState.getInt(Constants.CURRENT_FRE); mCurrentFre = savedInstanceState.getInt(Constants.CURRENT_FRE); mStationName = savedInstanceState.getString(Constants.STATION_NAME); mStationIndex = savedInstanceState.getInt(Constants.STATIONPLAY_INDEX, -1); mStarCheckBox.setText(mStationName); boolean isStaron = savedInstanceState .getBoolean(Constants.CURRENT_STAR); mStarCheckBox.setChecked(isStaron); if (isStaron) { mStarCheckBox.setButtonDrawable(R.drawable.starcheckedbtn); } else { mStarCheckBox.setButtonDrawable(R.drawable.starbtn); } boolean isRecording = savedInstanceState .getBoolean(Constants.CURRENT_RECORDING); // if (isRecording) { // startRecord(); // } mOnOrOff = savedInstanceState.getBoolean(Constants.ONOFF_FLAG); mHeadSet = savedInstanceState.getBoolean(Constants.ONOFF_HeadSet); if (mOnOrOff) { turnON(); // fmOn(); } mIsBack = true; super.onRestoreInstanceState(savedInstanceState); Log.d(LOGTAG, - onRestoreInstanceState()); } [Log] 01-01 08:53:48.560 E/AndroidRuntime( 5107): FATAL EXCEPTION: main 01-01 08:53:48.560 E/AndroidRuntime( 5107): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.spreadcomm.fmradio/com.spreadcomm.fmradio.FMRadio}: java.lang.RuntimeException: Parcel android.os.par...@32aed580: Unmarshalling unknown type code 51 at offset 492 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2663) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2679) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Handler.dispatchMessage(Handler.java:99) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Looper.loop(Looper.java:123) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.ActivityThread.main(ActivityThread.java:4627) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at java.lang.reflect.Method.invokeNative(Native Method) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at java.lang.reflect.Method.invoke(Method.java:521) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:930) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:688) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at dalvik.system.NativeStart.main(Native Method) 01-01 08:53:48.560 E/AndroidRuntime( 5107): Caused by: java.lang.RuntimeException: Parcel android.os.par...@32aed580: Unmarshalling unknown type code 51 at offset 492 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Parcel.readValue(Parcel.java:1838) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Parcel.readSparseArrayInternal(Parcel.java:2037) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Parcel.readSparseArray(Parcel.java:1493) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Parcel.readValue(Parcel.java:1828) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Parcel.readMapInternal(Parcel.java:2008) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Bundle.unparcel(Bundle.java:208) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.os.Bundle.getSparseParcelableArray(Bundle.java:1167) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java: 1496) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.Activity.onRestoreInstanceState(Activity.java:843) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at com.spreadcomm.fmradio.FMRadio.onRestoreInstanceState(FMRadio.java: 867) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.Activity.performRestoreInstanceState(Activity.java:815) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java: 1096) 01-01 08:53:48.560 E/AndroidRuntime( 5107): at
Re: [android-developers] [Android] java.lang.RuntimeException: Unable to start activity ComponentInfo
Hi TreKing, I do not understand your means. Can you explain it clearly? [Note] This exception occurs when run monkey test. If test it manually, cannot reproduce it. 2010/10/13 TreKing treking...@gmail.com On Wed, Oct 13, 2010 at 2:41 AM, kevens hao ithjf.kev...@gmail.comwrote: When invoke super.onRestoreInstanceState, occur exception. Step through the debugger to determine which line, specifically, is causing the issue, then go from there. - 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] [android] How to wrap multi APK into one Installation package?
Now have some APKs, and want wrap these APKs into one installation package. How to do it? -- 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] Cannot share audio file by MMS, and how to solve this case?
I use the following code to share audio file by MMS, but always show Sorry, you cannot add this audio to your message. By blutooth, can share the audio successfully. [Code] String uriString = file://+fileString; Uri uri = Uri.parse(uriString); Intent it = new Intent(Intent.ACTION_SEND); it.putExtra(Intent.EXTRA_STREAM, uri); it.setType(audio/*); startActivity(Intent.createChooser(it, Share Audio)); -- 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] VM aborting on MediaScannerService scan
When I query the media store database, sometimes occur VM aborting on MediaScannerService. Please refer the attched log info. Version: android 2.2 [Log] 12-31 15:30:15.239: INFO/ActivityManager(1280): Start proc android.process.media for service com.android.providers.media/.MediaScannerService: pid=1724 uid=10019 gids={1015, 3003, 2001} 12-31 15:30:15.359: INFO/ActivityThread(1724): Publishing provider media: com.android.providers.media.MediaProvider 12-31 15:30:15.379: VERBOSE/MediaProvider(1724): Attached volume: internal 12-31 15:30:15.389: VERBOSE/MediaProvider(1724): /mnt/sdcard volume ID: 998707720 12-31 15:30:15.429: VERBOSE/MediaProvider(1724): Attached volume: external 12-31 15:30:15.439: INFO/ActivityThread(1724): Publishing provider downloads: com.android.providers.downloads.DownloadProvider 12-31 15:30:15.449: INFO/ActivityThread(1724): Publishing provider drm: com.android.providers.drm.DrmProvider 12-31 15:30:15.469: DEBUG/MediaScannerService(1724): start scanning volume external 12-31 15:30:15.579: WARN/dalvikvm(1724): JNI WARNING: illegal start byte 0xf3 12-31 15:30:15.579: WARN/dalvikvm(1724): string: '?? ¨ó±??' 12-31 15:30:15.579: WARN/dalvikvm(1724): in Landroid/ media/MediaScanner;.processFile (Ljava/lang/String;Ljava/lang/ String;Landroid/media/MediaScannerClient;)V (NewStringUTF) 12-31 15:30:15.579: INFO/dalvikvm(1724): MediaScannerService prio=5 tid=10 NATIVE 12-31 15:30:15.579: INFO/dalvikvm(1724): | group=main sCount=0 dsCount=0 s=N obj=0x2f7785c8 self=0x21ca40 12-31 15:30:15.579: INFO/dalvikvm(1724): | sysTid=1734 nice=11 sched=3/0 cgrp=unknown handle=2214784 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner.processFile(Native Method) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner.access$500(MediaScanner.java:104) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner $MyMediaScannerClient.doScanFile(MediaScanner.java:537) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner $MyMediaScannerClient.scanFile(MediaScanner.java:497) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner.processDirectory(Native Method) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.media.MediaScanner.scanDirectories(MediaScanner.java:1206) 12-31 15:30:15.579: INFO/dalvikvm(1724): at com.android.providers.media.MediaScannerService.scan(MediaScannerService.java: 111) 12-31 15:30:15.579: INFO/dalvikvm(1724): at com.android.providers.media.MediaScannerService.access $200(MediaScannerService.java:48) 12-31 15:30:15.579: INFO/dalvikvm(1724): at com.android.providers.media.MediaScannerService $ServiceHandler.handleMessage(MediaScannerService.java:267) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.os.Handler.dispatchMessage(Handler.java:99) 12-31 15:30:15.579: INFO/dalvikvm(1724): at android.os.Looper.loop(Looper.java:123) 12-31 15:30:15.589: INFO/dalvikvm(1724): at com.android.providers.media.MediaScannerService.run(MediaScannerService.java: 188) 12-31 15:30:15.589: INFO/dalvikvm(1724): at java.lang.Thread.run(Thread.java:1096) 12-31 15:30:15.589: ERROR/dalvikvm(1724): VM aborting 12-31 15:30:15.599: INFO/klogd(1214): [ 61.112418] handle_crashing_process(7) 12-31 15:30:15.699: INFO/klogd(1214): [ 61.213482] BOOM: pid=1724 uid=10019 gid=10019 tid=1734 12-31 15:30:15.699: INFO/DEBUG(1133): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 12-31 15:30:15.699: INFO/DEBUG(1133): [Time]: 2008/12/31 Wed 15:30:15 12-31 15:30:15.699: INFO/DEBUG(1133): Build fingerprint: 'qcom/ msm7627_surf/msm7627_surf/7x27:2.2/MASTER/:eng/test-keys' 12-31 15:30:15.716: INFO/klogd(1214): [ 61.221524] Got a native code crash in user space. Tombstone file is /data/tombstones/tombstone_02 12-31 15:30:15.716: INFO/klogd(1214): [ 61.226584] [Time]: 2008/12/31 Wed 15:30:15 12-31 15:30:15.716: INFO/klogd(1214): [ 61.229874] Build fingerprint: 'qcom/msm7627_surf/msm7627_surf/7x27:2.2/MASTER/:eng/test- keys' 12-31 15:30:15.716: INFO/DEBUG(1133): pid: 1724, tid: 1734 android.process.media thread name: MediaScannerSer 12-31 15:30:15.725: INFO/klogd(1214): [ 61.239707] pid: 1724, tid: 1734 android.process.media thread name: MediaScannerSer 12-31 15:30:15.725: INFO/DEBUG(1133): signal 11 (SIGSEGV), fault addr deadd00d 12-31 15:30:15.730: INFO/klogd(1214): [ 61.247752] signal 11 (SIGSEGV), fault addr deadd00d 12-31 15:30:15.730: INFO/DEBUG(1133): r0 03ec r1 000c r2 000c r3 deadd00d 12-31 15:30:15.730: INFO/DEBUG(1133): r4 0026 r5 002668d0 r6 00c0 r7 fffe3502 12-31 15:30:15.730: INFO/DEBUG(1133): r8 315da614 r9 314dad3c 10 314dad24 fp 0021ca40 12-31 15:30:15.730: INFO/DEBUG(1133): ip 6ca98630 sp 315da518 lr 6fd154d5 pc 6ca3b5ca cpsr 2030 12-31 15:30:15.742: INFO/klogd(1214): [ 61.253902] r0 03ec r1 000c r2 000c r3 deadd00d 12-31 15:30:15.742: INFO/klogd(1214): [ 61.258251] r4