Community Questions & Answers

Module License Violation - How to Fix?

Hi guys, I have two iOS modules purchased from the marketplace (Testflight and Sharekit) which allow for 1 seat each. I normally use my iMac for all dev work, but wanted to do some work on the road on my MacBook Air and installed Ti Studio and downloaded...

Admob

Hello, I am using adMob 1.9.0 and when i am testing at my device it is working fine, I am using the code below, ~~~ MainWin.add( ad = Admob.createView({ bottom : 0, width : 320, height : 50, adUnitId : 'xxxx', // You can get your own at http:...

Draw Route on Road

~~~ var route_url = "http://maps.googleapis.com/maps/api/directions/xml?origin=" + origin + "&destination=" + destination + "&sensor=true"; ~~~ So I am using the above link to fetch the xml data from google, which...

Push notification types for iOS8

I had push notifications in my app for iOS, and till iOS7.1 it was working fine. Now on iOS8 i got warning message while trying to register for push: ~~~ [WARN] : Passing `types` to registerForPushNotifications is not supported on iOS 8 and greater. Use...

Best way to save data on phone?

Hey, i do have around 400 objects, each containing ca. 30 fields of data like "city, street" and so on... I have to save them on the phone, so the user do not have to load them each time, the app starts. Cause i don't have sooo much...

Android 4.4.2 webView height is zero

Hello, I've been checking sdks 3.2.0.GA and 3.2.1, as well as 3.1.3.GA, with a simple html application project. single page: ~~~ <!DOCTYPE HTML> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta...

How can I hide this thing?

How can I hide this thing? [URL=http://www.radikal.ru][IMG]http://s017.radikal.ru/i400/1505/4d/9ab7c4854d54.jpg[/IMG][/URL]

Square image

I have square image "buttonLevelW.png". I need put this image to ImageView or View. This View has width "33.33%" . What do I need to set height? This my code: ~~~ function createRow(i) { var row = Ti.UI.createView({ borderColor:...

Open PDF File on Android

Has anyone found a way to open or view a PDF file on Android? I understand that webview doesn't support PDF on android. I have PDF viewers on the handset, but how can I open the PDF from the app?

Facebook /me/photos error

Hi everybody, I'm trying implement mokesmokes facebook module for IOS, and I have some problem to upload a picture.Here is my code ~~~ var _facebook = require('com.facebook'); _facebook.appid = Ti.App.facebook_app_id; _facebook.permissions =...

Working jsPDF Example with Images

I have a jsPDF example working in Titanium Mobile, but it has a problem. Though I can open it on the device and see the image, it doesn't transfer the image for some reason when I email it. So on the device it looks good and then when I send it through...

Display Graph in Titanium iOS

In my app, i need to display the status of the feedback by a Graph(chart) view. Is webview is needed? I tried RGraph framework, which is showing errors for me, how to use this framework? Are they're anyother ways their to achieve this?Can anyone pls,...

Click indication and prevent multiple click

Hello everybody. There is a default tool in titanium to set click indication?and someone tell me if there is a module for prevent multiple click? because when I click fast enough on button that open new window, it can open me more than one window. I saw...

Help to remove the Action Bar on Android

I've followed the instructions on the page [Android Action Bar](http://docs.appcelerator.com/titanium/3.0/#!/guide/Android_Action_Bar) and created a custom theme to try to hide the action bar, but it doesn't work, the action bar still shows up, no matter...

force reinstall of sqlite database

i have this code thats supposed to force a reinstall of an sqlite db on updates but its not working - any ideas ? (ios) ~~~ var f = Ti.Filesystem.getFile( Ti.Filesystem.applicationSupportDirectory+'/database', 'phonenew.sqlite'); //If it's there, delete...

Android force orientation

Not really a question, but a note to other users. I've seen some posts asking how to force an app into landscape only or portrait only, but the answers there weren't working for me. I finally got it working, so I thought I would post how I did...

ACS Cloud Data Export

Hello, I'm considering using Appcelerator's 'Explorer' package for a small start-up project, along with the ACS option. I like the sound of some of the ACS features and speed of getting up-and-running. I've not been able to find anywhere to export data...

ActionBar color

Hi. Does anyone know how to change the ActionBar background color in Titanium 3.0? Also, does anyone have some examples about changing ActionBar properties, like font color, font size and so on? Thanks

Showing 1-50 of 16,470 1 2 3 4 5 6330