Bài tập 2 Android – Nguyễn Kim Quốc Việt 15141089

****MainActivity.java

package com.example.anhkiet.baitap2viet;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.CompoundButton;
import android.widget.RadioButton;

public class MainActivity extends AppCompatActivity {
RadioButton cau,my;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
cau=(RadioButton) findViewById(R.id.caurong);
my=(RadioButton) findViewById(R.id.myquang);
cau.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
Intent mh2 = new Intent(MainActivity.this,maincaurong.class);
startActivity(mh2);

}
});
my.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() {
@Override
public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) {
Intent mh3 = new Intent(MainActivity.this,mainamthuc.class);
startActivity(mh3);

}
});
}
}

////////////////////////////////////////////////////////////
****maincaurong.java
package com.example.anhkiet.baitap2viet;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;

public class maincaurong extends AppCompatActivity {
Button ql1;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_maincaurong);
ql1=(Button) findViewById(R.id.quaylai);
ql1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent mhc = new Intent(maincaurong.this,MainActivity.class);
startActivity(mhc);

}
});
}
}
////////////////////////////////////////////////
*****mainamthuc.java
package com.example.anhkiet.baitap2viet;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class mainamthuc extends AppCompatActivity {
Button ql2;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_mainamthuc);
ql2=(Button) findViewById(R.id.quaylai2);
ql2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent mhc = new Intent(mainamthuc.this,MainActivity.class);
startActivity(mhc);

}
});
}
}

5 Simple Life Hacks For your Phone

Simple Life Hacks For your Phone

Subscribe to my channal ))

Alan Walker – Fade [NCS Release]
Alan Walker – Spectre [NCS Release]
https://www.youtube.com/watch?v=AOeY-nDp7hI
➞ Facebook https://www.facebook.com/DJWalkzz
➞ SoundCloud https://soundcloud.com/walkzz
➞ YouTube https://www.youtube.com/user/DjWalkzz
➞ Twitter https://twitter.com/IAmAlanWalker
➞ Website http://www.alanwalkermusic.com/

Are you Crazy, Life Hacks, experiment , ways , What if , What happens if

Channel: AreyouCrazy ?
Published: 2017-03-19 15:31:14
Duration: 6M39S
Views: 53984782
Likes: 208296
Favorites: 0

30 WAYS TO TUNE UP YOUR SMARTPHONE THAT WON’T COST YOU ANYTHING

Subscribe to 5-Minute Crafts KIDS: https://goo.gl/PEuLVt

—————————————————————————————-
Our Social Media:

Facebook: https://www.facebook.com/5min.crafts/
Instagram: https://www.instagram.com/5.min.crafts/

Have you ever seen a talking slime? Here he is – Slick Slime Sam: https://goo.gl/zarVZo

The Bright Side of Youtube: https://goo.gl/rQTJZz
SMART Youtube: https://goo.gl/JTfP6L

—————————————————————————————-
For more videos and articles visit:
http://www.brightside.me/

Channel: 5-Minute Crafts
Published: 2017-12-13 14:02:33
Duration: 14M18S
Views: 13696740
Likes: 167881
Favorites: 0

10 Secret Phone Features You’ll Start Using Right Away

10 handy tips for iOS and Android users. Did you know that you can take photos, while you’re filming a video or make your password a current time? Watch carefully for these and many other cool smartphone features!

Smartphones are basically everything these days. They allow you to save any type of information you need and easily multi task. And even though we are all experienced smartphone users, it’s pretty much impossible to know all the tips and hacks because smartphones are getting more and more advanced, adding a lot of new and very useful features you probably don’t even have a clue about!

TIMESTAMPS
How to block ads 1:00
Wi-Fi passwords 2:01
Create your own reply for missed calls 2:59
Android guest mode 4:00
Secret iPhone codes 4:43
Audio timer 5:40
Take photos while shooting videos 6:38
Share content immediately 7:30
Keyboard and mouse 8:28
Screen Lock – Time Password 9:21

