Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAndroid_Technology.java
More file actions
Latest commit
45 lines (34 loc) · 1.55 KB
/
Copy pathAndroid_Technology.java
File metadata and controls
45 lines (34 loc) · 1.55 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
packagecom.example.ruchita.technology;
/**
* Created by Ruchita on 10/13/2017.
*/
importandroid.content.Intent;
importandroid.os.Bundle;
importandroid.support.v7.app.AppCompatActivity;
importandroid.view.View;
importandroid.widget.TextView;
importcom.example.ruchita.technology.R;
publicclassAndroid_TechnologyextendsAppCompatActivity {
TextViewt1,t2;
@Override
protectedvoidonCreate(BundlesavedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_android_technology);
t2=(TextView)findViewById(R.id.textView8);
t1=(TextView)findViewById(R.id.textView5);
t1.setText("Android Technology");
t2.setText("Android is a mobile operating system developed by Google, based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets. Android's user interface is mainly based on direct manipulation, using touch gestures that loosely correspond to real-world actions, such as swiping, tapping and pinching, to manipulate on-screen objects, along with a virtual keyboard for text input.");
}
publicvoidclick(Viewview) {
switch (view.getId()) {
caseR.id.button9:
Intenti1=newIntent(this,android_data.class);
startActivity(i1);
break;
caseR.id.button13:
Intenti2=newIntent(this,android_data.class);
startActivity(i2);
break;
}
}
}