Monday, September 11, 2017

JS add on's in developing Single Page Applications

Below are the common additional JS utilities, plugins or functionalities you may need while developing Single Page Applications:

jsPDF

A very handy utility to generate PDF's at client side. 
Support for image types jpg and png is included.

fromHTML plugin does not render images which are part of table cells. You can  use jsPDF fork https://github.com/Flamenco/jsPDF to address the same.

Tuesday, April 4, 2017

Android Development Tips

  1. How to access app files from internal storage
    • adb shell
    • run-as com.yourapp.package-name
    • Now you can navigate to the app_<app_name> folder and go through the files.
  2. Copy file from desktop to device sdcard
    • adb push d:\temp\delnow\console.log /sdcard
  3. Move file from sdcard to internal storage
    • adb shell
    • run-as com.sanjith.carcare
    • mv /sdcard/console.log ./app_CarCare/.
  4. Application log viewing
    • adb logcat | findstr "com.example.app"
    • adb -d logcat | findstr "com.example.app" > C:\file-path
  5. Next