Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Browsing all 7655 articles
Browse latest View live

pWidth and dp on Android

I have a Galaxy S2. I get the pWidth and it is 480. I put an image on the left that is '20dp' I put an image on the right of the screen that is '20dp'. What width does the middle image need to have,...

View Article


Nothing happen when i want to install program on my device

Hi I got a very weird problem, nothing happen when i want to install program on my device I got this on my console please help me Titanium Command-Line Interface, CLI version 3.1.1, Titanium SDK...

View Article


"TiFlexiGrid" WITHIN A "Drawer Menu" Is It Possible ?? Please answer :)

Hi guys !!! Im a student and i currently working on a android development project. I decided to try out titanium studio with alloy framework as my project engine. Nao since i got dis two AMAZING sample...

View Article

Android Calendar

Hi, I am looking for adding and creating a new Calendar for Android using Titanium built-in APIs'. I have got results where developers have created their own calendar, a code of 500 lines, which is...

View Article

Update SQLITE Database in alloy.

Hi in my app i'm using a sqlite database to store chats and other user information such as profile picture and all. Now i need to update the table when the profile picture is changed. How to do this?...

View Article


Open Images in My App

Hello, basically l would like my app to appear in the Android's sharing menu so that images shared from the device's gallery can be displayed in my app. To achieve this I added an intent-to my...

View Article

Android align bottom - gets up when keyboard opened

Suppose you have a button that has bottom:50dp. When I open the keyboard, the button keeps bottom 50dp, but ow it is considere from the top of the keyboard. How can I prevent this?

View Article

Android local notification in alloy and some complex scneraios

I have developed my application in alloy framework. Now i am working in android local notification My scneraio for local notofication is, User can create any number of todo list 1. At the end date user...

View Article


httpclient: responseText it shorted (cutted)

Hi, on Android (2.3) I have an issue with http client. XenoCanto.prototype.testLogin = function(_args) { var xhr = Ti.Network.createHTTPClient({ onload : function() { var res =...

View Article


How to use Google Maps on iOS devices ?

I'm working on a app with a Titanium map module. Building this app for Android and iOS. Currently, on Android devices map module uses Google Maps, on iOS devices (iphone,ipad..etc) map module uses...

View Article

Android Error: 'Requested module not found(Location ti:/module.js)'

Hi, I am developing small android module. I already build small android module and its working fine. Now when create small hello word module. I build it without any error. And I tried to use this...

View Article

Ti 3.1 - Android error: Requested module not found: facebook

Hi all, Upgraded to Titanium 3.1 and now since then the facebook module is no longer working under android. I get this error: Message: Uncaught Error: Requested module not found: facebook It works fine...

View Article

Encryption of SQLLite

Titanium 3.1.1 Mobile Application for IOS and Andorid. Is there way anyway to encrypt the whole SQLLite database?

View Article


Strings into an object do not show utf8

Hi, I'm having trouble becouse my strings when inside an object loose the uft-8 format my code is like this while (db.isValidRow()) {   itemArray.push({ item_id:db.fieldByName('item_id'),...

View Article

Facing problem with load images in images views

I am trying to show images in scrollview. taking from camera and photo library and adding using e.media or/and e.media.imageAsThumbnail functions. in move e.media and imageAsThumbnail it works fine for...

View Article


Just Begun

I am new to this completely. I want to make an application with four tabs: A home: containing about information, Tab 2: where there will be two buttons both leading to separate google calendars; Tab 3:...

View Article

RSS feed loaded check

Hi everyone, I'm just looking for a simple check if my rss feed has loaded. Is there a 'state' I can add an event listener to or what would be the best way to check this? Thanks

View Article


Open camera and take picture cause SystemError

Application type: mobile Titanium SDK: 3.1.1 Device: physical device (HTC One X+/ Samsung S2) Host Operating System: Windows 7 Titanium Studio: Titanium Studio 3.1.0 With Samsung S2: The app opens the...

View Article

black line after using draw9patch

now after using draw9patch in the image it give me black line in the right and black line in the top, can any one tell me how can i delete them

View Article

android webView does not care about evalJS, all versions-works fine on ios

Hi there, i'm trying to listen to some buttons inside a webview, that, when pressed, should change a counter inside the App, for this i use this code var linkJS = 'document.titaniumLinkQueue = [];' +...

View Article
Browsing all 7655 articles
Browse latest View live