ၼင်ႇႁိုဝ်လႄႈ ပေႃးတေပဵၼ်တၢင်းၵမ်ႉထႅမ် တွၼ်ႈတႃႇၽူႈၸႂ်ႉတိုဝ်းၶွမ်းႁဝ်းၶဝ်ၼၼ်ႉ
လူဝ်ႇမႃးမိူဝ်ႈလႂ်ၵေႃႈ ႁႂ်ႈပေႃးႁႃငၢႆႈ ၸၼ်ငၢႆႈ ယိူင်းဢၢၼ်းၼင်ႇၼႆသေလႄႈ ၸင်ႇလႆႈတၢင်ႇဝႆႉပၼ်
ပီႈၼွင်ႉႁဝ်းၶဝ်ယဝ်ႉ ၸၼ်ဢဝ်လႆႈတီႈတႂ်ႈၼႆႉတႃႉ။
package com.example.jaotainum.welcomescreen; import android.content.Intent; import android.os.Handler; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; public class Main extends AppCompatActivity { private int SPLASH_TIME_OUT = 4000; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); new Handler().postDelayed(new Runnable() { @Override public void run() { Intent home = new Intent(Main.this,HomeActivity.class); startActivity(home); finish();; } },SPLASH_TIME_OUT); } }
<?xml version="1.0" encoding="utf-8"?><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".Main"> <Button android:id="@+id/btn" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_weight="1" android:text="Click" /> </LinearLayout>
Main java code
package com.example.jaotainum.toast; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.Toast; public class Main extends AppCompatActivity { Button test; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); test= (Button) findViewById(R.id.btn); test.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Toast.makeText(Main.this, "Hello", Toast.LENGTH_SHORT).show(); } }); } public void dosomthing(View v) { } }
public class lesson11 { public static void main(String []args){ Scanner sc = new Scanner(System.in); String s = sc.next(); switch (s) { case "*133#": do { System.out.println("1. data pack"); System.out.println("2. Facebook Pack"); System.out.println("3. Other Pack"); s = sc.next(); if (s.equals("1")) { System.out.println("1. 450 MB+ 700"); System.out.println("2. 2.GB + 1500 "); System.out.println("3. 88"); s = sc.next(); if (s.equals("2")||s.equals("2")) { System.out.println("Success"); } } } while (s.equals("88")); break; default: System.out.println("Number Code Error"); } } }
import java.util.Scanner; public class lesson10 { public static void main(String []args){ Scanner sc = new Scanner(System.in); String code = sc.next(); switch (code){ case "*133#": System.out.println("1. Data Pack"); System.out.println("2. Facebook Pack"); System.out.println("3. Other Pack"); String numberpacck = sc.next(); if (numberpacck.equals("1")){ System.out.println("1. 400 MB+700 (Pack)"); System.out.println("2. 900 MB + Data Pack"); System.out.println("3. 1 GB + Data Pack"); }else if (numberpacck.equals("2")){ System.out.println("200 MB + 499 ks (Facebook Pack)"); System.out.println("700 MB + 999 ks (Facebook Pack"); System.out.println("1 GB + 1500 ks (Facebook Pack"); }else if (numberpacck.equals("3")){ System.out.println("Voice Call Pack"); System.out.println("Other Call"); System.out.println("other call"); } break; default:{ System.out.println("Number code Error"); } } } }
import java.util.Scanner; public class lesson08 { public static void main (String []args){ Scanner sc = new Scanner(System.in); String st = sc.nextLine(); System.out.println("Outpot; "+st); } }
ၼင်ႇႁိုဝ်လႄႈ ပေႃးတေပဵၼ်တၢင်းၵမ်ႉထႅမ် တွၼ်ႈတႃႇၽူႈၸႂ်ႉတိုဝ်းၶွမ်းႁဝ်းၶဝ်ၼၼ်ႉ လူဝ်ႇမႃးမိူဝ်ႈလႂ်ၵေႃႈ ႁႂ်ႈပေႃးႁႃငၢႆႈ ၸၼ်ငၢႆႈ ယိူင်းဢၢၼ်း...