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
19
votes
3 answers

Android 4.2 developer settings still unavailable

How do you access Android 4.2's developer settings when the method prescribed on their developer site does not work? I followed the directions on a Nexus 7 tablet. I went to Settings > About tablet, scrolled to the bottom of the screen, and clicked…
raykendo
  • 620
  • 1
  • 12
  • 25
19
votes
4 answers

Android: Android 4.1 Emulator Invoking onDateSet Twice from DatePicker Dialog

My application was working perfectly on my Android 2.2 emulator. I then decided to test on an Android 4.1 emulator. The DatePickerDialog looks a little different and for some reason when I press on "Done", the onDateSet() listener gets called twice…
Nouran H
  • 1,992
  • 5
  • 18
  • 24
18
votes
6 answers

Logcat won't display Log.d messages

I'm developing an Android application and I would like to have some way to print debug statements as my code runs. Fortunately for me, Logcat was able to print out Log.d messages when I run my application on an Android 2.3.3 (API 10)…
flawedmatrix
  • 461
  • 1
  • 4
  • 8
18
votes
5 answers

Alternative to setAlpha in api level 8

I am working on an app, which can run on Froyo as well as JellyBean. I have a class that extends PageTransformer as below: import android.support.v4.view.ViewPager.PageTransformer; import android.view.View; public class ZoomOutPageTransformer…
Chintan Soni
  • 24,761
  • 25
  • 106
  • 174
18
votes
8 answers

Android 4.2.2 USB debugging "Always allow from this computer" option result in target unknown for device?

I am having problem connecting my 4.2.2 android device with PC after I select "Always allow from this computer". I have selected "Always allow from this computer" in 4.2.2 USB debugging and it works fine the first time but when I tried other time my…
GoalGinger
  • 278
  • 1
  • 3
  • 7
18
votes
1 answer

requestFocus for TextView on Jelly Bean slow

I am developing an application that has 4 text fields for entering data into and I have come across a performance issue when moving focus from one to the other. When a field has a character entered into it I use the addTextChangedListener to monitor…
Paul
  • 181
  • 3
18
votes
2 answers

Custom expandable notifications in Jelly Bean (4.1)

Jelly Bean added support for expandable status notification. According to http://developer.android.com/about/versions/jelly-bean.html: In addition to the templated styles, you can create your own notification styles using any remote View. How…
RobB
  • 335
  • 1
  • 3
  • 11
18
votes
4 answers

How to properly update a notification post api 11?

Before Notification.Builder came into existence the way to update a notification that was already in the notification tray was to call setLatestEventInfo() and then send the notification back through the NotificationManager.notify() call with an ID…
cottonBallPaws
  • 21,220
  • 37
  • 123
  • 171
17
votes
2 answers

java.lang.StringIndexOutOfBoundsException while playing video in videoView : Android v 4.2.1

I am getting this crash when I play video on videoView in Android version 4.2.1. I found this out specifically on Micromax Canvas A210 device. It is not showing any message where the error is occurring. Is this a bug or something wrong in…
user3513843
17
votes
3 answers

Android notifications actions without opening the app

I want to implement a notification action in JB. But it shouldn't open the app. The behaviour is similar to the Gmail apps delete notification action. How can I do this? Thanks in advance, Shashika
Shashika
  • 1,151
  • 1
  • 9
  • 21
17
votes
1 answer

action bar behavior when android:targetSdkVersion is 16

I am trying to implement an action bar with tabs as navigation options. To do that I select the "Tabs+Swipe" option in the "New Blank Activity" section of the "New Android App" wizard as shown below. Now, in the android manifest,…
16
votes
3 answers

How to open camera directly in panorama/photosphere mode?

I am stuck in a problem in Android 4.2 Jelly Bean. How can I open camera from my application, by default in panorama/360 photosphere mode? I have searched a lot in grepcode and also Camera.Parameters, but nothing seems to help. Does anybody have any…
Akhil Jain
  • 13,872
  • 15
  • 57
  • 93
16
votes
3 answers

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

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…
Ryan R
  • 8,342
  • 15
  • 84
  • 111
15
votes
2 answers

Android: Backspace in WebView/BaseInputConnection

I have a problem with soft keyboard backspace in Android (4.2). I have a custom editor in a WebView (CodeMirror), which uses an empty