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

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

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

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]...

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

743 views
asked 2 years ago by Lyndon Hook
last activity 2 years ago

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

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

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!

377 views
asked 2 years ago by Jaime Fuhr
last activity 2 years ago

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

1,069 views
asked 2 years ago by Z K
last activity 2 years ago

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

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()`...

698 views
asked 2 years ago by Lars Huber
last activity 2 years ago

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

216 views
asked 2 years ago by Ray Beyer
last activity 2 years ago

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(); ...

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

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

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 1715 716 717 718 719 720 721 722 723 724 725950