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
15
votes
10 answers

Android ICS 4.0 NDK NewStringUTF is crashing down the App

I have a method in JNI C/C++ which takes jstring and returns back jstring some thing like as below, NATIVE_CALL(jstring, method)(JNIEnv * env, jobject obj, jstring filename) { // Get jstring into C string format. const char* cs =…
15
votes
2 answers

Autostart html5 video using android 4 browser

I want to auto-start android html5 video using android 4 ice cream sandwich browser. I tried many java-script functions and autobuffer autoplay tags of html5 video. But nothing worked. I start android chrome client in webview via android app and…
15
votes
5 answers

Package name not shown in Logcat in ICS

Why does the application (package name) remains blank after upgrading ICS to Android 4.0.3, in my Eclipse logcat? From what I understand, it is an important part of the logs and should not have been removed from Android 4.0.3. It seems that this…
Saurabh Verma
  • 6,328
  • 12
  • 52
  • 84
15
votes
3 answers

Android browser / Samsung Galaxy SII scrolling bug on web forms. Select list hitboxes don't scroll

EDIT: I've uploaded a video to youtube demonstrating the bug here: http://www.youtube.com/watch?v=zkDYlgtX5Hk I've got a really weird bug that I found testing my new web application on a Samsung Galaxy S2 running Android 4.03 ICS. What happens is…
14
votes
1 answer

Broadcast receiver not working in ICS if the app is not started atleast once

This question has been asked few times in stack overflow, but no solution, yet. I have a broadcast receiver for for receiving USB connected action.The broadcast receiver responsibility is , if I get the intent start my application.In the manifest…
14
votes
1 answer

Does Android's large heap option work for older phones upgraded to ICS?

I've got a Galaxy Nexus myself, and I know that the android:largeHeap="true" manifest option works on this phone, but I was wondering if it's working on older phones that are being upgraded to Ice Cream Sandwich, i.e. the Samsung Nexus S. The reason…
14
votes
1 answer

android 4.0.3 ACTION_INSERT_OR_EDIT intent not working

When i try to use this Intent like so.... Intent i = new Intent(Intent.ACTION_INSERT_OR_EDIT); i.setType(ContactsContract.Contacts.CONTENT_ITEM_TYPE); startActivityForResult(i,INSERT_CONTACT); it loads the contact list then after selecting or…
Maurycy
  • 3,911
  • 8
  • 36
  • 44
14
votes
4 answers

How do I fix Html.fromHtml link focus visibility problems (in ICS and Honeycomb)?

To get a TextView to display (and act friendly with) Html strings my code looks something like: // itemHtml is a String of HTML defined above TextView itemContent = (TextView)…
14
votes
6 answers

How to read and edit Android calendar events using the new Android 4.0 Ice Cream Sandwich API?

We are trying to show user the Ice cream Sandwich calendar view, when they want to add a new event. We can only test this in emulator. The other problem is that we can't find any examples how to use CalendarProvider. This is the right class when it…
14
votes
1 answer

VerifyError deploying on API 1.6

I've come across a backwards compatibility issue when deploying my application on android 1.6. Im getting a VerifyError on this piece of code: if(android.os.Build.VERSION.SDK_INT >= 11) { …
14
votes
1 answer

Set Actionbar overlay mode at runtime in Android

How do I set the actionbar mode at runtime to not-overlay or overlay with the content at runtime? I tried using getWindow().requestFeature(Window.FEATURE_ACTIONBAR_OVERLAY) but it doesn't allow to set the mode after calling setContentView(). This…
14
votes
2 answers

Something's wrong in Corner radius Android

I'm making my own search view for Android 2.3. I have. LinearLayout (Horizontal) AutoCompleteTextView ImageButton I added the button and AutoCompleteTextView to LinearLayout. I want to put a corner radius in my own control like the image shown…
14
votes
7 answers

How to know "Don't keep activities" is enabled in ICS?

How to know in settings "Don't keep activities" option is enabled in ics via code. If it is in enabled,how to prevent the activity. Note: I have used more activities in my application.Because of that settings if I move one activity to another the…
Finder
  • 1,217
  • 5
  • 18
  • 46
14
votes
6 answers

ActionBarSherlock setCustomView not working in Android 3.2

I recently upgraded my application to use ActionBarSherlock 4.1. Since the upgrade users running the app on Honeycomb experiance a force close due to a null pointer exception when setting a custom view on the actionbar. I add a custom view…
14
votes
3 answers

The best way to create drop down menu in android 2.x like in ICS

I want to create button with drop down menu, like overflow menu button in ActionBar on ICS. I have problem because PopupMenu there isn't in android 2.x. The second way using Spinner but it's not for me, because Spinner always show the first item on…