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
32
votes
8 answers

How to detect "Recent Apps" system button clicks (Honeycomb+)

I'm wondering what method this button calls. My game always pauses/resumes correctly except for when I use this button, its seems like this button doesn't call the onPause() and onResume() methods of an Activity. It works if I exit the game, go to…
31
votes
11 answers

Unable to show keyboard automatically in the SearchView

The SearchView is focused by default, but when I try to show software keyboard - it doesn't happen: InputMethodManager imm = (InputMethodManager)…
30
votes
4 answers

Android coding best practices/design patterns

In a recent question I asked I was directed to this website: http://developer.android.com/design/index.html Amazing site, but it didn't answer one particular question: What are the best practices/design patterns to apply in the design of an…
29
votes
8 answers

Why won't the Android browser span this paragraph over the full browser width?

The Problem: The Question The paragraph will fill the complete width of the page in Firefox Firefox Mobile (tested with 4.0.3 on SGS2) Chrome Chrome Mobile Beta (tested with 4.0.3 on SGS2) Internet Explorer Internet Explorer Mobile (testes with…
Oliver Salzburg
  • 21,652
  • 20
  • 93
  • 138
29
votes
2 answers

How to programmatically create a new VPN interface with Android 4.0?

I'd like to know whether it's possible to create a VPN interface programmatically with the new VPN APIs in Android 4.0. I've looked through http://developer.android.com/resources/samples/ToyVpn but this is about creating a complete VPN client that…
gelupa
  • 592
  • 1
  • 4
  • 11
29
votes
6 answers

Hide ICS back home task switcher buttons

Just wondering how to hide the ICS back/home/etc software buttons programmatically. Just like the Youtube apps does when playing a video. I want to hide them while a video is playing, but bring them up if the user taps the screen. I can't seem to…
rustyshelf
  • 44,963
  • 37
  • 98
  • 104
28
votes
3 answers

Android BlurMaskFilter has no effect in canvas.drawOval while text is blurred

I've been trying to create a custom view which has blurred shapes under text. The problem is that the BlurMaskFilter has no effect on any shape that I draw on the canvas. Here is how I'm initialising the Paint objects in the constructor: paint = new…
fasih.rana
  • 1,645
  • 1
  • 14
  • 27
28
votes
6 answers

Bluetooth Smart (4.0) / GATT support in Android 4.0?

I'm trying to find way to work with Bluetooth 4.0 (AKA Bluetooth Smart) devices using modern Android smartphones, namely - HTC One V. As I understood, there is some issues using GATT profile even in Android 4.0 with Bluetooth 4.0 hardware because of…
27
votes
5 answers

Android 4.0: widgets not appearing?

I have a widget I created against Android 2.1 that's been fine and selling on the market. I had a user complain that he bought it and it never showed up on his Android 4.0 device. I loaded up the 4.0 emulator, ran it from Eclipse, it reported a…
JamieB
  • 703
  • 1
  • 6
  • 17
27
votes
4 answers

What does MR version stand for?

Today I got Android ICS update. The system shows version "Ice Cream Sandwich MR1". I know alpha, beta, rc, rtm, etc. but I was wandering what MR stands for.
user802421
  • 7,465
  • 5
  • 40
  • 63
26
votes
3 answers

How can I get the same undefined ProgressBar as ICS with 2 rotating circles?

I am currently writing an open source project that aims to port the famous Holo theme to previous versions of Android (since 1,6!!!) Everything works fine and I am really proud of my work, but the problem I am facing now is to get the ProgressBar…
Waza_Be
  • 39,407
  • 49
  • 186
  • 260
26
votes
2 answers

Android loaders, the way to go?

I am used to building lists in android using adapters. If I need some long-to-get data, I use an asynctask, or a simple runnable, to update the data structure on which the adapter rely, and call notifyDataChanged on the adapter. Although it is not…
Snicolas
  • 37,840
  • 15
  • 114
  • 173
25
votes
5 answers

Android Actionbar items as three dots

I have a menu for my main activity (res/menu/main_menu.xml) and I want only one item on the Actionbar and the rest shall be hidden under three dots menu. The problem is, I never see the three dots item on my actionbar. Why I can't see three dots…
25
votes
2 answers

onSearchRequested() no longer works in Android 4.x+?

My app intercepts the search button to deliver something more relevant to the app itself: @Override public boolean onSearchRequested() { if (isOkToSearchWithinTheApp()) doRelevantOwnSearch(); return true; } It worked (still…
Souper
  • 1,247
  • 3
  • 14
  • 23
24
votes
2 answers

use holo theme on Android < 4.0

I'm developing an app for Android 2.2 and higher. I use the great ActionBarSherlock (thank you, Jake Wharton !!) to use the action bar on pre-ICS devices. While the actionbar looks great, all other gui elements have the look of the default theme of…
Andrew
  • 387
  • 2
  • 4
  • 10
1 2
3
83 84