Popular questions for this item

What are the requirement for the development machine that should be used?

First a MacOS box is recommended since iOS builds are possible only under this platform. A Windows or Linux based box could be used but only for Android builds.

The web version of the app works in any platform.

In both cases the following tools and technologies are required:

SASS support is part of the architecture of the application so Ruby and SASS gem are required.

For Windows Ruby Installer is recommended: http://rubyinstaller.org/downloads/

Please keep in note that this is not a dead-simple ionic workspace. It is a Grunt based workspace which comes with plenty of automations, like live reload, source files monitoring for changes, files aggregation, SASS preprocessing, Environment variables etc.

In short I could say that the workspace is a slightly improved version of what the Yeoman Ionic Generator suggests https://github.com/diegonetto/generator-ionic

How do I import this project into the android studio?

Generated android code could be edited in Android Studio. I do not know if this makes any sense however.

This is an Ionic/PhoneGap application using HTML/CSS/JS technologies. You could edit these files by using any Editor Sublime, Atom etc.

XMLHttpRequest cannot load – Enable cross-origin resource sharing

In some cases when the application is running in the browser remote JSON data are not loading due to Security Reasons.

There are a couple of ways to work around that.

Browser

Use a browser plugin that will adjust the settings of your browser and allow this kind of XMLHttpRequest. A example of such a plugin for Chrome is CORS:

Server

If you are having access to the web server where these JSON files are located and served an particular entry in the header of the response will do also the trick.

In the case of Apache create an .htaccess file with the following instructions:

<ifModule mod_headers.c>
    Header always set Access-Control-Allow-Origin: "*" 
    Header always set Access-Control-Allow-Methods "POST, GET, PUT, DELETE, OPTIONS" 
    Header always set Access-Control-Allow-Headers "X-Requested-With, content-type" 
</ifModule>
by
by
by
by
by
by