안드로이드/기타 13

물과 불 게임 5탄

링크를 클릭하시면 새창으로 크게 즐기실수 있습니다. html5.gamedistribution.com/03f124074b0049f89fdace0cacf8ead5/ Fireboy and Watergirl 5 Elements Explore the Elemental Temples in Fireboy and Watergirl 5 (by Oslo Albet)! Solve many puzzles, collect all the diamonds and beat the time. Fireboy and Watergirl Elements is a completely new game with lots of new elements. Travel to all temples in the Firebo html5.gamedistribu..

물과 불 게임 4탄

링크를 클릭하시면 새창으로 크게 즐기실수 있습니다. html5.gamedistribution.com/3790681b69584409b7f681a8e400102d/ Fireboy and Watergirl 4 Crystal Temple Fireboy and Watergirl (by Oslo Albet) on an adventure through the Crystal Temple! Teleport from one side to the other. Complete all challenging levels. Watch out for all dangers and observe the colors of the teleporters. Switch between Fireboy & Watergirl- html5.gamedi..

물과 불 게임 3탄

링크를 클릭하시면 새창으로 크게 즐길수있습니다. html5.gamedistribution.com/f3a6e1ac0a77412289cbac47658b2b68/ Fireboy and Watergirl 3 Ice Temple Fireboy and Watergirl (by Oslo Albet) are having a very "cool" time on their journey in the Ice Temple! A lot of dangers are lurking inside the ice temple. You must complete many challenges to get these brave heroes to the exit safely. Switch between Fireb html5.gamedistribu..

물과 불 게임 2탄

링크를 클릭하시면 새창으로 크게 즐길수 있습니다. https://html5.gamedistribution.com/383ad09b92c7446b9113cccc29630517/ Fireboy and Watergirl 2 Light Temple This time, Fireboy and Watergirl (made by Oslo Albet), are exploring the Light Temple. Use the temple light to reach the exit safely. Switch between Fireboy & Watergirl, but be careful, Fireboy cannot touch water and Watergirl cannot touch fire. html5.gamedistribu..

물과 불 게임 1탄

링크를 클릭하시면 새창으로 크게 즐기실수 있습니다. https://html5.gamedistribution.com/a55c9cc9c21e4fc683c8c6857f3d0c75/ Fireboy and Watergirl 1 Forest Temple Fireboy and Watergirl, made by Oslo Albet, are exploring the Forest Temple in search of diamonds. Switch between Fireboy & Watergirl and play alone or together as 2 players. The goal is to reach the exit safely, so be careful. Fireboy cannot touch water an html5..

AlertDialog -list

AlertDialog 생성하기 그림에서 처럼 "리스트"란 버튼을 누르면 AlertDialog가 화면에 띄어지고 각각의 리스트를 클릭하면 Toast로 결과를 띄우는 코드 public class MainActivity extends AppCompatActivity { private String[] items = {"망고 쥬스","토마토 쥬스","포도 쥬스"}; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); Button listButton = (Button) findViewById(R.id.button_list..

Fragment (프래그먼트)

Design에서 layout을 생성. 몇개 할건가. 아무튼 생성 Java code에서 activity를 추가생성. layout 생성한 갯수 만큼그리고 아래 코드를 삽입 public class FragmentActivity1 extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { return inflater.inflate(R.layout.activity_fragment1,container,false); } } FragmentActivity1 는 Layout의 이름이고, extends Fragment 라고 한뒤에 on CreateVie..

onclickListener (이벤트 할당)

디자인에서의 onClick 이벤트말고,디자인에서 생성된 onClick event를 실행했을경우, 다른 버튼에 이벤트를 할당하는 방법 - Button1 에는 onclick 이벤트를 할당하였고,- Button2 에는 onclick 이벤트를 할당하지 않았을경우 - Button1 이 눌릴때만 Button2에 이벤트를 할당하고 싶을때 아래처림 onclickListener를 사용하면 된다.public void onButtonEventClicked(View v) { Toast.makeText(MainActivity.this, "Button1 눌림", Toast.LENGTH_SHORT).show(); Button myBtn = (Button) findViewById(R.id.button2); if(myBtn.hasOn..