Daily Archive: March 2, 2018

7.3: Broadcast Receivers 0

7.3: Broadcast Receivers

Task 1. Set up the PowerReceiver Project Aplikasi PowerReceiver akan mendaftarkan BroadcastReceiver yang menampilkan pesan Toast saat perangkat terhubung atau terputus dari aliran listrik. Aplikasi ini juga akan mengirimkan dan menerima Intent Broadcast khusus...

7.2: Connect to the Internet with AsyncTask and AsyncTaskLoader 0

7.2: Connect to the Internet with AsyncTask and AsyncTaskLoader

Task 1. Explore the Books API 1.1 Send a Books API Request Buka Google APIs Explorer (bisa ditemukan di https://developers.google.com/apis-explorer/). Klik Books API. Temukan (Ctrl-F atau Cmd-F) books.volumes.list dan klik nama fungsi tersebut. Anda seharusnya bisa melihat laman web yang mencantumkan berbagai...

7.1: Create an AsyncTask 0

7.1: Create an AsyncTask

Task 1. Set up the SimpleAsyncTask project 1.1 Create the layout buat project baru dengan nama SimpleAsyncTask menggunakan template empty activity, kemudian ubah layout menjadi seperti dibawah : Task 2. Create the AsyncTask subclass...