Posts

Showing posts from May, 2025

Tugas 8 PPB

   Tugas 8 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Woof /* * Copyright (C) 2023 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.example.woof import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.annotation. DrawableRes import androidx.annotation. StringRes import an...

Tugas 7 PPB

Image
   Tugas 7 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Login Page   Pada pertemuan ini ditugaskan membuat Login Page. Antarmuka ini menyajikan elemen-elemen umum yang terdapat dalam halaman login seperti logo aplikasi, input untuk username dan password, tombol login, serta opsi login alternatif menggunakan Facebook, Google, dan Apple.   Youtube     Code               https://github.com/arafifh/tugas-7-ppb.git       package com.example.login_page_android_app import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compos...

Tugas 6 PPB

Image
   Tugas 6 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Currency Converter   Pada pertemuan ini ditugaskan membuat aplikasi Currency Converter. Aplikasi ini memungkinkan pengguna untuk memasukkan sejumlah uang, memilih mata uang asal dan tujuan, lalu menampilkan hasil konversi berdasarkan nilai tukar yang telah ditentukan. Berikut adalah penjelasan lebih detail dari implementasi yang dilakukan. 1. Youtube   2. Code     Github:  https://github.com/arafifh/tugas-6-ppb.git   MainActivity.kt package com.example.currency_converter_android_app import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.compose.foundation.layout.* import androidx.compose.material3.* import androidx.compose.runtime.* import androidx.compose.ui.Modifier import androidx.compose.ui.unit.dp import com.example.cur...

Tugas 5 PPB

   Tugas 5 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Kalkulator Youtube:  https://youtu.be/0oKW6-Gc7G8 package com.example.calculator_android_app import android.os.Bundle import android.widget.Space import android.widget.Toast import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.activity.enableEdgeToEdge import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Row import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.fillMaxSize import androidx.compose.foundation.layout.fillMaxWidth import androidx.compose.foundation.layout.height import androidx.compose.foundation.layout.padding import androidx.compose.foundation.layout.width import androidx.compose.material3.Button import androidx.compose.material3.Scaffold import androidx.compose.material3.Text import androidx...