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

Android - html from android_assets in WebView, CSS not loading in ICS

I've been writing a small app that basically loads its content from locally stored HTML and CSS into a WebView. I initially started this when I had a device running Android 2.3 and had no issues. I recently got a Galaxy Nexus but the CSS doesn't…
6
votes
2 answers

Work around SpellCheckerSession leak?

I discovered my Activity is leaking on the ICS emulator. HProf seemed to show SpellCheckerSession keeping a reference to my Activity around, and there appears to have been a…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
6
votes
1 answer

Does Jellybean 4.2 have Intent to connect to an already-defined VPN?

(revised... now I'm running JB, and still have the same problem that I did more than a year ago) I have Jellybean (4.2) installed on my Xoom & Galaxy S3 (CM10.1), and I'm trying to write a Tasker plug-in to automatically connect to a PPTP or L2TP…
Bitbang3r
  • 6,826
  • 5
  • 27
  • 40
6
votes
2 answers

Theme.Translucent fails on ICS

I'm using: android:theme="@android:style/Theme.Translucent.NoTitleBar" in combination with: getWindow().setFlags(WindowManager.LayoutParams.FLAG_BLUR_BEHIND, WindowManager.LayoutParams.FLAG_BLUR_BEHIND); to get a nice transparent background blur…
sgarman
  • 6,152
  • 5
  • 40
  • 44
6
votes
1 answer

UTF-8 encoding on WebView and ICS

To correctly display UTF-8 text in a WebView, I usually use a doctype and a meta tag : and I use a tip I've seen on Stack Overflow: string = URLEncoder.encode(string,…
6
votes
3 answers

Can't get the Android 4.0 Split Action Bar working

I've followed the development pages on the android dev site, but I cannot get my action bar to split to the top and bottom of the screen. I've got a menu xml defined with a couple of options:
6
votes
4 answers

Android Virtual Device Creation failed to parse properties

When I try to create a new AVD in Eclipse, I have the image installed but that's not the problem. I get the message failed to parse properties from /home/kevin/.android/avd/icecream.avd/config.ini when I look at the machine.
6
votes
2 answers

A toddler-safe app on later versions of Android

I have an app, that should be toddler safe. Meaning that, it blocks any single key touch, yet handles long pressing for exiting the app. This is so that, the toddler will be safe from doing (too) nasty things while playing. Up to version 2.3.4…
6
votes
1 answer

Hide/change the application screen picture from Recent Apps Android 4.x

I need to hide my application screen from the list of running applications when you click the Recent Apps button in Android 4.x. The data that my application contains could leak sensitive information if someone were to have my application running…
6
votes
4 answers

Embedded Google Map can't get current location in WebView

I followed this tutorial: http://android-er.blogspot.com/2013/03/embed-google-map-in-webview.html I'm trying to just use the Google Map in the WebView, but it can't get my current location. I've enabled JavaScript on the WebView. What else do I have…
6
votes
1 answer

Custom switch widget in Android 4

I am getting crazy with switch buttons in Android 4. First of all, I have set a selector as background with two different PNG files selected from drawable folder:
CiDsTaR
  • 322
  • 2
  • 10
6
votes
3 answers

Where is the default browser on Android 4 derived from?

Question: Where is the default browser on Android 4 derived from ? The user-agent string only contains Safari, not Chrome. If I go into android-market, and download and install Chrome, Firefox and Opera Mobile, then my website displays well in…
Stefan Steiger
  • 78,642
  • 66
  • 377
  • 442
6
votes
3 answers

setHomeButtonEnabled on PreferenceActivity and nested preference

I have preference screen extended PreferenceActivity. For targeting OS 4.0.3, I wanted to add < icon on action bar so I did this in onCreate(). ActionBar actionBar =…
6
votes
2 answers

how do i get my ShareActionProvider to submit text Dynamically (from listeners) view pagers etc

I am using Sherlock Library Action Bar, which is similar to the ICS action bars, the place where I am stuck is this @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add("Save") …
6
votes
2 answers

Starting an SMS message intent is no longer working for new Droid RAZR ICS operating system

starting an SMS message intent (compose pre-populated text) is no longer working for new Droid RAZR ICS operating system. Are there other ways to accomplish this task? I have tried both: Intent sendIntent = new Intent(Intent.ACTION_VIEW); …
gauglerb
  • 258
  • 1
  • 12