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
31
votes
11 answers

Unable to show keyboard automatically in the SearchView

The SearchView is focused by default, but when I try to show software keyboard - it doesn't happen: InputMethodManager imm = (InputMethodManager)…
29
votes
4 answers

How to add custom view in android's JellyBean Launcher

I am working on making custom launcher in android. I have referred the code of android's Jellybean launcher. now I want to make some modification in this launcher. What I want : As we know there are default five work-space screens and I want to add…
Bhavesh Patadiya
  • 25,740
  • 15
  • 81
  • 107
25
votes
1 answer

Create custom lockscreen for android 4.0 or above?

I want to create custom lockScreen for android 4.0 and above, I have tried widget to create lockscreen but it supports only android 4.2. Is there any other way to create custom android lockScreen?
Aadil
  • 713
  • 2
  • 12
  • 30
25
votes
5 answers

Jelly Bean Issue - wifiManager.getConnectionInfo().getSSID() - extra ""

Hi all bug reporting for your information. link Problem details: The Code - wifiManager.getConnectionInfo().getSSID() The above code to returns the current SSID, it is returning the current SSID with extra quotations around it. For eg. the SSID…
Aiden Fry
  • 1,672
  • 3
  • 21
  • 45
25
votes
3 answers

What is the alternative for deprecated Canvas.getMatrix()?

I have the following code snippet, that transforms a set of bounds using the canvas' current transformation matrix. final RectF bounds = renderer.computeBounds activeCanvas.getMatrix().mapRect(result, bounds); return bounds; However,…
Paul-Jan
  • 16,746
  • 1
  • 63
  • 95
24
votes
6 answers

null keyevent and actionid = 0 in onEditorAction() (Jelly Bean / Nexus 7)

I have an edit text which functions as a search box in my application. In Jelly Bean on my Nexus 7 when I type something into the text box which I am listening on and hit enter the KeyEvent = null and ActionId = 0 passed into the onEditorAction()…
LowDev1
  • 1,108
  • 2
  • 10
  • 19
23
votes
3 answers

Change Actionbar height on Android JellyBean

I've been recently developing an Android app, in which i need to have a custom layout and dimension for the tab bar. The way that i did it until now is by using Jake Wharton's ActionBarSherlock library to support pre-HoneyComb Android versions, and…
23
votes
2 answers

how to use "Select debug app" and "wait for debugger" new feature in jelly bean?

"Select debug app" and "Wait for debugger" are new feature in Jelly Bean, does someone know how to use these new features?
gladman
  • 1,208
  • 4
  • 19
  • 39
23
votes
4 answers

READ_LOGS permission on Jelly Bean (api 16)

Since Android Jelly Bean doesn't support the logs reading permission (according to this google io 2012 video and this one too ) , i would like to know if it's possible for rooted devices (or non-rooted devices) to be able to bypass this restriction…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
23
votes
2 answers

onEditorAction() is not called after Enter key has been pressed on Jelly Bean emulator

I'm having a problem with the behavior of the latest Jelly Bean emulator. I have several EditTexts in my app. An OnEditorActionListener provides special handling when a user presses the ENTER key on the keyboard. This worked up until ICS, but now on…
22
votes
15 answers

Android 4.2.2 - adb offline, even after SDK upgrade

Edit: Fixed! Looks like there are very many possible causes for this. Mine was one of the more unusual... I updated SDK Tools to 21.1 and Platform-tools to 16.0.1. Verified with adb version that I am running v1.0.31. My development machine is…
warbi
  • 2,725
  • 2
  • 20
  • 26
22
votes
1 answer

onCreateOptionsMenu called after onResume on JB 4.2

I have the following fragment in my application: public class MyFragment extends SherlockListFragment implements LoaderManager.LoaderCallbacks { private MenuItem refresh = null; @Override public void onActivityCreated(Bundle…
20
votes
7 answers

Can't read socket InputStream on Jelly Bean

I have a TCP socket connection which works well on Android 2.3 but now facing some problems on Android 4.1. The problem is that InputStream.read() method always returns -1 (without blocking), like the connection is closed. Creating…
20
votes
3 answers

@JavascriptInterface cannot be resolved

I'm working with Android to make a webpage interact with my app. As such, I've gone through the documentation and tutorials and ended up coming up with this site. In it, the developers list that you should include @JavascriptInterface before any…
user1982687
  • 223
  • 1
  • 2
  • 6
19
votes
4 answers

Immersive fullscreen below 4.4

I have an app that I want to run in fullscreen. If i have a device with 4.4 KitKat it is easy to set the SYSTEM_UI_FLAG_IMMERSIVE to make the app go pure fullscreen. However if i have a device with a lower API than 4.4. I have no idea how to make it…
1
2
3
55 56