Appcelerator - Get device volume in Android - appcelerator

I want to get the android device volume. In iOS exists this property Ti.Media.volume but in Android doesn't work.
Thank you.

As a workaround you can use volume control module to control device volume for both android and iOS.

Related

Get UDID of the device connected to Mac Machine

I have a cocoa application. I need to retrieve the UDID of the iPhone connected to machine using cable. Is there any way to programatically discover iOS devices connected to Mac OS X machine in cocoa application?
It isn't possible to get UDID programatically. Since iOS 5 Apple has removed access to UDID.
Kindly refer to the following where this has already been discussed.
Get UDID of IOS device programmatically?
UIDevice uniqueIdentifier Deprecated - What To Do Now?
In case you want it without programmatically,
Connect the iPhone to the Mac, open the iTunes, click this button marked with red
After that in the screen you're getting, click on the serial number in the area marked with red here, you'll get the UDID
Connect your device to Mac and open iTunes. Then click on the symbol of the device. It will show the UDID of the device.
And if you want to get UDID programmatically please refer this link.
How to get a unique device ID in Swift?

Samsung Grand mobile Not showing UI but I can see UI in emulator

I am trying to deploy app on Android device But I am not able to see the UI. My device configuration as below
Handset : Samsung Grand
OS : Android 4.2 (API 17)
in project properties I set the application Tab like this
please let me know what wrong with it. Similar configuration for Android Emulator I cab able to see the UI.
Try creating a apk in release mode and then install the apk manually.

Error: there were deployment errors

When I tried to run any sample application or a new one it shows this error. Can anyone help please?
The error is telling you that you have not selected a device:
"Please select a valid device before running the application"
You need to choice a physical phone (or Android emulator) to deploy the application to.
Ref: Debug on Device
you have to have the android virtual device downloaded.
here are a few options:
Xamarin Android player
Bluestacks
Andy
Genymotion
Now that you have the virtual device. you need to start one before you run or debug.
The specific error you are seeing is because you've not started the device properly before you debug, you should be able to see the device.
Now run the project, and you wont meet this error.
This is because of Hyper V. Things you need to do are:
1.Turn off your Hyper V.(http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/)
2.Update your android SDK to desired platform.
That set. Now run your app. It will work.
Please let me know if still you have same error.
I would advise you to use the Visual Studio Emulator for Android (get it here), it plays very nice with Xamarin and Visual Studio and sets up your system automatically. As an added benefit it is very fast!

Android Wear app. This app is incompatible with your device

I just published my app for wear devices, its the Watch Face, don't have any UI for phone app. I uploaded to the Google Play.
But it says This app is incompatible with your device. To all users or Devices.
Anyone have idea?
Since Android Wear application are only in sync with a handheld device, it needs to have a corresponding application in the handheld device.
Let me make it little more clear:
To install anything on Android Wear, you need to have corresponding application for mobile, which will sync up its corresponding wear part and install the same on wear.
So go ahead develop a dummy kind of an application for handheld.
According to the official documentation, in order to publish a wearable app without a phone app component, you need to raise your minimum target SDK version to 2.0.
Source: https://developer.android.com/training/wearables/apps/standalone-apps.html

Android Wear Preview app - which smartphones are compatible?

I got invitation to the Android Wear Developer program but when I try to install the Android Wear Preview app I see information that my device (Samsung Galaxy S2) is not compatible with the app. Is there some kind of list of devices compatible with Android Wear Preview app?
Thank you,
You need a 4.3+ Android smartphone. Because the Notification listener functionality has been added with API level 18.
Tablets were stated to be supported but right now they're filtered out from the store. You can still manually install the APK though.
Bluetooth LE isn't mandatory - for the preview at least.
I don't think there is a device spesific restriction, but according to developer.android.com
Note: The Android Wear Preview app is compatible with Android 4.3 and higher and is not available for the Android emulator.
Edit: I think BLE is used for communication between smartphone and watch. So obviously that would be hardware restriction.

Resources