android-4.0-ice-cream-sandwich Questions

6

Solved

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 the...
Tachygraphy asked 12/12, 2011 at 1:50

4

Solved

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 e...

3

Solved

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 = getActionBar(); actionBar.s...

3

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 ...

1

Solved

I am attempting to test an app on an ice cream sandwich device. To achieve this, I was hoping to run an emulator in android studio running API Level 15. I have made sure to install the system image...

2

Since update to Ice Cream Sandwich, my POST request doesn't work anymore. Before ICS, this works fine: try { final URL url = new URL("http://example.com/api/user"); final HttpURLConnection conne...
Flyweight asked 29/4, 2012 at 17:31

2

I have and Activity A calling Activity B. Then Activity B dials a number and then on the IDLE-OFFHOOK- IDLE state I call ActivityB.this.finish() so that activity A shows on front. This all worked f...

5

Solved

I'm trying to use Android's new calendar API to read all of today's calendar events. I'm have trouble finding the right selection on the database query to return all of the events. It seems that al...
Ragamuffin asked 13/4, 2012 at 0:12

1

Solved

I've got an animation defined in an XML resource, and I want to attach that animation to a view. I know how to perform this in code manually, but I was wondering if it's possible to attach that ani...
Encomium asked 14/4, 2016 at 17:23

4

Solved

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...

2

Solved

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...
Reprovable asked 19/1, 2012 at 5:29

3

The behavior of init.*.rc in Ice Cream Sandwich seems to have changed. Previously, I had been able to start a service at boot with an entry like: service my_kool_service /system/bin/my_kool_servic...

2

Solved

my Code: (Updated) I've Added my onCreateOptionsMenu And onOptionsItemSelected Method here : ActionBar actionBar = getActionBar(); actionBar.setHomeButtonEnabled(true); actionBar.setDisplayHome...

4

This question has also been asked by someone on the Android Developers Google Group (link), but it does not have an answer... I recently removed the v4 support library from my Android project in E...

9

When calling stop() within my Video Capture activity, on occasion, the software will hang and will not come back to life. Only triggering an ANR by hitting "Back" will allow me to kill the activity...
Suspensory asked 18/1, 2012 at 17:23

5

Solved

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...
Cooperate asked 9/1, 2012 at 20:44

2

Do most use real phones to test Google Account specific Android features? For example, I want to develop/test the Ice Cream Sandwich calendar api and in the emulator I can add a Google Gmail accoun...
Nonaggression asked 31/10, 2011 at 21:14

2

Solved

I'm working on programmatically setting a VPN connection on android devices. I was successfully able to do so for devices using OS 2.3.5 and before (I used reflection to get to the hidden classes)....
Brolly asked 31/5, 2012 at 15:9

2

I have a problem with an Android app I am working on. I loaded a locally stored HTML into a WebView and set: webSettings.setLoadWithOverviewMode(true); webSettings.setUseWideViewPort(true); web...

2

Solved

I want to log all toasts events in android ics (4.0.3), but I was unable to log any system event. Service is just not started! According to this question: onAccessibilityEvent(AccessibilityEvent e...

2

I've just tried to implement the fade effect for TextView in Android 4.0.3; however, it doesn't work. fadingEdge="horizontal" singleLine="true" ellipsize="marquee" This code works perfectly for ...
Poucher asked 16/2, 2012 at 8:11

4

Solved

Do I need to use Roboto font and put it to asset folder if my app will support only Android 4+ devices? I would greatly appreciate for your help. Alex. P.S. Sorry for my English:)
Sherri asked 1/10, 2013 at 10:6

4

Solved

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 foun...
Edible asked 9/12, 2012 at 10:17

3

I'm using a ShareActionProvider and would like to take advantage of the split ActionBar when there isn't enough room for it at the top - android:uiOptions="splitActionBarWhenNarrow". The action wo...

8

Solved

I will give my ICS tablets for users to complete a survey so I would like the user to work with my app only. They should not be able to switch to the home screen, press back buttons etc., so I woul...

© 2022 - 2024 — McMap. All rights reserved.