Community Questions & Answers
TableViewRow hasChild arrow
Hi, Does anyone know if there is a way to render the arrow that is displayed as a result of the hasChild property to be rotated? Specifically, I'm hoping to be able to point it up or down instead of to the right. Thanks! Matt
caching in titanium
when i parsing the xml i need to cache the both image and text
Facebook parse multiple friends
Here is json output. How do I parse this and write a FOR loop? There is no common id. https://graph.facebook.com/?ids=btaylor,cocacola ~~~ { "cocacola": { "id": "40796308305", "name":...
TableView "Zebra Stripe" Effect
Is it possible to add a "zebra stripe" effect to a table view? My first idea was to just manually change the background color of every other table cell, but this will cause a problem when using the table's search. Any other ideas?
Mac DESKTOP AppStore apps?
Any news on when/if we might be able to build apps using Titanium for upload/sale in the Mac AppStore?
Inconsistent JSON parsing of string
My app gets a JSON response from a Url. When I try to parse, not all strings get parsed properly. The JSON string and parsed values are below. Any ideas why this would happen? JSON String Response from Url ~~~ {"dishes": [{"id": 0,...
HTML 5 game, compiled with titanium mobile?
So I may embark on developing a Facebook game using HTML 5 (instead of, say, Flash). Such a game should also work on an iPhone (or Android, etc) but since Javascript is interpreted, it could be slugish. I am wondering if Titanium Mobile could be used to...
iPad: createWebView in modal window causes app to crash
Hey all, I'm currently building an iPad app using Titanium version 1.5.1 with the iPhone SDK 4.2 on Snow Leopard 10.6.6 I am creating a modal window and within that I am creating a WebView containing a PDF. But everytime my code hits the createWebView...
Building Android FB Errors?
~~~ [ERROR] /Users/carabsky/Documents/Stuff/App Development/Apps/TheMcNeal/build/android/gen/net/shanemcnealapp/ThemcnealApplication.java:45: package ti.modules.titanium.facebook does not exist [ERROR] modules.add(new...
Developer keeps downloading and installing 1.2.2 update
Windows 7. Titanium Developer 1.2.2 Every time I launch developer a dialog opens saying it is downloading and installing application update (1.2.2) How can I stop this?
Running app on Linux, .tgz file?
I've build a simple example app to see if I can convert my app (CouchPotato) to a Titanium App. Everything seemed to work nicely. The Windows and OSX app run as expected, but I can't seem to run the Linux version. I don't know if I'm missing something, or...
Android...Some Basic Questions
Hi, I would like to speak with someone regarding Android development using appcelerator. I've currently done a lot of work with ios, but need some info on the workings of droid. Probably a 5- 10 min conversation. Let me know the best way to connect. ...
help with playing a video with h.264 or HD codec
hi guys, how do i even begin to put a video in my app? and can appcelerator play hd videos with h.264 codec? thank you guys... in advance!!! I'm doing an app in Android and I am using the 2.1 engine... i got the kitchen sink to work too in case i need to...
Example iAd code needed
Could somebody please post an example of a working iAd implementation? This works, but it center's the iAd window in the middle of the screen. I want it to be at the top. I tried 'top: 0', but that did not work. ~~~ Ti.UI.iOS.createAdView({ width:...
closing a window cancels its XHRs?
after hitting "log in" I fire off several XHRs to populate my app's tables; I also want to close the log in window, but calling close() on it means that the XHRs never call their callback functions -- they don't even call their error...
request timeout make sure you are online
Hello, I am running Titanium 1.2.2 on ubuntu linux. At work (ubuntu also) everything went great but at home I keep getting the error 'request timeout make sure you are online'. I commented the lines ~939 as described is some posts but now I don't get...
Find current viewController to push a ABPersonViewController
Hi all, in an application I'm working on, I need to interact with iPhone's AddressBook. Currently, Titanium mobile doesn't expose the native widget so I decided to write a module to trying to overcome this limitation. As far as I know, the only way to...
data and photo upload to remote server
I am trying to create a form with both text and photo attachment that will be pushed to a remote server and handled there. I have been able to create a form that pushed up to the server but when I try and add the photo component I get lost. Currently this...
Is image slicing possible with Titanium?
An application we're considering would require letting the user choose an image from their phone's library (or, taken with the camera), letting them draw with their finger around a section of the image, and then using that drawing to slice and crop the...
Weird things with the apk
So, I finished off my first titanium app for android, using 1.5.1. I tried "run on the device" and everything looked well (as well as I expoected as a Titanium rookie at least ;) I created a keystore and everything and went through the steps for...
Is iOS MPTimedMetadata supported in Titanium.Media.VideoPlayer?
Is iOS MPTimedMetadata (Media Player Framework) supported in Titanium.Media.VideoPlayer? I mean is there a way to load and parse additional protocol metadata and display it to user? Thanx.
Emulate Back Button
Hi I'm wondering how I can go one level back in my code. (Like clicking on the back button on the top left) I need this if an error occurs for not showing an empty window. Thanks Felix
How to get the error code for a HTTPClient request.
Hi, I am trying to make a XHR request using HTTPClient in titanium. In the onerror handler of the request I want to check the error codes and make decisions programatically based on the error code something like shown below. How can I get the error code...
Very odd window positioning issue (Android)
I'll try to keep things simple: - My app has a tab group. In some cases it opens a new window (call it Info window). From there a button opens "more info" which is designed to look like a popup (it has some padding and a border). - Testing on...
MapView.location is undefined?
Trying to get the currently visible area on a map, using map.location.longitude / latitude brings up an error about map.location being undefined. map.region does exactly the same thing according to the docs, but that also doesn't work. I want to know...
Titanium.Geolocation.forwardGeocoder() country limitations?
Hello, I´m trying to use forwardGeocoder to get coordinates to a given address but it seems to work only in some coutries, for example if I use a Portugal Address like "Lisbon, Portugal" I get no results.
Titanium.Media.VideoPlayer is Media Player framework or AV Foundation framework?
Hello. Which iOS framework Titanium.Media.VideoPlayer supports (translates into) - Media Player framework or AV Foundation framework? And second: is there any kind of Titanium - iOS native code bridge/plugins to incorporate Objective-C code into...
Facebook status update stopped working
I am facing the problem with facebook connect in my application, initially it works fine for me, I was connected with facebook and update status through my app, but it stops working unexpectedly, now when i click the facebook connect button, it opens the...
Dynamic Desktop Application using PHP: How to add css, etc.
I'm trying to build a simple site based on PHP in the Desktop, with navigation and dynamic content. I'm not sure if I need a webview, or what the document structure should be. Let's say my entire php file consists of the one line <?php phpinfo();...
login problems
Hello, When I reset the password I am automatically logged in. But the next time I enter the website the email/password combination does not work. Does anyone else have this problem. Thank you, Claudiu
convert presentation
hallo i have a small presentation in flash ( animated) is possible to convert it to appcelerator titanium? thanks a lot
How can I resume the application when Notification is clicked?
Hello. I want my application to resume when users click Notification which the application create. Is it possible?
Removing applications from my, Your Applications page.
Please help, I want to remove all applications from my, Your Applications page. As I am new to appcelerator, I am testing the Titanium Developer. I really need to remove all applications from my account. Please help Martin
TableView UI Issue
I have a table view that is populated upon getting the current location & also if the user clicked on the Refresh button. There seems to be a UI bug. There are extra row lines which I'm assuming was left on the previous time the table was populated....
Set accelerometer update interval?
Hello. I'm a new appcelerator user and so far I'm really pleased with how easy it is to start building mobile apps! I've been working on a mobile app that uses accelerometer data, and was wondering if there is a way (through the appcelerator API) to set...
from webview open gallery
In a webview I am using a simple app listener call ~~~ /////////////OUT TO GET PICTURE function getpicture(idhere) { var outinfo = {theid:idhere}; Ti.App.fireEvent('webViewToAppPicture', outinfo); } ~~~ Then the app listener...
Textfield focus on toolbar
Hi guys, Great API. Question: I have a window (on iPad) with a toolbar child added; on the toolbar are several items: 1 textfield, 3 buttons. I would like, when the window opens, to force focus on the textfield (and have the keyboard popup). Unfortunately,...
KitchenSink not working
Hi, I've tried running the KitchenSink using Android 1.6, 2.2 and 2.3 and it failed in all case. I'm on Titanium 1.2.2. This is the log I get: Info log is [here](http://pastie.org/1520147) With [debug](http://pastie.org/1520149). Any idea what's...
how to debug iPhone app crash?
I have an app that runs fine in the emulator but crashes randomly on the device(usually about once a day). How does one determine what caused the crash? My app mainly consists of http network requests, tableviews and webviews. Heres whats reported in...
Click event on a view
I have a click even on a view and I want to give the view some custom properties that I can read back in the click event. Am I able to set custom properties on a view like I am a window? So far I am not able to figure it out.
Newbie: What to use as editor/debugger?
I'm trying out Titanium for iPhone development primarily. Previously I was a .NET Developer, so I'm used to Visual Studio having everything integrated. I'm not used to developing on my Mac, other than a bit with XCode. I would appreciate any suggestions...
System level commands
This is probably a very easy task but how do i run a system level command such as START myapp.exe
Titanium 1.2.2 Mobile and Andorid not working on OS X
Installed 1.2.2 and all of eh packages required - both Android 8 and Android 9. Using OS X Snow Leopard (10.6.6) Xcode and iPhone simulator work fine (SDK 4.x) Followed every thread I can find and not matter what, If I choose Android" in Build and...
How do you disable the Return key in the keyboard when a text field is empty
Does anybody have example code/link to example code of how to disable the return key when a textfield has an empty value. I'm thinking I need to add an event listener, but not sure how to disable the key itself
Getting a Picker value
iOS SDK 4.2, Titanium SDK 1.5.1 Is there any way to retrieve a Picker's value, without using change on it directly? I want to be able to hit "return" on a keyboard and get a Picker's value. The only thing I can think of is to `fireEvent` the...
imageView and croppinh
I need to place an image in a container that is 300(w) x 200(h) Loaded images, not from the FILE SYSTEM will be wider than 300 so I will simply make them 300 and place them in the view. Whatever is hanging beyond the 200 mark, should not show. The height...
Possible to integrate Python libraries into Ti mobile apps?
Hi, I'm doing the preliminary research for a new mobile app and found some nifty Python libraries that do some of the things I have in mind. I know that Titanium *uses* Python to generate code, but is it possible to integrate Python code into an...
sending image over HTTP causes memory allocation error
I'm building an app that posts images from the iPhone to a website, and I'm running into an intermittent problem where the upload fails with the error "The operation couldn't be completed. Cannot allocate memory." Here's a screenshot of the...
Crazy build problem - potentially something in the code?
I ve been building an app for a while (not my first, so i guess it's safe to assume i'm quite familiar with Titanium and developing/building/deploying apps with it). I've been testing the app on my iphone for a few days. Today's code changes however,...
Window scaling for different device screen sizes...
I'm trying to figure out how to properly scale my app so it looks the same across multiple devices with different screen sizes and aspect ratios. If I could specify my UI elements in terms of percentages, that would be ideal as I wouldn't need to know what...
Showing 36,701-36,750 of 47,507 1 … 730 731 732 733 734 735 736 737 738 739 740 … 951