Community Questions & Answers

imageview placeholder

i have images which loads url . i want to display the alternative text if image is not available .. also i want to show the indicator in imageview which hides automatically when image download from the server .. any help?

HeavyWeight Window Vs. Android Activity problem

I want to create a new window after click a button. So I have: ~~~ var win1 = Titanium.UI.currentWindow; var btn = Titanium.UI.createButton({...}); btn.setEventListener('click', function() { var win2 = Titanium.UI.createWindow({ url: ..., }); ...

Recording video. questions...

I am making some application for android and i wanted to know can i record video not switching to camera activity, i want to record from my current one. And second question is, can i somehow pause recording or something similar. I did research and i found...

Application (Activity) resume event on Android

Any suggestions how you catch the resume of an application on Android? I tried setting the following event in my app.js: Ti.Android.currentActivity.resume but it didn't trigger when I went out to another application then brought my application back to...

Activity Indicatior WebView

Hi all, I was just wondering if it is possible to display activity indicator before the a remote page loads onto a webview? my code so far has been ~~~ var webview = Titanium.UI.createWebView({ url: Titanium.UI.currentWindow.param,backgroundColor:'#000'...

Android - Window Activity Destruction

My environment: - **Ti SDK**: 2.1.2 (08/24/12 14:46 ed7f777) - **Platform**: Android 2.3.4 - **Device**: Something from HTC - **Titanium Studio**: 2.1.2.201208301612 I have the following code in my application for getting to the bottom of an issue...

Activity indicator

Hello I'm wondering, why is it that an activity indicator sometimes doesn't show up? Is this just in my application, or does anyone else have this problem too. Even when I put width:'auto', it doesn't show up. I have to put a timeout around the...

Video from android gallery.

I am trying to get video from android gallery by clicking on button and get reference from [this link](http://developer.appcelerator.com/question/19181/video-gallery) and implement it in to my code but I don't get any response and alert when gallery...

Open PDF files in Android

I m having a PDF file in my **applicationDataDirectory**, I am trying to open it using below code. But i am getting error **file not found** ~~~ try { Ti.Android.currentActivity.startActivity(Ti.Android.createIntent({ action:...

Showing 1-50 of 113 1 2 3