Community Questions & Answers

need to remove Titlebar

I need to remove Titlebar from my app.I tried with below in tiapp.xml.but not working fine. ~~~ <fullscreen>true</fullscreen> <navbar-hidden>true</navbar-hidden> ~~~

Android resize imageview ??

Hello i need to resize image after been selected from gallery or taken by camera please i spent 1 month searching and trying to do this all my attempts failed , any code ? any one tried this before ? my target is 1- select image from gallery or take...

Generate a menu from remote json.

Hi,I have to build a menu from the remote database API (got json answer like {'categories':[{'name':'someth'}, {'name':'someth'}]. And don't have any idea how to get this done. At my point I have to read json data to Alloy.collection and then, in view,...

Eventlistener on dynamic view's not working

hi, in my project am using a dynamic view's am not able to add eventlistener to each view... i have a horizontal view and i want to add dynamic views[using array] to that vertical view.. am able to do that but when i want to add event listener to that...

Window Hierarchy

According to the iOS human interface guidelines, an app only has one window and then different views that change within that window. In the tutorials I have done for titanium it always mentioned to create a different window and then add other views to that...

Configuration of Android SDK

Hi, I'm trying to configure Android SDK, so i download the last version from [http://dl.google.com/android/android-sdk_r23.0.2-macosx.zip](http://dl.google.com/android/android-sdk_r23.0.2-macosx.zip), in the android configuration screen, i set the path...

Add fs module

Hi, When I add require('fs') I get this error : [ERROR] : Script Error Couldn't find module: fs Can you help me :) Tks,

Supporting ios7 and ios8 ?

Hey guys, we have developed an app wich is using GPS tracking for some features. Ios8 does handle it different from ios7. So my question is, is there a way to publish the app (an update) which runs on ios7 and ios8 ? Best, Nico

Pass Details to Remote 3rd Party Form

Hey folks, I'm doing some research on trying to pass data to a form. What I am hoping to do is pass some data from my app into a remote webpage that I don't control. The remote page is a third party booking form which I would like to prefill with some of...

Facebook log in on iOS 8 seems to be broken

The following code: ~~~ var fbmod = require('facebook'); fbmod.appid = 1376404972593019; fbmod.permissions = ['read_stream']; fbmod.authorize(); fbmod.addEventListener("login",function(e){ fbmod.reauthorize("email",...

Strange issue with Base64 encoded string

I am trying to do a receipt verification for iOS. So I receive the purchase receipt no problem. I have to Base64 encode it and create an Object to send to my server with the base64encoded receipt as the "receipt-data". No problem encoding the...

SImulator failed to launch after ios6 upgrade

Hello: I updated XCode to 6.01 and iOS to 8.0 and Appcelerator to 3.4. When I tried to launch the iOS simulator, I received the following log entries: [INFO] : Launching application in iOS Simulator [INFO] : Focusing the iOS Simulator [ERROR] : ...

iPhone 6: Wrong app scaling?

Hey there, i just deployed my current Ti apps on iOS8 on an iPhone 6using the latest 3.4 master and noticed, that the screen appears to be scaled bigger than it should be. The problem is also noticed in the latest WhatsApp version as the fontSize seems...

listview pull to refresh example code ?

Hello guys i have problem with this example http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.RefreshControl its good example and working fine but its for sections , how i can make listview use custom template + pull to refresh i really...

Dynamic picker for Android

I am trying to make a dynamic picker which is working fine on iOS but on android there's no chance, here is my code ~~~ function showPicker(data, lbl, parentView) { var picker_view; var pickerHeight = 251; var slide_in =...

Network Connection Lost on XHR request

Hello, I am using the 3.4.0 20140918 release to compile for iOS 8. I am using an XHR request to send data to a server, but I always get "network connection lost" responses in onerror. ~~~ Alloy.Globals.login = function(user, pass, lang){ var...

Alloy - decide which view to show on startup

I'm building a small app that requires a login screen. Once the user logged in once, the next time he open the app he'll be already logged in. In a classic Titanium project in app.js I used to check if the user was logged in, if he was open the main...

Titanium SDK version 3.4.0.v20140919113314 build errors

Running into this error when i try to compile my project: Titanium Command-Line Interface, CLI version 3.4.0-rc4, Titanium SDK version 3.4.0.v20140919113314 Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved. Please report bugs to...

Back Button Destroying Android Menu

Hello, I am using Titanium 3.3 and Alloy. I have an app that works fine for Android 4.2, but on Android 4.1 when I click back I lose the back button and any other buttons on the menu. For example, page 1 has a back button to leave the app and a preferences...

Remote images @3x - ios8/iphone6+

What's the recommended approach for dealing with remote hires images. i currently have images on s3 i pull into my app at runtime (@2x size), i use the hires flag on imageview. Will the hires flag work the same for @3x, assuming I put the @3x size in my...

Retrieve all possible properties of a UI object

Here is my scenario, I have a group of properties that I am trying to apply to a specific UI object, let's call it a button, but it could be any UI object. I am retrieving the list of properties from a web server so I can dynamically change the button...

Problems with Localization

I am using the exact same project as my colleagues, however, when I get to the step in the compiler of generating i18n files, it skips the "Compiling Localization Files" step. I have the latest dev version of alloy which we originally thought was...

ACS push AND invalid-sender-error Android GCM

ACS push AND invalid-sender-error Android GCM i have followed the steps to create titanium acs push notifications to the word how ever i am getting invalid-sender-error i have used the GSM API KEY and product no(FOR SENDER ID) provided by google in acs...

Showing 51-100 of 63,621 1 2 3 4 5 6 71273