How should I prepare for translation of zh-TW and zh-CN for Android in Titanium mobile? - titanium-mobile

In Titanium mobile, How should I prepare for translation of zh-TW and zh-CN for Android?
There is no problem on iPhone Devices when I get a message from L('hoge') in i18n,
however on Android Devices, It recognizes a message only as zh.
How can I get a message as zh-TW or zh-CN for Android?
development environment below.
Titanium SDK G5.2.0
Android 6.01

the reason I couldn't get a translated message properly is because I used tishadow.

Related

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.

Does Android wear watch support NFC

I'd like to be able to scan a NFC tag from a android watch but i dont see any NFC or android beam settings in the watch emulator. is it not supported from the watch ?
That is currently not supported.

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

Titanium Alloy Pull-to-refresh widget not scrolling properly on Android devices

I am working on Titanium SDK and need to implement that Pull-To-Refresh widget. This widget works perfect while on iOS devices but when I try to run the same on Android devices, it doesn't even scroll the controller.
I have placed code on Google Drive.
Let me know if anyone has used this and encountered the same issue.

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