tablet

Different resource folders for separate tablet & mobile APKs

荒凉一梦 提交于 2020-01-17 07:09:36
问题 I am building an app that has two APKs: one for tablets and the other for mobiles. The tablet version won't use the drawable of the mobile APK and vice versa. I want to do this because of APK size. Can anyone give me pointers how to achieve this? I tried to use flavors for this but it can make the two APK. 回答1: You can use Android Flavors for this purpose. android { ... defaultConfig {...} buildTypes {...} productFlavors { tablet { applicationIdSuffix ".tablet" versionNameSuffix "-tablet" }

screen orientation for multiple tablets with fluid design

寵の児 提交于 2020-01-16 05:29:06
问题 So i'm making a mobile web application that is supposed to take up a 100% of the screen without scrolling (in either direction). I have fixed positions for the different area's of the screen. html, body{ height: 100%; margin: 0; padding: 0; width: 100%; } .site-header{ position: fixed; top: 0px; height: 10%; background: red; width: 100%; } .site-article{ position: fixed; top: 10%; bottom: 10%; background: white; width: 95%; } .site-footer{ position: fixed; bottom: 0px; height: 10%; background

Can html5 camera inputs work on Windows 10 tablets?

半城伤御伤魂 提交于 2020-01-12 05:37:25
问题 TL;DR Can html5 camera inputs work on Windows 10 tablets? Details Device: Dell Venue 8 Pro tablet OS: Windows 10 Browser: Chrome Setup Create and host a page with the following html and open in Chrome: <input type="file" accept="image/*" capture="camera"> Make sure Windows 10 has allowed apps to use the Camera. Problem Clicking the input will not launch the camera. It launches a file browser instead. Investigation The code above works fine on Android and iOS devices. I hooked up a webcam

Emulate Samsung Galaxy Tab

微笑、不失礼 提交于 2020-01-08 19:40:14
问题 I would like to test my application with new Samsung Galaxy Tab tablet. What parameter should I set in emulator to emulate this device? What resolution and density should I set? How can I indicate that this is large screen device? What hardware does this tablet support? What is max heap size? Which Android version? 回答1: UPDATED: Matt provided a great link on how to add emulators for all Samsung devices. OLD: To get the official Samsung Galaxy Tab emulator do the following: Open the Android

HTML Mobile -forcing the soft keyboard to hide

假装没事ソ 提交于 2020-01-08 17:10:48
问题 I am developing the front end site for a coupon company, and I have a page where the user only needs to input phone number and $$ spent. We came up with a fun on-screen keyboard built in Javascript, that is easy to use, and fast. However, I am looking for a solution to stop the soft keyboard from popping when the user focuses and enters text/numbers in those fields. I know about the "number/phone/email" type attributes that HTML5 came up with. However, at the risk of sounding crazy, I really

Android: Some apps are not available for Tablets on Google Play?

雨燕双飞 提交于 2020-01-05 10:27:11
问题 Since it came out the new developer console and the new PlayStore I have some problems like the one mentioned in the topic. Lately my app is not visible from the tablets even if it was before. But the console tells me: Supported Devices: 2665 Excluded Devices: 0 So I have to think that there is no problem, but why this app is not available when you try to search it on PlayStore from tablets? As suggested on the forums I put the following code in the manifest: <supports-screens android

My android app is getting device not supported when trying to download with tablet

有些话、适合烂在心里 提交于 2020-01-04 03:28:29
问题 I have an android app on the market called D Bitly and I have a tablet user trying to download it and is getting "device not supported". I have double checked the market settings and it says that all devices are supported. I have done a quick google search and I am not coming up with anything. It requires 2 permissions: android.permission.INTERNET android.permission.ACCESS_NETWORK_STATE and is for android 2.2 and up. Any help would greatly be appreciated! Edit: for those of you looking for an

is there an API for python to work with pressure-sensitive pen-tablets? (Mac OS, Linux)

浪尽此生 提交于 2020-01-03 05:14:12
问题 I want to write a cross-platform wxPython app, and I'm wondering if there a single API to work with pen-tablets on different platforms? I'm only interested to get pressure value and ereaser flag - but I couldn't fined anything cross-platform for python. UPD. so far, I found only windows-specific solution, what are the options for Mac OS and Linux? 回答1: https://bitbucket.org/AnomalousUnderdog/pythonmactabletlib A small Python library to allow Python scripts to access pen tablet input data in

android COSU single app - lock for browser and just one web-app on gadgets

别来无恙 提交于 2020-01-02 09:55:39
问题 I'm not experienced with Android. I want to setup some tablets in such a way, that the gadgets are locked to just one web-app. I think it should be somehow locked to a Browser (which in turn should open directly after the launch of the tablet with the login page of the web-app set as default) and the browser should be locked to a particular web-app/ set of urls. Can somebody recommend tools/ resources or solutions for my purpose? I am sure the task itself is not a big deal and I am searching

Windows 8 - low latency audio

跟風遠走 提交于 2020-01-02 04:40:48
问题 I'm considering developing an app for the upcoming Windows 8. The app requires low-latency audio recording and playback, and I'm trying find out whether the OS will support that (as opposed to other platforms). So what I'd like to know is: Is there a low-latency audio API in Windows 8? Will it be supported on platforms other than PC (e.g. tablets)? Thanks! 回答1: WASAPI was introduced with Windows Vista as the low-latency audio API. It is available both to desktop and to Metro style