Appcelerator-Q-A-banner

Community Questions & Answers

picker dynamic database

I work in an app that fills a picker a way dynamic with information from a database, work with the example on page: https://afinandocodigo.wordpress.com/2012/07/02/conexion-a-base-de-datos-remota-con-titanium-studio/ change table by a picker , rows are...

Best way to save data on phone?

Hey, i do have around 400 objects, each containing ca. 30 fields of data like "city, street" and so on... I have to save them on the phone, so the user do not have to load them each time, the app starts. Cause i don't have sooo much...

Display Graph in Titanium iOS

In my app, i need to display the status of the feedback by a Graph(chart) view. Is webview is needed? I tried RGraph framework, which is showing errors for me, how to use this framework? Are they're anyother ways their to achieve this?Can anyone pls,...

ACS Cloud Data Export

Hello, I'm considering using Appcelerator's 'Explorer' package for a small start-up project, along with the ACS option. I like the sound of some of the ACS features and speed of getting up-and-running. I've not been able to find anywhere to export data...

database connection

Hi all , i am facing the problem to connect with the database. here is my code for data base connection. var content_data = []; var discription_data = []; function getdata_adj() { Ti.Database.install('/solus.sqlite', 'solus'); var db =...

How change image from other js file?

Hello. I have js file (first page) with image(levels). When you chose the image(level) you will play game. If you win a game the image (from first page) must be changed on the other image. How can I make it? I need txt file or database?

Database in mobile web application

Hi, I'm trying to use my current iOS app and make it available as mobile web app. One of the main problem I faced is that my app uses data retrived from database. I know that mobile web doesn't support Ti.Database. My question is that how can I make it so...

Get the position of a record in ACS

Hi. The question is simple to understand but I don't know how to do it (if it's possible) in ACS. I have a custom object (simple table with users - score fields) and I want to show a table with 5 **top scores** and, at the end, display the current user...

SQLITE:select query like expression

Application type:mobile,titanium studio:3.3.0,titanium sdk:3.3.0,OSX:Mac osx. How can I select the exact value from the database select query: ~~~ var resultset = db.execute('SELECT * FROM members WHERE LOWER(bloodgroup) like "%' + win.bloodgroup +...

mySql to ACS question

Hi I try to send push notifcation which is working as Database send a message to clients through ACS. Anybody have tried or did connect between mySql and ACS to send push? Do I need to develop application or module to connect them with different language...

Question of remote sql connection with Titanium

Hi I got several questions with Database connection with Titanium. I try to connect mySql db and I found some examples which are connect with php page, but I wonder that the pages need to publish if I want to connect DB via php? Furthermore, as I...

About Oracle database connection

Hi, I tried to develop test application with oracle express database, but I have no ideas how I can connect within it. I just found my-sql connection through php page. Would you anyone advice me the way of using oracle DB connection or any useful...

import sql file in titanium/alloy

I have sqlite dump file with many lines of code. It's very hardly do it like this: db.execute(every_line_of_code); Is it possible to import this file into database something like this: Ti.db.importSql('file.sql') or Ti.db.loadFromFile('file.sql')

Uploading an image from iOS App

I am trying to upload an image from my camera roll to my server. The php code works fine by itself but I can't get to upload the image from my app. I always get a 404 error. PHP Code ~~~ <?php $allowedExts = array("gif", "jpeg",...

import sql file in titanium/alloy

I have sqlite dump file with many lines of code. It's very hardly do it like this: db.execute(every_line_of_code); Is it possible to import this file into database something like this: Ti.db.importSql('file.sql') or Ti.db.loadFromFile('file.sql')

Insert an array as database field

Hi, I'm working on an application which has a window and a button. When i press the button, the win add a view and put this view in an array, therefore i have an array containing a series of view. I use an array to contain the view and a variable to track...

Showing 1-50 of 1,292 1 2 3 4 5 626