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

NetworkOnMainThreadException even though there is a background thread inside service

I am developing a UDP chat app. All network processing is inside thread in a service. I am still getting this error message for 3.1 and 4.0 oeprating system. For versions 2.3 and below it is working fine. Question: should I create two apps, one for…
SeanZhang2012
  • 31
  • 1
  • 5
0
votes
0 answers

How to interact with ActionBar from NativeActivity with Java-side window content (Xperia Play)?

For the Xperia Play prior to ICS, the only way to get input from the touchpad is through a NativeActivity (not a plain old Activity). Unfortunately, all drawing in a NativeActivity, as the name suggests, is done on the native-side, not Java-side. …
0
votes
1 answer

Phonegap Android application infinite pop up error in Android 2.2 but not in Android 4.0.3

I'm working on a HTML5 + jQuery app for Android using phonegap. When I test it on an Android 4.0.3 device it works fine, but in Android 2.2 I get infinite gap_poll pop up messages. Anyone knows how to solve this?
0
votes
1 answer

View1 disappears after View2.setvisibility(view.INVISIBLE) just on Android 4.0

in my APP I got a gametaskbar which holds specific gamecontrols (control_1, control_2). Additionaly I have two Buttons (Button_1, Button_2) where I can switch visibility. Because I have a lot of UI-Changes, I do this visibility-switching in…
0
votes
1 answer

Implementing a back button in android

I'm in the process of creating a set of home/back keys for when the statusbar in android is hidden. I've designed a button that simulates a home-key press as such private void InjectKey(final int keyEventCode) { new Thread(new Runnable() { …
0
votes
1 answer

Screen capture using native APIs?

Are there any native APIs (C code) in Ice Cream Sandwich that I can use to capture the entire screen? I need it to be done inside a C program, not using adb or Java interfaces.
0
votes
1 answer

In ICs, can`t get cookie

cookie return always null... In android 2.x this works well, but 4.0.4 ICS not works ConnectivityManager manager = (ConnectivityManager) mContext .getSystemService(Context.CONNECTIVITY_SERVICE); CookieManager cookie =…
0
votes
1 answer

HTC Sense 3.6 not showing calendar events?

I have an app that queries the google calendar instances and events API in Android 4.x. I've tested this on various devices and it works but for some reason it doesn't work on HTC Sense 3.6 (Android 4.0.3). Can anyone else confirm this or does…
0
votes
1 answer

Play video with media controller on specific area of an activity

I want to make layout like the attached image but the problem is when I create media controller it doesn't appear below the video player instead it shows on the centre bottom of activity. I've tried to make mediacontroller in xml file but It…
0
votes
1 answer

App doesn't start in ICS

I have submitted an painting app on samsungapps.com for Android 2.3.3+ (GingerBeard) for Samsung Galaxy Note only(utilizing it's S-pen). Problem is I have 7-8 buyer's question that the app is not starting(out of 1000+ downloads in 1 week), or…
Master Chief
  • 2,520
  • 19
  • 28
0
votes
1 answer

Intercept click on Notification bar Android 4 (tablet)

Is there any way to block click on notification bar in android 4 tablet. I knw there is no direct method but is there any bypass method ? Thanks
ZeeShaN AbbAs
  • 1,365
  • 2
  • 15
  • 31
0
votes
1 answer

Android CursorAdapter not refreshing on first load

EDIT I didn't add my XML I am writing a dialog for tagging selections. The first view is applying tags they have in their db. The next screen is a dialog for adding new tags to their db. I am supplying suggestions for them to use for their tags. I…
0
votes
1 answer

Change minSDKVersion depending on Device

I want to publish my application for more than one Version of Android. Thats why I wrote this in my Manifest xml My app shows a TimePicker. The TimePicker usually looks different in version 4.0.3. Since I…
0
votes
1 answer

switching tabs in Android

Basically Android 2.2 and all support older version of tabs, where in we just have to pass the intent for the tab handler which manages loading and handling the activities. How to do the same in Android 3.0 or 4.0, how to set intent for Tab object?…
Naruto
  • 9,476
  • 37
  • 118
  • 201
0
votes
1 answer

HD video streaming in gingerbread and ICS

i am really not getting anything on net related to this topic. I wanted to do HD video streaming on gingerbread and on ICS. I tried to play various HD video(mp4) locally on blaze ported with gingerbread, but not able to play. First of all i am not…