-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIntranet.java
More file actions
42 lines (36 loc) · 1.76 KB
/
Intranet.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
package com.example.ruchita.technology;
/**
* Created by Ruchita on 10/13/2017.
*/
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import com.example.ruchita.technology.R;
public class Intranet extends AppCompatActivity {
TextView t1, t2;
@Override
protected void onCreate(Bundle savedInstanceState) {
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).");
}
public void click(View view) {
switch (view.getId()) {
case R.id.button10:
Intent i1 = new Intent(this, intranet_data.class);
startActivity(i1);
break;
case R.id.button14:
Intent i2 = new Intent(this, intranet_data.class);
startActivity(i2);
break;
// Intent i2=new Intent(this,intranet_data.class);
//startActivity(i2);
}
}
}