Community Questions & Answers
unable to disable analytics after adding any module
without adding modules i can stop analytics with this code in the TiApp.xml: ~~~ <analytics>false</analytics> ~~~ however when i add modules and create clean build even with value false for analytics i still have connection to analytics...
Register iOS FileType on Alloy tiapp.xml
Hi, I have been trying to register a file type, I have an example working on Titanium, like it has been resolved here https://jira.appcelerator.org/browse/TIMOB-4258 It has not been possible for me to replicate on Alloy, following tiapp.xml instructions...
Android theme not properly set
So I'm facing big issues with the android theme using Titanium. 1 - The default theme is always android 2.2 even if I set the minimum and target sdk to 17 ~~~ <uses-sdk android:minSdkVersion="17"...
tiapp.xml Revue compatibily?
I wanna my app (SpotFile - The Organizer) to show up in Play Store to Google Revue, but can't find out what to do. My tiapp.xml android section is like this right now: ~~~ <android...
how to app a Google Key in tiapp.xml ?
I want to use Google Place API but I need to set up the key in my tiapp.xml I guess to get it work. someone can tell me how can I add an Google Key? I'm developing to iOS Thanks
how to manipulate tiapp.xml for Hardware Acceleration in Android
Hi the animation of my mobile side is slow, i hv searched about this and i could find that Hardware Acceleration should set to true ( [ here]: http://developer.appcelerator.com/question/128042/android-30-hardware-acceleration ), but i dont undrestand what...
Facebook single sign on callback with SDK 3.0
I'm currently working on a project where a user signs in with his or hers facebook account using the facebook functions built into Titanium. I wanted to use the single sign on (SSO) functionality, and added the `ti.facebook.appid` property to my...
iPhone Only App and tiapp.xml
I am pulling my hair out on this. I am attempting to create an iPhone only app. If I choose iPhone and not iPad in tiapp.xml I get an iPad only app. If i choose iPad iPhone and not iPad I also get an iPad only app. If i choose both I get a universal...
tiapp.xml android
Hi, I am trying to hide the titlebar in android which i am specifying in tiapp.xml please see below : ~~~ <manifest android:versionCode="13" android:versionName="1.3.0"> <uses-sdk android:minSdkVersion="7"...
Android orientation in tiapp.xml
Any way of locking android only to portrait mode in tiapp.xml I would like to avoid using separate android manifest xml file
Ti.App.sdk-verison not working
I want to use the Titanium's sdk version in my application (actually show it when someone clicks the version tab). I tried to do this: ~~~ var version = Titanium.UI.createLabel({ text:"App Version "+Titanium.App.version+"...
Titanium deleting my files without my permissions(android)
Hi, Today I faced very strange behavior of titanium sdk. I am developing android application. my titanium work-space containing more than 25 demo projects. Suddenly when I tried to run my application it gives me error **the selection can not be launched...
Can't remove Camera Permission on Android app destined for Nexus 7
I wish to remove a permission on an Android app. My app has an option to use the camera but it is NOT essential that the device has a camera for the app to function and by having it there, I am unable to load the app on Nexus 7 devices. I therefore wish to...
How to add UIApplicationExitsOnSuspend key in App?
Hi, How can i add UIApplicationExitsOnSuspend in tiapp.xml .Application is getting crash after splash screen through google i go through that i am getting this error has active assertions beyond permitted time: thriugh google i have to know that...
Declaring android activities inside tiApp.xmo
Hi ALL, I am newbie in titanium studio.I am developing a mediaplayer application with lot more functionalities embedded in it.I have 8 screen in my application.I want to declare android activities inside the tiApp.xml file (like what we do in...
Default unit app property doesn't seem to be working
Hello all, I'm trying to set the default units for my project to dip but no matter what I do (including entering bogus values), my android emulator doesn't seem to pick up on the setting. I'm adding a new property to my tiapp.xml file right at the...
Allow all orientations for android in tiapp.xml
ok so regarding this question: [http://developer.appcelerator.com/question/141056/android-orientations](http://developer.appcelerator.com/question/141056/android-orientations) How do I modify tiapp.xml to support `LANDSCAPE_LEFT`, `LANDSCAPE_RIGHT` and...
Android uses-permissions
Mobile SDK: 1.6.1 I do not have anything inside the android manifest inside tiapp.xml. But the auto generated AndroidManifest.xml contains below: ~~~ <uses-permission...
Android Permissions (WRITE_EXTERNAL_STORAGE)
Hi! How can I prevent Titanium setting `android.permission.WRITE_EXTERNAL_STORAGE` as a permission in the AndroidManifest.xml? I've made several changes to the AndroidManifest directly in the tiapp.xml. I've set all the permissions I need in the tiapp.xml...
Tutorial on migrating your tiapp.xml file to the newer 2.1 format, and setting custom Info.plist values
I noticed that the 2.1.0 changelog mentioned the ability to set custom Info.plist values in the tiapp.xml file. As part of the changeover a number of tiapp.xml settings are now deprecated. If you want a working example of how to migrate your file to the...
<statusbar-style> node
I've the following tiapp.xml: ~~~ <?xml version="1.0" encoding="UTF-8"?> <ti:app...
Can one edit the default tiapp.xml file of a new project?
Can one edit the default tiapp.xml file of a new project? What I mean by that is, when I open a new project the first thing I do is edit the tiapp.xml file to include this piece of code: ~~~ <android...
Locking orientation to Portrait for Android in <manifest> from tiapp.xml
Hey Guys I was trying to lock orientation on portrait and portraitupside down in tiapp.xml in android 2.3 for kindle fire on titanium 2.0.1 GA2.. Can anyone please let me know where i am doing wrong. Thanks ~~~ <android...
How to fix publisher name and copyright name when creating new apps in Titanium Studio
When I go into Titanium Studio and create a new app via the mobile template, when I have created it, it opens up with the tiapp.xml and shows various settings including Publisher and Copyright. Instead of the correct details I have my first name, in lower...
Malformed app id for Android only
I created a project for iphone and android and entered the app name com.2kapps.washington211 No errors when just iPhone is selected but if Android is selected the error "Malformed app name" is display and I can't run the Android emulator. Is...
Validation Failure
I get this error when validating app for submission to App Store: `CFBundleShortversion should be higher then previous upload` I've changed the version number from 1 to 2 in my tiapp.xml file and in my itunes connect too but I still get this error. I...
Android - Remove ACCESS_MOCK_LOCATION from Manifest
Is there a method to remove `<uses-permission android:name="android.permission.ACCESS_MOCK_LOCATION"/>` from AndroidManifest.xml without creating AndroidManifest.custom.xml but simply editing tiapp.xml? Sdk: 1.6.3 (continuous build) MAC OS...
how to touch the tiapp.xml
I am running into an ANDROID issue. I was requested to "touch the tiapp.xml" but I do not know how to do that... some assistance please
Defining an Android background service?
According to the oh-so-reliable Titanium documentation I need to add ~~~ <android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest android:versionCode="1" android:versionName="0.8" /> ...
Iphone only NO Universal and NO iPad
Dear appcelerator people, I have a question about building an app for iphone only, when im building in t he simulator it works fine. But when i'm testing with xcode (and profile it) xcode gives me 3 targets (iPhone, iPad and Universal). I don't have the...
App Name Different on iPhone vs. iPad
I have a universal app that I am ready to submit and noticed that the name displays different below the icon on the installed iPhone vs. the iPad. On the iPad there is more room so it shows the whole name. On the iPhone it is truncated with an ellipsis...
supports-screens on Android doesnt affect the app on market
Hi, I'm trying to limit to # of devices that support my Android app. Here's my tiapp.xml code: ~~~ <android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>9</tool-api-level> ...
when you run build.py, saw an error message.
Hello I am terrible English. So I was happy to help translate. Please understand. I was studying in South Korea of Titanium App name in Hangul wanted to. So tiapp.xml file <name> </ name> was modified. But when you run build.py, saw an error...
Titanium.App.Properties.getString('mycustomparam') in Android returns null
Hello everybody. I'm building my app and loading some custom properties from tiapp.xml file. I added some custom properties ~~~ <property name="mycustomparam" type="string">test</property> ~~~ just before the root closing...
Exception: Neither the tiapp.xml nor the manifest defined "runtime_version"
When I packaging my project,have a exception of" Exception: Neither the tiapp.xml nor the manifest defined 'runtime_version'" ,is it means that I should edit tiapp.xml and mainfest files?how to edit?thanks your answers...
Line break in project description - BUG ?
Hi, I've just created a new project, changed some settings in tiapp.xml and tried to run the default app.js that comes with the new project without any changes to the code. I received the following error when running: ~~~ [INFO] Performing clean...
Analyzing with xcode gives wrong device (builded for ipad, but simulator shows small square with 2x option)
Dear appcelerator people, I want to analyze my app with the instruments tool given with xcode, but when i try to 'profile' it it will always open as an iphone app and not as an ipad app. I checked the tiapp.xml and the settings are correct. What can be...
Do Application Properties work on Android?
I've tried it with quotes, without quotes, with quotes on the strings, not the integers, and vice versa. Nothing seems to work. This is what I'm...
tag activity missing required attribute name
Hello all, So after a full rebuild of my program, I got this message when running android ~~~ Tag <activity> missing required attribute name Error generating R.java from manifest ~~~ Here is the android part my tiapp.xml ~~~ <android...
Android 3.0 Hardware Acceleration
I'm trying to activate android 3.0 hardware acceleration. Following [this entry](http://android-developers.blogspot.com/2011/03/android-30-hardware-acceleration.html) on Android official docs and [this...
Tiapp.Xml -- Commands /Extra Parameters
Is there a list or API that explains in more detail the tiapp.xml file? What will it except that is not already listed. Main reason for asking is because the info.plist pulls it data from there I am trying to add stuff to the plist but cant because it...
Unable to use custom TiApp.xml properties
Having no luck storing custom properties in the TiApp.xml file as described in the docs: TiApp.xml also supports ad-hoc properties that can be used by the application with Titanium.App.Properties. Properties generally follow the form: <property...
What is default(main) window ID ?
Hi<br /> I'm working with ti studio on linux desktop application and i have a problem with default window ID.<br /> AFAIK the default or main window should be defined in tiapp.xml, so when new project was created in ti studio, it contains...
What is the App URL?
Someone can explain to me what is the App URL? I have inserted the url of the company web site but I think I have confused the meaning of "App URL". Thanks L.
Working tiapp.xml with android permissions in it
we are looking for a working tiapp.xml example -- that contains android permissions in it. we're unsure of the proper syntax... thanks in advance... ~Brian
TiApp editor - 2 messages detected
When i go into the TiApp Editor for my project, at the top it says 'ProjectName' Configurations 2 messages detected. I'm getting a build error when trying to build this and it keeps erroring out. So I'm curious if these two messages are relevant to my...
Force rebuild of tiapp.xml?
Hi there, I'm trying the simplest change... changing the iOS status bar style. But if I have already run the emulator, I can no longer make changes to the tiapp.xml file. Every time I do, the emulator shows the old settings. Is there any way to force a...
How to start a new Android Activity?
I'm trying to start a new custom Android activity with Appcelerator and having some trouble. I'm not sure where to put the java file in my Appcelerator project and how to correctly link to it. Here's the HelloAndroid.java activity I'm trying to run from...
Tiapp.xml to AndroidManifest.xml Quote Translation Error
I'm trying to add code to AndroidManifest.xml through Tiapp.xml and getting a translation error. Here's a snippet from my tiapp.xml: ~~~ <android...
Getting Error at Rebuilding after changing tiapp.xml. (Detailed)
Hi, I am developing Android application using Titanium. Earlier i was using ### Titanium.Platform.displayCaps.platformHeight and i tried solution provided...
Showing 1-50 of 56 1 2