This repository has been archived by the owner on Jun 28, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added guest login and chatbot improvements
- Loading branch information
Prince Bansal
authored and
Prince Bansal
committed
Oct 17, 2016
1 parent
b91eef1
commit 7fee2cd
Showing
54 changed files
with
379 additions
and
2,414 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
package com.gdgvitvellore.devfest.Control.DataGenerator; | ||
|
||
import android.net.Uri; | ||
|
||
import com.gdgvitvellore.devfest.Entity.About.Fragments.AboutFragment; | ||
import com.gdgvitvellore.devfest.Entity.About.Fragments.AboutFragment.Group; | ||
import com.gdgvitvellore.devfest.Entity.Actors.Child; | ||
|
@@ -108,7 +110,7 @@ public static Group getContacts(AboutFragment aboutFragment){ | |
child2.setImageType(Child.IMAGE_RESOURCE); | ||
child2.setImageResource(R.drawable.ic_website); | ||
//child2.setImageResource(R.drawable.ic_gdg); | ||
child2.setDesignation("http://gdgvitvellore.com/"); | ||
child2.setDesignation("http://www.gdgvitvellore.com"); | ||
|
||
Child child3=new Child(); | ||
child3.setName("Google+"); | ||
|
@@ -122,21 +124,28 @@ public static Group getContacts(AboutFragment aboutFragment){ | |
child4.setImageType(Child.IMAGE_RESOURCE); | ||
child4.setImageResource(R.drawable.ic_email); | ||
// child4.setImageResource(R.drawable.ic_gdg); | ||
child4.setDesignation("[email protected]"); | ||
child4.setDesignation("mailto:[email protected]"); | ||
|
||
Child child5=new Child(); | ||
child5.setName("CALL"); | ||
child5.setImageType(Child.IMAGE_RESOURCE); | ||
child5.setImageResource(R.drawable.ic_call); | ||
//child5.setImageResource(R.drawable.ic_gdg); | ||
child5.setDesignation("+917708150636"); | ||
child5.setDesignation("tel:+917708150636"); | ||
|
||
Child child6=new Child(); | ||
child6.setName("FIND US"); | ||
child6.setImageType(Child.IMAGE_RESOURCE); | ||
child6.setImageResource(R.drawable.ic_mappin); | ||
//child6.setImageResource(R.drawable.ic_gdg); | ||
child6.setDesignation("http://facebook.com/gdgvitvellore"); | ||
double latitude = 12.970684; | ||
double longitude = 79.163667; | ||
String label = "GDG VIT Vellore"; | ||
String uriBegin = "geo:" + latitude + "," + longitude; | ||
String query = latitude + "," + longitude + "(" + label + ")"; | ||
String encodedQuery = Uri.encode(query); | ||
String uriString = uriBegin + "?q=" + encodedQuery + "&z=16"; | ||
child6.setDesignation(uriString); | ||
|
||
childList.add(child1); | ||
childList.add(child2); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.