Community Questions & Answers

Couldnt find module on iPad Mini

Hi! Im running my Application on Android devices, and everything is working great, but when I run my App on iPad Mini I get this error: Couldnt find module: com.activate.gcm. I wonder why the App can not find the module on a iOS device?

[ERROR] : Invalid "--ios-version" value "7.0" 7.0.3

Hi, I update the Titanium SDK to 3.2.0.v20131107155450, but when I start application on iPad Simulator i get the error: [ERROR] : Invalid "--ios-version" value "7.0" 7.0.3 Accepted values: 7.0.3 For help, run: titanium help...

Move & scale a scrollview is very unpredictable

I'm trying to implement what's effectively a custom map view which is a scrollview (for pinch/zoom/pan) which contains various images which I fade in and out to change the 'map', and various imageviews for pins. This working fine, except that as I change...

Allow user to retrieve lost password

I have created a password protected area in my app. It works fine, but what I'm not sure how to handle is if they lose their password. The password is stored in properties. I wanted to be able to send the password to an email, but it appears I cannot...

More than 2 buttons on titlebar?

I know there is setLeftNavButton and setRightNavButton to add buttons to a title bar. What if I want additional buttons in the title bar (a third title bar button apart from the right and the left nav button)? How do I do that for iPad?

Cannot Click on hintText in iPAD

Hi , I have text fields in my app, which has hintText. When i click on hintText, the text field focus event is not working, bt when i click on other areas other than hintText in text field, focus is working well. I do not know why this problem is occuring?

Stop current and pending http client

I have multiple tab. I'm currently loading multiple images using http so that after 1 image is loaded, it will load the next one. But while its loading, when I switch to a new tab, I want to stop the loading. to do this, I fireevent function to abort the...

add printer CITIZEN PD-24 to iPad

Hi everyone someone know how to add an printer CITIZIEN PD-24 to iPad or iPhone, I need to print, using airPrint or bluetooth How information aditional, this printer have the version bluetooth 1.0

Can't Figure This One Out...?

Hi folks - Maybe I've been at this for too long today, but... Please consider the following code from an election app we're building: ~~~ aRace.addEventListener('click',function() { Ti.API.info('A race selected. lastRaceIndex is ' + lastRaceIndex + '...

Access view in a listView

Hi, I have a listView and on each row I have a button and I need to show a Popover from this button when I click on it. So I have creates an event like this : ~~~ function handleBtnClickEvent(e){ var item = e.section.getItemAt(e.itemIndex); }; ~~~ But...

Tabgroup Colors in iOS 6 & 7

- **Application Type:** mobile - **Titanium SDK:** 3.2.1.GA - **Platform & version:** iOS 6.1 / iOS 7.0.3 - **Device:** iOS Simulator (iPad) - **Host Operating System:** OSX 10.9.2 - **Titanium Studio:** 3.2.1.201402041146 I'm not 100% sure what my...

Rotate image

Hi all I have a View with a background image which I would like to be able to rotate with a finger "scroll". So can anyone tell me how to rotate Views on the iPad? Best Dennis

Play .ogg files.

iOS doesn't support .ogg files. However, using objective C and few libraries one can code for iPhone and play .ogg files. As far as I researched there are no modules available for titanium. Can anyone help me pls...???

Textfield Focus

I have 3 horizintal textfields. When i enter all the textfields and press back its working normally means all the textfields are focussing. But when i enter the first textfield and when 2nd textfield receives focus and when i press backbutton the focus is...

Add new pictures to coverflow

HI, I have a coverflow view that I wanted to implement lazy loading. First I want to load first 12 pictures and when it reach the last image, it will load the next 6 pictures. The coverflow by now should have 18 pictures. I have managed to do all this...

TextField Focus

Hi , I have four textfields and I want to change the focus (cursor position) from one textfield to other and so on .How can I do this within for loop?

xcodebuild: error

why this error "The project '<Project Name>.xcodeproj' does not contain a target named '<Project Name>-universal'." is occured?

Link to app store not working

I have a view in my iPad app that is to an app in the app store (http). All my other web links in the app work, but this one opens Safari but then generates an error. I would have expected it to just launch the app store...

fromFactor

I have a login button and i had written tss for it ~~~ "#loginbutton[platform=ios formFactor=handheld]":{ top:"49%", width:"90%", backgroundColor:'#2365C2', color:"#fff", borderRadius:5, font:{ fontSize:...

How to append to a text file?

Is it possible to append to a text file instead of overwriting it on the Mobile platform? Filestreams aren't available for Mobile, and file writing seems to overwrite the entire file. This is what I've been trying so far: ~~~ var file =...

Changing image according to platform

Hi everyone! I'm trying to change the image of my app according to the device, mobile or tablet. What am I doing wrong? ~~~ "#header[platform=ios formFactor=handheld]" :{ image:"/images/header.png" } "#header[platform=ios...

HTML5 Video Autoplay on iOS

On Safari on IOS the autoplay feature was disabled fpr HTML5 embedded videos/sounds by Apple as described in <http://flowz.com/2011/03/apple-disabled-audiovideo-playback-in-html5/>. Also Javascript cannot start a video without any preceeding user...

Showing 1-50 of 1,899 1 2 3 4 5 638