Interfaces de Touch

How to distinguish phone vs. tablet

Hello,

I'm trying to find the best known methods for distinguishing a tablet from a phone.

We recently discovered that a Tablet device (Thundersoft Bamboo) was getting a phone version of an App in the Google Play store instead of an alternate version more suited for tablets. After contacting the ISV we learned that the reason was that they distinguish a phone from a tablet based on screen properties. Specifically for the Bamboo:

getResources().getConfiguration().screenLayout  =  Configuration.SCREENLAYOUT_SIZE_NORMAL

source code for tutorial

I'm new to Android UI coding, not new to coding, and was in the process of creating a tab/swipe UI when i came across this tutorial

https://software.intel.com/en-us/android/articles/building-dynamic-ui-fo...

there are many references in it to the "complete source code" yet there are no links to download the full source...is it available for reference?

HAXM memory setting not updated

I got an intel processor supporting virtualization technology and is already enabled in BIOS.

I run the HAXM and set memory limit manually and installed successfully.

But the saved memory limit is always the default value 1024 MB.

I run the set up again and change it to even lower limit but it is not saved either.

Anyone got the same issue before??

Thank you!

Suscribirse a Interfaces de Touch