Skip to main content
Participant
January 24, 2011
Question

my app not running after change into air application

  • January 24, 2011
  • 1 reply
  • 652 views

Hi..

I have a problem with my application. I develop my application using html, jquery , adobe air and using sqllite as datastore. After finishing developes application. I want to make it become air file..

I am using this code:

First i create a certificate to my air file:

adt -certificate -cn foo 1024-RSA test_cert.p12 mypass

Then, i create air file using syntax below:

adt -package -storetype pkcs12 -keystore test_cert.p12

MyApplication.air application.xml AIRHelloWorld.html [and all the files included]..

after that.. air file created.. i am trying to install it. and it is success. But, when i try to insert data to database from application it doesn't work, everything that i am doing to update and insert data or writing file.. it fails... but if I want to display data from database it's work.

Please help me...

This topic has been closed for replies.

1 reply

chris.campbell
Community Manager
Community Manager
January 25, 2011

Hello,

It sounds like your running this app in a web mode, not utilizing the AIR features that will allow write access to your file system.  Are you able to compile and run sample apps described in the following tutorials?

http://www.sencha.com/blog/2008/02/24/tasks2/

http://www.adobe.com/devnet/air/samples_javascript.html

Chris

dum1Author
Participant
February 7, 2011

I can compile and run sample apps, but I don't know how to make it into air application. Could you tell me the steps to make this program can write in database in air application. What should I do??

Help me please...

Thank you ..

chris.campbell
Community Manager
Community Manager
February 7, 2011

Are you using Dreamweaver or Aptana as your IDE?  If so, check out:

Dreamweaver: Creating an AIR appliation in Dreamweaver

Aptana: Package and publish your AIR application

If you'd like, you can also do this from the command line (though I'd definitely recommend using a wizard if at all possible.)

Create the AIR installation file

Chris