Wednesday, 27 April 2016

Android Application Locker - :-)




Setting a lock code on your smartphone is highly recommended to protect your personal information, but sometimes a lock code can be a bit inconvenient.

What if you could do away with the device lock code, instead locking only the apps you want to keep private? An Android app named App Lock let's you do just that. That's not to say you can't use App Lock in addition to the lock code on your device, adding an extra level of security to your information.

App Lock, preventing unwanted access to any app you deem private.







Thursday, 21 April 2016

Function to Copy Application Db To Download Folder






public static void copyAppDbToDownloadFolder() throws IOException {
   try {
       File backupDB = new File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS), "Database_BK_UP.db"); // for example "my_data_backup.db"
       File currentDB = ctx.getDatabasePath("Estibyan.db"); //databaseName=your current application database name, for example "my_data.db"
       if (currentDB.exists()) {
           FileInputStream fis = new FileInputStream(currentDB);
           FileOutputStream fos = new FileOutputStream(backupDB);
           fos.getChannel().transferFrom(fis.getChannel(), 0, fis.getChannel().size());
           // or fis.getChannel().transferTo(0, fis.getChannel().size(), fos.getChannel());
           fis.close();
           fos.close();
           Log.i("Database successfully", " copied to download folder");
           
       } else Log.i("Copying Database", " fail, database not found");
   } catch (IOException e) {
       Log.d("Copying Database", "fail, reason:", e);
   }
}

Thursday, 25 February 2016

Take a Photo from Android Camera and Upload via Base64 :-)


Most of android applications allow you to click image and upload to web. In this post I can explain you how to create application in android which access your mobile camera, click image and upload to server.


This post is very help full for those who are new to android and need to upload image to server.


Service to access web-service data using Rest-full service call

Features of a REST-full Services


Every system uses resources. These resources can be pictures, video files, Web pages, business information, or anything that can be represented in a computer-based system. The purpose of a service is to provide a window to its clients so that they can access these resources. Service architects and developers want this service to be easy to implement, maintainable, extensible, and scalable. A RESTful design promises that and more. In general, RESTful services should have following properties and features,



  • Representations
  • Messages
  • URIs
  • Uniform interface
  • Stateless
  • Links between resources
  • Caching



Thursday, 19 November 2015

Google Map With Live Navigation


This is a simple tutorial of Google Map Integration with out use of Google play service library . While developing with Google_playservice_lib , getting some heap memory issue.  This tutorial help you to integrate Google Map without API-KEY/Library . Simple !!!


Screens :-



    



                                  





Wednesday, 18 November 2015

Base Adapter with Custom Layout


This is a simple tutorial  will explain , how to use Custom layouts inside Base Adapter.
Along with this , attached bunch of custom file with one Note file.  Just follow the instruction and do it. Simple !!! :-)


Click here to Download files



Tuesday, 17 November 2015

Download HTML-Sides/HTML-Contents Directly using HTTP Request.

Simple HTTP Request call to access Web Content




This tutorial explains how Call simple HTTP Request using asynctask.  Can download HTML-Sides/HTML-Contents Directly from network

How to do text writing animation?  In Android Development we do not have the option to use any other custom font in our default Tex...