Community Questions & Answers
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.
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
Showing 36,901-36,950 of 47,715 1 … 734 735 736 737 738 739 740 741 742 743 744 … 955