Community Questions & Answers

Replace profile image

Hi there I have a profile image. It shows up fine. I can have the user open the camera or gallery and select a image. But how can I replace the profile image with the new profile image. I am stuck at the bottom of my sample code. Thanks for all...

iOS Block Call

I am trying to develop a native (iOS) Titanium module. I am having trouble making a call to a named block function when it takes a pointer as an argument. Below is the simplest code snippet I could make that reproduces the error. In it I create 3 block...

Are there any way to hook openURL in tiapp.m

~~~ - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { [launchOptions removeObjectForKey:UIApplicationLaunchOptionsURLKey]; [launchOptions setObject:[url...

Strange Memory issue

Titanium SDK: 3.2.3 GA iOS: 7.1 While trying the following sample code on iOS (I used iPad3) I noticed that the created views are never garbage collected. (the code is pretty simple, clicking the button creates 200 views and adds them to the...

Http client error

Application type:mobile,Titanium sdk:3.3.0 GA,OS:Mac OSX 10.9.3,Titanium studio:3.3. Hi, I am not able to connect with server using Http client in both android and ios.It was working fine before ~~~ [ERROR] : TiHttpClient: (TiHttpClient-1) [36311,43196]...

Copy / Paste Context Menu

Hello, i'm trying to figure out how to change the context menu language for copy / paste in iOS. Where can i change this? It's always english no matter which device language is set. Thanks!

ListItem itemId Query

I know that in the docs it states that [itemId is a string](http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.ListItem-property-itemId) but I have been setting ItemId to be a JSON object. This works fine on iOS so I can directly reference...

iOS animation flicker

Hello, I have a simple timer that updates every 1/10 of a second using setTimeout ~~~ /** * * Calculates the time elapsed in milliseconds and displays * the total elapsed * */ showElapsed:...

Push Notification Limitations

I've got 100+ subscribed devices for push notifications. However, when I push out a notification, the log says there are only 10. My last push notification in July went to all devices. Has appcelerator throttled the amount of push notifications or is...

How to check Device has Sim or not?

Hi All, I am new to titanium, I have a requirement to have call from the Application, During search i have some code using openUrl. I feel it is fine, Suppose if i am iPod or iPad or if i have which dont have Sim card, How can i identify that it will...

Using of offline maps

Hi Coders, in my app I need offline maps (tiles from mbtiles) and draggable annotations (for customer added pois an map). I see this situation: 1. *com.appmodulator.offline*: works with standard mbtiles (one table in DB), but the annotations are not...

Validate page before closing

I have a preferences page and I want to validate the info before the user can navigate away from the page. I want to alert the user if they did not enter information into a field before leaving the page. I know that I can use a close event listener, but...

Honeywell's Captuvo SL22 SDK

I am looking for help in integrating Captuvo SL22 SDK within appcelerator. The Captuvo SDK comes with the Captuvo scanner/msr for ipod. I am trying to use Captuvo SDK in a custom module and call it in the main app. I am able to establish a connection with...

Refresh in ios

Application type:Mobile,Titanium Sdk:3.3.0 GA,Device:ios Simulator 7.1 I am refreshing the data using the time parameter in the url. in android the data is getting updated but in ios its not updating.Any wrong in the code: homescreen.js ~~~ if...

ICloud Backup and Restore

Application there is a database file. I want to back up with iCloud. Later, if the user wants. You can restore any time. ~~~ var db = Ti.Database.install('/db/passmanager.sqlite', 'passmanager.sqlite'); ~~~ Please help me. My english is not very good.

Video timing / changing playback question

Hi - I've nearly completed an app for iPad which makes heavy use of video playback, playing a single file stored on the device. The game has to start video (usually) when the user initiates it and play short sections of the video, which then 'loop' -...

background image is not shown when tableview is added to the window or view and problem with event listeners of tablevie in ios

Application Type:mobile,Titanium sdk:3.3.0 GA,Device:ios Simulator,OS:Mac OSX 10.9.3,platform and version:ios 7.1 1)background image of window or view is not shown when the tableview is added to them.It shows white background even the background image is...

Publish Errors

When trying to publish an app built with 3.3.0GA and coded with ALLOY framework I continue to get the following error and I can not get past it. Anyone come across this? Its a very vague error [ERROR] : 2014-08-09 22:25 xcodebuild[6670]...

Open external urls within webview with remote content

I have created an app which basically just wrapps a whole web site which is responsive. Everything works great except one thing! External links will open in the webview,but I need them to open in Safari. I thought that I could just trigger an event on the...

Showing 1-50 of 5,658 1 2 3 4 5 6114