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

createTableView does not fill table with empty rows since SDK 1.7

Quite new to this but previously my stopwatch type app launched with an empty table on the bottom half of the screen, createTableView automatically filled this with 5 empty rows (gap on screen for...

View Article



[BUG] Properties setList as empty has different behaviour on iOS and Android

Android will read an empty array Property as null, where as iOS will read it as empty, this breaks the length method in the code snippet Ti.App.Properties.setList('files',[]); var response =...

View Article

How to COMPLETELY empty/destroy/close a window

Hey, I'm trying to close a window, destroy everything in it, completely clean it... whatever you want to call it! But trying any method, the contents of the views within it are not emptied. I've been...

View Article

TableView with sections and search on Android

Hi, I could not figure out how to do this. Not even sure it can be done. OK. I have this TableView with a Search bar, it has many sections in it. When the user do a Search using the search bar, the...

View Article

Default Android SDK is empty after select my android sdk directory

I try to develop an android application on my mac. When I select my SDK directory in appcelerator, the "default android sdk" dropdown is still empty and it's impossible to develop for android. Any...

View Article


Unable to build a distribution In-house App

I have no problem building a Developer Application, and deploying it to users via TestFlight But I cannot seem to build and deploy an In-house application using the deployment profiles and certificates...

View Article

Mobile email sending empty attachment

Hello, I'm generating an html file that has data in it. I am then attempting to email that html file as an attachment. It looks like everything is added correctly and even sends correctly, but when I...

View Article

scrollView remove individual item or empty componenet

How do you remove items that you have added to a scrollView? I've tried the remove() method and this: window.remove(scrollView);   scrollView = Ti.UI.createScrollView({});   window.add(scrollView);...

View Article


Array resets between windows

So I have the following code in config.js... var cartItems=[]; And this code in functions.js... function addItem(title, car, color, qty, price){ var item = {title: title, car: car, color: color, qty:...

View Article


Best practice for emptying/resetting a tableView?

I have a question about some behind-the-scenes Titanium architecture. A common UI element in many of my apps is the tableView. I use tableViews a lot, and some of them get very long (hundreds of custom...

View Article

Android clear tableview

Hello all, i have a bug for 2 weeks now. if i click on the android backbutton the tableview needs to be cleard. because on the first window you can enter where you looking for and load a dynamic XML...

View Article

HTTClient.responseText empty

Hi, I'm having a hard time while parsing a remote JSON file which I obtain using HTTPClient. The "onload" event fires up, but the responseText property is empty, even when the JSON file is not. The...

View Article

Why is my map view empty? (google map API key?)

I've copied the source of the map view of KitchenSink in my own application, and when I go to this view, the map view is created, the annotations are added, but the map is not displayed, only the...

View Article


Getting empty resultset in database execute

in app.jsTitanium.Database.install('highScores.sqlite','highScoresDB'); in scores.jsvar db = Titanium.Database.open('highScoresDB'); var scores = db.execute('select * from scores');...

View Article

Write and read a variable in an includes js-file

Is it possible to write and read an variable in an includes js-file? I want to save some values in an global central file, for example the username, password, server-url, etc. which i want to use in...

View Article


Scrollable View shows up empty

Hello I've created a scrollable View using Titanium.UI.createScrollableView and added 2 Views with the addView method. If i open the window which contains the scrollableView the scrollableView appears...

View Article

Set tableview.className and Titanium.UI.createSearchBar

When using Titanium.UI.createSearchBar on the latest sdk there are no search results in iPhone-Sim. The following Error occurs:[ERROR] TableViewRow structures for className myClassName does not matchI...

View Article


I want create a Database but Database File is empty

Hello, I want create a Database. I use this Code exports.createDb = function() { Ti.Database.install('../Resources/testDB.sqlite', DATABASE_NAME); var db = Ti.Database.open(DATABASE_NAME);...

View Article

Image may be NSFW.
Clik here to view.

Google Maps API Key Linking

I am currently receiving a beige view for my MapView as shown here: I believe this is caused by a mismatch of API keys on the Google and Titanium side of development. I am currently using the "Install...

View Article

StoreKit returns empty products array

Hi, I'm developing an iOS app with Titanium Studio 3.1.1 and SDK 3.0.2 GA that has in-app purchases. This is the code with the problem:var array=['com.mysite.id1', 'com.mysite.id2', 'com.mysite.id3'];...

View Article
Browsing all 23 articles
Browse latest View live




Latest Images