Posts

Tugas 10 PPB

   Tugas 10 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Unscramble Word package com.example.unscramblewordapp.ui 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.unscramblewordapp.logic.scrambleWord import com.example.unscramblewordapp.logic. wordList @Composable fun UnscrambleGame () { var currentWord by remember { mutableStateOf ( wordList . random ()) } var scrambledWord by remember { mutableStateOf ( scrambleWord (currentWord)) } var userInput by remember { mutableStateOf ( "" ) } var isCorrect by remember { mutableStateOf <Boolean?>( null ) } Column ( modifier = Modifier . fillMaxSize () . padding ( 24 . dp ), verticalArrangement = Arrangement.spacedBy( 16 . dp ) ...

Tugas 9 PPB

   Tugas 9 Pemrograman Perangkat Bergerak   Nama : Ahmad Rafif Hikmatiar NRP : 5025211247 Kelas : Pemrograman Perangkat Bergerak (D)   Desert Clicker package com.example.dessertclickerapp import android.os.Bundle import androidx.activity.ComponentActivity import androidx.activity.compose.setContent import androidx.annotation.DrawableRes import androidx.compose.foundation.Image import androidx.compose.foundation.clickable import androidx.compose.foundation.layout.* import androidx.compose.material3.* import androidx.compose.runtime.* import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier import androidx.compose.ui.res.painterResource import androidx.compose.ui.unit.dp import com.example.dessertclickerapp.ui.theme.DessertClickerAppTheme class MainActivity : ComponentActivity() { override fun onCreate (savedInstanceState: Bundle?) { super .onCreate(savedInstanceState) setContent { DessertClickerAppTheme { ...

FP PPB

SayurBox App - Aplikasi Belanja Sayur Online 🥬 SayurBox App - Aplikasi Belanja Sayur Online SayurBox adalah aplikasi mobile e-commerce yang memfokuskan pada penjualan sayur-sayuran dan produk segar secara online. Aplikasi ini menyediakan platform yang mudah digunakan untuk berbelanja kebutuhan sayur-mayur dengan fitur lengkap seperti katalog produk, keranjang belanja, sistem favorit, dan manajemen pesanan yang terintegrasi. 📊 Presentasi Aplikasi Green Purple Digitalism Basic Simple Presentation by Rafif Hikmatiar Authentication System Implementation class AuthViewModel : ViewModel() { private val _authState = MutableStateFlow(AuthState()) val authState: StateFlow<AuthState> =...

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...