Community Questions & Answers

Titanium and the Android MarketPlace

I cannot get my app, built with Titanium, to show up in the MarketPlace on a device. I can find it via web portals to the MarketPlace, but never in a device or simulator. Scanning the QR code from the app listing on a web portal tells me the app is not...

Android Performance

I am just getting started with Titanium after developing some native apps on both iPhone and Android platforms. I wanted to what the performance was like to do some RegExp parsing of HTML. The iPhone simulator works very well and to parse an example...

Android APIs 2.2 & GPS

Hi, I'm finding that I cant get any GPS locations if I select Android APIs 2.2. Even from Google Maps I cant get my location to work. I've used the geo fix command (just the same as I do with other API versions) and no luck. Is this a known issue or am...

How to: Create project without Android SDK installed.

Hi I want to evaluate this tool by building running simple application for iOS. I have no interest in Android at this time and do not want to install Android dev env. In developer, my iOS SDK is recognised and Android SDK is not found. The create project...

327 views
asked 2 years ago by Robbie Elliott
last activity 2 years ago

Styling a "Switch"

Is it possible to take a switch and change the location of the indicator graphic (e.g. put it above the text or to the side of the text)?

can i have Custom Spinner ?

**Hi,** >i'm new to titanium, i want to create a custom picker or spinner like one of date, with + and - sign up and down of that field, but instead of date i want to have a simple number so i can use min/max like we can use in date picker.I want it for...

label in overlay does'nt want to move

Hello, I have a label in camera overlay for augmented reality program. In a separated project, I have done a view which display a label depending the position and the Titanium.Geolocation heading event, it works perfectly. Now, I want to do this in a...

dynamic window on tab

Hello everyone, how I can automatically generate a window from a tab, the I have tried in various ways, the closest thing I could do is this and that if I go to the tab zero, I left over the window 2 created...

Get data from WebView

i have problem with this app.js ~~~ ... var webView = Titanium.UI.createWebView({ url:'http://my.com/test.htm', height:'auto' }); Ti.App.addEventListener('remote', function(e){ alert(e.a); }); ~~~ and my html js code is this ~~~ ... <script...

PDF Generation

Does somebody know about any way to generate PDF-files? Basically I don't seen any solution in the long term with titanium. But maybe there are based on PHP / kroll... or is it possible to extend titanium with a module to do so? Any idea might...

Grid Layout

Hi, I would like to display data on titanium in a GridView layout(i.e rows and columns under fixed headings). Can anybody suggest me how shall i go about it. Thanks!!

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

Showing 36,951-37,000 of 47,781 1735 736 737 738 739 740 741 742 743 744 745956