Community Questions & Answers
Is there a way to know if the iPhone is Charging (plugged in)?
In the iPhone SDK there is method called UIDeviceBatteryState that returns: typedef enum { UIDeviceBatteryStateUnknown, UIDeviceBatteryStateUnplugged, UIDeviceBatteryStateCharging, UIDeviceBatteryStateFull, } UIDeviceBatteryState; Does...
C# class to js Titanium, How???
as i am still learning the ropes of Titanium, some stuff have been confusing or unclear for me. We have a C# webservice with an class libary for the app i need to make. I send a request for the server, lets say i want to search for some contacts. The...
UI problem after upgrading to 1.6
Rebuilt my iPad project using the new 1.6 SDK. Experiencing a couple of issues: 1. My grouped TableView is no longer the default grey background, but black. ~~~ var customers =...
Performance of createImageView vs createView for basic visual assets
What is best to use performance wise? for borders on custom tableViewRows either a 2px * ~300px png or a view of the same dimensions with a backgroundColor or gradient?
No documentation and problems
I'm trying to launch external applications and find device's name... Nothing seems to exist in documentation. Why every Titanium user must ask question here? You really need better documentation and simpler coding. Too much fixes needed to make app. My...
exitOnClose window property problem
Where should I place exitOnClose property in order to work properly? I have a tabgroup in my app and all my windows in their creation (as described in the documentation) have this specific property. But regardless the property when I press 'Back' button...
HTTPClient events not firing
I upgraded mobile SDK from 1.4.1.1 to 1.5.1 and found that none of HTTPClient events are not fired. With 1.4.x works great but with 1.5/1.6 the server receives the petition and HTTPClient object gets the response in responseData property but no event is...
Code crashes on device but not on simulator
I get: Fri Feb 25 03:25:14 RIPhone UIKitApplication:YX8TWW9NQB.api[0x72ac][3636] <Notice>: [ERROR] Syntax Error = Parse error at views.js (line 11) in my iphone debug console when I run my code on the actual device. When I run it on the simulator it...
Titanium.UI.Label not in desktop api ?
Am I right? Most of the UI functions are not implemented in the desktop api? thanks in advance
Audio Recording in android
hi everyone, wanted to ask if i can record on android? i'm using Titanium mobile sdk 1.6 checked kitchensink, checked the soun_record.js but seems as if it is only for iOS and not for android? ~~~ var recorder =...
How to parse local xml file on Android
How to parse local xml file on Android? ======================================= I watched a lot of topics such content but nothing helped. please tell me whether there is the standard means to do as in iPhone SDK XML parser? Please give me a link where I...
where i can write the code
Hi, I have create a new project and test and package then the display is coming, but i didn't know where i will write the code. Please help me. Thanks Shinu
Why JSC and not V8?
Is there a reason why you're using JSC and not V8 for mobile?
Label text goes to second line though there is a lot of space
I am having a strange issue. I have couple of label text that goes to second line though there is a plenty of space. Like I have label with text 'beds' If I put 'a' instead of 's' it stays on single line but if I put 's' it breaks and 's' shows below the...
Run program as iphone with ios sdk
can any one suggest me the way of install titanium in mac also give list of tool require for it and steps of build sample program in it
Run program as iphone whith ios sdk
Can any one suggest me the tool which require for run titanium program in mac also describe the steps for install it in mac also a link regarding it and sample program
Contextes are real concurrent threads?
hi, i read the [papers](http://guides.appcelerator.com/en/javascript_environment.html) about the environment model but its not real clear how the threading system works(due to the lack of knowledge of that js engine). as far as i know javascript is...
Titanium SDK 1.6 Android bugs
1. touchend event never fires for me - confirmed in KitchenSink example as well (Windows Events) 2. setVolume doesn't work for my Titanium.Media.Sound(s) - it's if as there is no such method anymore - but sound.volume works fine instead 3. data arrays that...
Looking for Chris Moore (titanium mobile user)
Hi, 3 months ago, I asked a question here : http://developer.appcelerator.com/question/87681/is-it-possible-to-use-a-c-library-inside-titanium-mobile- I didn't know that choosing the answer of Chris Moore as best answer will close the thread. I would...
Getting the event object for generic animations?
Hi, I want to define some generic animation and need to find a way how to access the object the event was assigned to inside the callback. ~~~ var winAnimation = Titanium.UI.createAnimation(); winAnimation.transform =...
splash Screen
Hello sir, Here i my project i place the splash screen when the app start running the splash screen starts but the first time it crashes the app and second time the app will run what is the problem
Run program as iphone whithout ios sdk
HI can any one tell me how we can run program in titanium without ios sdk. i m using android sdk and it runs well. now want to show it in ios i m using windows xp and wanna to show how my program looks in iphone or ipad provide me link if ios sdk for...
Near Field Communication
Hi evryone, i just want to ask can we implement "Near Field Communication" through Android sdk ? How can we do that?
Appcelerator Premium Support
Hey All, Just wondering how long the support guys take to get back to you? I've enquired 3 times and it's been a month already with no response about signing up to premium support/ titanium pro thingy... Should I just stick to the...
Random Performance Issues in 1.6
I built an iPhone app that ran just fine on SDK 1.5, and now it crashes all the time in 1.6. I have problems running in the simular and on the iPhone. Is anyone else having the same problem or know if anything has changed that would cause such erratic...
Remote images in backgroundImage property
Because of scaling issues I want to use the backgroundImage property in an imageview instead of the image property, however I'm using remote images and it seems backgroundImage can't take remote images. Is this true or has anyone got this to work?
VideoPlayer .play() causes multiple videos to end and fire 'complete' event
Hi, I'm building an iPad app using Titanium 1.6.0 (it was also the same in 1.5.1) with the 4.2 iPhone SDK. a bit of a weird one this but I couldn't find anything on Lighthouse or any answers in the Q&A (although I did find this unanswered forum...
PayPal MPL Red Cross Demo - [ERROR] Third-party module: ti.paypal/1.0 missing
Hello everyone I'd really appreciate some help in understanding the problem I'm having with the PayPal MPL I am trying to open the demo Red Cross project. I have already read the previous questions and the MPL is in the directory as...
Running Multiple Instance of Titanium Developer
Hey guys! Was just wondering, is there a way to run multiple instances of the Titanium Developer tool (mac), so that I could run say an iPhone app and an android app or an iPhone and iPad app, or a mobile and desktop app, etc. at the same time? Kind...
Titanium Developer 1.2.2 crashing like crazy
I'm building an iPhone app, and if I force a rebuild (apparently required if you add any new functionality to your app) TiDev 1.2.2 (w/ mobile 1.6) crashes 3-4 times during rebuild before it will finally run in the simulator. I can live with that for now,...
Modal calling a modal
Hello Everyone, I'm hoping someone can help me out with my problem. My app is made up of a tab group with 4 windows. These windows use the 'url' property to get the code for each of the windows. Once one of the windows is loaded the user can click on a...
Permission Denied - TFS files not checked out
I'm attempting to use Eclipse with the Team Explorer Everywhere plugin for our TFS server. I'm running into a problem when I try to build: IOError: [Errno 13] Permission denied:...
Need to salvage and app with only the .app file?
Can I open my iPhone app using Titanium if I only have the .app file?
Android Crash in Market?
Whenever somebody downloads my app via the Android Marketplace, they get an error and it crashes and I get this error in the Dev Console: ~~~ Exception class: java.lang.ClassNotFoundException Source method:...
Desktop removeEventListener not working
I have an app which uses event listeners to receive events inside an iframe from the outer window, and every time a page is browsed to, a new event listener is added, which causes a huge backup after a while of the same event firing over and over. Since...
Clear answer for Mac OSX and Android
I tried to make the Android SDK work but Titanium can find it. I have downloaded the latest version but still can't get it to work. I am new to the MAC so please be clear about this. Thank you
Positioning two views in one window underneath another
Im having trouble trying to get two views with dynamically loaded content to display one beneath the other. Essentially I have a webview that renders dynamic content, and I have a service that returns comments on that content to be displayed in a...
Android Help - How to restrict app running on HoneyComb ?
So Ti doesn't support Honeycomb, and my app runs blank on Xoom. Is there a code somewhere i have to put to prevent app running on Honeycomb devices? I need to push my app asap to market, any helps or pointer would be greatly appreciated.
1.6 GPS Changes (from blog) not working
Hi, I'm trying to implement the GPS lifecycle changes per the blog post. However the events don't seem to fire. Here is some code: ~~~ function setup16Listeners(){ Ti.Android.currentActivity.addEventListener('pause',...
Create an image from a canvas and upload it to a server
Hi, I'm a newbie to appcelerator, and I have a project that could be the perfect candidate to use it. The problem is, I have to develop an app that accepts signatures from clients and I thought that could be solved by using a capacitive stylus and...
Runtime Error when attempting to use base64encode
OS: Android 2.3 Titanium SDK: 1.7.0 Does it work with iPhone? Yes When working with this line ~~~ var hashedPass = Ti.Utils.base64encode(password.value); ~~~ Here is the password.value ~~~ var password =...
1.6 setContentInsets and Pull to Refresh
hi i have doubts to migrate to 1.6 since if read this [post](https://developer.appcelerator.com/question/114091/bug-setcontentinsets-is-undocumented-and-not-supported-on-sdk-160) actually i cant test it on my machine, so i wanna ask if its true that this...
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 =...
1.6 Crashing on Exit
Hi, my app is crashing as I exit the app in 1.6. It's not in 1.5.x. Here is the trace: https://gist.github.com/842240 It appears that the issue only occurs if I have created at tableviewrow with a backgroundSelectedImage, e.g....
// Parsing XML in reverse order?
Is it possible to traverse a XML/RSS in reverse order? If yes how we can do it?
Where can I download Titanium+Plus Modules ?
I am looking for a module for sms management, I saw in [this page](http://www.appcelerator.com/products/titaniumplus/) that Titanium+Plus Modules provides a sms module. Is Titanium+Plus Modules something free ? And where can I download it ? Thanks a lot !
Error at Building after upgrading to 1.6.0
Hi all, I've got a big problem while building one of my projects. See http://pastie.org/1602365 . I've already created a new project and I've copied the sourcefiles but nothing helps. Hopes for help, Max
Titanium JavaScript in WebViews for remote URLs
Hi, Is there any chance to make Titanium JavaScript (Ti.App.fireEvent, Ti.API.log) available in WebViews for non local URLs?
TableViewRow selectedBackgroundColor remove rounded corners?
How do you overwrite the default style of the iPhone UI for selecting a row in a table view? For the iPhone it is default blue, and can be changed with `TableViewCellSelectionStyle`, but that is limited to three choices. The alternative is to use...
Titanium.Facebook (1.6)
Hi, I just tested the new Titanium.Facebook system (1.6) on my iPhone but it doesn't work for me. This is the code I use, the only difference i see with the code in KitchenSink is that my App ID is longer (15 chars) and i ask for more permissions. If I...
Showing 36,051-36,100 of 47,669 1 … 717 718 719 720 721 722 723 724 725 726 727 … 954