Advertisement
radityahunter48

AppVar.java

Nov 23rd, 2018
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. package com.example.radit.logincrud;
  2.  
  3. /**
  4. * Created by adit on 23/11/2018.
  5. */
  6. public class AppVar {
  7.  
  8. //URL to our index.php file, url bisa diganti sesuai dengan alamat server kita
  9. public static final String LOGIN_URL = "http://172.16.10.16/login_php/index.php";
  10.  
  11. //Keys for username and password as defined in our $_POST['key'] in login.php
  12. public static final String KEY_USERNAME = "username";
  13. public static final String KEY_PASSWORD = "password";
  14.  
  15. //If server response is equal to this that means login is successful
  16. public static final String LOGIN_SUCCESS = "success";
  17.  
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement