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
9
votes
2 answers

What is triggering this Exception instance: "java.lang.IllegalArgumentException: The observer is null." and how could it be avoid?

I'm getting this exception when returning to the original ListActivity after opening an new activity with the content of the item selected by the user. It only occurs on Ice Cream Sandwich. This is the trace: java.lang.IllegalArgumentException: The…
pablisco
  • 14,027
  • 4
  • 48
  • 70
9
votes
2 answers

How to use and test the Android 4.0 Calendar API in the emulator?

Do most use real phones to test Google Account specific Android features? For example, I want to develop/test the Ice Cream Sandwich calendar api and in the emulator I can add a Google Gmail account to the operating system, but the calendars never…
Ralph Yozzo
  • 1,086
  • 13
  • 25
9
votes
1 answer

My app got significantly slower on Android 4.0

I developed and tested an app on Android 3.2, it interacts with the SQLite database and show the results on the screen. I don't have animations or anything fancy. What I do have is a lot of ListViews to show data to the user. The database for the…
9
votes
0 answers

Android SDK emulator with full HD resolution

So, I've just received the fourth e-mail today regarding support for the latest iteration of tablets with a 10-inch screen and a resolution of 1920 x 1200 pixels in one of my apps. The layouts in my app are tailored to look the absolute best for…
Michell Bak
  • 13,182
  • 11
  • 64
  • 121
9
votes
2 answers

HttpURLConnection performs always a GET request instead of a POST request in spite of setDoOutput(true) and setRequestMethod("POST")

Since update to Ice Cream Sandwich, my POST request doesn't work anymore. Before ICS, this works fine: try { final URL url = new URL("http://example.com/api/user"); final HttpURLConnection connection = (HttpURLConnection) url …
Cornelius
  • 400
  • 3
  • 12
9
votes
2 answers

Failed looking up window - different behaviors from same app on 2 galaxy nexus

I have two Galaxy Nexus phones. The phones are the same firmware version 4.0.2, same build number, same kernel version. When I deploy the same exact app to both of the phones using Eclipse, I see different behaviors from each. On one phone,…
ejo4041
  • 225
  • 1
  • 4
  • 14
9
votes
2 answers

Disable Home Button in Android ICS (4.0)

I am making a proprietary app for a company which will never release it to the Android Market (or Play Store I guess now) in Ice Cream Sandwich (Android 4.0). I need to disable the Home so the users cannot maliciously uninstall software or delete…
8
votes
1 answer

ICS-looking buttons: which drawable do I have to choose in ICS SDK?

I just had a look at Ice Cream Sandwich source code, because I am trying to port the Holo Theme to all pre-4.0 devices. I used a lot of usefull tools: Action Bar: ActionBarSherlock ICS Background:
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
8
votes
2 answers

How to make my project compatible with different sdk versions while using features for an specific version

I'm developing a project that uses a Flash video within a webview. I solved all my problems regarding to code, but only worked below Honeycomb. Reading this I found out how to solve the problems for Android 3.0 and later (including ICS), but now…
mdelolmo
  • 6,417
  • 3
  • 40
  • 58
8
votes
3 answers

WebView inside ViewPager or ScrollView - weird rendering bug on Android 3.0+

I have a ViewPager. Every page of the ViewPager is a ScrollView. The ScrollView contains a WebView and several other Views. On Android 2.3 and older everything works fine but on 3.0+ there's a weird rendering issue: When scrolling left / right in…
8
votes
2 answers

Android VPNService Route Exclusion

I'm using OpenVPN and the new VpnService API that comes with ICS (Android 4.X) Is there a way to define an exclusion of an IP address from the VPN tunnel? (so that traffic which is destined to that ip will be routed directly to the network, without…
8
votes
4 answers

Equivalent of NavUtils when not using the Android support library?

This question has also been asked by someone on the Android Developers Google Group (link), but it does not have an answer... I recently removed the v4 support library from my Android project in Eclipse, because my application only targets Android…
8
votes
1 answer

Android 4.0.4 MediaPlayer prepare issue using RTSP urls

I am experiencing an odd issue with a video streaming application I am working on. The actual streaming of video/audio is working fine on all of my test devices. However, on seemingly any device 4.0+, when using an RTSP URL, prepare() returns…
8
votes
1 answer

How to change "Choose an action" to "Complete action using" on Android?

I have an an NFC app which allow user to scan their NFC tags and perform some action. I faced an issue which is when user scanned the tag, it will how "Choose an action" but not "Complete action using". The different between these two is, "Complete…
Jason
  • 878
  • 2
  • 9
  • 21
8
votes
1 answer

What is RemoteControlClient in Android 4.0?

I know the rules of StackOverflow and hence apologize beforehand for asking such a subjective question. I tried the documentation but all it says is this : RemoteControlClient enables exposing information meant to be consumed by remote controls…
Swayam
  • 16,294
  • 14
  • 64
  • 102