tablet

App not compatible with tablet

笑着哭i 提交于 2019-11-27 14:07:36
I've build an Android app...for phones...but I wouldn't mind to broaden my audience and let Tablet owners download it as well.... To be honest. it doesn't look very neat on a tablet...but I don't really mind that. I'll at least give them the option. unfortunately I cant find the app on the Google Play Store / Android Market with my tablet! when I launch the url directly in the browser, I am being redirected to the Play store, but it says "this app is not compatible with your device" I didn't specify anything in my Manifest like "android:xlargeScreens" (the default should be true, right? I also

Make android app not availble for tablets

*爱你&永不变心* 提交于 2019-11-27 13:09:20
I am publishing my app in the Play store and i don't want it to be available for tablets. How can i make it happen? I don't want to manually exclude every single tablet within the developer console of android but i really need my application to run exclusively on smartphone. EDIT: I did as you suggested but here's the result: And for further explanation: i need my app to run on devices that normal people call smartphone and not on devices that normal people call tablets... e.g. it has to run on "Galaxy Note 2" but not on "Galaxy Tab" SOLVED Thanks to @CommonsWare: I had to set the following

Using Modernizr to test for tablet and mobile - Opinions wanted

♀尐吖头ヾ 提交于 2019-11-27 12:02:30
I want to use Modernizr to detect whether a user is view a site on a desktop, tablet or mobile device. My initial first thoughts are obviously to check screen sizes that should be enough for mobile devices and also for larger desktops. For tablet devices where the screen size could also equal that of a small desktop screen (1024 x 768) I would test for touch events as well. At this time I would like to focus on mobile/tablet devices that, as jQuery mobile puts it are, A-grade. I am not looking to tap in to any specific mobile device features simply detect desktop, tablet or mobile and serve up

Using python and matplotlib on android

限于喜欢 提交于 2019-11-27 11:20:46
问题 Is there a way to set up python 2.7.x + matplotlib on an android tablet so that you can run simple standard python code? I would like to be able to run the same scripts I run on my Linux desktop. This is just for my own use and I don't need to distribute the code to anyone else. As a concrete example, is it possible to run this script? import numpy as np import matplotlib.pyplot as plt x = np.arange(0, 5, 0.1); y = np.sin(x) plt.plot(x, y) 回答1: Is it easy, no. Can it be done? Yes. I believe a

Is there a way to hide the system/navigation bar in Android ICS

烈酒焚心 提交于 2019-11-27 11:15:36
I'd like to extend the discussion regarding hiding of the system/navigation bar at the bottom of the screen on Android Ice Cream Sandwich (4.0 and up) tablet devices. There's already a thread ( Is there a way to hide the system bar in Android 3.0? It's an internal device and I'm managing navigation ) about hiding the bar on Honeycomb devices. My clients, however, will be using the newest Ice Cream Sandwich devices and are very keen on hiding the bar at the bottom the screen. Their application is not for regular consumer use and it's very important for them to take over the whole screen to

How to detect the device orientation using CSS media queries?

你。 提交于 2019-11-27 10:14:02
In JavaScript the orientation mode can be detected using: if (window.innerHeight > window.innerWidth) { portrait = true; } else { portrait = false; } However, is there a way to detect the orientation using CSS only? Eg. something like: @media only screen and (width > height) { ... } CSS to detect screen orientation: @media screen and (orientation:portrait) { … } @media screen and (orientation:landscape) { … } The CSS definition of a media query is at http://www.w3.org/TR/css3-mediaqueries/#orientation @media all and (orientation:portrait) { /* Style adjustments for portrait mode goes here */ }

Can’t use android:xlargeScreens=“true”?

£可爱£侵袭症+ 提交于 2019-11-27 07:36:45
问题 I am making app for phones, but I wan’t them to be usable on tablets. I don’t know why can’t. I use this in my android manifest file: android:xlargeScreens="true" I get this error: error: No resource identifier found for attribute 'xlargeScreens' in package 'android' This is my manifest file: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="cro.perger.bonbon" android:versionCode="5" android:versionName="1.4"> <uses-sdk

Designing Android apps for tablets

六月ゝ 毕业季﹏ 提交于 2019-11-27 06:33:56
In the Play developer console it says: Your APK does not seem to be designed for tablets But I have added layouts to layout-sw600dp , layout-sw600dp-land , layout-sw720dp and layout-sw720dp-land folders. The complete manifest (as it is): <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.technicosa.unjumble" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="9" android:targetSdkVersion="18" /> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true

Android tablet navigation bar won't hide

冷暖自知 提交于 2019-11-27 06:31:17
问题 I'm trying to hide the navigation bar, using methods I've found described on the internet. I have a simple layout which shows a WebView: <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="horizontal" android:id="@+id/layout" > <WebView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webview" android:layout_width=

Hide Tablet system bar

安稳与你 提交于 2019-11-27 04:34:22
问题 I want to hide system bar for tablet device. I searched a lot but not succeed. I added image for it. I found some solution like View v = findViewById(R.id.view_id); v.setSystemUiVisibility(View.STATUS_BAR_HIDDEN); but I dont know how to use it And I know that is possible as http://forum.xda-developers.com/showthread.php?t=1228046 Can any one know how to do this ? 回答1: Code snippet to show/hide status bar on rooted android tablets To hide: Process proc = null; String ProcID = "79"; //HONEYCOMB