Friday, June 23, 2017

Android: Job Scheduler schedule you job

June 23, 2017
android
Welcome to the android tutorial. Android In this post, we talk about JobSchedular. A job scheduler is more effective than alarm manager. Want to see it benefits then check out this link. For scheduling, you have many options to use. 1. Android Alarm manager 2. Job Scheduler 3. Gcm Network Manager In the previous post, we talk about android alarm manager. Are you confused about those?...
Read More

Tuesday, June 20, 2017

Kotlin: Array and Loop

June 20, 2017
kotlin
Welcome to kotlin Series Kotlin Series In this post, we are going to learn about Array. The array is really helpful for saving the collection of data. Let's start- we declare a variable and name arrays and assign with Array. val arrays = Array(5) { 0 } Now currently our arrays variable has only one index and index position is 0 now add some other index and also print an index for checking. val...
Read More

Friday, June 16, 2017

Android: Alarm Manger with broadcast receiver

June 16, 2017
Welcome to this post. In this post, we are going to learn about Alarm manager and BroadCast Receiver. As usual before start please check official documentation. 1.Alarm Manager official documentation 2.BroadCast Receiver official documentation Alarm manager is used for scheduling task. If you want to do a task after some time intervals or if want to do some task at 11 am. of the daytime, you have to use alarm manager. Because there is a possibility that user is not using this app at that particular...
Read More

Android Spinner and it's adapter

June 16, 2017
Welcome to this post. In this post, we going to learn about Spinner. Spinner is really awesome to give user choice to select from a small list. you can use the spinner to get a value from a list. In this project, we are going to create a list that shows a list in the spinner. The list has 3 items- Everyday Today Schedule Let's start- layout name as you want. I create a fragment that contains a spinner and a text view. I am currently using the same spinner in two or more file so I use...
Read More

Thursday, June 15, 2017

RecyclerView OnClick Listener again

June 15, 2017
Untitled-2
RecyclerView is the more flexible than ListView. Now we all use RecyclerView. But In the RecyclerVIew there is a problem that it's not come with the listener. So we can not handle click event easily. I already post a method to handle click event click here. Here are an another methods to handle click event. Note: In this post, I just show only some methods where you have to change not full...
Read More

Bookstore: Kotlin a simple program

June 15, 2017
kotlin
Bookstore a Kotlin example code LEVEL: BEGINNER This example is good for understanding Array methods conditions(if and else) variable declaration The program features are- First, we welcome to our customer to our bookstore Then we ask the user to which book do you want? If we found that book we show a price about the book. Then we say to our customer that we have a discount...
Read More

Android Night Mode

June 15, 2017
night
welcome to this post.In this post we are going to learn about how to use night mode on Android app. you can turn on night mode in your app by using android support library. you can use this option in settings or in the menu item. Night mode In this case, I use this on settings. In a past post, we learn how to make app settings you can take a look Let's start- First, add new file name colors.xml...
Read More