---
# System prepended metadata

title: Home word
tags: [android]

---

# Home word 

###### tags: `android`


# 10-3-3


![](https://i.imgur.com/8YPhhds.png)

```
package com.example.a10\_3\_3;  
  
import androidx.appcompat.app.AppCompatActivity;  
  
import android.content.Intent;  
import android.net.Uri;  
import android.os.Bundle;  
import android.view.View;  
  
public class MainActivity extends AppCompatActivity {  
  
    private static final Object TAG = "Ch10\_3\_3";  
  
   @Override  
   protected void onCreate(Bundle savedInstanceState) {  
        super.onCreate(savedInstanceState);  
   setContentView(R.layout.activity_main);  
   Log.d(TAG,"MainActivity:onCreate");  
   }  
  
    @Override  
   protected void onStart(){  
        super.onStart();  
   Log.d(TAG,"MainActivity:onStar");  
   }  
    @Override  
   protected void onResume(){  
        super.onResume();  
   Log.d(TAG,"MainActivity:onResume");  
  
   }   
    @Override  
   protected void onStop(){  
        super.onStop();  
   Log.d(TAG,"MainActivity:onStop");  
  
   }  
    @Override  
   protected void onPause(){  
        super.onPause();  
   Log.d(TAG,"MainActivity:onPause");  
  
   }  
    @Override  
   protected void onRestart(){  
        super.onRestart();  
   Log.d(TAG,"MainActivity:onRestart");  
   }  
      
    public void button_click (View view){  
        Intent i =new Intent(getIntent().ACTION_VIEW, Uri.parse("geo:2312432536546353454354352"));  
   startActivity(i);  
   }  
    public void button2_Click(View view){  
        finish();  
   }  
      
}
```