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
13
votes
2 answers

How do I configure the Android 4.0+ emulator to behave as a tablet?

I have been developing Android application for Android 3.x and now I want to support Android 4.0. So I created a new AVD from AVD Manager with a target of Android 4.0.3 and API Level 15, resolution 1280 x 800. The emulator runs normally, but its UI…
13
votes
1 answer

How to record the video using camera preview on TextureView

I have been playing with TextureView on some Android 4.0 devices. For example, I tried to develop a simple app, which can record the video and uses TextureView for its preview. However, as far as I read the Android API documents, standard…
13
votes
6 answers

Hide Status bar on Android Ice Cream Sandwich

I'm working in a launcher for Android ICS but I have a problem with tablets. I can't hide the status bar. I have try it in Android 2.3.X and it's ok. The problem appears only with Android 4.0. How can I hide it?
NachoMV
  • 135
  • 1
  • 1
  • 5
13
votes
2 answers

Issue with loading local javascript files inside a webview

I had with an issue that has plagued me for days. It turned out that it was an Android glitch and has been submitted, confirmed, and hopefully will be fixed in a future release. Now I have found a solution that works for me, and will provide it…
13
votes
4 answers

WebViewFragment webView is null after doing a FragmentTransaction

I currently have my application set up with a ListFragment on the left and a DetailsFragment on the right (similar to the layout on the tablet below). On the details fragment (fragment next to the list) I have a goto deal button, which when pressed…
13
votes
3 answers

Can I turn on WiFi-Direct from code? on Android API-14 (ICS)

I'm using the new Wi-Fi Direct API from google on Android 4.0 and in Sample code they send the User to Settings, to activate WiFi -Direct Mode. Is there a way to Start it by code??? all they offer is to listen to WIFI_P2P_STATE_CHANGED_ACTION…
zaxy78
  • 1,406
  • 3
  • 19
  • 32
13
votes
2 answers

How to clip a circular path inside a rectangle in Android

I've read over 20 questions/answers but I still can't get what I want. I want to cut a circle inside a rectangle as seen below: Here is my code: @Override protected void onDraw(Canvas canvas) { Paint paint = new Paint(); …
13
votes
7 answers

setColorFilter() broken on Android 4, working on Android 5

I am trying to flash different colours onto the screen at regular intervals (a few times per second). To change the colours, I use Drawable.setColorFilter(int color, Mode mode) on the background of my main view:…
13
votes
2 answers

WebView loadDataWithBaseUrl - weird issue in android 4.0.3

In my project there are two WebViews and I am switching these WebViews alternatively to get a smooth animation while loading my url. When I am using Webview.loadUrl() method, it works fine in all devices. But when I am using the same code with…
13
votes
4 answers

uninstall app silently with system privileges

My app have system privileges. It will be inside firmware, now it's located at /system/app I was able to install apps silently with this post install / uninstall APKs programmatically (PackageManager vs Intents) example app that…
POMATu
  • 3,422
  • 7
  • 30
  • 42
13
votes
2 answers

Settings.Secure.HTTP_PROXY deprecated in ICS but no information on replacement

The Android developer docs say the following about Settings.Secure.HTTP_PROXY: Host name and port for global http proxy. Uses ':' seperator for between host and port TODO - deprecate in favor of global_http_proxy_host, etc But there is not any…
Safecoder
  • 1,035
  • 2
  • 17
  • 32
12
votes
3 answers

Unable to resume Activity when retrieving images from SD card

My Activity contains this code to get all images on the SD card: String[] projection = {MediaStore.Images.Media._ID, MediaStore.Images.Media.DATA, MediaStore.Images.ImageColumns.DATA}; Cursor cursor =…
brian
  • 6,802
  • 29
  • 83
  • 124
12
votes
2 answers

TYPE_SYSTEM_OVERLAY in ICS

In Honeycomb I was able to create a system overlay with TYPE_SYSTEM_OVERLAY and receive touches with FLAG_WATCH_OUTSIDE_TOUCH. Now ICS has changed something. I can still create the system overlay, but i can't get touches. Now, i am able to create…
12
votes
2 answers

Bitmaps on ICS are loaded with wrong pixel format

I encountered the following problem. When any bitmap is loaded from resources by an application running on Ice Cream Sandwich, it will likely be rendered incorrectly as if it has been decoded to the format, which differs from the current window…
a.ch.
  • 8,285
  • 5
  • 40
  • 53
12
votes
3 answers

Build Error : Ice cream sandwich emulator on Ubuntu

I am trying to build ice cream sandwich emulator on Ubuntu Linux. Getting following error : host C++: libGLcommon <=…
RkeTest
  • 161
  • 1
  • 2
  • 8