Skip to content

Instantly share code, notes, and snippets.

@niths
niths / PrivateStorace.java
Created May 15, 2012 08:34
PrivateStorage plugin
package com.phonegap.plugins.privateStorage;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
import android.util.Log;
import com.phonegap.api.Plugin;
import com.phonegap.api.PluginResult;
@niths
niths / application.properties
Created March 28, 2012 14:33
The application property file
jdbc.driver.class_name=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://localhost:3306/niths
# Change username to your MySQL server's admin username
jdbc.username=foo
# Also change the password. If there is no password remove this line
jdbc.password=bar
hibernate.dialect=org.hibernate.dialect.MySQL5Dialect