Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,781,180 Members 39,684 Now Online
XDA Developers Android and Mobile Development Forum

how to submit in login page

Tip us?
 
mehdi_shz11
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 2
Join Date: Apr 2014
Default how to submit in login page

How to login page use android app ?
for example u go to mail.yahoo.com and you have to write your mail and pass , i want to fetch mail.yahoo.com and fill user and pass by application and send to server.
 
gverma
Old
#2  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: Apr 2014
Default Try this out

Quote:
Originally Posted by mehdi_shz11 View Post
How to login page use android app ?
for example u go to mail.yahoo.com and you have to write your mail and pass , i want to fetch mail.yahoo.com and fill user and pass by application and send to server.
From what I understand from your post, you want to make a login page where you enter your email and password to be checked to see if an external database has the same credentials.

1. In your activity xml file make your edittext fields for both the email and password, also make one button field for your button.
2. In your java file, make EditText objects for both the email and password and a Button object for your button.
(E.g. EditText email = (EditText) findViewById(R.id.editTextId)
3. Follow the link in order to establish a connection to your external database. http://forum.xda-developers.com/show....php?t=2325799
4. Change the variables and what is checked in the guide to what you need.

Hope this helps!
 
sak-venom1997
Old
#3  
sak-venom1997's Avatar
Senior Member
Thanks Meter 404
Posts: 919
Join Date: Feb 2013
Location: Lucknow

 
DONATE TO ME
Quote:
Originally Posted by mehdi_shz11 View Post
How to login page use android app ?
for example u go to mail.yahoo.com and you have to write your mail and pass , i want to fetch mail.yahoo.com and fill user and pass by application and send to server.
I think there is no need to do that most of the web services offer a API for android applications an you may login using those !

Sent from my GT-S5302 using Tapatalk 2
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes