Community Questions & Answers
webview
hello sir, here i creating the web view but it crashes the app,in my code any problem var webview2 = Ti.UI.createWebView({ top: 10, height:100, width:100, left:210, scalesPageToFit: false ...
Facebook Fan Page
Hello, I was wondering if anyone was able to help me here. I want to get a group page (or even a fan page) wall feed on my app. when you open the tab. i was wondering if any one knows how to do that? Thanks so much in advance -> all good i found...
System tray icon for mobile app
Hello. How can I make a system tray icon for my app (Android and iPhone)?
Sip based softphone as custom module for Titanium?
is anyone working on a SIP-based softphone module?
Permanent android menu
I want to have a menu that is always avaible in my app, right now i am using this to activate my men ~~~ var win1 = Titanium.UI.createWindow({ title:'Favorites', backgroundColor:'#000', url: 'AndroidMenu.js', navBarHidden :...
Desktop Zeroconf Module
I know that the Bonjour module is only available for iPhone but I've seen several references at Lighthouse, including some samples, to a Zeroconf module. Is this available yet or is it to be included in a future version of the SDK? Is it/will it be...
iphone - Camera within navigation group child page breaks title
Hi again, A quickie, I have a navigation group set up with just a single parent -> child relationship. In the child window I have a button to use the camera, when you click on this it launches the camera window (This all works). When you go through...
Kitchen Sink - Error With Android Emulator
I installed both Appcelerator and the Android SDK yesterday. I installed all components of the Android SDK. So far I've been able to get the Kitchen Sink app working on the iPhone emulator but not on the Android emulator. It gets as far as installing the...
Javascript vs Titanium API
Hi, browsing through the tutorials, I saw there's Titanium API which is meant to speed up the development process. I would like to know if I don't use Titanium API but instead create using Javascript and CSS, is that possible? E.g. creating an alert box,...
No "Install Now" button for Android
Running Titanium 1.2.2, I have two similar apps. One was developed using the HelloWorld framework; the other was developed by someone else using Titanium for iPhone. In my Android environment I can build both projects with no problem. Both run in the...
Build fails after deleting project and renaming
hi at some point my project crashes - normally with a database error thereafter it wont compile or if it does i need to try about 4-8 times before it builds if i delete the project and create a new one moving my app.js file to the new projects resources...
Solution: Thumbnail Viewer Example
Hi all, I just wanted to share some code that allows you to create a really lightweight grid-like thumbnail viewer of remote images with paging (iPhone only right now). And most important is that is has no memory issues, so it doesn't crash :) You can...
Custom Home Screen Before Tab Groups?
Hello all, I've recently decided to take the jump and build my first app using Titanium. I've searched the developer API's, Kitchen Sink, and these forums but cannot seem to find the answer. Essentially what I'm trying to do is after the splash screen,...
AHHGGGGGG! I'm about to go to Obj C!
Every time I build using 1.5.1 I get this. Then I have to fix a png file for it to build. COME ON GUYS! Let's get fix this stuff. I'm spending more time debugging my Appcelerator projects than what I'm supposed to be saving by not using ObjC. [DEBUG]...
Custom AndroidManifest Woes...
Alright, so I am really wanting to start using tiapp.xml to write into my AndroidManifest.xml so I don't keep having have to build, copy+paste, rename to androidManifest.custom.xml and compiling again, etc. But whenever I try adding: ~~~ <android...
Multiple XHR requests lock simulator and iphone
I have an array of four blog urls that I am trying to loop through and grab each feed. I am using a modified version of the KitchenSink rss.js code and am finding that it locks my iphone simulator when i run it. It is a bit better on the iphone itself, but...
NS Exception When Creating Matrix
Hi all, I'm trying to create a 2D matrix so I can rotate a view 90 degrees. The problem is I cant even create a 2D or 3D matrix as I keep getting a NSException. I've tried creating a new project and everything is fine, it just wont work in my existing...
Free to develop an App for Commerical Business
Hello I work for a company in Australia Sydney, & we wish to develop an app using appcelerator that we intend to sell. *Do we need to purchase a subscription/licence to publish an app because we are developing for commercial reasons?* Any info would...
Titanium Desktop - Drag & Drop
Hi, First of all congratulations on what could well be a massively successful platform! We are in the process of evaluating your products as a cross platform alternative to Adobe Flex/Air. However, we are trying to get drag & drop working in a TD...
How can I change bottom tabs of Kitchen Sink
Hello All, I am new in Titanium. I have downloaded Kitchen Sink and its working fine I was able to change content of the pages how ever currently I want to know how can I change the bottom tab (Base UI, Controls, Phone, Platform, Mashups). Please advice....
Weird UI Crash from UIKit
Anyone seen this one before... bool _WebTryThreadLock(bool), 0x6b0f470: Tried to obtain the web lock from a thread other than the main thread or the web thread. This may be a result of calling to UIKit from a secondary thread. Crashing now... happens...
Can Titanium+Geo be used to create web app?
Sorry if this is a silly question. Can Titanium+Geo be used to create web app? Because the documentation page (http://developer.appcelerator.com/documentation) only contain information about creating Desktop and Mobile application. Is there any...
Is Entourage still alive ?
Hi Appcelerator Team, I am technology evangelist and was following Appcelerator almost from its early stages, where it came up with a concept of SOA on client side UI with Appcelerator SDK. Was nice to see Entourage to develop web applications. I missed...
Titanium.Utils.base64encode(...) ends in TypeError on Android
I'm trying to call a https url and provide username and password with basic authentication. I found an example as below. But calling the `base64encode` function ends in following error: `TypeError: Cannot call method "base64encode" of undefined...
Geolocation - distance from point of interest
Hi, i'm trying to code a tableview containing a list with points of interest with indication of the distance from the user (sorted from near to far). I have an sqldatabase with my poi's but can't sort out the 'distance from user'-thing. Does any of you...
Problems with Touch events
hi, with every app I've compiled with sdk 1.4.3 or newer, touch events do not work at all; anything that requires touch does not even trigger. Touching on tabs, however, works fine. If I use sdk 1.4.0 or earlier everything is fine. I'm using Android Eclair...
Desktop Updates / UpdateManager
Is there any documentation on the application update process? I've looked into the source for UpdateManager and can't figure out how app updates fit into the system since the server code isn't public. Can we manually trigger a check for an application or...
urbanairship & android
Is this feature/module a paid feature? If not is it shipped by default? Has anyone gotten it to work on android? Pls help. Thanks!
Localization // How to decode &-sign in strings.xml
I have a strings.xml file with the following content: ~~~ <string name="kategorien_data_Villen_title">Villen & Fincas</string> ~~~ When trying to run the app in the iPhone Simulator i get the following errors: [Log...
How to add/maintain Frameworks?
I am experimenting with the tibar module which requires the addition of several frameworks. The instructions tell you to open the project in Xcode add the Frameworks, and build. This allows you to then run the project in Developer. However, when...
Location of .js files in Xcode project
When you open a project in Xcode, where can you find the .js files from your Resources folder? I see Classes, Thirdparty, Other Sources, etc. Thanks!
Can you send a SMS on Andriod?
Hi Folks. I know this cant be done on iOs, but is it possible to send an SMS message from a Ti app? Many Thanks. Jason.
Titanium code works in iOS but not in Android
Hi, I'm looking for a Titanium Android developer to help out here. I have created a number of simple iOS apps in Titanium. When I run on Android, they don't completely work properly. I'm looking for a developer who can make the code work on Android. For...
Going from Android to iPhone
Since I only have a Windows box (right now) I built my first app on Android. I'm happy to say its being successfully used on the Android Market (see: http://goo.gl/ZBGLz if interested). I'm going to be getting a Mac soon but wanted to get a head start...
Programmatically iterating through Photo Gallery - iOS
Guys, can you help? Is there a way that I can let the user select a gallery and then, programmatically iterate through the photos in that gallery and access the information? pseudo code: ~~~ gallery = user_selected_gallery(); for each (photo in...
Titanium.Network.createHTTPClient() not available
I just created a new mobile Project. That one worked. After adding some Network functionalities it always end up in `TypeError: Cannot call method "createHTTPClient" of undefined (app://app.js#67)` Neither `Titanium.Network.createHTTPClient()`...
All steps necessary to rebuild the build dir (1.5.1)
Hello, Titanium IMO has a very weak point: because of a reason I can't reproduce, the build code seems to be scrambled in a way, that makes the build crash in the iPhone Simulator. e.g: I have a working piece of code, then I change something that doesn't...
Titanium.UI.currentTab.open duplicating windows / window not closing?
I'm developing an iPhone app at the moment using Appcelerator Titanium which has 3 tabs in a tab group. My app.js can be found [here](http://pastie.org/private/zoignwv05l9t6pbrfm01dw) In the 'Company Search' tab group, I've been working on a Table View...
video
In the photoFile -i get the file of the video activeMovie is the videoplayerinstance photoFile = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory,+millseconds+'.MP4'); activeMovie.show(); ...
VideoPlayer
After Recording the Video i need to create the thumbnail and place it in to the imageview
HTTPClient
hi every one i'm using suds for soap call and it works fine but for the second time i use it,... the xml is ok i checked,... i get these in log cat: 02-22 15:16:38.216: ERROR/TiHttpClient(342): (TiHttpClient-2) [16,199598] HTTP Error...
Transparent window background with non-transparent imageView
Hi everybody, I am coding a window which needs to host a imageView. The window itself has a background image and I set the windows's opacity < 1 hence the background image could be blended into the window's background color. On top of the window I...
Packaging Time out error
Hi I am trying to build a simple desktop application but from last 3 days I m getting same error at the time of packaging ---Packaging Failed time out --- Can any one tell me how to solve this issue? packaging was working when i have not added code for...
Making a call with android
Tried this: var intent = Ti.Android.createIntent({ action: Ti.Android.ACTION_CALL, url: 'tel:0123456789' }); intent.addCategory(Ti.Android.CATEGORY_LAUNCHER); Ti.Android.currentActivity.startActivity(intent); but get the following...
AJAX JSON GET returns double, ClassCastException
I'm using XHR to call a RESTful webservice which works fine with PhoneGap/JQuery. The webservice is called without a problem, but the return data crashes the app with [TRACE] D/TiApplication( 483): event=ti.crash [TRACE] D/TiApplication( 483):...
Custom Dialog box
Hello, I got an issue with titanium :) I have a table view and i would like to add a dialog box. I used "createOptionDialog" but it's a dialog box with choose to tick. I want a custom dialog box with custom items on it as a input text, maybe 1...
Video
hello, here how i need to detect the given event is image or video here i attached the sample code Titanium.Media.showCamera({ success:function(e){ photo.image = e.media; ...
Button Opens Webview and Url
I'm stuck with having a button open a new window that shows a full url (http://mysamplesite.com). ~~~ var b1 = Titanium.UI.createButton({ image:'images/site.png', width:160, height:95, top:10 }); b1.addEventListener('click', function() { var win =...
Titanium Developer can't find adb.exe
I have problems to set the android sdk. The dev environment tells me not finding adb.exe or android.bat in /tools directory. But in SDK r09 downloaded from http://developer.android.com/sdk/index.html , adb.exe has been moved to /platform-tools. Any ideas...
Showing 35,951-36,000 of 47,483 1 … 715 716 717 718 719 720 721 722 723 724 725 … 950