Android Program to Send and Receive Data from Server

Here is source code of the Program to Send and Receive Data From Server. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. U send and receive data from server using Google Cloud Messaging. For more information go to :- http://developer.android.com/google/gcm/index.html Using Google … Read more

advertisement

Android Custom Toast Example

Here is source code of the Program to Demonstrate Custom Toast in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A toast lets a user to show a quick and little message on the screen , u can show a toast … Read more

advertisement

Android Program to Display Toast at Center of Screen

Here is source code of the Program to Demonstrate Custom Toast in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A toast lets a user to show a quick and little message on the screen , u can show a toast … Read more

advertisement

Android Program to Demonstrate ShapeDrawable

Here is source code of the Program to Demonstrate Shape Drawables in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. Shape Drawables resources let you define simple primitive shapes by defining their dimensions, background, and stroke/outline using the shape tag.Each shape … Read more

advertisement

Android Program to Demonstrate Gradient Drawable

Here is source code of the Program to Demonstrate Gradient Drawables in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A GradientDrawable lets you design complex gradient fills. Each gradient defines a smooth transition between two or three colors in a … Read more

advertisement

Android Program to Demonstrate Radial Gradient

Here is source code of the Program to Demonstrate Radial Gradient in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A GradientDrawable lets you design complex gradient fills. Each gradient defines a smooth transition between two or three colors in a … Read more

advertisement

How to Convert Text to Speech in Android?

Here is source code of the Program to Demonstrate Text to Speech in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. Main Activity package com.example.texttospeech;   import java.util.Locale;   import android.app.Activity; import android.os.Bundle; import android.speech.tts.TextToSpeech; import android.util.Log; import android.view.View; import android.widget.Button; … Read more

advertisement

Android Program to Demonstrate SweepGradient

Here is source code of the Program to Demonstrate Gradient Drawables in Android. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A GradientDrawable lets you design complex gradient fills. Each gradient defines a smooth transition between two or three colors in a … Read more

advertisement

Android Program to Demonstrate Connection to an Internet Resource

Here is source code of the Program to Demonstrate Connection to an Internet Resource in Android using Java. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. In this program we initiate a HTTPS connection and using this connection we get a json … Read more

advertisement

Android Program to Demonstrate Layouts in an Activity and Nesting of Layouts

Here is source code of the Program to Demonstrate Layouts in an Activity and Nesting of Layouts in Android using Java. The program is successfully compiled and run on a Windows system using Eclipse Ide. The program output is also shown below. A layout defines how your different components are shown on the screen , … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.