Android Virtual Device Created from SDK 22 occupies whole screen - size

I am using SDK 22.0.1 , and I created a virtual device with the specification listed below. I observed that devices created via SDK 22 need to select a Device and then API Level. I selected Device as 4.7" WXGA and API 15 but AVD created as a result of this is looking like a tablet. Please advise.

Related

How to find the BSSID of routers near me on phone?

I am working on a mobile app (on react-native) that will help me do a certain task (say fill a form) only if I am in close proximity to a discoverable device (say router or any other device with a valid BSSID)
How do I find the BSSID of devices near me??
On ubuntu its as simple as
nmcli dev wifi
img showing result of above command
How can I do this on my react-native app.
I am new to react-native and mobile development and I do not know where to start.

This app is not available for your phone because it requires front facing camera

We have developed an app using Xamarin Forms which targets iOS, Android and Windows Phone. We are using camera feature to take/select photos to be uploaded to the app and the feature works well on all three mentioned platforms.
We have some users facing issues on few windows devices. When a user tries to download the app from Windows App Store, they receive following error:
"This app is not available for your phone because it requires front facing cameraā€¯
I have attached screen shot showing the error for reference. The screen shot is taken from Nokia Lumia 635. Our finding that this device has only back camera, no front camera and we believe this might be the reason for above mentioned issue.
Ideally, users should not get this error as this device has back camera and they still can get the photos.
Is this a known issue in windows phone world?
Can this be fixed from code, device permissions?
Is this a device specific problem?
Any ideas?

Can we automate windows based mobile app in selenium

i want to automate mobile based app. using selenium webdriver.
Can it be possible as it is possible for iOS and Android.
Please suggest
yes its possible
1.Obtain and install Windows Phone 8 SDK
2.You will need ISETool.exe which is a part of Windows Phone SDK and installed as its part
3.If you want to automate Windows Phone emulator, not a physical device - then you'll need
Windows Phone 8 emulator image, which can be obtained from Windows Phone SDK, or a Windows
Phone device.
4.Download our driver and unpack it anywhere on your local disk
5.Deploy WindowsPhoneDriver.xap to the phone! If you use emulator, just run StartWindowsPhoneDriver.cmd
and it will do everything for you, and prints the IP address/port to the console
(for example, "http://157.59.109.235:8080/"). It will also set system environment variable
REMOTEWEBDRIVERIP.
6.Use it from your code with RemoteWebDriver!
for more info click here

Google Drive API only working on tablet, not smartphone

I have created an app that connects to Google Drive via this code:
googleApiClient = new GoogleApiClient.Builder(this)
.addApi(Drive.API).addScope(Drive.SCOPE_FILE)
.addConnectionCallbacks(this)
.addOnConnectionFailedListener(this).build();
googleApiClient.connect();
This code works on my tablet (Samsung Galaxy Tablet 2, with 4.4.2 running on it), however when I try running this same code on either a Nexus 5 with 5.0.1 or a Galaxy S5 with 4.4.4, connecting to Google Drive crashes every time.
I do one initialization of the googleApiClient object, and one call to connect, but for some reason I keep getting this error:
04-13 15:27:44.563: E/AndroidRuntime(5402): java.lang.IllegalStateException: Client must be connected
Both phones have 3G and Wifi access, and the tablet just has Wifi access. I am calling connect to Google Drive, but for some reason I keep getting this error.
Has anyone ever encountered this issue before?
I believe your problem stems from a mismatch in Google Play Services versions. I think, the 7.0.+ version on your phone needs revision 23 in your IDE. Try to run SDK Manager and download rev 23 or higher. Your tablet will probably update to 7.00.+ when Google decides the time is right. But rev. 23 (or higher) should be compatible with everything 7.00 and lower. I can't be more specific here, since I am on Android Studio.
Good Luck

Testing on a 720 4.3" Windows Phone emulator

A beta tester of mine has reported a layout issue where my LayoutRoot container has unnecessary left and right margins. He is having this problem on his HTC 8X. This is a 4.3" 720p device.
I've tested the app on all Windows Phone emulators available, and have not seen this problem. But there doesn't appear to be a 720p 4.3" emulator available for me to test against. Is there any way I can test it using these device properties (screen resolution = 720p, and screen size = 4.3") without actually owning the device?
As you can see on this MSDN article, on Windows Phone 8.0, the 720p scaled resolution is the same that the 1080p, which is 480 x 853.
That means that layout of the app should be identical between both resolutions, and that what you see on the 1080p emulator will be the same that on a 720p device (unless you have different image assets for each resolution).
The physical screen size doesn't matter.
As Olivier Payen says, The physical screen size doesn't matter.
So, you're asking to test your application on the device which you've not owned. In that case, you can use Remote Device Access
Remote Device Access (RDA) is a service that allows developers to test their mobile applications and services remotely on various Nokia devices based on Windows Phone, Nokia X, Asha, Series 40, and more.
So, try installing your app on the remote device and see your app's resolution and scaling are.!