Profile cover photo
Profile photo
Shriyanshu Jain
27 followers
27 followers
About
Posts

Post has attachment
How to create AnalogClock and DigitalClock in Android.
Analogclock and Digitalclock views  * The AnalogClock view displays an analog clock with two hands — one for minutes and one for hours. * Its counterpart, the DigitalClock view, displays the time digitally. Both display the system time, and do not allow you...
Add a comment...

Post has attachment
Android ProgressBar Example.
ProgressBar View  * The ProgressBar view provides visual feedback of some ongoing tasks, such as when you are per- forming a task in the background. * For example , you might be downloading some data from the Web and need to update the user about the status...
Add a comment...

Post has attachment
How to update an activity from BroadcastReceiver ?
Updating an Activity from a BroadcastReceiver If you’ll want to send the SMS message back to the main activity of your application. For example , you might wish to display the message in a TextView. The following example demonstrates how you can do this. Cr...
Add a comment...

Post has attachment
Calling Built-In Application using Intent in android
You have seen how to call activities within your own application. One of the key aspects of Android programming is using the intent to call activities from other applications. In particular, your application can call the many built-in applications that are ...
Add a comment...

Post has attachment
How to use ScrollView in Android ?
Scrollview  * A ScrollView is a special type of FrameLayout in that it enables users to scroll through a list of views that occupy more space than the physical display. * The ScrollView can contain only one child view or ViewGroup, which normally is a Linea...
Add a comment...

Post has attachment
How to use ScrollView in Android ?
Scrollview  * A ScrollView is a special type of FrameLayout in that it enables users to scroll through a list of views that occupy more space than the physical display. * The ScrollView can contain only one child view or ViewGroup, which normally is a Linea...
Add a comment...

Post has attachment
Dynamically update option menu items in Android.
Updating Menu Items Dynamically By overriding your Activity’s onPrepareOptionsMenu method, you can modify a Menu based on an application’s current state immediately before the Menu is displayed. This lets you dynamically disable/enable Menu Items, set visib...
Add a comment...

Post has attachment
Bluetooth Communication Android.
Bluetooth Communications The Android Bluetooth communications APIs are wrappers around RFCOMM , the Bluetooth radio frequency communications protocol. RFCOMM supports RS232 serial communication over the Logical Link Control and Adaptation Protocol (L2CAP) l...
Add a comment...

Post has attachment
Custom Toast in Android.
Customizing Toasts The standard Toast message window is often sufficient, but in many situations you’ll want to cus- tomize its appearance and screen position.  You can modify a Toast by setting its display position and assigning it alternative Views or layo...
Add a comment...

Post has attachment
Bind Service to Activity in Android.
Binding Activities to Services So far, you have seen how services are created and how they are called and terminated when they are done with their task.  All the services that you have seen are simple — either they start with a counter and increment at regu...
Add a comment...
Wait while more posts are being loaded