titanium-android

Failed to package application when Android Manifest Portion is changed to

青春壹個敷衍的年華 提交于 2020-01-07 01:24:12
问题 I started a new test app, and downloaded a Holo Theme (by name JSTheme) from Android-holo-colors.com And replaced the /res folder contents with the res folder in that downloaded zip file. But when I replace the line in tiapp.xml <android xmlns:android="http://schemas.android.com/apk/res/android" /> to this, then the compile is not happening. It shows then: [ERROR] : Failed to package application: [ERROR] Application Installer abnormal process termination. Process exit value was 1 <android

Failed to package application when Android Manifest Portion is changed to

£可爱£侵袭症+ 提交于 2020-01-07 01:24:06
问题 I started a new test app, and downloaded a Holo Theme (by name JSTheme) from Android-holo-colors.com And replaced the /res folder contents with the res folder in that downloaded zip file. But when I replace the line in tiapp.xml <android xmlns:android="http://schemas.android.com/apk/res/android" /> to this, then the compile is not happening. It shows then: [ERROR] : Failed to package application: [ERROR] Application Installer abnormal process termination. Process exit value was 1 <android

how to change hintText color in textField Titanium?

流过昼夜 提交于 2019-12-22 13:56:22
问题 this is my code,and I want to change the hintText Color, how to do? "#email":{ width: '70%', left:'13%', font:{ fontSize:'20sp' }, color: '#fff', hintText:'请输入手机号', borderColor:'transparent', bottom:'2%', //backgroundColor:'#d9d9d9', backgroundColor:'transparent', borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED } 回答1: actually you can't i tried before here what i did to change the hint color and font you need to create a view , textfeild and label with adding change listener on textfeild to show

Titanium Android showCamera error unable to create file for storage

醉酒当歌 提交于 2019-12-12 05:47:38
问题 I am trying to use the device camera in my application , but there is an error shows up and the camera is not shown. The error is unable to create file for local storage My Controller code is function choosePhotoDialogClicked(e) { if (Ti.Media.hasCameraPermissions) { openCamera(); }else { alert("No camera permission. Asking for Permission"); Ti.Media.requestCameraPermissions(function(e) { alert('request result'+JSON.stringify(e)); if (e.success === true) { openCamera(); } else { alert("Access

How can I use animation in xamarin android application?

被刻印的时光 ゝ 提交于 2019-12-10 04:56:08
问题 I want to use animation in my android Application using Xamarin C#. animations like fade-in, zoom-in, move and .... 回答1: first add a folder under "resources " folder name it "anim". then you can add your animation resources to it , Ex: for fade-in animation create a resource under anim folder and name it "fade_in.xml" and paste this code into it: <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true" > <alpha android

how to change hintText color in textField Titanium?

我的未来我决定 提交于 2019-12-06 13:59:47
this is my code,and I want to change the hintText Color, how to do? "#email":{ width: '70%', left:'13%', font:{ fontSize:'20sp' }, color: '#fff', hintText:'请输入手机号', borderColor:'transparent', bottom:'2%', //backgroundColor:'#d9d9d9', backgroundColor:'transparent', borderStyle:Ti.UI.INPUT_BORDERSTYLE_ROUNDED } actually you can't i tried before here what i did to change the hint color and font you need to create a view , textfeild and label with adding change listener on textfeild to show or hide the hint var mh_view = Ti.UI.createView({ backgroundColor : "white", height : "40dp", top : "224dp",

How can I use animation in xamarin android application?

天涯浪子 提交于 2019-12-05 07:27:23
I want to use animation in my android Application using Xamarin C#. animations like fade-in, zoom-in, move and .... first add a folder under "resources " folder name it "anim". then you can add your animation resources to it , Ex: for fade-in animation create a resource under anim folder and name it "fade_in.xml" and paste this code into it: <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:fillAfter="true" > <alpha android:duration="1000" android:fromAlpha="0.0" android:interpolator="@android:anim/accelerate_interpolator" android