This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TOOLCHAIN_DIR=/media/data/faizauthar/Documents/android/toolchain/ | |
ANDROID_VERSION=13 | |
export CROSS_COMPILE=$TOOLCHAIN_DIR/clang-r450784e/bin/aarch64-linux-gnu- | |
export CC=$TOOLCHAIN_DIR/clang-r450784e/bin/clang | |
export PLATFORM_VERSION=$ANDROID_VERSION | |
cflags+="-I${TOOLCHAIN_DIR}/kernel-build-tools/linux-x86/include " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click | |
If RadioButton1.Checked Then | |
MsgBox("NPM " & TextBox1.Text & vbCrLf & | |
"nama " & TextBox2.Text & vbCrLf & | |
"jenis kelamin " & ComboBox1.Text & vbCrLf & | |
"Status " & RadioButton1.Text & vbCrLf, MsgBoxStyle.Information, "message") | |
ElseIf RadioButton2.Checked Then | |
MsgBox("NPM " & TextBox1.Text & vbCrLf & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Class1 | |
Dim hasil As Double | |
Public Sub New(ByVal bil1 As Double, ByVal bil2 As Double, ByVal Operasi As String) | |
If Operasi = "*" Then | |
hasil = Kali(bil1, bil2) | |
ElseIf Operasi = "/" Then | |
If bil2 <> 0 Then | |
hasil = Bagi(bil1, bil2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Class Form1 | |
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click | |
If RadioButton1.Checked Then | |
MsgBox("NPM " & TextBox1.Text & vbCrLf & | |
"Nama " & TextBox2.Text & vbCrLf & | |
"jenis kelamin " & ComboBox1.Text & vbCrLf & | |
"Status " & RadioButton1.Text & vbCrLf, MsgBoxStyle.Information, "message") | |
ElseIf RadioButton2.Checked Then | |
MsgBox("NPM " & TextBox1.Text & vbCrLf & |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-02-16 11:21:33.268 6281-6302/? D/StrictMode: StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. Callsite: readFromParcel | |
at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1929) | |
at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:305) | |
at android.view.SurfaceControl.finalize(SurfaceControl.java:1104) | |
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291) | |
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278) | |
at java.lang.Daemons$Daemon.run(Daemons.java:139) | |
at java.lang.Thread.run(Thread.java:923) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-02-16 11:18:44.404 5580-5580/com.ocd.app W/Firestore: (21.5.0) [CustomClassMapper]: No setter/field for dateCreated found on class com.ocd.app.model.UserProfileModel | |
2021-02-16 11:18:44.420 5580-5580/com.ocd.app W/Glide: Load failed for with size [22x22] | |
class com.bumptech.glide.load.engine.GlideException: Failed to load resource | |
2021-02-16 11:18:44.421 5580-5580/com.ocd.app W/Glide: Load failed for with size [88x88] | |
class com.bumptech.glide.load.engine.GlideException: Failed to load resource | |
2021-02-16 11:18:44.779 5580-5580/com.ocd.app E/RecyclerView: No adapter attached; skipping layout | |
2021-02-16 11:18:44.862 5580-5605/com.ocd.app D/StrictMode: StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. Callsite: readFromParcel | |
at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1929) | |
at dalvik.system.Clos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-02-05 15:37:40.240 28128-28144/com.ocd.app D/StrictMode: StrictMode policy violation: android.os.strictmode.LeakedClosableViolation: A resource was acquired at attached stack trace but never released. See java.io.Closeable for information on avoiding resource leaks. Callsite: readFromParcel | |
at android.os.StrictMode$AndroidCloseGuardReporter.report(StrictMode.java:1929) | |
at dalvik.system.CloseGuard.warnIfOpen(CloseGuard.java:305) | |
at android.view.SurfaceControl.finalize(SurfaceControl.java:1104) | |
at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291) | |
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278) | |
at java.lang.Daemons$Daemon.run(Daemons.java:139) | |
at java.lang.Thread.run(Thread.java:923) | |
2021-02-05 15:37:40.240 28128-28144/com.ocd.app W/System.err: StrictMode VmPolicy violation with POLICY_DEATH; shutting down. | |
2021-02-05 15:37:40.240 28128-28144/com.ocd.app I/Process: Sending signal. PID: 28128 SIG: 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2021-02-04 17:12:34.720 11017-11017/com.ocd.app E/RecyclerView: No adapter attached; skipping layout | |
2021-02-04 17:12:36.128 11017-11017/com.ocd.app E/RecyclerView: No adapter attached; skipping layout | |
2021-02-04 17:12:43.987 11017-11017/com.ocd.app E/RecyclerView: No adapter attached; skipping layout | |
2021-02-04 17:12:53.987 11017-11017/com.ocd.app E/RecyclerView: No adapter attached; skipping layout | |
2021-02-04 17:12:54.114 11017-11017/com.ocd.app E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: com.ocd.app, PID: 11017 | |
java.lang.IllegalArgumentException: You cannot start a load for a destroyed activity | |
at com.bumptech.glide.manager.RequestManagerRetriever.assertNotDestroyed(RequestManagerRetriever.java:317) | |
at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:128) | |
at com.bumptech.glide.manager.RequestManagerRetriever.get(RequestManagerRetriever.java:108) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
onDoubleTap: () { | |
Navigator.push( | |
context, | |
MaterialPageRoute( | |
builder: (context) => AddItemPage( | |
id, | |
name: name, | |
desc: desc, | |
photo: photo, | |
))); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<String> uploadImage(File image, BuildContext context, String id, | |
String singerName, String singerDesc) async { | |
StorageReference storageReference = FirebaseStorage.instance | |
.ref() | |
.child('singers/${Path.basename(image.path)}}'); | |
StorageUploadTask uploadTask = storageReference.putFile(image); | |
await uploadTask.onComplete; | |
storageReference.getDownloadURL().then((fileURL) { | |
if (id == null) { | |
addDatabase(context, singerName, singerDesc, fileURL); |
NewerOlder