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
46
votes
7 answers

Issue: Passing large data to second Activity

I've got an strange issue. I was looking around the web but didn't find an answer. I'm still a beginner in android programming. So let's go: All I want to do is calling the second Activity with some data. It works fine with small data, but if the…
45
votes
8 answers

Cannot convert from android.support.v4.app.Fragment to android.app.Fragment

I'm doing my first Android app, and wanted to get straight into the ICS API. I have so far created an app using an ActionBar, with swipeable tabs using Viewpager and Fragments. I do however experience some errors that I keep returning to. Depending…
43
votes
7 answers

Android Ice Cream Sandwich Edittext: Disabling Spell Check and Word Wrap

Whilst testing on the Android Emulator running Android 4.0 (Ice Cream Sandwich), I have noticed that the Edittext does some quite strange things. Firstly, it underlines every word identified as "misspelt" in red. How do I disable this? Secondly,…
42
votes
9 answers

Exception when I run my application from Eclipse

I've been having this problem for almost 2 months now and can't figure it out. The problem is that if my application is running and I run (reinstall) my application from Eclipse, I get an error message indicating that my application has crashed…
Daniel Imms
  • 47,944
  • 19
  • 150
  • 166
42
votes
5 answers

How can I force the Action Bar to be at the bottom in ICS?

Ice Cream Sandwich (Android 4.0) adds the option of having the Action Bar at the bottom of the screen on phones, and that's something I'd love to have in an application of mine. The docs mention uiOptions="splitActionBarWhenNarrow" for when you want…
Michell Bak
  • 13,182
  • 11
  • 64
  • 121
40
votes
1 answer

Does the Android ICS API have a native equivalent to ViewPager support lib?

I have searched a bit around for a pager for fragment , I develop on ICS API. I know about ViewPager and all the support libs for earlier version but i don't get why I should use a support library consider the fact that I use the lastest version of…
eephyne
  • 911
  • 9
  • 15
40
votes
6 answers

Handling the missing MENU button in new versions of Android (3.x and up)

I'm a fan of the menu button as used in Android <3.0, as it was very useful for my game apps - it allowed me to take important but gameplay irrelevant functionality (saving game, reference info links) and place it somewhere where it did not clutter…
38
votes
10 answers

ADB doesn't recognize my Galaxy Nexus - Win7

I just bought a Galaxy Nexus, now I got a problem, my ADB doesn't recognize it. The Point is when I connect it, it shows it as Storage-Device on my Computer but it isn't listed as an ADB Device. When I connect my other Phone (HTC Desire HD) it…
safari
  • 7,565
  • 18
  • 56
  • 82
37
votes
1 answer

WebView on Android ICS, iframe problems with android_assets

My application engine runs inside a WebView. It spans different IFRAMES. Both the main application html and the iframes html are on android_assets. On Android 3.x no problems ever. Same on chrome browser, etc. If I create an IFRAME (createElement ->…
37
votes
4 answers

No resource identifier found for attribute 'parentActivityName' in package 'android'

I'm trying to complete this tutorial from the Android Page http://developer.android.com/training/basics/firstapp/starting-activity.html But I Eclipse throws this error: "No resource identifier found for attribute 'parentActivityName' in package…
Tudor Ravoiu
  • 2,130
  • 8
  • 35
  • 56
35
votes
3 answers

android 4.0 Dialog gets canceled when touched outside of dialog window

Hi I am facing the problem on ICS like dialog is dismissed when we click outside dialog window, due to which I am getting problem like I don't get any confirmation from user. Please help.
nishi
  • 1,245
  • 3
  • 13
  • 22
35
votes
4 answers

Android spinner with date picker, like Google Calendar app

I'm trying to get a text box that looks like a spinner to activate a date picker dialog. This is done in both the Google Calendar app and the Contacts app (for birthdate) on ICS. Do I need to use a spinner, and if so how do I change it's input view…
34
votes
3 answers

How to force overflow menu on android actionbar compat?

Android action bar compat Is it possible? On older devices (pre 3.0) the items that don't fit the action bar are only shown when the menu key is pressed, I want these items to be grouped in the actionbar's overflow menu.
34
votes
3 answers

WebView does not render local HTML page on app launch in Android 4.0.x Ice Cream Sandwich

I know this question has been asked in different formats on this forum, but none of the answers - accepted or otherwise that I found there have helped me so far. I am working on a hybrid app that uses native android, HTML and Adboe's Flex SDK…
33
votes
1 answer

List events for specific day in Android 4+ (ALL_DAY issue)

I'm attempting to get all events happening on selected day in Android 4+. As far as I understand, CalendarContract.Instances is the easiest way of getting events, since it handles both recurring events and single time events. However, I have some…
1
2
3
83 84