Community Questions & Answers

Passing a button to a constructor?

I have been using this method to create repetitive objects in my iOS app, with items like labels, views, and buttons. I am now trying to use this to have a constructor for a toolbar where I pass the button, but it fails, complaining that "btn"...

Default Donts in Titanium Android

I want to use default fonts available in my app. I dont want to use Helvetica Neue in Android. Can any tell me what are all the default font in android supported by Titanium. I tried using Helvetica Neue,Marker Felt ,Droid Sans Even"AAAAA"...

Remove Appcelerator Loading Logo

Hi everyone, 2 questions:- a) I saw this thread 2 years ago http://developer.appcelerator.com/question/58561/remove-the-powered-by If I am using the AppExplore Free edition, can I legally remove the Titanium loading screen? Or should I have to buy...

Create/Remove labels dynamically

So, I have like a search engine that returns answers to a word or words that are searched. This answer comes as json and has dynamic length. I want to create as much labels as answers I have. E.g.: I search house, I get three answers, I create three...

Memory always going down

Hello, I'm testing appcelerator and finded a weird memory problem (not 100% sure it's a problem, but I would like to get a confirmation) So, this is my code ~~~ var win = Ti.UI.createWindow(); var minFreeMemory = 99999; var labelMemory =...

Free Versus Paid

Hi All, I'm looking at either Appcelerator or Corona, I"m leaning towards Appcelerator because it has some mapping features that Corona does not have. My question is what are the limitations of the free version? For example is there a Appcelerator...

Login to App with Facebook

I want the users to be able to login to my app either with their own ID or with Facebook. I know how to enable facebook login using the Titanium Facebook module but how do I determine the user who has logged in if he/she chooses to login using Facebook ID....

Stopping a background service in iOS?

Hi Guys, I'm having real difficulty stopping a background service once it has started! I've attempted `Ti.App.currentService.unregister();` But it doesn't do anything... Doh! Can anyone please, please help? Jason.

global namespace undefined

I am a beginner in Titanium Mobile. I have seen Forging Titanium(ep-006 - SCTabGroup) source code at GitHub. While running the application in the Android Simulator I am getting the following error. ~~~ golabals is not defined ~~~ I got the above error...

namespace in Titanium

I am a beginner in Titanium Mobile. I have seen some application on Github. Few applications used namespase like this below one ~~~ var globals = {}; globals.tabs = new AppTabGroup(); globals.tabs.open(); ------ ------ ------ ~~~ I have few questions...

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...

facebook post on wall

~~~ var data = { link: "https://developer.mozilla.org/en/JavaScript", name: "Best online Javascript reference", message: "Use Mozilla's online Javascript reference", test: [ {foo:'Encoding test', bar:'Durp...

Help with rss feeds

Hi guys ! So, I want to add a feeds reader to my app (android). I've found this code here, I would like to know if it is possible to use it by just changing on it to my feeds page. ~~~ xhr.onload = function() { // Data is returned from the blog, start...

excessive space in Titanium.UI.TextField

hi, i'm developing android app by using mobile sdk. i've problems with textfield. there is huge empty place in text field in emulator, even more empty space in a real android phone! how can i fix this? textfield creation code: ~~~ var unField =...

Is this an error in the API documentation?

Under iOS Navigation group, the example shown is: ~~~ var win1 = Titanium.UI.createWindow(); var win2 = Titanium.UI.createWindow({ backgroundColor: 'red', title: 'Red Window' }); var nav = Titanium.UI.iPhone.createNavigationGroup({ window:...

Project Titanium for Eclipse

How to export a project to Eclipse, the more he did the import of an error asking for the file lib / titanium.jar

google map intent

~~~ var intent = Ti.Android.createIntent({ action : Ti.Android.ACTION_VIEW, data : 'geo:0,0+?q=' + parseXml('page3_address')//'salisbury park,pune,India' }); Ti.Android.currentActivity.startActivity(intent); ~~~ it is working only those...

Android Menus

Hello Everyone My questions, as title suggests, is about android menu. I have been wondering how to create a bottom android menu, once the menu button has been pressed. In the kitchen sink example i have found: ~~~ b1.addEventListener('click',...

Image Description Captured by Camera

Hello Everyone, 1 question I would like to know that ... If I have camera in iPhone / iPad and I capture a Photo opposite of me then can I get about that's information...? yes, I know i surely get Lat, Long but moreover I want to get more information...

titanium Library (file .a)

Hello every body, Are we able to create your own libraries **in Titanium** or **with Titanium**? and if you have any ideas tell me please, how ? Thank you

iOS Background Service Question?

Hi Guys. I'm making a app that tracks a user and sends the location back to a web service every x mins (think same kind of thing as Latitude). Anyway I'm just reading the spec about background services and it says they can only run for 10 mins then are...

Changing the tint of a tab for iOS

Hi all I'm attempting to change the color of the selected tab in an iOS tab group using the document properties such as `activeTabBackgroundColor` and so on but cannot see any results. Had a quick search on here and found plenty of people saying it is not...

Adding label widths & heights set as auto

I have been trying to format labels to appear like this: ~~~ label1 label2 label3 ~~~ (Sorry I was unable to make the blockquote thing work in the preview) The height and widths are set as auto (since I'm retrieving the data from the DB). As you can see,...

encoding

could any one provide on base64 photo encoding and decoding

base64 conversion

well i don't know how to start but i have one web service where photos were encoded in base 64 format and now i need to hit that service and i need to get the images and first i need to decode it in to blob object and then need to encode that...

Showing 27,851-27,900 of 59,625 1553 554 555 556 557 558 559 560 561 562 5631193