Oct 23, 2017

Cordova WebSQL Path

The SQLite database file for Cordova WebSQL resides in:

/data/data/<app.package.name>/app_webview/databases/file__0/1

Get Data Directory for Android Application

To get the "/data/data/<app.package.name>" path use:

context.getFilesDir().getParent();

Jun 5, 2017

Fixing Broken LXDE Panel on Raspberry Pi

I was trying new package for my Raspberry Pi, when I realized that the panel of the desktop is no longer working. Only a blank space, cannot right click on it.

Here's what I did to fix it:

cd ~/.config/lxpanel
cp /etc/xdg/lxpanel/launchtaskbar.cfg .
cp -r /etc/xdg/lxpanel/profile/LXDE-pi .
sudo reboot now

Cordova WebSQL Path

The SQLite database file for Cordova WebSQL resides in: /data/data/<app.package.name>/app_webview/databases/file__0/1