Community Questions & Answers

read file bug?

I'm trying to read a resource file with the Titanium file stream. This works on the iPhone Simulator, BUT not on my iDevice (iPod touch 4g). I'm currently using SDK 1.8 / 1.7.5 and iOS 5 (iPhone Simulator and iPod Touch). Here's my code: ~~~ function...

iPhone simulator crashes immediately

Ti 1.8, OS X 10.6 So last night I ran into an issue with my app on iOS. It would work fine under the iPhone simulator, but would crash after the splash screen under the *iPad* simulator. But I had a very similar but separate project that worked fine...

A module for making views draggable

Here is a module that will make a view draggable (or resizable depending on the views initial layout.) ~~~ /* * Testing shows that ignoring every nth event will make this actually * work. skipMoves = 2 seems to work with HTC Desire. Needs testing *...

ClassCastException: String cannot be cast KrollDict

My App works on iPhone, but I get Exceptions when I start it on the android simulator (titanium studio 1.0.6). I don't find any answer, can someone please help me with this: E/AndroidRuntime( 547): FATAL EXCEPTION: main E/AndroidRuntime( 547):...

Webview Crash

Hi, I'm experiencing issues with a Webview running on an iPad app I'm developing. The Webview is simply used to load an external site. Everything works perfectly on the iPad simulator but it's very temperamental when running on a device (first...

Audio player crashing constantly

Hi All I've finally managed to get a json feed populating a tableview with a list of audio tracks from soundcloud ,that when you click on the table row the track streams. It does however keep crashing on about the third play ? I get this...

Detect scale view

Hi All can we detect the scale of one view. Ex: at the beginning the scale of one view is 0 and when the user pinch we have one alert that says to us the new scale value of the view... thanks

Controler/view communication

Hi *, here my controler: ~~~ ctrl.references = ( function() { var api = {}; api.getAll = function(url,callback) { var xhr = Titanium.Network.createHTTPClient({}); xhr.onload = function() { try { var data =...

Problem installing ADK

When I Try to install ADK with Titanium Studio, build: 1.0.6 on MAc OSX 10.7. I get this error message: Cannot complete the install because one or more required items could not be found. Software being installed: Android Traceview...

Picker positioning on android app

I am using a picker control in my application. But I dont see any option to set the position of picker control. Can some please help me positioning my control at a specific location? Mine is an adroid application

Design in different file

Would it be bad for the performance to declare all the design elements and such in a different document and including them?

Notification Help

I'm about to wrap up an app, and the last part is scheduling notifications. I have dates in my data (yyy-mm-dd), and all I want to do is have a button that says 'remind me', and have it take that date and schedule a notification. After it loads, I want...

xcodebuild: error with helloworld

I am trying to get helloworld to work and can't get it to get past this -- Please assist. sg [INFO] One moment, building ... [DEBUG] Detecting modules in /Users/MYUSERNAME/Sites/Appcelerator/HelloWorld/modules [DEBUG] Detecting modules in...

App Approved Thank You

Hi Our app flipscape has just been approved by Apple (UK only). I wanted to say a big thank you to the community and appcelerator folks for your help and guidance over the last few months, with you the development has been a pleasure. Thanks again T.

Required jarsigner not found, etc.

I've seen a few others with the same issue I'm having, but none of the solutions seem to fix my problem. When I go to install an app I get the following message from the console: ~~~ [ERROR] Required jarsigner not found [ERROR] Required javac not...

Incompatible Mobile SDK for the Mobile Web support

I have the Indie subscription, I've installed the latest build (1.7.6.v20111122141108) but I'm still getting the error message "Incompatible Mobile SDK for the Mobile Web support" Images here: http://yfrog.com/klcg7bp,...

Camera buttons in overlay don't work

Can't seem to make the buttons work at all. They appear but they don't listen to touch events at all any tips? ~~~ var overlay = Ti.UI.createView({ //backgroundImage:'/images', width:'100%', height:'100%' }); var overlayTitle =...

hide tabbar and create buttons that would act as tabbar

So I have two tabs. Home and Map. Both are referring to another .js files when the tabs are clicked. Now I want my tabs with customized icons and background. One way I thought is to hide tabbar completely and show custom buttons inplace of tabs. This...

Console based aaplication with Appcelerator?

Has anyone created a console based app, or is it even possible to create a console based app with appelerator? I have a project where I need to create an application that can be remotely executed but not create a window so it runs silent. I can write it...

PHP Development

I have created a brand new project and renamed index.html to index.php and replaced the file contents with: <?php echo("PHP preprocessed output!"); ?> The problem is that it is output in the desktop application just like that, not...

Showing 40,951-41,000 of 64,994 1815 816 817 818 819 820 821 822 823 824 8251300