android-4.2-jelly-bean

Error running systrace tool in ADB using a Jelly Bean 4.1 emulator on Windows 7

▼魔方 西西 提交于 2019-12-28 02:52:31
问题 How can I run systrace to show its html output? After watching the Google I/O 2012 talk "For Butter or Worse" I am having trouble getting systrace to work on Windows 7 using the emulator running Jelly Bean 4.1. I did the following: Installed Python 2.7, and added the install folder to my PATH Ran the following: C:\android-sdk\platform-tools\systrace>python systrace.py (with older SDKs: C:\android-sdk\tools\systrace>python systrace.py ) But I get the following error in cmd: Traceback (most

Galaxy nexus Intent.ACTION_PICK bug on Jelly Bean (4.1.1)

放肆的年华 提交于 2019-12-25 05:23:35
问题 I've found a very frustrating bug on galaxy nexus. I start az ACTION_PICK activity to select image from, after starting it, the device shows the gallery, and immediately return and call onActivityResult , so I can't pick an image. It's only on galaxy nexus after update to Jelly Bean. Intent photoPickerIntent = new Intent(Intent.ACTION_PICK, android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI); startActivityForResult(photoPickerIntent, RequestCodeCollection.GALLERY_IMAGE_SELECT); I

GenyMotion 4.3 Image fails to launch application

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-25 04:34:07
问题 I have updated to Genymotion 2.0 and downloaded/deployed the new 4.3 images (Galaxy Nexus and 10.1 Tablet) upon installing the appropriate GApps package get a devastating error upon launching a development app with the following stack trace making the device restart. I/Process ( 3117): Sending signal. PID: 3117 SIG: 9 E/AndroidRuntime( 3117): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread E/AndroidRuntime( 3117): java.lang.IllegalArgumentException: provider doesn't exisit:

MP4 filewriter in android 4.1+

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 16:13:54
问题 Starting from Android 4.1 (API level 16) MediaCodec APIs have been introduced. These APIs support Elementary stream Decoding & Encoding. Also MediaExtractor API will give elementary track details by analyzing Media streams. My Question is, I setup a video encoder using MediaCodec API, which gives me encoded file in .h264 format. I want to write .h264 file into a .mp4 file for playing/storing/sharing purposes. I don't find any .MP4 file-writer API for android. Is there any way to achieve it?

YouTube not working on Genymotion (Android 4.2.2 and 4.4.4)

耗尽温柔 提交于 2019-12-24 15:05:49
问题 I'm developing an app using Genymotion Android emulator and Apache Cordova. First of all, I've successfully installed Google Apps on both an emulated 4.2.2 and 4.4.4 devices. Whether if I try to play a video embedded in the Apache Cordova app using a regular or I open official YouTube app to play some video, I can't play videos. In the first case I get the "An error occured" error message, and when I try to play any video in the official YouTube app, it cries with a "connection lost" error.

Youtube embed video not working in android 4+ (Ice cream sandwich,Jelly Bean)

≡放荡痞女 提交于 2019-12-24 11:35:29
问题 This code works fine in android 2.2.But give protocol not supported error in android 4+ I refered this site https://developers.google.com/youtube/player_parameters <html> <head> <meta name="viewport" content="width=device-width; height=device-height;"> <title>Vadivel</title> <style> body { background-color:#588DEA; } </style> </head> <body marginwidth="0" marginheight="0"> <object width="320" height="430"> <param name="movie" value="https://www.youtube.com/v/5whBYQVnjvY?modestbranding=1&rel=0

Any clues about MediaPlayer Info/Warning 950?

久未见 提交于 2019-12-24 11:33:43
问题 I've been playing some mp4 videos through the VideoView, which apparently uses/is a wrapper for the MediaPlayer. As usual I see the typical ones in the logcat: I/MediaPlayer﹕ Info (701,0) I/MediaPlayer﹕ Info (702,0) But then I see that one as well: I/MediaPlayer﹕ Info (950,0) As stated in this answer and others questions, most 9XX MediaPlayer Info/Warning/Error codes aren't officially documented in the SDK docs, but probably is related with "timed text tracks" (subtitles), since the only

Galaxy SIII ignoring setDefaultZoom? UPDATE: JellyBean issue with WebView?

六月ゝ 毕业季﹏ 提交于 2019-12-24 06:59:27
问题 UPDATE: This is actually a JellyBean issue: Emulator running ICS: Emulator running JB: So the emulator settings are the same (API level different obviously). Tested and verified on 3 differerent devices: Nexus S, Galaxy Nexus, and GS3. I have a webView acivity that display's a couple of different web pages. I change the Default Zoom Settings based on what url is being displayed. The following line : webSettings.setDefaultZoom(WebSettings.ZoomDensity.FAR); was producing the view seen in ICS (

android app not able to get GPS until phone restarts

江枫思渺然 提交于 2019-12-24 02:39:10
问题 I am getting multiple reports from users that they can't get GPS or location services in my app until they restart their phone, and then everything works no problem. I only get a limited sample of android users complaints, from the set of users that use my apps but it seems shockingly similar to this issue: https://code.google.com/p/android/issues/detail?id=39745 Google OTA updates rolled out to some additional carriers last week. Looking through my code changes over the last several months,

Android CompoundButton Switch jumpDrawablesToCurrentState null crash

南笙酒味 提交于 2019-12-23 18:42:44
问题 I have an app that successfully uses ToggleButton . I am converting the app for use on JELLY BEAN (4.1.1). 4.1.1 has Switch widget which is a better-looking ToggleButton widget. Both widgets derive from CompoundButton . Android's comparison documentation is here: http://developer.android.com/guide/topics/ui/controls/togglebutton.html It says: The ToggleButton and Switch controls are subclasses of CompoundButton and function in the same manner, so you can implement their behavior the same way.