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
6
votes
5 answers

smoothScrollToPosition() only scrolls partway in Android ICS?

In Gingerbread, I had no issues with using smoothScrollToPosition() to scroll across dozens of items at a time. After my Nexus S was upgraded to Ice Cream Sandwich, I noticed that no matter what I put in smoothScrollToPosition(), it will only scroll…
Learn OpenGL ES
  • 4,759
  • 1
  • 36
  • 38
6
votes
2 answers

Adding a ProgressBar to a ListView/OnClick called a single time

The idea is to have a list of items where after clicking an item, a ProgressBar will slowly fill as the task is completed. For example, picture a list of files, with a Download button by each one. When the download button is clicked, the file is…
mindvirus
  • 5,016
  • 4
  • 29
  • 46
6
votes
1 answer

Android ICS ListView refresh issue

I have a ListView on my Android application that I dynamically change the data of. I use the onFilterComplete() method to change the contents of the ListView. Pre Ice Cream Sandwhich the following code works fine: if(adapter != null) { …
Donal Rafferty
  • 19,707
  • 39
  • 114
  • 191
6
votes
3 answers

Ice Cream Sandwich init.rc documentation

The behavior of init.*.rc in Ice Cream Sandwich seems to have changed. Previously, I had been able to start a service at boot with an entry like: service my_kool_service /system/bin/my_kool_service I did find this post, which gave a hint to change…
Jameson
  • 6,400
  • 6
  • 32
  • 53
6
votes
1 answer

Why can't I force one of my Views to render in software?

In a custom view I have, I'm using Canvas.drawBitmap with a source Bitmap that is wider than 2048px. This of course causes problems when Hardware Acceleration is enabled, with the LogCat spewing out "W/OpenGLRenderer(4968): Bitmap too large to be…
6
votes
4 answers

Android ICS Compilation Issue

I successfully Downloaded the source code for Android 4.0.3. But I am unable to compile it on my machine. My Machine configuration is UBUNTU 11.10 64 bit,4 GB RAM When I am running the lunch command getting the following error. /bin/bash:…
Ashwin N Bhanushali
  • 3,872
  • 5
  • 39
  • 59
5
votes
1 answer

Show black preview screen in task manager on ICS

I want to show a black screen in the task manager preview under Ice Cream Sandwich, like the German 'finanzstatus' app does. It would be nice if someone could point me in the right direction.
MOST2K2
  • 255
  • 4
  • 14
5
votes
1 answer

BroadcastReceivers in ICS

I had written a small utility app just for my phone, which stopped the annoying carrier provided jingle which played on boot up. I noticed the sound didn't play if I put the phone into silent mode before powering off, so I wrote this little utility…
NickT
  • 23,844
  • 11
  • 78
  • 121
5
votes
1 answer

Adding a calendar with ACCOUNT_TYPE_LOCAL to Android 4 makes its calendar crash

I want to add a new calendar to Android that does not get synchronized. I have written an App that does this using the new CalendarContract API from API level 14. The following code works fine. I can see the new calendar in Android's calendar app…
harsel
  • 1,985
  • 1
  • 12
  • 10
5
votes
3 answers

Cannot receive broadcast in ICS

I writing 1 app for Android 4.0, and it's started via broadcastreceiver. My code is below: In AndroidManifest.xml:
5
votes
3 answers

Unable to install SDK Platform 4.0.3

I'm trying to install the SDK for android 4.0.3 but I get an error and it does not download nor install. Unexpected Error installing 'SDK Platform Android 4.0.3, API 15, revision 2': org.eclipse.swt.SWTException: Widget is disposed This is the…
Adam
  • 81
  • 3
  • 7
5
votes
2 answers

Need help correctly emulating the Samsung Galaxy Nexus with AVD

I'm working to ensure my app is getting tested on ICS properly using the popular Galaxy Nexus as a basis. I'd like to emulate it as faithfully as possible. I've created an AVD with the following parameters (from config.ini). This was mostly created…
5
votes
1 answer

How can fonts cause OpenGL out of memory error?

I have a problem with my AppWidget. Some users on Galaxy Nexus and Nexus S who have Android 4.0 are reporting broken fonts in stock launcher. I had the phone connected to ADB to see the logs and I found there these errors multiple times:…
Sparky
  • 8,437
  • 1
  • 29
  • 41
5
votes
1 answer

Android StackWidget unable to bind

I am currently trying to add a widget to my application and have been basing my implementation on this code http://developer.android.com/resources/samples/StackWidget/index.html I have put all my stack widget related classes in their own package…
5
votes
0 answers

Android - Tabbed Navigation in Landscape Orientation

We are building an Android 4.0 app with tabbed navigation at the top. This all works great in portrait mode but when the application changes to landscape mode (which we want to support), the default behaviour is for the tabs to move up into the…