88
99package me .loule .vroomcards .activities ;
1010
11- import androidx .appcompat .app .ActionBar ;
1211import androidx .appcompat .app .AppCompatActivity ;
1312
1413import android .content .Intent ;
1514import android .content .pm .PackageInfo ;
1615import android .content .pm .PackageManager ;
16+ import android .net .Uri ;
1717import android .os .Bundle ;
18+ import android .view .View ;
19+ import android .widget .ImageView ;
1820import android .widget .TextView ;
1921
2022import me .loule .vroomcards .R ;
@@ -25,24 +27,52 @@ public class AboutActivity extends AppCompatActivity {
2527 protected void onCreate (Bundle savedInstanceState ) {
2628 super .onCreate (savedInstanceState );
2729 setContentView (R .layout .activity_about );
30+ ImageView imgLouisL = findViewById (R .id .louisLImageView );
31+ ImageView imgLouisY = findViewById (R .id .louisYImageView );
32+ ImageView imgVaheK = findViewById (R .id .vaheKImageVIew );
33+ ImageView imgAbedA = findViewById (R .id .abedAImageView );
2834
35+ TextView VersionEntry = findViewById (R .id .versionText );
2936
30- // Récupérer l'intent
31- Intent srcIntent = getIntent ();
32-
33- // je lis les infos qui sont dedans
34- String name = srcIntent .getStringExtra ("name de l'app" );
35- String groupe = srcIntent .getStringExtra ("name de groupe" );
36-
37-
38- TextView vroomCards = findViewById (R .id .vroomCards );
39- vroomCards .setText (name );
37+ imgLouisL .setOnClickListener (new View .OnClickListener () {
38+ public void onClick (View v ) {
39+ Intent intent = new Intent ();
40+ intent .setAction (Intent .ACTION_VIEW );
41+ intent .addCategory (Intent .CATEGORY_BROWSABLE );
42+ intent .setData (Uri .parse ("https://github.com/Loule95450" ));
43+ startActivity (intent );
44+ }
45+ });
4046
41- TextView lefevre_g = findViewById (R .id .lefevre_g );
42- vroomCards .setText (name );
47+ imgLouisY .setOnClickListener (new View .OnClickListener () {
48+ public void onClick (View v ) {
49+ Intent intent = new Intent ();
50+ intent .setAction (Intent .ACTION_VIEW );
51+ intent .addCategory (Intent .CATEGORY_BROWSABLE );
52+ intent .setData (Uri .parse ("https://github.com/LouisYang95" ));
53+ startActivity (intent );
54+ }
55+ });
4356
57+ imgVaheK .setOnClickListener (new View .OnClickListener () {
58+ public void onClick (View v ) {
59+ Intent intent = new Intent ();
60+ intent .setAction (Intent .ACTION_VIEW );
61+ intent .addCategory (Intent .CATEGORY_BROWSABLE );
62+ intent .setData (Uri .parse ("https://github.com/VaheKri" ));
63+ startActivity (intent );
64+ }
65+ });
4466
45- TextView VersionEntry = findViewById (R .id .versionText );
67+ imgAbedA .setOnClickListener (new View .OnClickListener () {
68+ public void onClick (View v ) {
69+ Intent intent = new Intent ();
70+ intent .setAction (Intent .ACTION_VIEW );
71+ intent .addCategory (Intent .CATEGORY_BROWSABLE );
72+ intent .setData (Uri .parse ("https://github.com/Abed-Nego28" ));
73+ startActivity (intent );
74+ }
75+ });
4676
4777 try {
4878 PackageManager pm = getPackageManager ();
0 commit comments