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 pathIntranet.java
More file actions
Latest commit
42 lines (36 loc) · 1.76 KB
/
Copy pathIntranet.java
File metadata and controls
42 lines (36 loc) · 1.76 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
packagecom.example.ruchita.technology;
/**
* Created by Ruchita on 10/13/2017.
*/
importandroid.content.Intent;
importandroid.support.v7.app.AppCompatActivity;
importandroid.os.Bundle;
importandroid.view.View;
importandroid.widget.TextView;
importcom.example.ruchita.technology.R;
publicclassIntranetextendsAppCompatActivity {
TextViewt1, t2;
@Override
protectedvoidonCreate(BundlesavedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_intranet);
t1 = (TextView) findViewById(R.id.textView4);
t2 = (TextView) findViewById(R.id.textView9);
t1.setText("Intranet");
t2.setText("An intranet is a private network accessible only to an organization's staff. Generally a wide range of information and services from the organization's internal IT systems are available that would not be available to the public from the Internet. A company-wide intranet can constitute an important focal point of internal communication and collaboration, and provide a single starting point to access internal and external resources. In its simplest form an intranet is established with the technologies for local area networks (LANs) and wide area networks (WANs).");
}
publicvoidclick(Viewview) {
switch (view.getId()) {
caseR.id.button10:
Intenti1 = newIntent(this, intranet_data.class);
startActivity(i1);
break;
caseR.id.button14:
Intenti2 = newIntent(this, intranet_data.class);
startActivity(i2);
break;
// Intent i2=new Intent(this,intranet_data.class);
//startActivity(i2);
}
}
}