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
<!-- Image --> | |
<androidx.cardview.widget.CardView | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
app:cardBackgroundColor="@color/colorAccentDark" | |
app:cardCornerRadius="16dp"> | |
<ImageView | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" |
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
import java.util.Scanner; | |
/** | |
* | |
* @author derysudrajat | |
*/ | |
public class NumSeperate { | |
/** | |
* @param args the command line arguments |
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
package com.derysudrajat.myintentapp; | |
import androidx.appcompat.app.AppCompatActivity; | |
import androidx.appcompat.widget.AppCompatImageButton; | |
import android.annotation.SuppressLint; | |
import android.os.Bundle; | |
import android.view.View; | |
import android.webkit.WebChromeClient; | |
import android.webkit.WebSettings; |
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 main { | |
public static void main(String[] args) { | |
System.out.println("Halo, Dunia!"); | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<androidx.constraintlayout.widget.ConstraintLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:padding="16dp" | |
tools:context=".MainActivity"> |
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
dependencies { | |
//... other dependencies | |
// ML-KIT OnDeviceTranslator | |
implementation 'com.google.firebase:firebase-ml-natural-language:22.0.0' | |
implementation 'com.google.firebase:firebase-ml-natural-language-translate-model:20.0.7' | |
} | |
apply plugin: 'com.google.gms.google-services' |
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
/* | |
* Copyright (c) 2020. this code made by Dery Sudrajat | |
*/ | |
package com.derysudrajat.firebasemlkittranslate | |
import android.os.Bundle | |
import androidx.appcompat.app.AppCompatActivity | |
import kotlinx.android.synthetic.main.activity_main.* |
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
/* | |
* Copyright (c) 2020. this code made by Dery Sudrajat | |
*/ | |
package com.derysudrajat.firebasemlkittranslate | |
import android.os.Bundle | |
import android.util.Log | |
import androidx.appcompat.app.AppCompatActivity | |
import com.google.firebase.ml.naturallanguage.FirebaseNaturalLanguage |
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
// Copyright(c) 2020, this code was made by Dery Sudrajat | |
// array of structures | |
#include <iostream> | |
#include <string> | |
#include <sstream> | |
#include <iomanip> | |
using namespace std; | |
struct pembeli | |
{ |
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
package com.derysudrajat.firebaseauth; | |
import android.os.Bundle; | |
import android.text.TextUtils; | |
import android.util.Log; | |
import android.widget.EditText; | |
import android.widget.TextView; | |
import android.widget.Toast; | |
import com.google.android.material.textfield.TextInputLayout; |
OlderNewer