Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pedro Branco
TravelBuddy
Commits
4afb5c0d
Commit
4afb5c0d
authored
Mar 07, 2017
by
Tanmim Hanifa
Browse files
Updating
parent
e8b8085a
Changes
4
Hide whitespace changes
Inline
Side-by-side
TravelPals/TravelPals/app/build.gradle
View file @
4afb5c0d
...
@@ -10,6 +10,8 @@ android {
...
@@ -10,6 +10,8 @@ android {
versionCode
1
versionCode
1
versionName
"1.0"
versionName
"1.0"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
testInstrumentationRunner
"android.support.test.runner.AndroidJUnitRunner"
multiDexEnabled
true
}
}
buildTypes
{
buildTypes
{
release
{
release
{
...
...
TravelPals/TravelPals/app/src/main/java/travelpals/travelpals/loginActivity.java
View file @
4afb5c0d
...
@@ -51,16 +51,16 @@ public class loginActivity extends AppCompatActivity {
...
@@ -51,16 +51,16 @@ public class loginActivity extends AppCompatActivity {
boolean
success
=
jsonResponse
.
getBoolean
(
"success"
);
boolean
success
=
jsonResponse
.
getBoolean
(
"success"
);
if
(
success
){
if
(
success
){
//
String name = jsonResponse.getString("name");
String
name
=
jsonResponse
.
getString
(
"name"
);
//
String dob = jsonResponse.getString("dob");
String
dob
=
jsonResponse
.
getString
(
"dob"
);
//
String username = jsonResponse.getString("username");
String
username
=
jsonResponse
.
getString
(
"username"
);
//
String email = jsonResponse.getString("email");
String
email
=
jsonResponse
.
getString
(
"email"
);
//
//
Intent
intent
=
new
Intent
(
loginActivity
.
this
,
MainMenuActivity
.
class
);
Intent
intent
=
new
Intent
(
loginActivity
.
this
,
MainMenuActivity
.
class
);
//
intent.putExtra("name", name);
intent
.
putExtra
(
"name"
,
name
);
//
intent.putExtra("dob", dob);
intent
.
putExtra
(
"dob"
,
dob
);
//
intent.putExtra("username", username);
intent
.
putExtra
(
"username"
,
username
);
//
intent.putExtra("email", email);
intent
.
putExtra
(
"email"
,
email
);
loginActivity
.
this
.
startActivity
(
intent
);
loginActivity
.
this
.
startActivity
(
intent
);
...
...
TravelPals/TravelPals/build.gradle
View file @
4afb5c0d
...
@@ -5,7 +5,7 @@ buildscript {
...
@@ -5,7 +5,7 @@ buildscript {
jcenter
()
jcenter
()
}
}
dependencies
{
dependencies
{
classpath
'com.android.tools.build:gradle:2.
2.3
'
classpath
'com.android.tools.build:gradle:2.
3.0
'
// NOTE: Do not place your application dependencies here; they belong
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// in the individual module build.gradle files
...
...
TravelPals/TravelPals/gradle/wrapper/gradle-wrapper.properties
View file @
4afb5c0d
#
Mon Dec 28 10:00:20 PS
T 201
5
#
Tue Mar 07 17:38:21 GM
T 201
7
distributionBase
=
GRADLE_USER_HOME
distributionBase
=
GRADLE_USER_HOME
distributionPath
=
wrapper/dists
distributionPath
=
wrapper/dists
zipStoreBase
=
GRADLE_USER_HOME
zipStoreBase
=
GRADLE_USER_HOME
zipStorePath
=
wrapper/dists
zipStorePath
=
wrapper/dists
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
2.14.1
-all.zip
distributionUrl
=
https
\:
//services.gradle.org/distributions/gradle-
3.3
-all.zip
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment