xoom

Drawables and Layouts for Galaxy Tab and Motorola XOOM

落爺英雄遲暮 提交于 2019-12-05 06:54:33
问题 I'm testing my app at Galaxy Tab and Motorola XOOM emulator skins, and I can't understand, why the drawables are taken from the wrong folders. I have drawable-xhdpi folder, where I store big size pictures. However, Tab takes drawables from drawable-hdpi, and XOOM uses the drawable-mdpi folder. So, how do I manage my resources? Thanks in advance. In addition, it feels like view sizes defined in sp are not ported properly. I have some views which need to be 80sp x 80sp, on phones with mdpi and

Is it possible to put Android ActionBar on the bottom?

安稳与你 提交于 2019-12-03 20:22:46
i'm developing an application to an Android Tablet (XOOM), and i would like to know if it is possile to put the action bar on the bottom of the screen, instead of the top (which is the default option). Thanks. if you're getting your ActionBar in an Activity you could just add this android:uiOptions="splitActionBarWhenNarrow" to your manifest for that specific Activity. That worked for me :) Nikhil Moharkar Yes it is possible like this,try this. public void setActionBArAtBottom(View layoutView, Intent intent, Context context, ContentValues componentIds) throws Exception { if (componentIds !=

Application writes file to internal sd card, but Windows doesn't see the file

我的梦境 提交于 2019-12-02 04:49:30
问题 So, what I'm trying to do is write data to a file on the sdcard and then have windows read the file. The issue I'm seeing is that windows never sees my new files until I reboot the xoom. The xoom has OS versin 3.2 and I am building to the SDK version as well. Once the xoom is rebooted and I navigate the xoom within windows my new directory and files show up after refreshing the directory a couple of times. This is an issue with an application that I am writing as I am exchanging information

Application writes file to internal sd card, but Windows doesn't see the file

此生再无相见时 提交于 2019-12-02 02:34:22
So, what I'm trying to do is write data to a file on the sdcard and then have windows read the file. The issue I'm seeing is that windows never sees my new files until I reboot the xoom. The xoom has OS versin 3.2 and I am building to the SDK version as well. Once the xoom is rebooted and I navigate the xoom within windows my new directory and files show up after refreshing the directory a couple of times. This is an issue with an application that I am writing as I am exchanging information between the xoom and a device. My code for writing out the file on the xoom is pretty straight forward,

Keyboard layout hiding android action bar?

主宰稳场 提交于 2019-11-28 09:49:36
In my Android application running in a XOOM device, when I click in an Edittext the keyboard opens and hides the Actionbar. I don't want this to happen, how can I solve this? This is done by the Google Contacts app for the tablet for example. EDIT: I have several edittexts in which the user needs fo fill. At first, when the user clicked on one edittext on the bottom, the keyboard showed up and hide the edittext in which the user was typing, so he couldn't see what he was typing. I found it really bad, and to solve it I just added to the manifest: android:windowSoftInputMode="stateVisible

Android - [Xoom/Honeycomb] application without LAUNCHER activity does not work

让人想犯罪 __ 提交于 2019-11-27 16:44:38
问题 I have an application without launcher activity that works properly from Android 1.5 to Android 2.3.4. It is started by my broadcast receiver. However, on Honeycomb (Motorola Xoom), my broadcast receiver doesn't work at all (it does not catch any intents). If I add launcher activity to my manifest: <activity android:label="@string/app_name" android:name="com.myapp.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent

Using SurfaceTexture in Android

我的梦境 提交于 2019-11-27 11:59:15
问题 I want to play a video into an OpenGL texture on XOOM using Android 3.0. I have come across SurfaceTexture in the goole developer docs which has been added in API 11 http://developer.android.com/reference/android/graphics/SurfaceTexture.html The documentation talks about using GL_TEXTURE_EXTERNAL_OES instead of GL_TEXTURE_2D, I cannot find any reference to this define in the latest android-ndk-r5c, it's not defined in in the ndk and it only goes up to platform-9, so I guess I would need

Keyboard layout hiding android action bar?

那年仲夏 提交于 2019-11-27 03:14:21
问题 In my Android application running in a XOOM device, when I click in an Edittext the keyboard opens and hides the Actionbar. I don't want this to happen, how can I solve this? This is done by the Google Contacts app for the tablet for example. EDIT: I have several edittexts in which the user needs fo fill. At first, when the user clicked on one edittext on the bottom, the keyboard showed up and hide the edittext in which the user was typing, so he couldn't see what he was typing. I found it