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 Unexpected Crash in 1.6.0 - External Images still not correct working
Hi all, I still get crashes on Android with external images. Verified with "Titanium SDK version: 1.6.0 (01/29/11 17:49 f9036ef...)" under Windows and under Linux. Works perfect under Titanium SDK 1.4.3. Tested using API 2.1 Simulator and 2.2...
Encryption/Password Protection of SQLite Database
Is there a way to encrypt a SQLite database in Titanium Mobile yet? In the app I'm building, most of the value is from the structure and content of the database. I'd like to keep people from having easy access to it. I realize no encryption or...
Undocumented Feature? Window.home return to first window in tab
I saw a code snippet that shows the following ~~~ var win3 = Ti.UI.currentWindow; .... win3.add(btn_home); .... btn_home.addEventListener('click', function() { win3.home(); win3.close(); ~~~ When btn_home is clicked, it returns the user to the...
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...
content:encoded OR description
Hi! I'm working on a simple rss reader. Some feeds use the 'description' tag instead of 'content:encoded', and I can't figure out how to make my app choose 'description' if 'content:encoded' isn't available... If i call for 'content:encoded' when it's...
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)?
No Android Emulator Option Available Only iPhone
I recently downloaded the laster Android SDK r9 and installed all options and versions. I validated my android environment settings and then proceeded to create a new mobile project. Both the iPhone and Android SDKs were identified successfully. When I...
Portable Installation of Titanium Developer
Is there a way to install TD on an external drive, such as a USB drive of some type (flash or otherwise)?
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...
ClassName does not overwrite selectors in jss files
For Android APIs 2.2 using the continuous build from 2/2, I have the following global.jss file: ~~~ label { color: "#c5f30d"; } .highlight { color: "#FF9933"; } ~~~ in my code, i create a label: ~~~ var label1 =...
Android Contact Picker Intent Help
Hi, I'm trying to use Android intents to get a contact picker started so I can get back a phone number. I can't figure out how to actually get a result back, let alone know what I'm looking for in the result. Is there a correct way to get a result and to...
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...
Compile,. Rebuild application after changes !
Hello everyone, Im a smart phone developer who is in charge of testing out mobile x-plataform frameworks to see if they are usable and mature enough. First things first , I installed titanium developer, tried out the sample application and now created a...
kitchensink is not getting launched into the android emulator using TI.SDK in windows7
I am new to this titanium developer and i am trying to execute this kitchensink application in both android and iphone, its working properly in iphone, but its not getting launched in android.In trace i am getting [TRACE] I/CheckinTask( 259): Sending...
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...
Horizontal and Vertical Page Swiping on iPad
Quick question, is it easily possible to setup page swiping for iPad applications? I would like the ability to swipe horizontally to view different articles, and tall articles will have the ability to swipe vertically to see the next page.
Titanium mobile SQLite and FTS
Hi, Does T.Mobile support FTS3 or FTS4 (full text search) ? Regards Armindo
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...
Imager viewer issues - looking for something similar to coverflow
Hello, Sorry for the noob question.. I am trying to create a simple image viewer that rotates through images using a left and right button that will work on Android and Apple. Something very similar to the coverflow example for iOS found in Kitchensink...
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
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.
Showing 36,951-37,000 of 47,781 1 … 735 736 737 738 739 740 741 742 743 744 745 … 956