Community Questions & Answers
Keeps telling me it can't find Java
I downloaded Titanium today to look at its mobile environment. I have the Android SDK installed and the Java SE 1.6.24 installed, however, anytime I try to start a mobile project in Titanium, it tells me Java not found. I've tried uninstalling and...
passing variables
Hey, im new to this and i cant figure this out by the examples... I hope someone could show me how its done. In my app.js i have created 3 tabs that displays other .js files. In my first tab i load data from a database and i need to get a variable from...
What's a good way to know if a view is open or added?
I need to determine if a window is visible (if it has been added or opened). What's a good way to do this?
fullscreen:false and variable scope
Hi all, I'm trying to write a bit of code with a variable shared between a master file and an included child (as below). Here's my problem; when the initial window has a fullscreen value set, the included file can't see the 'm' variable (when I comment...
Titanium Pro & XP SP3
A very good morning! I cannot get titanium developer to work with XP I've installed the latest JAVA JDK & JRE It all comes down to the following error(s) [ERROR] Required jarsigner not found [ERROR] Required javac not found [ERROR] Required java...
[bug] Ti Mobile 1.6RC1 CreateScrollView
This seems to be a regression since it works in 1.5.x. Building a window with a ScrollView crashes the application. iOS: 4.2 Ti: 1.6RC1
how to transmit variables between two windows
hi, i have two windows, the first : ~~~ row.addEventListener('click',function(e) { var winArticle = Ti.UI.createWindow({url:"article.js"}); winArticle.open(); }); ~~~ the second window : ~~~ var winArticle =...
Which audioplayer for streaming mp3 on demand
Hi, I want to play an on demand mp3 stream, so no live streams. I also need to be able to jump to a time position in the audio and play from there, but progressive download is no option while the audio files could be large. I need an implementation for...
How to show the title on a local WebView ?
Hi, I use the Local url on the WebView for showing local html files. But on the local Webview, I dont' see the title of the page. I read that lot of people have the same problem but for the remote webview not for local webview. Someone has a solution...
UTF 8
hi, how to display an arabic text which are based on utf8 ? thank you
SHA1 Digest in TItanium Andrpoid
I am using this method : Ti.Utils.sha1("11") to get SHA 1 digest . It works in iPhone. But I get "can not call method sha1 of undefined " error when using it in Android. Can some one say what is the problem?
Titanium erros on building my first iphone app
Hi all, Got this error by compiling my first app, even with no code from me : [INFO] Performing full rebuild. This will take a little bit. Hold tight... Traceback (most recent call last): File "/Library/Application...
Problems getting started...missing Info.plist.template
I am trying to get started with Titanium, but I'm having a problem launching the iPhone emulator running the demo KitchenSink app. I'm running 1.2.2 of Titanium Developer, and I've got XCode 3.2.5. I've downloaded KitchenSink and imported it into...
How to create a custom keyboard?
Hello, I need a simple custom keyboard, only numbers, dot, delete and save button without any other option? Is this possible? Best regards
How can I run a mobile app in the background
Hello. I need to run my app (for both Android and iPhone) in the background, with a tray icon. How do I do this? My app will regularly connect to a server and check if there is anything new. So the user starts the app, do stuff, then when he exits the...
Problems to open a WebView with Link
Hello everyone, I have some troubles to open a WebView after pressing a button that is in a row of a tableview. Here is a excerpt from my code: ------------------------------------ var button = Titanium.UI.createButton({ title: 'Link' ...
tableView - RSS feed
I have question : how to fil articles tab dynamicly and display contents in tableView : i tried this but it's not working. thank you ~~~ var articles = Array(); var client = Titanium.Network.createHTTPClient(); client.onload = function(e) { var doc =...
Titanium.Network.createHTTPClient()
I cannot connect to the web, i would like to read a remote xml file ~~~ //source articles var articles = new Array(); var client = Titanium.Network.createHTTPClient(); client.onload = function(e) { var doc = this.responseXML.documentElement; //this...
Image compression
When I take a picture and send it to my website, the files are very large. (iPhone 4 takes even bigger pictures) There must be a way to reduce the size of these images, but I haven't found anything yet. Any suggestions?
Unable to configure Android on MacOSx
Hi I unzipped Android SDK in /Developer/androidsdk , I then ran ADB which downloaded the 1.6 level 4 API. Now in Environment Settings I am setting path as /Developer/androidsdk then it says: "Couldn't find adb or android in your SDK's...
Titlebar Map Button Question
Hi, i'm trying to put "map" button in the titlebar, and when you click it, it opens "map.js" file. Can someone please look at my code and help me figure out what i'm doing wrong? var btnMap =...
SQL server and/or Sharepoint
what is the best approach to access remote data from an iphone/android etc... The data resides on SQL server or SharePoint.
Set position & zindex
Can't I just set the position of an image view with something like: image.left = 10; And whenever I try: image.zIndex = 10; The app crashes on Android!
Adding property to the view
Hello friends, i have been working with Titanium Appcelerator for about 10 days and it's really cool. i have a view in which i've created 8 subviews .. and i made a function to handle the click event of the small subview .. but i wanna add an id to each...
Android and orientationchange problem(s)
I'm bumping into what seems like a Titanium-bug here - consider the following scenario in APIs 2.2 and Titanium 1.6 -> I have a window with a background-image, thats set to \Resources\android\images\res-long-port-hdpi\test.png the app picks it up fine,...
Controls do not render in tabbed windows
I have created two windows in two tabs in a tab group. It is almost identical to the initial code generated for a new app. Both tabs have the correct title, and the tab bar has the correct icons and switches tabs correctly. Unfortunately, any control that...
TabGroup
I'm writing an iphone app that uses a tabgroup. I created the tabgroup and added my tabs but when I open the tab group it automatically opens tab 1, I'd like to display something in the windows and have the user decide what tab to open. Is this a default...
Error while Building KitchenSink
I've tried to run the KitchenSink with android emulator through Titanium but I keep getting this error: <script src='http://pastie.org/1583785.js'></script> I couldn't find the same error in other questions. My Android SDK is properly set...
Error in compiler
Despite having compiled and run my project successfully in the Android emulator (under Win XP), I now repeatedly get the following error message for source code that previously worked OK. I've no idea what's wrong. Can anyone help? Thanks. Error in...
unable to delete temporary files
I'm trying to delete temporary files that get created during an HTTP post operation. The files end up on the SDCARD root directory and all begin with 'tixhr'. When I run the code below I get this error: "TypeError: Cannot find function deleteFile...
Android File Upload
Had this working in 1.4.3. But, since upgrading, I'm unable to post an image to a JSON Webservice via an HTTPClient send request. iPhone is fine. Android is the issue. It seems to stringify the blob/file I'm sending. Anyone else experience this...
Advanced Layouts and Styles
When I learned programming and web development I learned the complex stuff by dissecting sample apps and reading source code. Unfortunately, I cannot find any beautiful interface samples to dissect and learn from. Advanced styling is probably the one...
Website does not zoom in completely
I'm showing an external website in a webview. The website however does not fit into the page. What is is that I'm doing wrong. var window = Titanium.UI.createWindow({ backgroundColor:'#cc0000' }); window.orientationModes = [ ...
Application Restart Require then Crash then everything OK?
I just submitted my first app to the Android Market, how exciting! However I found something that is quite frustrating. After install the app from the market is shows a message "Application Restart Required" then you click OK, then it restarts...
Transformed slider rendering appears broken on Android
I have a simple slider that has a slight rotation (10 degrees) and it appears overdrawn by itself as the slider button moves from left to right. This only happens on Android (2.2) - it appears OK on iOS (4.2) It looks like it is being clipped/masked by a...
Updating picture gallery after adding or deleting a picture
I am creating a picture gallery app that allows people to add or delete pictures from the gallery. The main view of the gallery is on a tab within the app uses a gallery.js script to generate the gallery when it is clicked on. I want to ensure that the...
bug: sometimes "setTimeout" doesn't work on Android
Hi, Sometimes setTimeout works, sometimes setTimeout doesn't work on Android. Are there some conditions to make it work always? Versions: Android APIs 2.1&2.2 and Titanium 1.6RC1 I tried the following simple code based on the app.js in the default...
My ANDROID app works in emulator, dev phone, but not on MARKET app.
I find this a real pain in the butt, but I can get an app working perfectly on the emulator and on my development phone. But when I upload the app to the Android Market, some of the features are not working. I have DDMS running on the droid phone, and I...
bug: setContentInsets() is undocumented and not supported on SDK 1.6.0
note that setContentInsets() method of tableView object is undocumented and not supported on SDK 1.6.0 use scrollToTop() instead titanium mobile SDK: 1.6.0 iOs
Problem parsing XML with href='#idx'
This is the XML I'm trying to parse ~~~ <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"...
Playing WAV with AudioPlayer fail
I'm trying to play a WAV file with AudioPlayer on Android (SDK 1.5.1) from an HTTP location. The initialization of the AudioPlayer fails with java.io.IOException: Prepare failed.: status=0x1 see full Trace here: https://gist.github.com/835047 Is it...
Loading the html/javascript/css from a server
Hi, I am needing to build an iPhone application that will have some of it's content dynamically generated and I am trying to establish if what I am needing to do is possible with Appcelerator. I am looking to build a hybrid application where some of the...
Bug tracker?
Hi Everybody, Is there a bug tracker where I can file bugs instead of posting them here in the forum? I've the feeling that some of the bugs posted here get lost. In particular tracking would be nice to see if it is actually solved.... greets Daniel
ScrollView horizontal scroll not working.
Hello. I have a scrollView in my app (for Android), but I can't scroll horizontally. (Vertical scrolling works fine though.) I have tried adding a View, and toying around with the input parameters of createScrollView. The code can be find here:...
Moving row to end of previous section crashes the app
Hi, [This code](http://pastie.org/private/xzqyuhvhkb1qwqm0e0rvew) crashes in the iPhone Simulator when doing the following steps: 1. Click the "move" glyph of one of the rows from the second section. 2. Move the row to the END of the first...
Ti won't build code
Everything was working ealier and every since I tried to Build a Package its been crashing. Can't Build for Itunes or Build to Distribute or even build for simulator. ~~~ File "/Library/Application...
How to manage Android Navigation
file app.js var win = Titanium.UI.createWindow({ title: 'My Root Window', backgroundColor: "#fff", title: "Vocab", exitOnClose: true }); var btn1 = Titanium.UI.createButton({ title:...
Twitter OAuth... Any help?
So today I got Facebook working on my app using the new [Ti.Facebook APIs and modules](http://developer.appcelerator.com/blog/2011/02/facebook-module-changes-in-titanium-mobile-1-6-0.html). What I'm having problems now is getting Twitter working. Basically...
bug: scrollEnd event is not returning negative contentOffset.y titanium SDK 1.6.0
this is bug report: titanium SDK 1.6.0 iOS i am trying to integrate pull to refresh from kitchen sink example (https://github.com/appcelerator/KitchenSink/blob/master/KitchenSink/Resources/examples/table_view_pull_to_refresh.js) i am expecting getting...
Couldn't find module: ti.facebook + ARti
Hi there, I've downloaded mobileSDK 1.6.0RC1 so I could run the newly released ARti but I get the error message: [ERROR] Script Error = Couldn't find module: ti.facebook. The github download I've been directed to seems to be for Android. Any ideas, or...
Showing 36,301-36,350 of 47,728 1 … 722 723 724 725 726 727 728 729 730 731 732 … 955