Questions tagged [android-4.0-ice-cream-sandwich]

Android 4.0 (codename Ice Cream Sandwich) is API level 14 of the mobile operating system developed by Google. This version delivers a refined, unified UI for phones and tablets and introduces innovative features for users and developers.

Android 4.0 (codename Ice Cream Sandwich) is API level 14 of the mobile operating system developed by Google.

This version delivers a refined, unified UI for phones and tablets and introduces innovative features for users and developers.

It was released on 19th October 2011.

More info:

1251 questions
5
votes
3 answers

EditText does not show current input (Android 4)

My Android application contains an EditText view where you can type some short messages (single line). Pressing the keyboard's DONE key will append the message to a log view above (TextView) and clear the input view. Here's a snippet from my view…
ottel142
  • 2,016
  • 1
  • 26
  • 37
5
votes
3 answers

How do I target 1280x720 WXGA720 resolution (like new Galaxy Nexus) in Android Layout folders?

When testing my application at WXGA720 resolution on the Android Emulator running 4.0.3 Ice Cream Sandwich, my app takes the layout assets from the layout-normal-land-854x480 folder in landscape view and the layout-port-480x320 folder for portrait…
Matt W
  • 686
  • 1
  • 9
  • 12
5
votes
1 answer

How to close notification drop-down in Android >= 3.0 from custom rich notification with additional button?

I successfully created a custom rich notification for Android >= 3.0 that shows some text and an additional button. If you click the notification anywhere but on the button in the notification drop-down, the notification is dismissed, the drop-down…
5
votes
3 answers

Getting selected text in a WebView via a contextual action bar

It's known to be difficult to get selected text in a WebView because WebView text selection is actually handled by a private class, WebTextView. However, with the recently released Android 4.0 Design guidelines, there seems to be a glimmer of hope…
5
votes
1 answer

Ignoring ICS' font size setting

I have an Android app that looks absolutely horrible if the user sets their font size to large or extra large (via Settings -> Display -> Font size in Ice Cream Sandwich). It just plain wasn't designed for variable font sizes, and it makes a lot of…
Goldsmith
  • 508
  • 7
  • 13
5
votes
2 answers

"Ice Cream Sandwich" and WRITE_APN_SETTINGS

Does anybody know how to write app for "Ice Cream Sandwich" using WRITE_APN_SETTINGS permission ? WRITE_APN_SETTINGS is now ignored in ICS and code touching APNs fails.
5
votes
2 answers

Android 4.0 custom notification like google music

I want to create a custom notification with a progress bar and a delete button. Screenshot: I succeed to create a custom notification with a progress bar, but I did not manage to create the delete event. I want to cancel the notification and stop…
Quanturium
  • 5,698
  • 2
  • 30
  • 36
5
votes
2 answers

Android Image Rotation Not Working in Ice Cream Sandwich

I have an image that is set to rotate in my application. The code works perfectly on all Android versions except for the latest Ice Cream Sandwich. The image still rotates, but it is not rotating from the center axis of the image. Instead, it seems…
littleK
  • 19,521
  • 30
  • 128
  • 188
5
votes
1 answer

Android, honeycomb and ICS - report screen size without bottom buttons

Okay, on honeycomb I have some functions that determine the screen size. This is sometimes used to dynamically do some UI stuff. But the problem is that it includes the bottom bar with the android buttons, which subtracts from your available screen…
CQM
  • 42,592
  • 75
  • 224
  • 366
5
votes
2 answers

Searching for the correct AVD settings to emulate an Samsung Galaxy Nexus (using android-4.x, ICS)

I recently upgraded my android sandbox to handle Icecream Sandwich (ICS, aka android-4). Unluckily I was unable to find configuration data for the newest android-based flagship; Samsung's Galaxy Nexus. Can anyone help witht the specific…
5
votes
2 answers

Showing the menu button on ICS while keeping android:targetSdkVersion to be 14

I have an existing app with a full screen viewer that uses the menu button to show options. I've set the android:targetSdkVersion to be 14 to have the entire app theme look like a native ICS APP. The problem is that when setting the Activity style…
5
votes
1 answer

Disjointed WebView drawing in ICS

I'm making an application which has a Webview inline with other elements, nested in a ScrollView. I've noticed that in ICS, testing on a Galaxy Nexus device, the WebView appears to be disjointed from the rest of the displayed elements when the page…
Martyn
  • 16,432
  • 24
  • 71
  • 104
5
votes
2 answers

Intent.ACTION_VIEW a video URL not working on Ice Cream Sandwhich

I have the following code to view a remotely hosted video file: startActivity(new Intent(Intent.ACTION_VIEW,Uri.parse(article.getLink()))); where getLink() returns the URL of the video associated with the article. This approach has worked fine on…
Matt Colliss
  • 1,394
  • 1
  • 11
  • 21
5
votes
3 answers

Can Android 4.0 apps work with Android 2.0 and Android 3.0 devices?

I plan on creating an application for users to view their stats of a game I am currently in the process of making but my question is like the title. I am not sure if phones with Android 3.0, Android 2.0 or lower can use the apps? If not, how would I…
5
votes
1 answer

Can not use new Android 4.0 VpnService framework

I'm trying to use the new Android 4.0 VPN framework with the Emulator. In my sample app I'm calling: Intent intent = VpnService.prepare(SimpleVpnActivity.this); if(null != intent){ startActivityForResult(intent, 1); } But the application…
Andrew
  • 53
  • 1
  • 3