Community Questions & Answers
how to access a variable from one js to another js
hi friends i am new to titanium mobile development i had an issue like i want to access a variable of one js from remaining js files so any one plzzzzzzzzzzzzzzzz kindly help me
Please help: what is a URL scheme and how can I fix my code for upload to App Store?
Hi All.When I validate my app for submition to the App Store I get this error: The following URL schemes found in your app are not in the correct format: [fb[object Object]]. When testing everything works fine. I am totally blank to what and how to fix...
browsing file to from webview android
i created a webview in the app. and in the HTML page i used a form to upload pics from android devices to the server. if i use the default device browser, it works great, i can browse from the gallery, select and upload any pics but if i open the same page...
not working on ios
hi i am new to mobile development using titanium alloy and i am facing a problem by using gradients and glossy where as it is working for android but not for ios can any one help me out plzzzz
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...
Timemachine effect in app
Hello world! Does anyone know how to create a [timemachine like they have in OSX](http://example.com) for an iOS app with Appcelerator? An API or some sample code would be great. Thanks in advance!
Refreshing issue on android TableView??
Hi Friends, I am facing the problem is that while adding webView in tableView... webview is automatically refreshing when the page is loading. I dont want to refresh it eactime.... guide me to control it to refresh at one time..
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...
change app name with special character
hello guys, I want a "&" character in my app name.i wrote the following lines in my tiapp xml file: ~~~ <name>Supermutti&Co</name> ~~~ i get a error message that name not valid is. is there any way implement a...
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...
Create PDF in Mobile-Apps
Hi @ all, Googled around but found no answer. So i may ask here if there is the possibility in Appcelerator to create PDF´s and is there an howto? Regards Thomas
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...
ACS-Impossible to configure SMTP settings with TLS = false (hostname was not match with the server certificate)
When configuring the SMTP Settings in an ACS application, using a server that is not using TLS, it seems that although TLS = false, the Appcelerator backend is trying to use TLS as it returns always the error: SMTP Check failed hostname was not match with...
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...
vertical paging control in scrollable view
how to have vertical paging controls in scrollable view in android?
Can any one provide me link to download alloy 1.2.0
hi , i am trying to create a listview for that i need alloy 1.2.0. can any one give me link to download it
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...
Change App Display Name
How can I change just the App display name that is under the icon? I can't seem to get anyway to work. Thanks
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',...
exit functionality in android application
hi, i am developing an android application in 3.0.2 sdk in this app i want exit from application on click of a button , i have used the following code for that : var activity = Titanium.Android.currentActivity; activity.finish(); when i click...
Emulator is not showing all the content in the window
Hi. It seems that i get such a mistake inside some code line, titanium console doesn't mark errors or something like this, but emulator does only open an empty window, i.e. the content of the window is not appearing. Wait somebody can help me. Best...
create menu similar to android notification bar
Hi! You have any ideas to create a drop-down menù like the android notification bar? I refer to this ---> http://xjaphx.files.wordpress.com/2012/03/expand-status-bar.png?w=595
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]...
application crashes when implementing a picker
Morning. I'm trying to convert an android app in an iOS one, the code bellow works perfectly in android but crashes in iOS. if somebody can help thanks ~~~ var inputAnio = Ti.UI.createPicker({ top:"330px", left:"67%", }); var...
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...
HTTPClient working find in Android but not working in iOS
Hi, i'm trying to convert android app to an iOS one, the code bellow goes without problems in android but on iOS throws an error.... ~~~ [ERROR] : Invalid type passed to function. expected: NSString, was: __NSCFNumber in -[TiDOMDocumentProxy...
Iphone app on windows?
Can you make an iphone app on windows?
Ti.Network.createHTTPClient funciona en android pero no en iOS
Hola. al tratar de pasar un app de android a iOS Ti.Network.createHTTPClient no funciona - - - var url = "http://neommunications.com/crm/index.php/blog/getCategorias"; var xhr = Ti.Network.createHTTPClient(); xhr.open("GET",...
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...
Appcelerator dev needed for project -- will pay
Hi, i have a small Titanium project that I need help on for iOS / Android. I will provide all documentation and layout specs, but timeline is tight (1-2) weeks. I figure an experienced dev can get this done in a week or less. 1 screen - several call...
How to store app resource content in 'Documents' folder
IOS: 6.1 Titanium: 3.0 Is it possible to have my iOS app store the content files (html, images, etc) in the IOS 'Documents' or the 'Private Documents' folder, vs. inside the xxx.app bundle? I see my database files automatically go to the 'Private...
Storing time seperated by a colon into the database
For my first app I need to store time in my database. To be more precise, this is what I need to store "00:00". This will be used later when I decide to make a change. As soon as I call the save-function I created, I get the following error...
Titanium Android module - include a JAR that contains other JAR files
Hi, i have a native android in-app library, and i want to create a module in titanium so it can be used in titanium apps as well. in my library, im using other jar files. im using ant build in order to compress my library into a jar file so it can be used...
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...
Unique APP ID
Is there such as thing as a Unique APP ID for each app? And if so, how do I assign it to a variable in my code?
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...
App made with Titanium Now Up In The Store
Check it out, its got some fancy UI and gestures: https://itunes.apple.com/us/app/pink-list/id595565019?ls=1&mt=8 Regards
Hi Talents!!! Font related issue on android!!
Hi I have been facing font related issue and i want to set font on all resolution devices like 800*400,320*480 such LDPI,MDPIand HDPI etc.. my problem is that my application contained font is not displaying same size in all.. i dont know how to solve...
Can't distribute app on application loader.
I am upload app on the application loader. I'm test on device is correct. But I'm upload app on the application loader, the application loader show error below. --- application executable is missing a required architecture. at least one of the following...
Detect contacts who have installed a particular app
Hi, I would like to know whether (and how) this is possible using Titanium.. If I can detect who all from my contacts have installed a particular application, similar to WhatsApp? That is through my contacts list I can check who all have WhatsApp on their...
How to make android app to be compatible with all android devices??
Application type: mobile Titanium SDK: 3.0.0 Platform & version: Android 2.2 and above Device: Android emulator Host Operating System: Windows 7 Titanium Studio: version 3.0.1.201212181159-18122012120442 **I** **have** **developed** **an**...
[WARN] New layout set while view [object TiUIView] animating: Will relayout after animation.
I have encounter this problem. I still not resolve. The problem is meaning the animation show, but view have not create. I move picker animation position. But the problem still exist. How to resolve this problem? thank you very much. app.js have a...