Click here to Skip to main content
15,793,260 members
Home / Discussions / Android
   

Android

 
GeneralRe: E-Wallet App Development Pin
CHill6011-Jan-22 3:16
mveCHill6011-Jan-22 3:16 
QuestionLogin With Firebase Pin
ncir jaweher19-Nov-21 12:44
ncir jaweher19-Nov-21 12:44 
Hello please some one help me how con i do the login.java
this my code of Inscription
    //creation instance du la base
    databaseReference = FirebaseDatabase.getInstance().getReference().child("user").child("authenification_User");


    isncritUser.setOnClickListener(new View.OnClickListener() {
        <a href="https://www.codeproject.com/Members/OverRide">@Override</a>
        public void onClick(View v) {

            if(txtLogin.getText().toString().isEmpty()
                    && editPassworduser.getText().toString().isEmpty()
                    && num.getText().toString().isEmpty()
                    && email.getText().toString().isEmpty()
                    && verifPassworduser.getText().toString().isEmpty() )
            {
                Toast.makeText(InscriptionUser.this,"Remplir les chomps",Toast.LENGTH_SHORT).show();
            }
            else if(txtLogin.getText().toString().isEmpty()
                    || editPassworduser.getText().toString().isEmpty()

                    ||  verifPassworduser.getText().toString().isEmpty()
                    ||  num.getText().toString().isEmpty()
                    ||  email.getText().toString().isEmpty()

            )
            {
                Toast.makeText(InscriptionUser.this,"Remplir Tout les chomps",Toast.LENGTH_SHORT).show();
            }




            else if(!verifPassworduser.getText().toString().equals(editPassworduser.getText().toString()))
            {
                Toast.makeText(InscriptionUser.this,"Password ne pas vrai",Toast.LENGTH_SHORT).show();
            }
            else if(!txtLogin.getText().toString().isEmpty()
                    && !editPassworduser.getText().toString().isEmpty()
                    && !verifPassworduser.getText().toString().isEmpty()
                    && !verifPassworduser.getText().toString().isEmpty()
                    && !num.getText().toString().isEmpty()
                    && !email.getText().toString().isEmpty()
                    &&verifPassworduser.getText().toString().equals(editPassworduser.getText().toString())
            )
            {
                insert();
                Intent i=new Intent(InscriptionUser.this,profilUser.class);
                startActivity(i);
            }
            else{
                Toast.makeText(InscriptionUser.this,"Verifier  votre connexion",Toast.LENGTH_SHORT).show();
            }

        }
    });

}



private void  insert()
{
    String login=txtLogin.getText().toString();
    String password=editPassworduser.getText().toString();
    String numero=num.getText().toString();
    String mail=email.getText().toString();

      user user=new user(login,password,numero,mail);
      //pour gener un unique key a chaque user en utlise push
      databaseReference.push().setValue(user);
      Toast.makeText(InscriptionUser.this,"user inserted",Toast.LENGTH_SHORT).show();

QuestionRe: Login With Firebase Pin
David Crow21-Nov-21 4:49
David Crow21-Nov-21 4:49 
Questionandroid development Pin
katleho motumi10-Oct-21 5:52
katleho motumi10-Oct-21 5:52 
AnswerRe: android development Pin
Mycroft Holmes10-Oct-21 12:54
professionalMycroft Holmes10-Oct-21 12:54 
QuestionRe: android development Pin
David Crow11-Oct-21 3:05
David Crow11-Oct-21 3:05 
AnswerRe: android development Pin
yeda sedo27-Oct-21 9:12
yeda sedo27-Oct-21 9:12 
AnswerRe: android development Pin
Jigar366-Dec-21 0:23
Jigar366-Dec-21 0:23 
AnswerRe: android development Pin
Becky Claskron25-Apr-22 10:20
Becky Claskron25-Apr-22 10:20 
QuestionHow can I determine the cost to develop an Android mobile app? Pin
Arth Shah28-Sep-21 4:17
Arth Shah28-Sep-21 4:17 
AnswerRe: How can I determine the cost to develop an Android mobile app? Pin
David Crow11-Oct-21 3:07
David Crow11-Oct-21 3:07 
GeneralRe: How can I determine the cost to develop an Android mobile app? Pin
Eliana Wilson6-Jan-22 1:02
professionalEliana Wilson6-Jan-22 1:02 
AnswerRe: How can I determine the cost to develop an Android mobile app? Pin
Rockie Steve20-Nov-21 2:35
Rockie Steve20-Nov-21 2:35 
QuestionHow to create folder in android root folder Pin
Chi Promoter24-Sep-21 2:25
Chi Promoter24-Sep-21 2:25 
AnswerRe: How to create folder in android root folder Pin
Richard MacCutchan24-Sep-21 3:21
mveRichard MacCutchan24-Sep-21 3:21 
AnswerRe: How to create folder in android root folder Pin
Andrew Stark29-Oct-21 2:31
Andrew Stark29-Oct-21 2:31 
QuestionInteraction with notifications Pin
Eugenio Roverato1-Aug-21 0:13
Eugenio Roverato1-Aug-21 0:13 
AnswerRe: Interaction with notifications Pin
Richard MacCutchan1-Aug-21 1:51
mveRichard MacCutchan1-Aug-21 1:51 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato1-Aug-21 5:28
Eugenio Roverato1-Aug-21 5:28 
GeneralRe: Interaction with notifications Pin
Richard MacCutchan1-Aug-21 5:29
mveRichard MacCutchan1-Aug-21 5:29 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato1-Aug-21 5:56
Eugenio Roverato1-Aug-21 5:56 
GeneralRe: Interaction with notifications Pin
Richard MacCutchan1-Aug-21 6:35
mveRichard MacCutchan1-Aug-21 6:35 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato2-Aug-21 0:00
Eugenio Roverato2-Aug-21 0:00 
AnswerRe: Interaction with notifications Pin
David Crow2-Aug-21 3:26
David Crow2-Aug-21 3:26 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato2-Aug-21 6:41
Eugenio Roverato2-Aug-21 6:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.