Thursday 4 September 2014

View Microsoft Word Document:


            In this Example we will see how to view a ms word document through an android app. Here we will open the .doc file saved in the SD card with an application which can view the doc file such as Quick Office , Office suite or any other application capable of reading .doc or docx files.

Screenshot :
         










  Download Code Here

             WordDocView

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Wake Lock:


            There are situation where you want your application not to sleep. It happens when you create a game like chess where the user spends more time in thinking than touching the mobile screen or when you are working with camera. So if you choose to do so you should acquire a WakeLock.

Wake Lock

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Tuesday 2 September 2014


Text Recognition:


            Text Recognition is used to convert user’s text to voice. In this tutorial we are going to implement Google Speech Recognition in our Android Application which will convert user’s text to voice.

Screenshot :
         









  Download Code Here

             Text Recognition

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Voice Recognition:


            Speech Recognition is used to convert user’s voice to text. In this tutorial we are going to implement Google Speech Recognition in our Android Application which will convert user’s voice to text and it will display it in TextView.

Screenshot :
         














  Download Code Here

             Speech Recognition

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Notification:


            A Notification is a message you can display to the user outside of your application's normal UI. When you tell the system to issue a notification, it first appears as an icon in the notification area. To see the details of the notification, the user opens the notification drawer. Both the notification area and the notification drawer are system-controlled areas that the user can view at any time.

Screenshot :
         











  Download Code Here

             Notification

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Monday 1 September 2014

Android Sample Coding-PART 9:


1.Action bar with Tab:


            Android action bar was introduced to maintain a consistent navigation across the application. It has the powerful capabilities like adapting to screen configurations (landscape & portrait), prioritizing important actions, adding widgets to action bar (search, sharing etc.), providing navigation between screens (drop-down & tabbed navigation) and much more.

Screenshot :
         









  Download Code Here

             Action Bar

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Thursday 21 August 2014

Android Sample Coding-PART 8:


1.JSON:


            JSON  is very light weight, structured, easy to parse and much human readable. JSON is best alternative to XML when your android app needs to interchange data with your server.

JSON is one of the best method for storing data. JSON data has both square brackets and curly brackets. The square brackets denote JSON Array and curly bracket denotes JSON Object. 


Screenshot :

          JSON Structure:









  Download Code Here

             JSON Parsing

         

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~