2

This might be a often repeated question. I am a newcomer to the world of mobile and programming in general. I am trying to build an app that uses the native database capabilities within android (sqlite) with Intel XDK (HTML5) as the rendering framework. I don't want it to a web based app, but a complete on the device app.

  • Can i code server side on XDK (server side code and database connections)
  • If not what should be my way of creating the server side component - build it seperately and somehow package it?

thanks in advance!

Wanna Coffee
  • 2,742
  • 7
  • 40
  • 66
Rohan Sandeep
  • 414
  • 1
  • 7
  • 15

2 Answers2

0

Yes, As per my knowledge Intel XDK is just your front end, to make a communication with your Master DB (MySQL, MsSQL, etc..) you need to have server side language. You can make use of PHP and it is a light weight server side scripting language, you can run it on XAMPP server.

Here is useful link.

To make connection with local (device) DB you don't need server side language and server also. Intel XDK itself providing feature to build the app for android (.apk) and IOS (.ipa) format.

So far I gone through and got, Intel XDK is providing list of four local database connectivity in client end. Which are

I'm not sure about Intel XDK with SQLite.

Community
  • 1
  • 1
Wanna Coffee
  • 2,742
  • 7
  • 40
  • 66
0

Yes, You can work with SQLite in phone gap application.Please use the link to the Intel XDK third party plugin. Before that please download the project dependency jar file from GitHub and create the directory with cordova plugin SQLite name and place the file in it, include the jar file. Then try to add the plugin using URL.By this you can easily work with the SQLite in phone gap.

Also you can work with the server-side storage using Phone gap application. please see the link for sample.

Hope all helpful

Subin Babu
  • 1,515
  • 2
  • 24
  • 50