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

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?

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,...

1,380 views
asked 2 years ago by Danny Roa
last activity 2 years ago

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...

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...

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...

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...

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

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...

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

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...

2,277 views
asked 2 years ago by John M
last activity 2 years ago

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...

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...

Showing 36,701-36,750 of 47,507 1730 731 732 733 734 735 736 737 738 739 740951