Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

How to make ServiceLifeCycle in android

In the below example code I have created android Service program. In activity_main.xml layout, first I have created a LinearLayout then in LinearLayout added two Button. Now See in coding part Here I have created a new MyService class and then My...

How to get Latitude and Longitude On a button click using GPS?

1)Firstly in your XML,Make a Button and TextView : <Button android:id="@+id/btnMyLocation" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/mylocation"/> <TextView ...

Autostart service after device reboot in android

Sometime you need to register your own android application or service to start automatically when the device has been Rebooted to perform particular task. Here we will learn the simplest way to start an Android service or an application at dev...

How to Use Services in Android Simple Example

Using Services In Android Service is an application component which runs in the background and do not have a user interface.Services can be of two forms:: Started Service can be started from an application component such ...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: