Community Questions & Answers

how to backup app DB - Android

i need to backup my app database to sd card and currently finding harder... appropriate if somebody can help with it. i have followed http://developer.appcelerator.com/question/119423/how-to-backup-a-titanium-database. but that doesn't help.. not...

User database

I want to create a login service with Appcelerator. With the free version, do I get to have a database that holds all the users information or is that with the paid version?

Extract related data from database

~~ i design a Bengali to English dictionary apps.I set two field like text field and a button.I want bengali meaning of English word which i give in text field and after that when i click on button the related word are shown in a table view. I have...

Save remote JSON data into SQLite for offline use

Env ====== ~~~ Application type: mobile Titanium SDK: 3.2.1GA Platform & version: iOS 7.0, Android 4.0+ Device: iOS simulator, Android emulator Host Operating System: OSX Mountain Lion Titanium CLI: 3.2.1 ~~~ Problem ====== Only been using Titanium...

Run database migration twice

I am using backbone and I want to allow my app user to delete/drop the local database. Is there anyway to run the migration process twice, after user has dropped database without relaunch the app ?

Saving data from stopwatch for use later

Hello, I am new to titanium and I am trying to build a productivity app that uses a stopwatch to track how much time is spent on a certain task. I have the basic code in place for the stopwatch but I am not sure how to save the data I receive from the...

Titanium freeze UI when loading Database

I'm building an app for Android. I have a "Detail" form have a tableview. Tableview retrieve data from sqlite. In "Main" windows I have the button "Go Detail" to open "Detail" form. In "Detail" form, I...

Pins on a Google Map

We built an TiAlloy app with 5 different types of pins(locations) to populate a map based on users location and/or navigating around the map. ie if you are in NY it will automatically show you pins around you and you could scroll map to NJ and it would...

ACS Atomic Increment Operator

Has anyone gotten this to work? http://docs.appcelerator.com/cloud/latest/#!/guide/atomic_increment I'm assuming it may just be my syntax. Here is what I have tried so far. ~~~ Cloud.Objects.update({ classname: 'someclass', id: someid, fields:...

Join tables from two different databases

I need to do a left join between two tables which are in two different databases. I read this http://developer.appcelerator.com/question/8001/tip-how-to-attach-another-sqlite-database, but seems not to work ~~~ var dbOne = Ti.Database.open('db1'); var...

Refresh a parent window from a child

If i have a window which is opened as a modal window, and on that modal window I have a textfield which inserts a record in to a database then closes itself and returns to the parent window how would I get the parent window to then refresh itself so that...

Favorites - Database

Hi all, I have the below code for favorites fuction. My goal is how to: update the button with other image and other alert msg if is already added. ~~~ fav_btn.addEventListener('click', function (e) { var db1 =...

Populate data from mysql using json with titanium android

hi I want to populate data from my database my sql but it doesn't work here the code var win = Titanium.UI.currentWindow; var data = []; var xhr = Titanium.Network.createHTTPClient(); var tblRecipes = Titanium.UI.createTableView({ height: 366, width:...

Database replication

What is the best way to keep an local and a internet database in a alloy app synchron? Isn't there a ready modul / component to do the job for me? Regards JW

Database updated

Hello everyone, i get a problem with my apps, when i upgrade them with a modification in my database, the modification dont work if you upgrade the app in app store. To be more specific its app games, with new levels, the new levels dont work, the...

Showing 1-50 of 1,154 1 2 3 4 5 624