Posts

Showing posts from 2016

Cordova Plugin Firebase Cloud Messaging For Android

Image
Firebase Notifications is a free service that enables targeted user notifications for mobile app developers. Built on Firebase Cloud Messaging and the FCM SDK, Firebase Notifications (Notifications) provides an option for developers and organizations seeking a flexible notification platform that requires minimal coding effort to get started, and a graphical console for sending messages. Using the Notifications console GUI, you can reengage and retain your user base, foster app growth, and support marketing campaigns. Reference:  Firebase Cloud Messaging First Create project on  console firebase Download google-services.json file on firebase console and add "platform/android" path. Like below image : Master branch: cordova plugin add https://github.com/LokeshPatel/Cordova-Plugin-FCMNotification.git local folder: cordova plugin add Cordova-Plugin-FCMNotification -- Search local path After Install Plugin Need To Update On "build.gradle" F

Cordova Plugin show Count Down Dialog

Image
Developed plugin for show android native dialog and display count down except loader (Spinner) image. Screenshots       Installation cordova plugin add https://github.com/LokeshPatel/com-lokeshpatel-countdowndialog.git Local Path Installation cordova plugin add com-lokeshpatel-countdowndialog Methods CountDownDialog.show CountDownDialog.hide Count Down Dialog show default CountDownDialog.show(); Need to custom count down dialog : Change fontSize,fontColor,increase/decrease time and start form 1/0. var option = {"countTime":"12000", "fontSize":"150", "fontColor":"#FFF000", "isCountStartFormOne":"true"}; CountDownDialog.show(option); countTime : Set time for count down up to Optional . (String) fontSize : Set font size Optional.  (String) fontColor : Set font color Optional.  (String) isCountStartFormOne : Set true

Print Hand Plugin With Cordova/PhoneGap For Android.

                                         Print Hand Integration This document described integration with PrintHand, a mobile printing application for Android devices. The purpose of integrating with PrintHand is to provide printing capabilities to applications. There are different ways to integrate with PrintHand depending on the application, its content and other requirements. You can check our  sample application on GitHub  that shows possible integration options. This project requires Android Studio. Cordova Plugin on GitHub  More details  Printhand Doc Try to implement Cordova plugin with PrintHand for Android app. Plugin used .jar files for integration printhand plugin. intentAPI-7.4.5-sources.jar, printingSDK-7.4.5-sources.jar Master branch: cordova plugin add https://github.com/LokeshPatel/Cordova-Plugin-PrintHandPlugin.git Local folder: cordova plugin add Cordova-Plugin-PrintHandPlugin --searchpath path Android Studio tools require build.gradle

Pushy Me Notification Service With Cordova/PhoneGap For Android.

                            Pushy   ( https://pushy.me/ ) provides reliable Push Notifications. About Pushy:  You need an alternative to GCM, Pushy me best way to implement notification service. Pushy is a push notification gateway, completely independent of GCM. It maintains own background socket connection, Like:  GCM, to receive push notifications. Light-weight protocol, utilizing very low network bandwidth and battery. It will be perfect for developed case since it does not depend on Google Play Services. Github URL Master Branch :  cordova plugin add https://github.com/LokeshPatel/Cordova-Plugin-CDVPushyMe.git Local Folder :  cordova plugin add Cordova-Plugin-CDVPushyMe --searchpath path 1) Install pushy me service : Call with on device ready function  :  document.addEventListener("deviceready", function(){ navigator.CDVPushyMe.pushyMeInstall(function(){ console.log("success"); },function(error){ console.log(&

Cordova plugin Crop Image in Android

Image
 Cordova plugin Crop-Image in android Cordova plugin Crop Image using camera and gallery With Cordova/Phonegap android application before install this plugin must you have install  cordova camera plugin                           Crop-View                                               Crop-Image show on HTML                             1) Image take using camera method : Success return base64 image format navigator.cropimage.getPictureAndCrop(function(resultBase64){ // result in base64 image format console.log(resultBase64); }, function(error){ console.log(error); }); 2) Image take using gallery method : Success return base64 image format navigator.cropimage.getGalleryPictureAndCrop(function(resultBase64){ // result in base64 image format console.log(resultBase64); }, function(error){ console.log(error); });    Find plugin on  Github  .