Adjust textarea height to make room for keyboard
I'm building a Alloy based app for both iOS and Android. I have a modal window with just an textarea in it and I'm trying to make the textarea fill out the entire space left (minus my header off...
View ArticleHow to create multithreading in mobile sdk
I need to run some network operations in multi-threaded environment, can anybody tell me how to do that in titanium mobile sdk
View ArticleWebView SSL Error Android
Hey guys, I got a big problem of accessing a SSL page in a WebView on Android. I got default code like this:var webView = Ti.UI.createWebView({ top : 0, bottom : 0, scalesPageToFit : true, right : 0,...
View ArticleHow Titanium compiler works
Hi, I am new to Titanium. I have created one simple application, and generated .apk file by exporting the project. Now, I need to know, what .apk file contains? And also want to know, what are the...
View ArticleText in label not filing whole label
I have a label that I've set to a particular height and width. This is on Android. I wanted ellipsize so i have to set word-wrap to false. I also wanted the text to start from the top so i added...
View ArticlePaypal Integration
Hi guys, I want to include a paypal payment in my app. In the titanium marketplace, I found the paypal module. In the module, I found that you need an app ID. For testing, it said to remove the...
View ArticleLining up data
I need to display 5 lines of summary data at the bottom of a listview. I created a footer and tried: label1.text+num.toString() footer.add(label1) // repeat for 5 labels listview.add(footer) where the...
View ArticleTest Environment Option
How to get the Test Environment option in my titatnium studio. I am unable to get.
View ArticleWhat is Native code?
Hi, I am gone through some websites and seen that javascript converted into Native code. I have a clarification that, here Native code is Android or Java?, If I want to install the application in...
View ArticleAndroid - java.lang.OutOfMemoryError
I am trying to load a URL in a web view and I am getting out of memory error. I tried to play around with httpclient.maxbuffersize and threadstacksize as below: <property...
View Article[ERROR] Application Installer abnormal process termination
I am using Windows 7 OS, Titanium Studio 3.1.3. When I run my project on android emulator it gives some errors like - D:\MyApp\build\android\gen\ca\csa\cepe\MyAppInfo.java:83: ';' expected or ')'...
View ArticlePlease provide any video link for creating android module in titanium
Hi, I followed everything on the appcelerator link to create the android module. But the module is not working perfectly. I think the enviornment is not setting up correctly. So please me provide any...
View ArticleAndroid SDK 3.1: ImageViews don't stretch and keep ratio anymore
Hello, Since updating to SDK 3.1, imageViews in Android don't keep ratios of pictures when specified any height and width different than 'auto' or Ti.UI.SIZE. For example, you can't make an ImageView...
View ArticleshowCamera openPhotoGallery
Hello everyone, I want to do is upload a avatar functionality. Use camera photo, select photos from albums, As well as the screenshot. Who has done similar function. Can you give me a demo? thanks a...
View ArticleSDK 3.2.0 RC Giving exit value 8 when building Android
Hi, I updated to the RC 3.2.0 last night and iOS is working without issue, however android fails fairly quickly with a range error stating maximum call stack size exceeded and Process exit value 8 Note...
View ArticleAndroid actionBar crash app
Hi, I have a problem with Android and actionBar, as i read in the doc i tried to add the actionBar in my app. Here the codefunction ApplicationWindow(navController) { var self = Ti.UI.createWindow({...
View ArticleHow to start a new Android Activity?
I'm trying to start a new custom Android activity with Appcelerator and having some trouble. I'm not sure where to put the java file in my Appcelerator project and how to correctly link to it. Here's...
View ArticleDrag and Drop Bugg in 3.1.3
Hi everybody, I have a problem for drag and drop a simple view (or image) in a window. Even the script of KitchenSink doesn't work. The animation of the circle, is jerky and no smoothie. Someone has a...
View ArticleProblem with KrollRuntimeThread, the logcat show me "The text property of...
Hello! I'm programming in Titanium Studio, but when the app runs in the device, the logcat describes the next error: 2013-11-21 09:09:00.859 W 10378/Text: (KrollRuntimeThread) [161,18758] The text...
View ArticleScrollableView
So i set up a ScrollableView and for some reason the arrorws are showing up as blurred squares, anybody sure of what today. Its android sdk 4.2.2 function createAndroidCoverFlow(){ var overallView =...
View Article