tablet

Is selectively enabling an activity-alias in the manifest with android:enabled=“@bool/tablet” or “@bool/phone” supported?

守給你的承諾、 提交于 2019-12-11 05:10:02
问题 To avoid some Tablet/Phone wiring, I want my app to issue itself an intent via an activity-alias, and make the manifest system deliver it to the main activity (for tablet) or a new activity (for phone). If I have this in my manifest: <activity-alias android:name="my.app.WebContent" android:targetActivity="my.app.activities.Home"/> then all is well, and Intent { act=android.intent.action.VIEW dat=http://www.app.my/url cmp=my.app/.WebContent (has extras) } is delivered as expected. If, however,

Any disadvantages of using JQTouch/Phonegap over Android API?

浪子不回头ぞ 提交于 2019-12-10 23:19:22
问题 Are there any main disadvantages of using JQTouch/Phonegap to put together Android Apps / Tablet Apps rather than using the Android API. I basically want to program an app for a client that will sell music (connect to existing PHP site) and use geographical info to show bands/gigs close by - again via interrogation of their current PHP site. I have years of Jquery experince and good HTML5/css3 knowledge so JQtouch/Phonegap would be the most straightforward option, but just wanted to make sure

Preference Menu on 10 inch tablet

纵然是瞬间 提交于 2019-12-10 22:14:25
问题 I am trying to figure out why the layout of my Preference menu is displayed in a false way on 10' tablets when using it in landscape mode. It looks like the lines that are to the right of the Checkboxes are actually to the left of them. You can see this here http://imageshack.us/photo/my-images/109/schnappschuss2013052109.png/ On 7' tablets, everything works like expected to do. My menu looks like that: <?xml version="1.0" encoding="utf-8"?> <PreferenceScreen xmlns:android="http://schemas

onCreate Options menu is not showing in android 3.1

半世苍凉 提交于 2019-12-10 20:44:39
问题 i am creating an app only for tablets. I have a preference activity page which i am calling through the OnCreateOptions Menu. The oncreateoptins menu is not working in tablets of android 3 version. Why it is so, i used a Samsung galaxy tab for my testing. When i run the same app in one of my emulator of Samsung galaxy tablet of android 2.2 i am getting the oncreate options menu, can anyone help me in this 回答1: I think problem is in different handling of options menu. According to dev guide,

How will using the Samsung Galaxy Tab Add-on affect/fetter my Android Market deployments?

为君一笑 提交于 2019-12-10 19:46:24
问题 I have run my android app against the new build target provided by the add-on mentioned here. This appears to be working correctly in the emulator, but now I am very unsure as to the implications of using this build target when delivering an app to the marketplace. It would appear that I have to use this build target to get the emulator to work. Is this true of the device in general? (i.e.) could I build against the standard android/google APIs and have it run correctly on the actual Galaxy

How to prevent the screen from automatically rotating on a tablet?

为君一笑 提交于 2019-12-10 14:54:54
问题 In the link below, Microsoft describes two ways to limit rotation of an application screen on a tablet. http://msdn.microsoft.com/en-ca/library/windows/apps/hh700342.aspx what's happening is that delphi's (XE3) TRibbon doesn't handle rotation well. it tends to get hung. as would be expected, the MS web site describes how to do this from MS development products. I don't see how I can do this in my Delphi project. Method 1: add this to your appxmanifest file: <InitialRotationPreference>

Some devices are taking different orientation (for brief moment) then what I set in Manifest

吃可爱长大的小学妹 提交于 2019-12-10 11:02:34
问题 I have checked every possible solutions in all stack overflow solutions and other web sites also but no luck. My Requirement is : Phone - only portrait mode Tablet - portrait and landscape mode. So tried using following: For finding device if it is a Phone or a Tablet I used if (getResources().getBoolean(R.bool.is_sw_600dp_size)) { intent = new Intent(LauncherEmptyActivity.this, SplashActivityTablet.class); } else { intent = new Intent(LauncherEmptyActivity.this, SplashActivity.class); } And

(Android) Navigation drawer with Multi-pane layouts

半世苍凉 提交于 2019-12-10 10:09:23
问题 I have a hard time trying to come with a good and acceptable layout for an activity for a tablet , but I'm not sure that if my design is compatible with Google's design guidelines. In short: my application receives a network sniffer log file and shows statistics on different features on the data. For example, traffic over time, PM over time, show the traffic as a time line, different graphs, pie charts etc. The first thing comes to mind for a design for this activity is a multi-pane layout

Different width for Navigation Drawer in Tablet and Phone

余生颓废 提交于 2019-12-10 10:02:15
问题 I was trying to implement material design for one of my project and here, the following is mentioned, The maximum width of the nav drawer is 5 times the standard increment (56dp on mobile and 64dp on tablet). So I would like to know how to implement these width for navigation drawer for mobile and tablets. I want to make different width to respective devices, either phone or tablets. I would love to use XML even if this also can be done using Java. Thank you. 回答1: Create values-sw600dp folder

Does the Acer Iconia Tab A500 support Accessory mode?

偶尔善良 提交于 2019-12-10 06:16:49
问题 I have an Acer Iconia Tab A500 with stock Honeycomb 3.1, and a Google ADK. I haven't been able to get the ADK to communicate with the tablet in Accessory mode, and I can't find any information that states whether the tablet supports this mode. I've contacted Acer support, but I have not received a satisfactory response (they misunderstood me and answered that it supports USB Host mode, and haven't responded to my request for more accurate information) Update: In addition to the information