Community Questions & Answers

Use only HD images

Hi, I am new to mobile and titanium development. I target both iOS and Android. I use "dp" as the default unit. My concern is regarding using different image sizes for the same image. I want to aford the need to deal with several image...

DisplayCaps is undefined

Why is DisplayCaps undefined? I would like to read this value ~~~ Titanium.Platform.DisplayCaps.platformHeight ~~~ but I get the following error: ~~~ TypeError: Cannot read property "platformHeigt" from undefined (file:///...) ~~~ did I...

How to get the device screen size ?

Hello everybody ! I'm here because I've got a problem. I want to get the device screen height and width. I've tried ~~~ screenHeight = Ti.Platform.displayCaps.platformHeight; screenWidth = Ti.Platform.displayCaps.platformWidth; ~~~ I work with a Samsung...

How to use the device screen size ?

Hello everybody ! I'm just a new user of Titanium Studio, and I'm currently learning how to develop on Android. More, I'm sorry for my bad English (because I'm French !), and I hope I will be clear. So, I just want to create a simple app, where I will...

Unable to start the Genymotion virtual device.

I have successfully installed genymotion with virtual box from this link by following instruction: http://docs.appcelerator.com/titanium/latest/#!/guide/Installing_Genymotion In the console mode the following message is showing at the last two lines...

Run application on device android

Hi, I'm planing to deploy my application on my device android, I followed the steps to connect mobile to my laptop and every thing working fine but the problem now when i run my application its freezing on "Installing on device" and nothing...

No android devices found

So I just updated Titanium Studio to 3.3 and now no Android devices are found anymore. It worked before, now it doesn't. Eclipse can find android devices, as can the tools in the Android sdk...but Titanium studio cant'. I tried refreshing devices, I tried...

RecordAudio on iOS device.

Hi all ! I have a problem that i create record audio so it work on simulator,it mean after record the file have data,so file size > 0 and i play it ok. But when i run on device so the file export no length, duration = 0s. ~~~ function...

SDK 3.4 iOS install on device

I installed SDK 3.4 and trying to install on my iPad2 with iOS 8.02. But after building I have the following error: ~~~ [INFO] : Invoking xcodebuild [INFO] : Image optimization complete [INFO] : Installing app on device: myIpad [ERROR] : Failed to...

Titanium 3.1.3 get device token

I am doing push notification with titanium, When I use Titanium sdk 3.2.x, the device token is found but when I change to 3.1.3 , but the code are totally same, however it cannot get the device token anymore. So what is the reason for this ?

IOS : Failed to install app on device

I'm trying install my app in device and after a time is showing this error. ~~~ [INFO] : Installing app on device: xxxx’s iPhone [ERROR] : Failed to install app on device (0xe800002d) [ERROR] : Project failed to build after 1m 102ms ~~~ **Titanium...

Getting the device / host name

iOS and - to a lesser extent - Android allow the user to set their device name / hostname. On iOS it defaults to 'Foo Bars iPhone' or such. It's more hidden in Android but some people set it nonetheless. Is there a way to get read this human-readable...

Android: Failed to install on device

Hi, all For some reason, since yesterday the app installer hasn't been able to install on my android device I've tried on SDK 3.3.0.GA and 3.2.3.GA... no dice Trace isn't terribly revealing either... ~~~ [INFO] : Making sure the adb server is...

Screenshot problems on device

I use the takeScreenshot function to capture the entire screen after the user paints his arts. On the simulator is the result as expected: http://cl.ly/image/0y1F0K0H2A44 On device happens the following: http://cl.ly/image/2z1X1w0v3S14 I really don't...

App not installing on device

I've been having a lot of problems trying to get something to install on an Android device. I had it work a couple times, but almost every time I attempt I get this: [INFO] : Installing app on device ...but it doesn't show up on the device at all....

Error: EPERM, operation not permitted 'C:\Users\famil_000\Dropbox\TI_APP\Biblioteca\build\android\bin\Biblioteca.apkz'

Hi, i unable to test my app on device, i have tried everything: i restart my pc, phone, the TI studio, i install all the android sdk but nothing. Can anyone help me. Here is the log console output. [INFO] : Generating i18n files [INFO] : Generating...

Push notifications in android

Titanium SDK:3.2.1,Android device:samsung galaxy grand,platform:android,OS:Windows 7 push notifications in android: I am trying for push notifications in android,I went according to the docs 1)Got the sender id and app key(create server key) from...

Slow Build for Android

Is 45s-50s normal for Android builds via Titanium? I'm using various Android devices (not emulators) and have expert knowledge in both Android and iOS. For iOS (again device - not emulator), the 1st build takes about 30s but every other build takes 20s or...

Not recognising any device!

I turned on Titanium Studio after maybe two weeks and it does not recongise any device attached! i tried with two devices and genymotion plugin. Any advice??

Crash log on device without Play Store

From what I gathered apps can only log 'themself', as in I can not use the logging apps that exist in play store. I couldn't find a hint in the titanium docs. I want to test my app 'in the wild', so I wanted to know if it is possible to save the debug...

APK is not working properly

Hello, I'm using Titanium Studio, build: 3.2.1, and my operating system is Windows 8. I have an android alloy mobile application project. My app is working when I connect the device or the emulator when running in the appcelerator studio, But the issue...

Showing 1-50 of 500 1 2 3 4 5 610