Community Questions & Answers

TableViewRow selectedBackgroundColor remove rounded corners?

How do you overwrite the default style of the iPhone UI for selecting a row in a table view? For the iPhone it is default blue, and can be changed with `TableViewCellSelectionStyle`, but that is limited to three choices. The alternative is to use...

878 views
asked 2 years ago by David Penney
last activity 2 years ago

Titanium.Facebook (1.6)

Hi, I just tested the new Titanium.Facebook system (1.6) on my iPhone but it doesn't work for me. This is the code I use, the only difference i see with the code in KitchenSink is that my App ID is longer (15 chars) and i ask for more permissions. If I...

Upload to TwitPic

I am trying to upload a picture to twit pic using xhr. I get a status 200 (Complete) but I cannot find the picture anyone on TwitPic. Has anyone been able to upload to twitpic? If so, how did you do it?

got problem in run program

I got a error when I m gonna to run android project in titanium wht i neet to do? [ERROR] Failed installing com.appcelerator.kitchensink: pkg: /data/local/tmp/app.apk i m using android sdk 2.2 and titanium 1.2.2

ActivityIndicator

when i creating it crashes the app what is the problem in my code var actInd = Titanium.UI.createActivityIndicator({ height:50, width:10 }); actInd.show();

tabelvoew Click Values Undefined

Hi, I have been trying for several days by dissecting samples and reading posts to find an answer to no avail, basically the values from my Click are always undefined. See code below The data is displayed perfectly, I just need the values to be pulled so...

Notification API on desktop

Hello, I am a newbie to Titanium, I am excited to learn and work on Titanium. I am on Windows, I am trying to display a notification but it's not working. I tried this: try { var n =...

Detecting OS in code via variables

In my existing app, I am using constants which are only for iOS. Now I want to port my app on Android and constants like "iPhone.SystemButtonStyle.BORDERED" are generating error. How do I make it possible to detect the OS while building the...

Load local image in webview

Hi, How to load local image on webview (for iPad) that has been stored in the **applicationDataDirectory**? I tried the following code with no success. ~~~ var f = Titanium.Filesystem.getFile(Titanium.Filesystem.applicationDataDirectory, 'history.jpg'); ...

facebookErrDomain error 10000

I've had this error a couple times with the new Facebook API in 1.6. I'm not sure what causes it. I'm supposed to already be "loggedIn", but sometimes I get this error when I try to do a query on the API: ~~~ The operation couldn't be...

Module overview

So that I could not find a overview of current existing module for titanium i start an overview here. (or is there a overview ?) - imageAsCropped (crop images)[https://gist.github.com/621367](https://gist.github.com/621367) - TiBar (barcode...

help me:JavaScript compiler reported "Unsafe character."

i am new to use the appcelerator to develop my app , it can run normally on android simulator ,but it does not work on iphone simulator ,and it says JavaScript compiler reported "Unsafe character." ,Unexcepted ''." I guess because its UTF-8...

427 views
asked 2 years ago by yang longhui
last activity 2 years ago

Problems storing video stream locally

I am trying to download a video stream for offline playing. I got this far: 1. The server sends my a *.m3u8* playlist which I download and store 2. I read this playlist and I download a bunch of *.ts* files (stream chunks in MPEG-TS, i suppose) 3. I offer...

First App Approved!!

[http://itunes.apple.com/us/app/gabby-gourmet-guide/id420954367?mt=8](http://itunes.apple.com/us/app/gabby-gourmet-guide/id420954367?mt=8) Yeah! My first app [built using Titanium] was just approved by Apple. Thanks to everyone at Appcelerator, and for...

I have this problem

i have this problem when i try to launch the iphone simulator http://www.pctunerup.com/up/results/_201102/20110223204812_prova.jpg what i can do?

Best practice storing user login information

I want to store the user's username/pw on the iphone so he doesn't need to login each time. Would it be better to use a database, or just set it in the Ti.App.Properties? I would gather that Ti.App.Properties is faster for accessing it, but what about...

How to set a cookie? createHTTPCookie?

I use Titanium.Network.createHTTPCookie() method to create cookie. Platform desktop. ~~~ var cookie = Titanium.Network.createHTTPCookie(); cookie.setName('name'); cookie.setValue('value'); cookie.setMaxAge(3600); ~~~ But when I read the cookie's...

Problem in webview.toImage()

Hi, Can anyone tell why toimage method always return the image of previous view of webview? See the following code snippets. ~~~ function createHTMLString(price, tooltip, data){ var ymin = (data.ymin > 10) ? (data.ymin - 10) : data.ymin; ...

webview

hello sir, here i creating the web view but it crashes the app,in my code any problem var webview2 = Ti.UI.createWebView({ top: 10, height:100, width:100, left:210, scalesPageToFit: false ...

Facebook Fan Page

Hello, I was wondering if anyone was able to help me here. I want to get a group page (or even a fan page) wall feed on my app. when you open the tab. i was wondering if any one knows how to do that? Thanks so much in advance -> all good i found...

Permanent android menu

I want to have a menu that is always avaible in my app, right now i am using this to activate my men ~~~ var win1 = Titanium.UI.createWindow({ title:'Favorites', backgroundColor:'#000', url: 'AndroidMenu.js', navBarHidden :...

Desktop Zeroconf Module

I know that the Bonjour module is only available for iPhone but I've seen several references at Lighthouse, including some samples, to a Zeroconf module. Is this available yet or is it to be included in a future version of the SDK? Is it/will it be...

Javascript vs Titanium API

Hi, browsing through the tutorials, I saw there's Titanium API which is meant to speed up the development process. I would like to know if I don't use Titanium API but instead create using Javascript and CSS, is that possible? E.g. creating an alert box,...

No "Install Now" button for Android

Running Titanium 1.2.2, I have two similar apps. One was developed using the HelloWorld framework; the other was developed by someone else using Titanium for iPhone. In my Android environment I can build both projects with no problem. Both run in the...

Solution: Thumbnail Viewer Example

Hi all, I just wanted to share some code that allows you to create a really lightweight grid-like thumbnail viewer of remote images with paging (iPhone only right now). And most important is that is has no memory issues, so it doesn't crash :) You can...

Showing 37,201-37,250 of 48,771 1740 741 742 743 744 745 746 747 748 749 750976