Questions tagged [android-4.2-jelly-bean]

Android 4.2 Jelly Bean (API Level 17) is the version of Android Operating System preceded by Android 4.1.

Google announced Android 4.1 (Jelly Bean) at the Google I/O conference on 27 June 2012. Based on Linux kernel 3.0.31, Jelly Bean was an incremental update with the primary aim of improving the functionality and performance of the user interface. The performance improvement involved "Project Butter", which uses touch anticipation, triple buffering, extended vsync timing and a fixed frame rate of 60 fps to create a fluid and "buttery-smooth" UI. Android 4.1 Jelly Bean was released to the Android Open Source Project on 9 July 2012, and the Nexus 7 tablet, the first device to run Jelly Bean, was released on 13 July 2012.

Google was expected to announce Jelly Bean 4.2 at an event in New York City on 29 October 2012, but the event was cancelled due to Hurricane Sandy. The new version was announced with a press release instead of rescheduling the live event, under the slogan "A new flavor of Jelly Bean". The first devices to run Android 4.2 were the LG's Nexus 4 and Samsung's Nexus 10, which were released on 13 November 2012.

Resource

835 questions
324
votes
32 answers

INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to install compiled .apk on device

I've compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb: $ adb install out/target/product/generic/system/app/Trebuchet.apk 3986 KB/s (7870141 bytes in 1.928s) pkg: /data/local/tmp/Trebuchet.apk Failure…
153
votes
26 answers

Can't connect Nexus 4 to adb: unauthorized

I have a Nexus 4 with Android 4.3 and I am trying to connect the device to a computer with Windows 7 64bit. I installed the latest drivers and the latest adb version. I think I tried almost everything and I still get the following…
orS
  • 1,531
  • 2
  • 9
  • 5
148
votes
19 answers

Jelly Bean DatePickerDialog --- is there a way to cancel?

--- Note to moderators: Today (July 15), I've noticed that someone already faced this problem here. But I'm not sure if it's appropriate to close this as a duplicate, since i think I provided a much better explanation of the issue. I'm not sure if I…
davidcesarino
  • 16,160
  • 16
  • 68
  • 109
79
votes
9 answers

appcompat-v7 v21.0.0 causing crash on Samsung devices with Android v4.2.2

We just changed our application to use the appcompat-v7 support library in order to take advantage of the support actionbar and support Material themes. Using v21.0.0 of appcompat-v7 (andv21.0.0 of support-v4), we are now seeing crashes in Google…
73
votes
16 answers

How to change the background color of Action Bar's Option Menu in Android 4.2?

I'd like to change the background color of the option (overflow) menu in Android 4.2. I have tried all the methods but it is still showing the default color set by the theme. I used the following code & XML configs. MainActivity.java public class…
58
votes
12 answers

Check for navigation bar

I am trying to check to see whether the android navigation bar is present on load so that I can adjust a layout accordingly, does anyone have any suggestions? This is the navigation bar I am trying to detect: P.S. All I have found so far are 'bad'…
55
votes
4 answers

Android Speech Recognition as a service on Android 4.1 & 4.2

I have managed to get continuous speech recognition working (using the SpeechRecognizer class) as a service on all Android versions up to 4.1. My question concerns getting it working on versions 4.1 and 4.2 as it is known there is a problem in that…
Graham Laming
  • 1,213
  • 3
  • 14
  • 20
48
votes
1 answer

Apply effect to video frame captured by camera

I noticed that there is android.media.effect for developer to use in api level 17. There is also a sample 'Helloeffect' for developer to render. However, the sample is focus on a picture. I read the file of effect class and found it must apply an…
Brendon Tsai
  • 1,267
  • 1
  • 17
  • 31
47
votes
8 answers

Android WebView JellyBean -> Should not happen: no rect-based-test nodes found

My application is using a lot of webviews which are lying in fragments which are hold by a ViewPager. Whenever i swipe through the app on my Galaxy Nexus with Jellybean on it i get the following console message again and again: 08-23 13:44:03.374:…
Ostkontentitan
  • 6,930
  • 5
  • 53
  • 71
42
votes
1 answer

Questions about Google Play application assets encryption

Starting from v4.1 Jelly Bean, Google has introduced a new application assets encryption feature for Google Play. Seems that there were some problems when upgrading apps consisting in persistent data being lost after reboot, caused by the change in…
Mister Smith
  • 27,417
  • 21
  • 110
  • 193
40
votes
6 answers

Handling the missing MENU button in new versions of Android (3.x and up)

I'm a fan of the menu button as used in Android <3.0, as it was very useful for my game apps - it allowed me to take important but gameplay irrelevant functionality (saving game, reference info links) and place it somewhere where it did not clutter…
38
votes
4 answers

How to encode Bitmaps into a video using MediaCodec?

I would like to encode a set of Bitmaps that I have into an h264. Is this possible via MediaEncoder? I have written some code in order to do it, but the output cannot be played in any media player I have tried. Here's some of the code that I…
BVB
  • 5,380
  • 8
  • 41
  • 62
38
votes
2 answers

How to hide the soft-key bar on Android phone?

  When my app starts, I'd like to hide the soft keys bar (in red rectangle) to have a larger screen. How can I hide it? Do I need to show the bar purposely when the app quits? Or it will restore itself automatically after the app quits? Android…
ohho
  • 50,879
  • 75
  • 256
  • 383
36
votes
3 answers

java.lang.SecurityException: Requires VIBRATE permission on Jelly Bean 4.2

Since yesterday I have an issue on Android 4.2 when I receive push notifications it requires the permission even if i don't set it to vibrate Notification notification = new Notification(icon, notificationItem.message,…
Ste
  • 2,116
  • 7
  • 24
  • 24
35
votes
2 answers

Android OS bug with some devices running Jelly Bean/4.2.1 - TextView.setError(CharSequence error) Missing icon

Some, but not all, devices running Jelly Bean (4.2.1) appear to be missing the exclamation point error icon that should appear on a TextView (or, more commonly, an EditText) that has an error set on it via TextView.setError(CharSequence error). …
blahdiblah
  • 33,069
  • 21
  • 98
  • 152
1
2 3
55 56