Added the Alexandre's code.
This commit is contained in:
parent
a6d4f6582a
commit
6d545e5e7f
276 changed files with 3280 additions and 22425 deletions
|
@ -5,16 +5,35 @@ import androidx.appcompat.app.AppCompatActivity;
|
|||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import android.widget.ImageButton;
|
||||
|
||||
import com.google.firebase.auth.FirebaseAuth;
|
||||
|
||||
public class Apps extends AppCompatActivity {
|
||||
FirebaseAuth fAuth;
|
||||
Button remote, thief;
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_apps);
|
||||
fAuth = FirebaseAuth.getInstance();
|
||||
remote = (Button)findViewById(R.id.remote);
|
||||
thief = (Button)findViewById(R.id.thiefpicb);
|
||||
|
||||
remote.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
startActivity(new Intent(getApplicationContext(), remotecamera.class));
|
||||
}
|
||||
});
|
||||
|
||||
thief.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
startActivity(new Intent(getApplicationContext(), VThiefPictures.class));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void logout(View view){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue