android-3.0-honeycomb

Find out whether the device is full disk encrypted and what encryption was used?

纵然是瞬间 提交于 2019-12-04 11:21:46
Since Android 3.0 full disk encryption is supported, but I can't see any API to that ability. The two specific things I need to know are: Whether the device is encrypted? What encryption is used. I found a low level explanation of the process here and it seems to suggest the encryption used is 128 AES with CBC and ESSIV:SHA256, but it does not talk about a way to find whether the device is encrypted. So, is there a way my app can query whether the device is using the full disk encryption feature, or do I need to resort to hacky solutions like Runtime.exec calls? As @Mikle mentions you can just

android - How to set custom layout for PreferenceActivity in Android 3.0?

若如初见. 提交于 2019-12-04 10:11:52
问题 I am developing app with minSdkVersion="11", that is app for tablets and Android 4.0 and newer. I have scrutinized internet on this topic, but have not found much. To implement custom layout for previous versions of Android SDK we just have to create layout (say preference.xml) with ListView and its id equals to android.R.id.list and use setContentView method. preference.xml: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

Android VOIP SipException: Failed to create SipSession

我们两清 提交于 2019-12-04 08:00:39
Im trying to run a VOIP call using built in SIP on android 3.1. I have physical tablet device (galaxy Tab 10.1). For testing purpose, I have created a project from SipDemo example - it works fine! (meaning my credentials are working and my device/network is fine). my Manifest.xml <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="modera.com.doorcontroller" android:versionCode="1" android:versionName="1.0"> <application android:icon="@drawable/logoeditedsmall" android:label="@string/app_name" android:debuggable="true"> <activity

Changing the ActionBar hide animation?

扶醉桌前 提交于 2019-12-04 07:57:24
问题 By default in Android 3.0+, when ActionBar.hide()/show() are called the bar is animated with a brief fade in/out animation. There does not seem to be an XML style attribute in this list associated with an animation resource. Is there some way to change this animation? In my case, I simply want to change the animation time, but is it also possible to have a sliding animation? 回答1: No. At least not in 3.0, 3.1, or 3.2. If you look at the decompiled sources of com.android.internal.app

Android Actionbar Search widget implementation In ListFragment

点点圈 提交于 2019-12-04 07:27:05
问题 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 action bar I have a search widget which when a search term is submitted should update the contents of the list (in the ListFragment). I have been following the search guide on android dev (http://developer.android.com/guide/topics/search/search-dialog.html) but I am having problems getting the search to update the list in the same

Android Honeycomb: Fragment not able to start AsyncTask?

狂风中的少年 提交于 2019-12-04 04:15:31
问题 I've run into this error before, but thought it was some mistake by the strict mode system. However, it apparently was right as I sadly found out now. :( My programm is made of one Activity and loads of Fragments. I have a NetworkWorker fragment, which starts URL requests like this: public void startURLRequest(Fragment target, String url, String message) { if (asyncTask != null) asyncTask.cancel(true); asyncTask = new FragmentHttpHelper(url, message, target); asyncTask.doInBackground();

Can my Android app open a URL in an incognito tab?

有些话、适合烂在心里 提交于 2019-12-04 04:04:39
问题 We all know how to open a URL in the browser in Andriod. Do something like this: Intent browserIntent = new Intent("android.intent.action.VIEW", Uri.parse(url)); context.startActivity(browserIntent); Honeycomb's stock browser includes support for incognito mode. Is there a way to make the target URL open in an incognito tab? I can't seem to find it. 回答1: Currently there's no incognito mode for stock Android Browser so probably you cant do that.Just Honeycomb and above version browsers have

Can i hide the App Icon from the Action Bar in Honeycomb?

只愿长相守 提交于 2019-12-03 15:51:54
I am currently planning the honeycomb update for my app and i am wondering how to use the Action Bar correctly. My first question is if it is possible to hide the App-Icon and Title from the Action Bar. And is there any kind of Design guidline for the Honeycomb-UI yet? Yes, you can hide the app icon and title. You can also replace the app icon with a wider logo image for your activity. The app icon/logo at the left is collectively treated as a "home" affordance. You can optionally ask the system to display it as "up." When tapped, this should take the user either to a home/landing page for

WebView inside ViewPager or ScrollView - weird rendering bug on Android 3.0+

早过忘川 提交于 2019-12-03 13:02:42
I have a ViewPager. Every page of the ViewPager is a ScrollView. The ScrollView contains a WebView and several other Views. On Android 2.3 and older everything works fine but on 3.0+ there's a weird rendering issue: When scrolling left / right in the ViewPager, there is also a very subtle rendering issue (which is present in Android 4.0 Gmail app too). This might be related to hardwareAcceleration. Try specifically turning it off. You can do this 1) in the application tag inside your manifest (which will disable hardware acceleration throughout the app) android:hardwareAccelerated="false" OR 2

Using FragmentTransaction with a DialogFragment

橙三吉。 提交于 2019-12-03 12:04:11
问题 So I've created a DialogFragment that is shown as a dialog via this technique Now that it's launched and upon a user interaction within this popup I want to slide in another fragment to this dialog. I'm trying to do this via FragmentTransaction.add() where I give it the id of one of the containers in this layout. At this point I get: java.lang.IllegalArgumentException: No view found for id 0x7f09013f for fragment <fragmentClassThatIWasPushingIn> As a quick test, I tried to push it onto a