Community Questions & Answers

How can I change deployType to distribution?

I used Ti.App.getDeployType() to get deploy type. It always displays development, but it is a read-only property. How can I change it to distribution? I thought it should be modify in "tiapp.xml" but I didn't see any statement on the official...

403 views
asked 10 months ago by Jerry Tu
last activity 3 days ago

Ti.API.info output buffer?

I don't see my Ti.API.info output in the console until I perform the action that generates the log calls more than once. Then the Ti.API.info output is displayed twice, as if it was waiting to fill some kind of buffer before displaying it. I've...

PayPay and Remote Views

We have created a paypal page on the server, and if it succeeds goes to a success page, and if canceled goes to the cancel page. This page is loaded in a webview. So I added this code: ~~~ echo "<html><head><script>function...

iOS and Android menu

Hi, I want to design an app (using Titanium 3.x & Alloy for iOS and Android) which is separated in several areas (e.g. schedule, news, calendar and many more). Each area provides a specific set of commands (e.g. schedule -> sync with server). **At...

Global namespace across context

Hi, I'm a newbie, I followed the video tutorial provided by AppU and I have a question about namespaces. In the video tutorial about cross-platform applications is suggested to use a global namespace in which you create sub-namespaces related to DB...

implementing time picker in iOS

Titanium Studio Version: 3.0.2.1361317434 device: iPad iOS SDK: 6. simulator Version: 6.1 Mac OS X version: 10.7.5 Xcode version: 4.6.1 Hi, i get a problem working with time pickers. The code bellows goes perfectly in Android but doesn't in iOS. It takes...

Publish App new behavior

Hi all, after update of titnaium (meybe earlier) I can't publish my iOS App any more. If I click on "Distribute - Apple iTunes Store" I get a build of an IPA but earlier I get a projectarchive in XCODE so I could validate and upload my...

working with acs

now i had make object in appcelerator cloud serves and i put this code......................... {{{{ Cloud.Objects.show({ classname: 'cars', ids: [ savedCar1.id, savedCar2.id ] }, function (e) { if (e.success) { alert(e) ...

get value from Titanium.UI.PICKER_TYPE_TIME

Titanium Studio Version: 3.0.2.1361317434 device: iPad iOS SDK: 6. simulator Version: 6.1 Mac OS X version: 10.7.5 Xcode version: 4.6.1 Hi, i get a problem when trying to get a value from time pickers The code bellows goes perfectly in Android but not...

Cant run my app

I keep getting: "[ERROR] Application Installer abnormal process termination. Process exit value was 1" every time i try to run my app whats wrong

app://

Hi, I heard about this kind of link myapp:// in iPhone or Android. what is it exaclty ? i heard that we can execute native code from webview with this method ? can anyone explain me please? thanks

Launch skype from the app

Hi, I would like to launch skype from my app. Tried with this code, but nothing happens, any idea? Hi, tried to launch skype with this code, but does not work, nothing happens: btn_skype.addEventListener('click',...

Alloy Specify a migration to use

My problem with this is that the documentation ([Alloy Migrationst](http://docs.appcelerator.com/titanium/3.0/#!/guide/Alloy_Sync_Adapters_and_Migrations)) says that it is possible to choose which migration to use by adding the timestamp to the...

iOS emulator suddenly crash

Hi, i get an error in titanium console and emulator crash suddenly. If somebody helps me thanks. im getting that in the console ~~~ [ERROR] : The application has crashed with an uncaught exception 'NSInvalidArgumentException'. [ERROR] : Reason: [ERROR]...

Override the application error. its possible.

Hi there i want to change the way the application error shows.. for example if i include js file and its not find it i dont want the Red appcelerator error view to show up.. i want to made a custom error page for my app how can i do that? thanks

Apple App ID

Hi ! Where I find function to show "Apple App ID" ? ( Not classic ID example: com.my.app ) I need...: ~~~ /Applications/<apple app id>/Library/Private Documents/... ~~~

Force Android app to landscape

Hi, is there any way to force Android orientation to landscape mode? I tried to modify the manifest the way you do in many threads in this forum, but my app simply crashes every time I rotate my device (other devices crash even before rotating). This is...

Sample CRUD app

I spent a couple of hours writing this sample app to learn how to preform a CRUD operation on a database. Here are some screen shots from the app. [screenshots][id] I will but the code up in github, after add some comments. What do you guys...

update java version

when i try to run on android emulator i get this error in cosole ============================================ - [ERROR] Application Installer abnormal process termination. Process exit value was 1 - [ERROR] JDK version 'javac' is not recognized as an...

back button causing app to logout

every time in our app we click the actual phone back button (not a back button in our app) the app exits and the user has to login again..what's the best way to do this, so that the app will still stay logged in, until the user actually hits "log...

Showing 1-50 of 547 1 2 3 4 5 611