android-4.2-jelly-bean Questions

11

Solved

The SearchView is focused by default, but when I try to show software keyboard - it doesn't happen: InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); im...

4

Solved

In simulator I can run my app, but on device with Jelly Bean OS I get a crash. Any idea why? 07-04 12:51:57.576 18243-18279/com.j4nos.moviebuffs6 E/AndroidRuntime: FATAL EXCEPTION: Thread-7940 ja...
Dagney asked 4/7, 2016 at 10:57

32

Solved

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: ...

6

Solved

I have a drawable selector as a background for each item in a ListView to highlight the selected row. Eveything works fine in Ice Cream Sandwich, but doesn't seem to work in Jelly Bean. Can't find ...
Inseparable asked 26/7, 2012 at 1:44

12

Solved

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 tryin...

2

Solved

I would like to copy a quite big directory from the assets folder of my app to the data folder on the first run of the app. How do I do that? I already tried some examples, but nothing worked, so I...
Hireling asked 7/6, 2013 at 12:19

6

Solved

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 ...
Suzansuzann asked 2/7, 2012 at 20:56

16

Solved

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 c...

2

Solved

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 o...

3

I am developing an app that needs to use both wifiLock and wakeLock so the audio streaming when the screen is off does not get disturbed. I have tried my app on Android 2.3 and wakeLock and looks l...
Inearth asked 16/2, 2013 at 15:6

3

Solved

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 yo...
Milliner asked 16/1, 2013 at 7:10

4

Solved

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 ...

4

Solved

When using Canvas and drawText() method I see a different rendering on Android 4.2.1. Below 4.2: For Android 4.2.1 (Nexux 7) I get: As you can see the text Consumption is very tight. Seems t...
Conni asked 20/12, 2012 at 14:19

6

Solved

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 appl...
Kylakylah asked 28/7, 2013 at 12:1

3

Solved

Im developing an app with the latest android version (4.2.1 API-Level 17) for tablets with multiuser capabilities. I want to restrict certain features (like the access to the app preferences) to t...
Shantung asked 7/2, 2013 at 11:0

5

Solved

I cant see the toast message in android 4.1 mobile. Upto yesterday I was able to see the toast message. From today only I can not see the message. Please help me. Toast.makeText(getApplicationCont...
Vienna asked 28/8, 2012 at 12:46

3

Solved

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.Parame...
Radiology asked 13/3, 2013 at 5:23

19

Solved

--- 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 muc...

2

Solved

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 <textarea> internally. It seems that backspace is not se...
Cocoon asked 28/1, 2013 at 10:48

8

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 wor...
Internment asked 24/2, 2013 at 15:50

9

Solved

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...

4

Solved

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-ro...
Veljkov asked 12/7, 2012 at 22:26

2

Solved

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...
Howund asked 30/4, 2013 at 3:20

26

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 everyt...

3

Solved

I'm currently looking into the NotificationCompat features of the Android Support Package v4 Rev 10. The documentation says that 'setContentText()' shows the second row in a notification. This is t...
Haldas asked 16/8, 2012 at 13:19

© 2022 - 2024 — McMap. All rights reserved.