ac4android
Well-Known Member
I am trying to create a login app using email and a password using HttpURL.
I am getting an email/password error back from the PHP I've created on the remote server.
Here is the XML that gets the email/password variables, the work well:
Here is the part of the Android Java that grabs the email/login and send the pair to PHP, the logindata seems to have some spurious characeters in it, there also seems to be an extra space before the "com"...
View attachment 121550
I am getting an email/password error back from the PHP I've created on the remote server.
Here is the XML that gets the email/password variables, the work well:
Code:
<EditText
android:id="@+id/et_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/prompt_email"
android:inputType="textEmailAddress"
android:maxLines="1"
android:singleLine="true" />
<EditText
android:id="@+id/et_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/email"
android:layout_marginTop= "25dp"
android:hint="@string/prompt_password"
android:inputType="textPassword"
android:maxLines="1"
android:singleLine="true" />
Here is the part of the Android Java that grabs the email/login and send the pair to PHP, the logindata seems to have some spurious characeters in it, there also seems to be an extra space before the "com"...
View attachment 121550
Last edited: