Skip to main content

Posts

Detect Noise Or Blow Sound - Set Sound Frequency Threshold - Android Tutorial

This tutorial explains how to detecting noise and setting a noise threshold , when this noise/sound frequency cross threshold ,example will show an alert.                                 In this example broadcasting screen wake / sleep event with a service. Now follow the coding to develop this simple application   1.main.xml <? xml version= "1.0" encoding= "utf-8" ?>   < LinearLayout xmlns: android = "http://schemas.android.com/apk/res/android"     android :layout_width= "fill_parent"     android :layout_height= "fill_parent"   android :background= "@color/black"   android :orientation= "vertical" > < TextView     android :id= "@+id/status"     android :layout_width= "wrap_content"     android :layout_height= "wr...

Bar-code Generator - Android Tutorial

This tutorial explains how to generate bar-code or QR-code for the selling product By this application you can generate QR, Code 39, Code 128 and EAN13 How this codes get generated ? Using the library  itextpdf-5.5.6.jar I have created a simple app to demonstrate this tutorial. Below is the screenshot of the app which contains 5 buttons, 2 edit box and 3 radio buttons. Enter in Data field and Description field and select the radio button(where the description want to display) and touch your required code button. Each type of bar code has their validation You will get the bar code output in the form  of PDF as given,          You can test the above codes by reading using the app Barcode Reader available in Google Play Now follow the coding to develop this simple application   1. activity_main.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:too...