Community Questions & Answers

Facebook

how to show friend list in iphone sdk from which id user logged in in iphone sdk

Webview in a View - Event Handling

I have a WebView in a View. The parent view is required to handing click event. If I click on web view, it trigger parents doThis event. I can handle the e.source but how can I fire the event for web view say I clicked on a linked on web view. ~~~ ...

How to include/require c++ library to titanium

Recently I have a project which needed to include .lib (c++ built) module to titanium. I have .h and .lib files but no idea how to integrate it to titanium. Any expert here have experience to do that and please guide me. Will be appreciate if provide me...

tabs do not appear in the TabGroup

Hello, I am trying to add tabs to my titanium app. I am running 3.2.3 GA with iPhone iOS 7.1 target. Somehow, no tabs appear in the bar, as if the TabGroup was empty. I tried to add TabGroup and display it as is. Neither seems to make difference. Please...

help with createServiceIntent ?

hi everyone. I have to make an app where you can set reminders for appointments. these reminders must appear at regular interval (like once an hour), when the app is in the background. It's not a notification, but a small colored frame containing a short...

Error adding a window

I have a fairly simple app that uses the alloy framework. In my code, I try to create a new window using the onclick of an image ~~~ function xlaunchBluetooth() { var Menu = require('menu'), win5; Ti.API.info( "got into call for bluetooth...

Problem creating a module with a view

I tried to code the [example in the iOS Module Development Guide](http://docs.appcelerator.com/titanium/latest/#!/guide/iOS_Module_Development_Guide-section-29004946_iOSModuleDevelopmentGuide-CreatingaViewandViewProxy) but I always get the following error...

Playing a youtube video with VideoPlayer

Hey all! I'm trying to play a youtube video within an app. I'd much rather use videoplayer than a webview, however I'm not having any luck at all. I can't seem to get an actual file from youtube so I've been trying to use their watch url:...

Playing App Sourced Audio on Android

Hello, I am having great trouble getting Android to play audio files. They play fine on iOS. I am adding a '/' to the start of file path but if I check that the file exists Android returns a false. I have folder structure like so... app->assets,...

I would like to put a tab on the sample.

I would like to put a tab on the sample RSS reader. is there something good way? ~~~ <Alloy> <!-- Mobileweb --> <TabGroup> <Tab> <Window id="index" platform="mobileweb"> <NavigationGroup...

adding a webview causing a crash

Hi I have a very basic app at the minute. There are 3 web views. When there is wifi from the start all three web views will load fine. I have a check in my code where the webview is only added if there is an internet connection. If there isn't, I add a...

altering navbar in tabgroup for 3.2

A simple task but having trouble in just altering the color of navbar. Coming from a tabgroup in app.js and going to a currentWindow, I set the modal to true and false and navBarHidden to false yet the barColor does not work. Any suggestion on best...

How to style controls

To be specific, I'd like to know how to make elements have same dimensions on different devices. For example: **index.tss** ~~~ ".box": { width: 210, height: 210, top: 20, left: 20 } ~~~ Dimensions and margins in the box class...

Compilation fail after upgraded to Alloy 1.4.1

I have just update my Titanium Studio with Alloy 1.4.1 and have compilation error. Anything I can do? ~~~ Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.2.2.GA Copyright (c) 2012-2014, Appcelerator, Inc. All Rights...

Startup crash only on certain device(s)

A longtime user has reported that the app has started crashing on his Samsung Galaxy Stratosphere 2 running Android 4.1. I have combed the code for any relevant (or irrelevant) change in the most recent release and have come up empty. The only major...

iOS - Ti.UI.currentTab

I'm using Alloy 1.4.0, TiSDK 3.3.0. My app is a tab group. When I tried to use Ti.UI.currentTab.open(window), Titanium gave an error saying Ti.UI.currentTab is undefined. Does anyone have the same issue? Is it a bug?

Showing 51-100 of 62,401 1 2 3 4 5 6 71249