tablet

Android Market to list my app on just one particular device or just on tablets. How?

旧时模样 提交于 2019-12-11 17:27:39
问题 I need to make an app available for just one particular device model (or alternatively for just tablets) on the Android Market. Is that possible? Thanks for any hints. 回答1: A mix of uses-feature and sdk versions could get you part of the way but the current sdks doesn't have a tablet feature, possibly coming in the next release Reto Meier recently wrote a devblog on uses-feature: http://android-developers.blogspot.com/2010/10/five-steps-to-future-hardware-happiness.html 来源: https:/

How redirect mobile users to different url?

偶尔善良 提交于 2019-12-11 15:56:41
问题 I used the following script to redirect mobile users to a mobile site: <script type="text/javascript"> if (screen.width < 800) { var ref = document.referrer; var urls = new Array("http://www.ilsanlorenzo.net","http://www.ilsanlorenzo.net/mobsite"); var n = ref.match(urls[0]); var m = ref.match(urls[1]); if ((m!==null) || (n!==null)) { stop; } else if (ref=='') { var r = confirm("Small Display is Detected.\nClick \"OK\" for MOBILE SITE."); if (r==true) { window.location = "http://www

how to get orientation:portrait mode with meta viewport with a fixed height

孤街醉人 提交于 2019-12-11 09:27:16
问题 time for my first own stackoverflowquestion, since this thing is driving me crazy the whole day now. i borrowed an ipad today to test a website wich comes with additional phone and an tablet-versions. (there's only safari on it) the layout is a comlete static thing with some graphics and they want it 1:1. so i learnd about mobile devices, added a <meta name="viewport" content="width=x" /> and got a perfect version for the phone. but when it comes to the tablet i ran into trouble. the tablet

Android App Incompatibility with Nexus 7

你离开我真会死。 提交于 2019-12-11 09:18:03
问题 The play store is showing that my app is not compatible with the Nexus 7 (older model with only front-facing camera, ME370T). My app does require a camera but can use the front-facing camera. I tried to take this into account in my Manifest by specifying that any camera could be used (not just the back facing camera): <uses-feature android:name="android.hardware.camera.any" /> Otherwise, I have no idea why it's not able to run on the Nexus 7. Here are my permissions: <uses-permission android

How to download a webpage for offline viewing on Nexus 7 [closed]

一曲冷凌霜 提交于 2019-12-11 08:45:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I have a webpage that I would like to view when I am not in a WIFI area on my Nexus 7 tablet. How would I go about doing this? 回答1: Try an application like Pocket. 回答2: One solution to download the website was using HTTrack. I can copy it to the Nexus 7 and I can open it using something like ES File Explorer.

Installing android mobile apps on android TV

ぃ、小莉子 提交于 2019-12-11 08:06:23
问题 Just a quick question for i can't find proper answer to. I have developed android app for tablet and Mobile device, is it possible to install this app on Android Smart TV? If yes than What issues i can possibly run into?pixels? image distortion? or will it run properly or not at all. Thanks. 回答1: Perhaps the single most important thing in your manifest would be <manifest> <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> ... </manifest> to allow the APK to

Android - how to find out from within running app if device it is running on is phone or tablet [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 08:02:27
问题 This question already has answers here : Tablet or Phone - Android (30 answers) Closed 5 years ago . Is there a method to identify if the device the app is running on is a phone or a tablet? We want to implement different behavior depending of the device type. 回答1: If you want the differnce because of screensize, you should find screensize, but this is not really easy, as there are tablets with small screens and phones with large screens. Still, it is ofcourse possible to get screen size. You

What Android Tablet Currently Supports Accessory Mode for ADK Development

荒凉一梦 提交于 2019-12-11 07:37:10
问题 Unfortunately, the Samsung Galaxy Tab 10.1 I received at Google IO does not support accessory mode (http://stackoverflow.com/questions/6355031/how-can-i-get-the-adk-demokit-example-working-on-a-google-i-o-galaxy-tab-10-1). Which Android tablet currently does? I spoke with one of the Google engineer's at the conference who was running the DemoKit app on a tablet, but I didn't catch which one he was using, and whether that device was rooted or not. Is there a tablet out there running Honeycomb

How to bring up the on screen keyboard using C++ in Windows 7 tablet devices?

℡╲_俬逩灬. 提交于 2019-12-11 07:19:18
问题 I am developing an application for Windows 7 devices and I'm using an embedded web browser (webkit). Normally touching an edit control on a tablet device causes a little keyboard icon to appear. However, since my edit control is in the browser, it's not a real window with an hwnd and Window's doesn't bring up the icon you can click on to bring up the on screen keyboard. Is there an API I can use to cause the little keyboard icon to appear as it normally would when focus goes to an edit

Tablet - Get Drawable Screen Resolution, Not Total Screen Resolution

本小妞迷上赌 提交于 2019-12-11 05:23:21
问题 With tablets and some phones running 4.0 there are on screen controls. I am developing a full screen canvas-based game. I adjust my canvas to fit the screen size with a matrix. On any device that has on screen buttons my app currently draws part of the games' controls under those buttons. Is there a way to determine the drawable screen resolution, IE the resolution minus any onscreen buttons? EDIT: This is the way I'm testing for resolution Display display = ((Activity) gameContext)