Getting Started

nativeDroid2 is a theme for jQuery Mobile inspired by material design and a successor of nativeDroid.

Download and Install

Github

git clone https://github.com/godesign/nativeDroid2.git

Bower

bower install nativeDroid2


nd2settings.js

In the root folder of nativeDroid2 is a file called nd2settings.js. Here you can globally set your Google Analytics code that automatically measures all your traffic without embedding the GA-Code on every single page. This even works on ajax calls.

$.nd2({
    stats : {
      analyticsUA: null // Your UA-Code for Example: 'UA-123456-78'
    },
    advertising : {
      active : false, // true | false
      path : null, // Define where the Ad-Templates are: For example: "/examples/fragments/adsense/"
      extension : null // Define the Ad-Template content Extension (Most case: ".html" or ".php")
    }
  });