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
0
votes
1 answer

How to parse xml that is supported in Android 4.0?

I have used code from link for parsing xml it worked in versions less than android 2.3 but I am trying to get it done 4.0.3 it doesn't return any value in it at all.How solve this issue.I dont get any errors in the log but I dont get the parsed…
Karthik
  • 4,943
  • 19
  • 53
  • 86
0
votes
1 answer

Custom adapter view not updating correctly

Ok, I have a custom AdapterView. Whenever I detect a long click, I call a method to change a custom editable status. public void setEditing(boolean editing) { this.editing = editing; //Set editing to children for (int i=0; i <…
0
votes
1 answer

Default Checkbox style in Android ICS is different from previous versions

I am checking my app in ICS and i notices that my checkboxes, that were gray in previous version, are currently black. This is problematic because the background is also black. How can i apply the style of previous versions (such as Honeycomb) to my…
Erik Sapir
  • 23,209
  • 28
  • 81
  • 141
0
votes
1 answer

Change the tab activity

When i created an android project for android 4.0 you can choose for tabs+swipe and it gaves me this code import android.app.ActionBar; import android.app.FragmentTransaction; import android.content.Context; import android.os.Bundle; import…
user1534326
  • 115
  • 1
  • 2
  • 6
0
votes
1 answer

Android ICS browser fixed header style disappearing

I'm finding an odd bug in the Android ICS browser, both on my Skyrocket device and in the emulator. Basically the fixed header I have is losing almost all of it's styling (reverting to text though still fixed it appears). This appears to occur when…
0
votes
1 answer

Android TextView does not ellipsize on Android 4.0

I was new on Android,before I am an iphone developer.These days I met a problem that I could't figure out. In my application, I've ellipsized my TextView so that if the text is too large, it'll show ... in the middle using…
0
votes
1 answer

VideoView Error on BeagleBoard ICS

I am trying to play multiple videos(.mp4 format) one after the other using VideoView.It works fine on Android Tablets with ICS but it gives the error "Sorry this video cannot be played" error when I run it on BeagleBoard hardware with Android…
0
votes
1 answer

Android how can we design a menu for a list view similar to that of android 4.1 ICS?

I am new to Android and I am developing an app in android 2.1. The UI has a list view in it and on focusing the list shows a dropdown menu as in this image: http://developer.android.com/design/media/app_structure_gmail.png How can I design a menu…
0
votes
1 answer

Android calendar query URI android 4.0

All, I am using the following URI path to query data for the calendar, 1. content://com.android.calendar/calendars 2. content://calendar/calendars I read on blogs saying that these URI path wont be supportive on Android v4.0 and above. It is…
dominic
  • 308
  • 2
  • 6
  • 17
0
votes
3 answers

Running apps using bouncy castle on ICS

I have developed an application that uses bouncy castle provider for generating keystore. Everything was working fine on Gingerbread(2.3.3) until i updated my test device with ICS. Now, its not able to find the bouncy castle provider. I'm getting…
0
votes
1 answer

Failed to parse using HTML on ICS

I want to parse a website to obtain news information. It works well on previous version of Android but it doesn't work on ICS. Here's the piece of code that worked before: public NewsParsing(){ try { url = new…
0
votes
1 answer

Adding UI elements(textview, webview...) to a layout in code and be able to size and place them manually (dp or px)

I'm working on a UI class for an app. The goal I'm trying to accomplish is to be able to at runtime create UI elements and add them to the layout. I then want to be able to size and move them manually (in code). For example I want to add a webview…
0
votes
1 answer

How do you to implement Android 4.0 Restful, HTTP post request

Since they changed the way we make HTTP request in the latest Android SDK, I have not been able to find a tutorial that shows how to make HTTP post request. Especially for login. So I would like to see a some code examples that show how to implement…
Noman Arain
  • 1,172
  • 4
  • 19
  • 45
0
votes
1 answer

Orientation doesn't change (Actionbar and ICS)

I have a problem with ICS and the Actionbar. At start, when i changed the orientation, it worked, but now when i change the orientation, i have this error : Caused by: android.support.v4.app.Fragment$InstantiationException: Unable to instantiate…
toshiro92
  • 1,287
  • 5
  • 28
  • 42
0
votes
1 answer

Nexus opens same app twice when using custom URL to launch the app

My app has the feature of being launched from the browser if the user clicks on a particular type of URL. This thing works well on any android phones except the Google Nexus having ICS. With Nexus, when I click on a URL which can open my app, the…
Rahul Dole
  • 2,723
  • 2
  • 24
  • 30