android-4.0-ice-cream-sandwich Questions

19

Solved

I'm doing a calculator. So I made my own Buttons with numbers and functions. The expression that has to be calculated, is in an EditText, because I want users can add numbers or functions also in t...

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

8

I am trying to use the new api's from google, specifically the action bar. When the build was set at api 10, if I pressed the menu button, I got nice looking menu options, each with a picture and...
Halvorson asked 14/2, 2012 at 18:21

12

I have an EditText input in Android 4.0 and the Cursor is not showing inside it. What can make the cursor not appear in the input field?

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

19

Solved

I'm trying to add support for the SearchView in the Android 3.0+ ActionBar, but I can't get the OnCloseListener to work. Here's my code: @Override public boolean onCreateOptionsMenu(Menu menu) { ...

7

I have an issue with the WebView (Android 3.0+), which the WebView always displays a white background before display my black background ("flashing"). Here is my simple test code: @Override public...

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

3

Solved

i need to have the menu button shown for some activities on galaxy nexus . i can't find how to do that, since it hides it by default . i don't wish to create an action bar since it takes more spac...
Tiaratibbetts asked 17/1, 2012 at 16:1

5

Solved

I'm trying to use the new notifications interface. I've added 3 buttons to the notifications, and I want to save something to my database once each of them is clicked. The notification itself work...

4

Solved

Today I got Android ICS update. The system shows version "Ice Cream Sandwich MR1". I know alpha, beta, rc, rtm, etc. but I was wandering what MR stands for.
Heathenize asked 17/12, 2011 at 22:37

7

Solved

I've got an strange issue. I was looking around the web but didn't find an answer. I'm still a beginner in android programming. So let's go: All I want to do is calling the second Activity with so...

6

Solved

I have a broadcast receiver registered in Manifest: <application ...> <receiver android:name="com.some.pkg.NewAppReceiver" > <intent-filter> <action android:name="android.i...

5

Solved

I'm exploring the capabilities of Android's VpnService. Presently, I've built a very rudimentary request forwarder by essentially rebuilding the IP stack in user space: I read IP packets from the V...
Incardination asked 18/11, 2013 at 9:26

2

Android 4.0 brings drm framework to smartphones. I'm interested to write a code that plays video protected by the DRM, but can't find enough information. Are there any tutorials on using th...
Demodena asked 27/10, 2011 at 12:22

4

Solved

I'm looking for a way to get the resolution of any given video in Android. It doesn't have to work with other formats than the ones supported in Android, but it'd be great if it did. If you're unsu...

4

Solved

I recently added Fragments to my applications. For a new application i'll need to get notified as soon as my fragment is shown. So i can do some calculations as soon as my fragment is shown again. ...
Blaubok asked 6/3, 2012 at 19:21

7

Solved

I've been scouring the interwebs (e.g. Android documentation, answers here, etc.) for the answer to what I thought would be a fairly trivial question. How do you achieve a translucent action bar li...

4

Solved

I'm trying to hide the navigation bar, using methods I've found described on the internet. I have a simple layout which shows a WebView: <?xml version="1.0" encoding="utf-8"?> <RelativeL...

4

Solved

I am trying to get the IP address of an device i.e using WIFI or 3G connection. I am getting the ip address in IPV6 format which is not understandable. I want in IPV4 format IP address.I have done ...

7

Solved

Is it possible to change the overflow icon in the action bar? I have blue icons for all ActionBar items and I also want to change the overflow icon when it appears.

3

Solved

My question is closely related to SearchView wrong alignment and SearchView positions when expanded in ActionBar but the answers posted there do not work. So, I'm using a SearchView in the Action ...

8

Solved

I'm wondering what method this button calls. My game always pauses/resumes correctly except for when I use this button, its seems like this button doesn't call the onPause() and onResume() metho...

2

I've read over 20 questions/answers but I still can't get what I want. I want to cut a circle inside a rectangle as seen below: Here is my code: @Override protected void onDraw(Canvas canvas) {...

8

I play a file through media player and I want to give options like speaker on/off, play though headset, bluetooth ,etc. I tried the below code which works well for android 2.2 but I want something ...
Guib asked 20/8, 2012 at 10:42

© 2022 - 2024 — McMap. All rights reserved.