SUMMARY
– When you have an important level to pass or battle to win, and suddenly, completely out of the blue and at the most inopportune moment, there it is – an ad. Just turn on the Airplane Mode on your phone and the problem is solved!
– Every time you connect to a new Wi-Fi, your phone shows you dots instead of the actual password letters on your screen. But what if you need to quickly connect the other device to the certain source of Wi-Fi and you don’t remember the password? There is the app called Wifi Password Show.
– You can create your own texts for any occasion possible! Just go to Settings, choose Phone, then Respond with Text and voila – here you can make your own personal message that will be sent to your contacts.
– Turn on a Guest Mode! To switch it on, simply tap the User icon in the top right corner of the quick Settings panel. Then tap Guest.
– If you enter *#31# you will hide the number for all calls. If you need it just for one certain call, you can type #31# right before the number you’re calling.
– Audio Timer will allow your device to turn off all the audio at a certain time. This is available only to iOS users, though, and takes only a couple of quick and easy steps.
– Another one of the coolest features that your iPhone has – taking photos while filming a video. This option is available for all the iPhone models from iPhone 5 and onward.
– Tap the Share icon in any app, choose Android beam from the list of options, and then just put the devices together back-to-back. A couple more seconds and your mission has successfully been obtained.
– If it is necessary, Android users can easily use keyboard or mice. This can be very useful if your display is damaged or if you just need to type a lot of text. All you need to do to attach a keyboard or mouse to your Android phone is a USB on-the-go cable.
– ! The app is called Screen Lock – Time Password and it will make your phone’s current time (or any other option related to time) its lock screen password. Just look at the clock and unlock your phone with the current numbers.

Subscribe to Bright Side : https://goo.gl/rQTJZz

—————————————————————————————-
Our Social Media:

Facebook: https://www.facebook.com/brightside/

Instagram: https://www.instagram.com/brightgram/

SMART Youtube: https://goo.gl/JTfP6L

5-Minute Crafts Youtube: https://www.goo.gl/8JVmuC

—————————————————————————————-
For more videos and articles visit:
http://www.brightside.me/

Channel: BRIGHT SIDE
Published: 2017-11-16 07:04:30
Duration: 10M52S
Views: 21576964
Likes: 209000
Favorites: 0

Top 10 USES of OTG Cable that will BLOW YOUR MIND!

We will explore what you can connect to an android phone with otg cable? Hard drive , pendrive , LAN cable what’s more? Android can do so many things with #OTG (on the go).
OTG CABLE-http://amzn.to/1JW0Qru
Usb Mouse-http://amzn.to/1n75UyU
Usb Fan-http://amzn.to/1P22Ui2
Memory card reader-http://amzn.to/1PcXYca
Usb Gamepad-http://amzn.to/1nuIMuO
Usb Light-http://amzn.to/1ZJ1G26
LAN to usb-http://amzn.to/1PcXYJb
Hard drive-http://amzn.to/1nh4Id3
DSLR-http://amzn.to/1lpvM87
USB SOUND CARD-http://amzn.to/20aUUiF
DSLR DASHBOARD-http://dslrdashboard.info/downloads/
Note-All phones doesn’t support the LAN/Hard drive feature which is shown in this video.

Follow me on Facebook-https://facebook.com/Jay.kapoor24
Follow me on Twitter-https://twitter.com/Jaykapoor24
#smartphonehacks #android

Channel: Jay Kapoor
Published: 2015-12-12 06:05:27
Duration: 4M18S
Views: 6604814
Likes: 83891
Favorites: 0

Bài tập 2. Lê_Quang_Trường_15141080

Viết ứng dụng giới thiệu về cac điểm địa vui chơi du lịch, mon ăn đặc sản của que hương.
Link code: https://drive.google.com/open?id=15XUftPm-vCKB6Nd3DbteZR7kgRZWFxpG
Channel: Hiep Nguyen Van
Published: 2018-09-24 16:31:29
Duration: 11M37S
Views: 1
Likes: 0
Favorites: 0

Leave a Reply

Your email address will not be published. Required fields are marked *