Community Questions & Answers

webview and tab

hi im trying to make a tab with text plus a webview for my android app but i only get ReferenceError: "webview" is not defined

Does the Apple in-app purchase work on Appcelerator

Hi All I do realize that this is not the first time this question is being asked. But then I haven't seen a definite answer either. Can we integrate the Apple in-app purchase using Appcelerator? If so, what is the amount of inbuilt support one derives...

3D Help Needed

Titanium SDK 1.5.1, iOS 4.2 Can someone please tell me how to do this "simple" 3D transform in an animation? Example: <a href="http://cl.ly/413K0o3h0M1m0I420q1T">http://cl.ly/413K0o3h0M1m0I420q1T</a> Thanks!

How to layout a table view row like a facebook app?

Hi, I'm trying to layout a table view row on Android as following screen shot: http://www.neowin.net/images/uploaded/FacebookAndroidFull.jpg A image in the left, and texts in the right. The texts are vertical but the bottom comment count and the like...

Urban Airship not registering Device Token?

I set up Urban Airship using [this](http://guides.appcelerator.com/en/push_notifications.html) guide by Titanium. I used the [correct code](http://pastie.org/private/wyw2xboxlstpww7g10mhmq) in my app.js, but whenever I launch that on my iPhone 4, in the...

Animating multiple objects

_Titanium SDK 1.5.1, iOS 4.2_ I'm trying to animate two different objects at the same time using a "doubletap", however I can't seem to get it to work. Here's generally what I'm trying to do... ~~~ // for this example, product contains two...

Looping through Tableview to toggle selected row

Hey all. I've been hoping/waiting for the awesome appcelerator team to create the functionality similar to iOS MAIL where you can click EDIT and select multiple rows. I can't wait much longer so I am trying to do it myself. Each of my rows have the...

Once animation starts, view no longer reacts to add

here is my setup: I have a pureMVC simple command to setup mediator of a screen ~~~ ScreenAccountTypeCommand = new Class({ /** * Required by MooTools for inheritance. * @type Class */ Extends : SimpleCommand, execute : function(...

Losing EventListner on reopening window

Hello, In my window in android app, I have some event listener on labels or buttons, the first time I open the window all works perfectly, but when I close the window and reopen the window, all my EventListener don't work at all, no error message, no...

Open new window with slide transition

Hi, I'm using this method: ~~~ var t = Ti.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT; page2.close({ view:win, transition: t }); // when I open // page2.open({ transition: t }); ~~~ but I don't want a flip transition but a simple slide transition...

1,244 views
asked 2 years ago by Enrico Luciano
last activity 1 year ago

Navigation

Here i create the navigation and place the barimage on the navigation and i place the button in the RightNavigationBar when i Select the cell it push in to the another window when i get in to back the the button in the RightNavigationBar is missed what is...

Facebook login with 1.6 RC1

I'm having problem with Facebook functionality in 1.6-RC1 on iPhone. When you press the Login with Facebook-button it opens in Safari or the Facebook-app. I also tried the latest KitchenSink from github, and it doesn't work there either. I've tried...

Installing KitchenSink on Android

Hi, I am using a MAC with OS X 6.6 and got the following errors. Can anyone help? [INFO] Launching Android emulator...one moment [INFO] Building KitchenSink for Android ... one moment [INFO] plugin=/Library/Application...

Date

Where i am reteriving the datas parsing Xml from various Blogs and store it in to the tableviewrow but i dontknow how to sort by date, Here i attached the samplecode, function feedReqItems(feedReqList) { for (var j=0;j <...

Buttons and TableView in one window

i have created two buttons in my child window that already has a tableView. However, when i run it in the emulator, both buttons and tableview appears BUT when i scroll, the tableview scrolls, however the buttons stays stationary on the screen. How do i...

How to create label inside string

Hi I need to create label inside string. like in web we are able to add anchor tag inside string and we will add click function also. var string ='please click here '; In html we can write like: var string ="please <a...

658 views
asked 2 years ago by nishant jain
last activity 2 years ago

OptionDialog

var dialog = Titanium.UI.createOptionDialog({ title: 'Hello', options: ['Option 1','Option 2'], cancel:1 }); dialog.show(); when i create the option dialog it crashes the app what is the pbm

AlertDialog

var popAlertView = Titanium.UI.createAlertDialog({ title:'Alert Test', buttonNames:['Change Your City','Manage Blog Subscriptions','More Apps','San Antonio Joe Blog','Friend on Facebook','Follow on Twitter','Advertise With Local...

How to resize a photo?

I'm trying to take a photo with the camera, then add it to a window and resize it to be the exact shape and size of the phone's screen. The problem is depending on the settings of your camera, the image ends up being anywhere from postage stamp size, or...

Packaging Error

I've just finished off my first iPhone app and I've had it running on the simulator and on my iPhone working fine. I tried to package it to put it on the app store and it comes up with this error. I have followed all the instructions on the distribution...

Turning on Analytics

I have a customer AndroidManifest.xml, what is the proper way to turn on analytics? I'm looking for basic functionality (e.g. # of times run, installed, etc). Do I need to add any code to my app for this? Thanks.

Displaying lots of HTML content

I'm looking into possible ways to display large amounts of local HTML content, which would seem to necessitate a WebView. Is there any way to automatically paginate the content so that it displays a screenful at a time? It seems like this might be...

Problem while creating New Project in Titanium

hello i am new to mobile developement and i am using titanium 1.2.2 and i have only android sdk is installed in my windows xp os.While creating new project in titanium it is created but in the Test & Package window in the Run Emulator i didnt get the...

Mobile Facebook Connect API + external API

I've created a mobile app which uses the Titanium.Facebook API for login since i thought it was easier than writing an own authentication system on my own API server. Logging in works fine, but now i'd like to let the user do some user-specific actions on...

[1.5.1] Window stack on Android

Hello, I'm trying to do something that seems simple but I can't get it working. I'm developing an application on the Android emulator, and I want a first window with a table view, and a detailed view for each element. The problem is that when I hit the...

App builds, but won't install.

My app builds just fine. It opens iTunes to install on my iPhone, and then it says (after backing up and install the app), An unknown error has occurred 0xE800004C. I can't even install my other app that has been on my phone before!!! I uninstalled and...

Keyboards constants do not work on iPad

The following keyboardType values do not display on the ipad as they do on the iphone: KEYBOARD_EMAIL KEYBOARD_NAMEPHONE_PAD KEYBOARD_NUMBER_PAD KEYBOARD_PHONE_PAD They just display as either default, or with numbers and punctuation. Is this a...

Showing 36,451-36,500 of 47,781 1725 726 727 728 729 730 731 732 733 734 735956