diff --git b/.gitignore a/.gitignore
new file mode 100644
index 0000000..603b140
--- /dev/null
+++ a/.gitignore
@@ -0,0 +1,14 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+/build
+/captures
+.externalNativeBuild
+.cxx
diff --git b/.idea/codeStyles/Project.xml a/.idea/codeStyles/Project.xml
new file mode 100644
index 0000000..88ea3aa
--- /dev/null
+++ a/.idea/codeStyles/Project.xml
@@ -0,0 +1,122 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ xmlns:android
+
+ ^$
+
+
+
+
+
+
+
+
+ xmlns:.*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*:id
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ .*:name
+
+ http://schemas.android.com/apk/res/android
+
+
+
+
+
+
+
+
+ name
+
+ ^$
+
+
+
+
+
+
+
+
+ style
+
+ ^$
+
+
+
+
+
+
+
+
+ .*
+
+ ^$
+
+
+ BY_NAME
+
+
+
+
+
+
+ .*
+
+ http://schemas.android.com/apk/res/android
+
+
+ ANDROID_ATTRIBUTE_ORDER
+
+
+
+
+
+
+ .*
+
+ .*
+
+
+ BY_NAME
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/.idea/codeStyles/codeStyleConfig.xml a/.idea/codeStyles/codeStyleConfig.xml
new file mode 100644
index 0000000..79ee123
--- /dev/null
+++ a/.idea/codeStyles/codeStyleConfig.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git b/.idea/gradle.xml a/.idea/gradle.xml
new file mode 100644
index 0000000..5cd135a
--- /dev/null
+++ a/.idea/gradle.xml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/.idea/misc.xml a/.idea/misc.xml
new file mode 100644
index 0000000..18962c8
--- /dev/null
+++ a/.idea/misc.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/.idea/runConfigurations.xml a/.idea/runConfigurations.xml
new file mode 100644
index 0000000..7f68460
--- /dev/null
+++ a/.idea/runConfigurations.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/app/.gitignore a/app/.gitignore
new file mode 100644
index 0000000..796b96d
--- /dev/null
+++ a/app/.gitignore
@@ -0,0 +1 @@
+/build
diff --git b/app/build.gradle a/app/build.gradle
new file mode 100644
index 0000000..2e78b11
--- /dev/null
+++ a/app/build.gradle
@@ -0,0 +1,80 @@
+apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
+apply plugin: 'kotlin-android-extensions'
+apply plugin: 'kotlin-kapt'
+
+android {
+ compileSdkVersion 29
+ buildToolsVersion "29.0.3"
+
+ defaultConfig {
+ applicationId "com.example.ayudapy"
+ minSdkVersion 19
+ targetSdkVersion 29
+ versionCode 1
+ versionName "1.0"
+
+ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
+
+ javaCompileOptions {
+ annotationProcessorOptions {
+ arguments = ["room.schemaLocation": "$projectDir/schemas".toString()]
+ }
+ }
+ }
+
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
+ }
+ }
+
+}
+
+allprojects {
+ repositories {
+ jcenter()
+ maven {
+ url "https://maven.google.com"
+ }
+ }
+}
+
+dependencies {
+ implementation fileTree(dir: 'libs', include: ['*.jar'])
+ implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
+ implementation 'androidx.appcompat:appcompat:1.1.0'
+ implementation 'androidx.core:core-ktx:1.2.0'
+ implementation 'com.google.android.gms:play-services-maps:17.0.0'
+ implementation 'com.google.android.gms:play-services-location:17.0.0'
+ implementation 'androidx.legacy:legacy-support-v4:1.0.0'
+ implementation 'androidx.recyclerview:recyclerview:1.1.0'
+ testImplementation 'junit:junit:4.12'
+ androidTestImplementation 'androidx.test.ext:junit:1.1.1'
+ androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
+ implementation 'com.google.android.material:material:1.2.0-alpha06'
+
+ implementation 'com.squareup.retrofit2:retrofit:2.3.0'
+
+ implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
+// implementation 'com.squareup.okhttp3:okhttp:3.4.0'
+// implementation 'com.squareup.okhttp3:logging-interceptor:3.4.0'
+ //implementation 'com.squareup.okio:okio:2.4.3'
+
+ //noinspection GradleCompatible
+ implementation 'com.android.support:recyclerview-v7:28.0.0'
+ implementation 'com.squareup.picasso:picasso:2.71828'
+ implementation 'androidx.cardview:cardview:1.0.0'
+ implementation 'com.squareup.okhttp3:logging-interceptor:4.6.0'
+ implementation 'com.google.okhttp:okhttp:20120626'
+ implementation 'com.squareup.okio:okio:2.6.0'
+ implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
+ implementation 'android.arch.persistence.room:runtime:1.1.1'
+ kapt 'android.arch.persistence.room:compiler:1.1.1'
+
+ //implementation "android.arch.lifecycle:extensions:1.1.1"
+ //implementation "android.arch.persistence.room:runtime:1.0.0-rc1"
+ //kapt "android.arch.persistence.room:compiler:1.0.0-rc1"
+
+}
diff --git b/app/proguard-rules.pro a/app/proguard-rules.pro
new file mode 100644
index 0000000..f1b4245
--- /dev/null
+++ a/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
diff --git b/app/schemas/com.example.ayudapy.PedidoDataBase/1.json a/app/schemas/com.example.ayudapy.PedidoDataBase/1.json
new file mode 100644
index 0000000..ba1e454
--- /dev/null
+++ a/app/schemas/com.example.ayudapy.PedidoDataBase/1.json
@@ -0,0 +1,69 @@
+{
+ "formatVersion": 1,
+ "database": {
+ "version": 1,
+ "identityHash": "f617a1d61ee384e32e6ed730c8c23f64",
+ "entities": [
+ {
+ "tableName": "pedido_save",
+ "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`id` INTEGER NOT NULL, `title` TEXT NOT NULL, `message` TEXT NOT NULL, `name` TEXT NOT NULL, `phone` TEXT NOT NULL, `address` TEXT NOT NULL, `added` TEXT NOT NULL, PRIMARY KEY(`id`))",
+ "fields": [
+ {
+ "fieldPath": "id",
+ "columnName": "id",
+ "affinity": "INTEGER",
+ "notNull": true
+ },
+ {
+ "fieldPath": "title",
+ "columnName": "title",
+ "affinity": "TEXT",
+ "notNull": true
+ },
+ {
+ "fieldPath": "message",
+ "columnName": "message",
+ "affinity": "TEXT",
+ "notNull": true
+ },
+ {
+ "fieldPath": "name",
+ "columnName": "name",
+ "affinity": "TEXT",
+ "notNull": true
+ },
+ {
+ "fieldPath": "phone",
+ "columnName": "phone",
+ "affinity": "TEXT",
+ "notNull": true
+ },
+ {
+ "fieldPath": "address",
+ "columnName": "address",
+ "affinity": "TEXT",
+ "notNull": true
+ },
+ {
+ "fieldPath": "added",
+ "columnName": "added",
+ "affinity": "TEXT",
+ "notNull": true
+ }
+ ],
+ "primaryKey": {
+ "columnNames": [
+ "id"
+ ],
+ "autoGenerate": false
+ },
+ "indices": [],
+ "foreignKeys": []
+ }
+ ],
+ "setupQueries": [
+ "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)",
+ "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, \"f617a1d61ee384e32e6ed730c8c23f64\")"
+ ]
+ }
+}
\ No newline at end of file
diff --git b/app/src/androidTest/java/com/example/ayudapy/ExampleInstrumentedTest.kt a/app/src/androidTest/java/com/example/ayudapy/ExampleInstrumentedTest.kt
new file mode 100644
index 0000000..5e022a1
--- /dev/null
+++ a/app/src/androidTest/java/com/example/ayudapy/ExampleInstrumentedTest.kt
@@ -0,0 +1,24 @@
+package com.example.ayudapy
+
+import androidx.test.platform.app.InstrumentationRegistry
+import androidx.test.ext.junit.runners.AndroidJUnit4
+
+import org.junit.Test
+import org.junit.runner.RunWith
+
+import org.junit.Assert.*
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+@RunWith(AndroidJUnit4::class)
+class ExampleInstrumentedTest {
+ @Test
+ fun useAppContext() {
+ // Context of the app under test.
+ val appContext = InstrumentationRegistry.getInstrumentation().targetContext
+ assertEquals("com.example.ayudapy", appContext.packageName)
+ }
+}
diff --git b/app/src/debug/res/values/google_maps_api.xml a/app/src/debug/res/values/google_maps_api.xml
new file mode 100644
index 0000000..d8cd09a
--- /dev/null
+++ a/app/src/debug/res/values/google_maps_api.xml
@@ -0,0 +1,24 @@
+
+
+ AIzaSyCDCQFseYL7K7okR_YL7lmh2SCRct9YiiM
+
diff --git b/app/src/main/AndroidManifest.xml a/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..be98e72
--- /dev/null
+++ a/app/src/main/AndroidManifest.xml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/java/com/example/ayudapy/ApiPedidos.kt a/app/src/main/java/com/example/ayudapy/ApiPedidos.kt
new file mode 100644
index 0000000..222b978
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/ApiPedidos.kt
@@ -0,0 +1,31 @@
+package com.example.ayudapy
+
+import okhttp3.OkHttpClient
+import okhttp3.logging.HttpLoggingInterceptor
+import retrofit2.Call
+import retrofit2.Retrofit
+import retrofit2.converter.gson.GsonConverterFactory
+import retrofit2.http.GET
+import retrofit2.http.Query
+
+interface ApiPedidos {
+
+
+ companion object{
+ val instance:ApiService by lazy{
+
+ val builder_pedido = Retrofit.Builder()
+ .baseUrl("https://ayudapy.org/api/v1/helprequestsgeo/")
+ .addConverterFactory(GsonConverterFactory.create())
+
+ val client = OkHttpClient.Builder()
+
+ client.addInterceptor(HttpLoggingInterceptor().apply {
+ level = HttpLoggingInterceptor.Level.BODY
+ })
+
+ builder_pedido.client(client.build())
+ builder_pedido.build().create(ApiService::class.java)
+ }
+ }
+}
\ No newline at end of file
diff --git b/app/src/main/java/com/example/ayudapy/ApiService.kt a/app/src/main/java/com/example/ayudapy/ApiService.kt
new file mode 100644
index 0000000..3091bd6
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/ApiService.kt
@@ -0,0 +1,69 @@
+package com.example.ayudapy
+
+import okhttp3.OkHttpClient
+import okhttp3.logging.HttpLoggingInterceptor
+import retrofit2.Call
+import retrofit2.Retrofit
+import retrofit2.converter.gson.GsonConverterFactory
+import retrofit2.http.GET
+import retrofit2.http.Path
+import retrofit2.http.Query
+import java.util.concurrent.TimeUnit
+
+
+interface ApiService {
+
+ @GET("?in_bbox")
+ fun getListaCentro(
+ @Query("limit") limit : Int,
+ @Query("offset") offset : Int
+ ): Call
+
+
+ /* @GET("helprequestsgeo/")
+ fun getHelpRequests(@Query("in_bbox") boundaryBox: String): Call*/
+
+ @GET("?in_bbox")
+ fun getListaPedidos(
+ @Query("limit") limit : Int,
+ @Query("offset") offset : Int
+ ): Call
+
+ @GET("{id}")
+ fun getPedidoDetalle(
+ @Path("id") id : Int
+ ): Call
+
+
+ companion object {
+ // init Retrofit base server instance
+ val redditClient by lazy { ApiService.invoke("https://ayudapy.org/api/v1/donationcenters/") }
+ val stackClient by lazy { ApiService.invoke("https://ayudapy.org/api/v1/helprequestsgeo/") }
+ val pedidoDetalle by lazy { ApiService.invoke("https://ayudapy.org/api/v1/helprequests/") }
+
+ private val loggingInterceptor = HttpLoggingInterceptor().apply {
+ this.level = HttpLoggingInterceptor.Level.BODY
+ }
+
+ operator fun invoke(baseUrl: String): ApiService {
+ val client = OkHttpClient.Builder().apply {
+ /**addNetworkInterceptor(StethoInterceptor()) */
+ addNetworkInterceptor(loggingInterceptor)
+ connectTimeout(10, TimeUnit.MINUTES)
+ readTimeout(10, TimeUnit.MINUTES)
+ writeTimeout(10, TimeUnit.MINUTES)
+ }.build()
+
+ return Retrofit.Builder()
+ .client(client)
+ .baseUrl(baseUrl)
+// .addCallAdapterFactory(CoroutineCallAdapterFactory())
+ .addConverterFactory(GsonConverterFactory.create())
+ .build()
+ .create(ApiService::class.java)
+ }
+ }
+
+
+
+}
\ No newline at end of file
diff --git b/app/src/main/java/com/example/ayudapy/CentroAyuda.kt a/app/src/main/java/com/example/ayudapy/CentroAyuda.kt
new file mode 100644
index 0000000..9c48d6b
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/CentroAyuda.kt
@@ -0,0 +1,26 @@
+package com.example.ayudapy
+
+
+data class CentroAyuda (
+ val count: Long,
+ val next: Any? = null,
+ val previous: Any? = null,
+ val results: List
+)
+
+data class Result (
+ val id: Long,
+ val name: String,
+ val phone: String,
+ val location: Location,
+ val address: String,
+ val city: String,
+ val cityCode: String,
+ val active: Boolean,
+ val added: String
+)
+
+data class Location (
+ val type: String,
+ val coordinates: List
+)
diff --git b/app/src/main/java/com/example/ayudapy/Dao.kt a/app/src/main/java/com/example/ayudapy/Dao.kt
new file mode 100644
index 0000000..ec0020b
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/Dao.kt
@@ -0,0 +1,21 @@
+package com.example.ayudapy
+
+import androidx.lifecycle.LiveData
+import androidx.room.*
+import androidx.room.OnConflictStrategy.REPLACE
+
+@Dao
+interface DaoPedido {
+ @Query("SELECT * from pedido_save")
+ fun getAll(): List
+
+ @Insert(onConflict = REPLACE)
+ fun insert(pedido: PedidoSave)
+
+ @Delete
+ fun delete(pedido: PedidoSave)
+}
+
+ /* @Query("UPDATE pedido_save SET name =:studentName, nim =:studentNim, gender =:studentGen WHERE id =:studentId")
+ fun update(studentId: Long, studentName:String, studentNim:String, studentGen:String)*/
+
diff --git b/app/src/main/java/com/example/ayudapy/DataBaseRoom.kt a/app/src/main/java/com/example/ayudapy/DataBaseRoom.kt
new file mode 100644
index 0000000..1f58781
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/DataBaseRoom.kt
@@ -0,0 +1,30 @@
+package com.example.ayudapy
+
+import android.content.Context
+import androidx.room.Database
+import androidx.room.Room
+import androidx.room.RoomDatabase
+
+@Database(entities = arrayOf(PedidoSave::class), version = 1)
+abstract class PedidoDataBase : RoomDatabase() {
+
+ abstract fun daoPedido(): DaoPedido
+ companion object {
+ private var INSTANCE: PedidoDataBase? = null
+
+ fun getInstance(context: Context): PedidoDataBase? {
+ if (INSTANCE == null) {
+ synchronized(PedidoDataBase::class) {
+ INSTANCE = Room.databaseBuilder(context.getApplicationContext(),
+ PedidoDataBase::class.java, "pedidodata.db")
+ .build()
+ }
+ }
+ return INSTANCE
+ }
+
+ fun destroyInstance() {
+ INSTANCE = null
+ }
+ }
+}
\ No newline at end of file
diff --git b/app/src/main/java/com/example/ayudapy/Entity.kt a/app/src/main/java/com/example/ayudapy/Entity.kt
new file mode 100644
index 0000000..0c3ebce
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/Entity.kt
@@ -0,0 +1,21 @@
+package com.example.ayudapy
+
+import androidx.room.ColumnInfo
+import androidx.room.Entity
+import androidx.room.PrimaryKey
+import org.jetbrains.annotations.NotNull
+
+@Entity(tableName = "pedido_save")
+data class PedidoSave(
+ @PrimaryKey var id: Long,
+ @ColumnInfo(name = "title") var title: String,
+ @ColumnInfo(name = "message") var message: String,
+ @ColumnInfo(name = "name") var name: String,
+ @ColumnInfo(name = "phone") var phone: String,
+ @ColumnInfo(name = "address") var address: String,
+// @ColumnInfo(name = "location") var location: String,
+// @ColumnInfo(name = "active") var active: String,
+ @ColumnInfo(name = "added") var added: String
+)
+
+
diff --git b/app/src/main/java/com/example/ayudapy/InfoActivity.kt a/app/src/main/java/com/example/ayudapy/InfoActivity.kt
new file mode 100644
index 0000000..6e3c9e3
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/InfoActivity.kt
@@ -0,0 +1,44 @@
+package com.example.ayudapy
+
+import android.content.Intent
+import android.net.Uri
+import android.os.Bundle
+import androidx.appcompat.app.AppCompatActivity
+import kotlinx.android.synthetic.main.info.*
+
+
+class InfoActivity : AppCompatActivity() {
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.info)
+ val intento : Intent =intent
+
+ terminos_de_uso.setOnClickListener {
+ val url = "https://ayudapy.org/legal"
+ val i = Intent(Intent.ACTION_VIEW)
+ i.data = Uri.parse(url)
+ startActivity(i)
+
+ }
+ preguntas_freq.setOnClickListener {
+ val url = "https://ayudapy.org/preguntas_frecuentes"
+ val i = Intent(Intent.ACTION_VIEW)
+ i.data = Uri.parse(url)
+ startActivity(i)
+
+ }
+ visitar_ayudapy.setOnClickListener {
+ val url = "https://ayudapy.org"
+ val i = Intent(Intent.ACTION_VIEW)
+ i.data = Uri.parse(url)
+ startActivity(i)
+
+ }
+
+ }
+
+
+}
+
+
+
diff --git b/app/src/main/java/com/example/ayudapy/MapsActivity.kt a/app/src/main/java/com/example/ayudapy/MapsActivity.kt
new file mode 100644
index 0000000..b4d3efb
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/MapsActivity.kt
@@ -0,0 +1,396 @@
+package com.example.ayudapy
+
+import android.Manifest
+import android.content.Intent
+import android.content.pm.PackageManager
+import android.database.Observable
+import android.location.Location
+import android.net.Uri
+import android.os.Build
+import android.os.Bundle
+import android.provider.ContactsContract
+import android.util.Log
+import android.view.View
+import android.widget.Button
+import android.widget.Toast
+import androidx.annotation.RequiresApi
+import androidx.appcompat.app.AlertDialog
+import androidx.appcompat.app.AppCompatActivity
+import androidx.core.app.ActivityCompat
+import androidx.core.content.ContextCompat
+import com.google.android.gms.location.FusedLocationProviderClient
+import com.google.android.gms.location.LocationServices
+import com.google.android.gms.maps.CameraUpdateFactory
+import com.google.android.gms.maps.GoogleMap
+import com.google.android.gms.maps.OnMapReadyCallback
+import com.google.android.gms.maps.SupportMapFragment
+import com.google.android.gms.maps.model.BitmapDescriptorFactory
+import com.google.android.gms.maps.model.LatLng
+import com.google.android.gms.maps.model.Marker
+import com.google.android.gms.maps.model.MarkerOptions
+import com.google.android.material.bottomsheet.BottomSheetDialog
+import kotlinx.android.synthetic.main.alert_dialog_contacto.view.*
+import kotlinx.android.synthetic.main.fragment_pedido.view.*
+import retrofit2.Call
+import retrofit2.Callback
+import retrofit2.Response
+import java.time.LocalDateTime
+import java.time.format.DateTimeFormatter
+
+class MapsActivity : AppCompatActivity(), OnMapReadyCallback, GoogleMap.OnMarkerClickListener {
+
+ private lateinit var mMap: GoogleMap
+ private lateinit var lastLocation: Location
+ private lateinit var fusedLocationClient: FusedLocationProviderClient
+ internal lateinit var infoButton: Button
+ private var selectedMarker:Marker?=null
+
+ companion object{
+ private const val LOCATION_PERMISSION_REQUEST_CODE=1
+ }
+
+
+ val PERMISSIONS_REQUEST_READ_CONTACTS = 100
+
+ private val PROJECTION = arrayOf(
+ ContactsContract.CommonDataKinds.Phone.CONTACT_ID,
+ ContactsContract.Contacts.DISPLAY_NAME,
+ ContactsContract.CommonDataKinds.Phone.NUMBER
+ )
+
+ private val markerClickListener = object: GoogleMap.OnMarkerClickListener{
+ override fun onMarkerClick(marker: Marker?):Boolean{
+ if(marker == selectedMarker){
+ selectedMarker=null
+ return true
+ }
+ selectedMarker =marker
+ return false
+ }
+ }
+ private var pedidoDatabase:PedidoDataBase? = null
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ setContentView(R.layout.activity_maps)
+
+ // Obtain the SupportMapFragment and get notified when the map is ready to be used.
+ val mapFragment = supportFragmentManager
+ .findFragmentById(R.id.map) as SupportMapFragment
+ mapFragment.getMapAsync(this)
+
+ fusedLocationClient = LocationServices.getFusedLocationProviderClient(this)
+
+ //intent para mandar a la siguiente pantalla el boton
+ val myLayout: View = findViewById(R.id.menu_layout) // root View id from that link
+
+ val myView: View = myLayout.findViewById(R.id.info_button)
+ val ayudenme_button: View = myLayout.findViewById(R.id.help_button)
+
+
+ myView.setOnClickListener {
+ Toast.makeText(this@MapsActivity, "Boton de info probar", Toast.LENGTH_SHORT).show()
+ val i = Intent(this, InfoActivity::class.java)
+ startActivity(i)
+
+
+ }
+
+ ayudenme_button.setOnClickListener {
+ Toast.makeText(this@MapsActivity, "Boton de info probar ayudenme", Toast.LENGTH_SHORT).show()
+ val url = "https://ayudapy.org/recibir"
+ val i = Intent(Intent.ACTION_VIEW)
+ i.data = Uri.parse(url)
+ startActivity(i)
+
+ }
+
+ //agregar permiso para llamar
+ val permissionCheck: Int = ContextCompat.checkSelfPermission(
+ this, Manifest.permission.CALL_PHONE
+ )
+ if (permissionCheck != PackageManager.PERMISSION_GRANTED) {
+ Log.i("Mensaje", "No se tiene permiso para realizar llamadas telefónicas.")
+ ActivityCompat.requestPermissions(
+ this,
+ arrayOf(Manifest.permission.CALL_PHONE),
+ 225
+ )
+ } else {
+ Log.i("Mensaje", "Se tiene permiso!")
+ }
+
+ pedidoDatabase = PedidoDataBase.getInstance(this)
+ }
+
+
+ /**
+ * Manipulates the map once available.
+ * This callback is triggered when the map is ready to be used.
+ * This is where we can add markers or lines, add listeners or move the camera. In this case,
+ * we just add a marker near Sydney, Australia.
+ * If Google Play services is not installed on the device, the user will be prompted to install
+ * it inside the SupportMapFragment. This method will only be triggered once the user has
+ * installed Google Play services and returned to the app.
+ */
+ override fun onMapReady(googleMap: GoogleMap) {
+ mMap = googleMap
+
+ // Add a marker in Sydney and move the camera
+ /* val sydney = LatLng(-34.0, 151.0)
+ mMap.addMarker(MarkerOptions().position(sydney).title("Marker in Sydney"))
+ mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(sydney, 15f))*/
+
+ mMap.setOnMarkerClickListener(this)
+ mMap.uiSettings.isZoomControlsEnabled = true
+
+ setup()
+
+
+ ApiService.redditClient.getListaCentro(15, 0).enqueue(
+ object: Callback {
+ override fun onFailure(call: Call, t: Throwable) {
+ t.printStackTrace()
+ }
+
+ override fun onResponse(call: Call, response: Response) {
+ if (response.isSuccessful) {
+ val listaCentro = response.body()
+ val CentroDeAyudas = listaCentro!!.results
+
+
+ var item = Int
+ for( item in CentroDeAyudas.indices ){
+ var name=listaCentro.results[item].name
+ var lat =listaCentro.results[item].location.coordinates
+ println("Este es el nombre $name")
+ println("Este son coordenadas $lat")
+ mMap.addMarker(
+ MarkerOptions()
+ .position(LatLng(lat[1],lat[0]))
+ .title(name)
+ .icon(BitmapDescriptorFactory.fromResource(R.drawable.centro_donacion))
+ )
+ }
+
+ //print("Este es el centro ${CentroDeAyudas.size}")
+ //Log.d("centro","$CentroDeAyudas")
+
+
+ }else{
+
+ Toast.makeText(this@MapsActivity, "NO HUBO RESPUESTA EXITOSA", Toast.LENGTH_SHORT).show()
+ }
+ }
+ }
+ )
+
+ ApiService.stackClient.getListaPedidos(15, 0).enqueue(
+ object: Callback {
+ override fun onFailure(call: Call, t: Throwable) {
+ t.printStackTrace()
+ }
+
+ @RequiresApi(Build.VERSION_CODES.O)
+ override fun onResponse(call: Call, response: Response) {
+ if (response.isSuccessful) {
+ val listaPedidos = response.body()
+ val PedidosDeAyudas = listaPedidos!!.features
+
+ var fec_actual = LocalDateTime.now()
+ var fec_actual_formato = DateTimeFormatter.ofPattern("yyyy-MM-dd")
+ var fec_actual_formateado = fec_actual.format(fec_actual_formato)
+ //print("La fecha es: $fec_actual_formateado")
+ for( item in PedidosDeAyudas.indices ){
+
+ var name=listaPedidos.features[item].properties.name
+ var id=listaPedidos.features[item].properties.pk.toInt()
+ var lat =listaPedidos.features[item].geometry.coordinates
+ //println("Este es el nombre $name")
+ //println("Este son coordenadas $lat")
+ // val bounds = LatLngBounds.Builder()//Prueba Bounds
+ mMap.addMarker(
+ MarkerOptions()
+ .position(LatLng(lat[1],lat[0]))
+ .title(name)
+ .snippet(id.toString())
+ .icon(BitmapDescriptorFactory.fromResource(R.drawable.pedido)
+ )
+ )
+
+ //bounds.include(LatLng(lat[1],lat[0]))
+ // moveCamera(CameraUpdateFactory.newLatLngBounds(bounds.build(), 50))
+ // println("Este es el id sin hacer clic $id")
+ mMap.setOnMarkerClickListener {marker ->
+ var marcador = marker.snippet
+ // var filtrarMarcador = marcador.replace("m","")
+ // var idMarcador = filtrarMarcador.toInt()
+ //println("Este es el marcador filtrado ${marcador.replace("m","")}")
+ //println("Este es el id Marcador $idMarcador")
+ Toast.makeText(this@MapsActivity, "Este es el marker $marcador", Toast.LENGTH_SHORT).show()
+ callApiDetalle(marcador.toInt())
+ true
+ }
+
+ }//termina el for
+
+ }else{
+
+ Toast.makeText(this@MapsActivity, "NO HUBO RESPUESTA EXITOSA", Toast.LENGTH_SHORT).show()
+ }
+ }
+ }
+ )
+
+
+ }
+
+
+ //llamar con la función a la siguiente api para los detalles de acuerdo al parametro ingresado, es decir de acuerdo a la url pk
+ fun callApiDetalle(id: Int){
+ ApiService.pedidoDetalle.getPedidoDetalle(id).enqueue(
+ object: Callback {
+ override fun onFailure(call: Call, t: Throwable) {
+ t.printStackTrace()
+ }
+
+ @RequiresApi(Build.VERSION_CODES.O)
+ override fun onResponse(call: Call, response: Response) {
+ if (response.isSuccessful) {
+ val pedidoDetalle = response.body()
+
+ println("Probar pedido de Detalle $pedidoDetalle")
+
+ //fecha_publicado = findViewById(R.id.fecha_publicado)
+ // Publicado el 12 de abril de 2020 a las 00:04
+
+ val dialog = BottomSheetDialog(this@MapsActivity)
+ val view = layoutInflater.inflate(R.layout.fragment_pedido,null)
+ dialog.setContentView(view)
+ if (pedidoDetalle != null) {
+ view.fecha_publicado.setText("Publicado el ${pedidoDetalle.added}")
+ view.direccion_id.setText(pedidoDetalle.address)
+ view.contacto_id.setText(pedidoDetalle.name)
+ view.contacto_numero.setText(pedidoDetalle.phone)
+ view.pedido_id.setText(pedidoDetalle.title)
+ view.mensaje_id.setText(pedidoDetalle.message)
+ }
+ dialog.show()
+ view.llegar_id.setOnClickListener{
+ Toast.makeText(this@MapsActivity, "Boton de como llegar", Toast.LENGTH_SHORT).show()
+ }
+ view.contacto_numero.setOnClickListener{
+ val dialogo = layoutInflater.inflate(R.layout.alert_dialog_contacto,null)
+ val mBuilder =AlertDialog.Builder(this@MapsActivity)
+ .setView(dialogo)
+ .setTitle("¿Desea llamar o enviar mensaje?")
+ val mAlertDialog = mBuilder.show()
+
+ dialogo.llamar_contacto.setOnClickListener{
+ Toast.makeText(this@MapsActivity, "boton alerta llamar contacto", Toast.LENGTH_SHORT).show()
+ val i = Intent(Intent.ACTION_CALL)
+ i.data = Uri.parse("tel:${pedidoDetalle?.phone}")
+ if (ActivityCompat.checkSelfPermission(
+ this@MapsActivity,
+ Manifest.permission.CALL_PHONE
+ ) != PackageManager.PERMISSION_GRANTED
+ ) {
+ // TODO: Consider calling
+ // ActivityCompat#requestPermissions
+ // here to request the missing permissions, and then overriding
+ // public void onRequestPermissionsResult(int requestCode, String[] permissions,
+ // int[] grantResults)
+ // to handle the case where the user grants the permission. See the documentation
+ // for ActivityCompat#requestPermissions for more details.
+ return@setOnClickListener
+ }
+ startActivity(i)
+ // mAlertDialog.dismiss()
+ }
+
+ dialogo.msm_whatsapp.setOnClickListener {
+ Toast.makeText(this@MapsActivity, "boton alerta enviar mensaje whatsapp", Toast.LENGTH_SHORT).show()
+ //marcar que no existe el numero en mis contactos
+ val msj = "Mi mensaje es abcdef 1234567890"
+ val numeroTel = pedidoDetalle?.phone
+ val intent = Intent(Intent.ACTION_VIEW)
+ val uri =
+ "whatsapp://send?phone=$numeroTel&text=$msj"
+ intent.data = Uri.parse(uri)
+ startActivity(intent)
+ }
+
+ Toast.makeText(this@MapsActivity, "Numero de contacto ${pedidoDetalle?.phone}", Toast.LENGTH_SHORT).show()
+
+ }
+ //Guardar los datos de la lista pendiente, usando la librería Room
+ view.pendiente_button.setOnClickListener{
+ Toast.makeText(this@MapsActivity, "Boton de pendiente ", Toast.LENGTH_SHORT).show()
+ //InsertTask(this, chapterObj).execute()
+ /* insertToDb(PedidoSave(pedidoDetalle!!.id,
+ pedidoDetalle.title,pedidoDetalle.message,pedidoDetalle.name,pedidoDetalle.phone,
+ pedidoDetalle.address,pedidoDetalle.added))*/
+
+ }
+
+ view.listo_button.setOnClickListener{
+ Toast.makeText(this@MapsActivity, "boton de listo", Toast.LENGTH_SHORT).show()
+ }
+
+
+ Toast.makeText(this@MapsActivity, "Probar clic nuevo ${id}", Toast.LENGTH_SHORT).show()
+
+
+ }else{
+
+ Toast.makeText(this@MapsActivity, "El id es : $id", Toast.LENGTH_SHORT).show()
+ }
+ }
+ }
+ )
+ }
+
+ /* fun insertToDb(pedido:PedidoSave){
+
+ }*/
+
+ //permiso para acceder a la ubicacion del dispositvo
+ private fun setup(){
+ if(ActivityCompat.checkSelfPermission(this, android.Manifest.permission.ACCESS_FINE_LOCATION) != PackageManager.PERMISSION_GRANTED){
+ ActivityCompat.requestPermissions(this,
+ arrayOf(android.Manifest.permission.ACCESS_FINE_LOCATION),LOCATION_PERMISSION_REQUEST_CODE)
+ return
+ }
+
+ mMap.isMyLocationEnabled= true
+
+ fusedLocationClient.lastLocation.addOnSuccessListener(this){ location ->
+
+ if(location != null){
+
+
+
+ lastLocation = location
+ val currentLatLong = LatLng(location.latitude, location.longitude)
+ mMap.moveCamera(CameraUpdateFactory.newLatLngZoom(currentLatLong, 18f))
+ }
+
+ }
+ }
+
+ override fun onMarkerClick(p0: Marker?): Boolean = false
+
+ /*
+ * CameraUpdate cameraUpdate = CameraUpdateFactory.newLatLngBounds(builder.build(), padding);
+try {
+ map.moveCamera(cameraUpdate);
+} catch (Exception e) {
+ int width = getResources().getDisplayMetrics().widthPixels;
+ int height = getResources().getDisplayMetrics().heightPixels;
+ cameraUpdate = CameraUpdateFactory.newLatLngBounds(builder.build(), width, height, padding);
+ map.moveCamera(cameraUpdate);
+}*/
+
+
+
+}
\ No newline at end of file
diff --git b/app/src/main/java/com/example/ayudapy/Pedido.kt a/app/src/main/java/com/example/ayudapy/Pedido.kt
new file mode 100644
index 0000000..acfe878
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/Pedido.kt
@@ -0,0 +1,67 @@
+package com.example.ayudapy
+
+import android.content.Context
+import android.os.Bundle
+import androidx.fragment.app.Fragment
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import com.google.android.material.bottomsheet.BottomSheetDialogFragment
+
+// TODO: Rename parameter arguments, choose names that match
+// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
+private const val ARG_PARAM1 = "param1"
+private const val ARG_PARAM2 = "param2"
+
+/**
+ * A simple [Fragment] subclass.
+ * Use the [Pedido.newInstance] factory method to
+ * create an instance of this fragment.
+ */
+class Pedido : Fragment() {
+ // TODO: Rename and change types of parameters
+ private var param1: String? = null
+ private var param2: String? = null
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ arguments?.let {
+ param1 = it.getString(ARG_PARAM1)
+ param2 = it.getString(ARG_PARAM2)
+ }
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ // Inflate the layout for this fragment
+ return inflater.inflate(R.layout.fragment_pedido, container, false)
+ }
+
+ companion object {
+ /**
+ * Use this factory method to create a new instance of
+ * this fragment using the provided parameters.
+ *
+ * @param param1 Parameter 1.
+ * @param param2 Parameter 2.
+ * @return A new instance of fragment Pedido.
+ */
+ // TODO: Rename and change types and number of parameters
+ @JvmStatic
+ fun newInstance(param1: String, param2: String) =
+ Pedido().apply {
+ arguments = Bundle().apply {
+ putString(ARG_PARAM1, param1)
+ putString(ARG_PARAM2, param2)
+ }
+ }
+ }
+}
+
+
+
+
+
+
diff --git b/app/src/main/java/com/example/ayudapy/PedidoDetalle.kt a/app/src/main/java/com/example/ayudapy/PedidoDetalle.kt
new file mode 100644
index 0000000..54e1591
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/PedidoDetalle.kt
@@ -0,0 +1,33 @@
+package com.example.ayudapy
+
+data class PedidoDetalle (
+ val count: Long,
+ val next: String,
+ val previous: Any? = null,
+ val results: List
+)
+
+data class Resultado (
+ val id: Long,
+ val title: String,
+ val message: String,
+ val name: String,
+ val phone: String,
+ val address: String,
+ val city: String,
+ val location: locacion,
+ val picture: String? = null,
+ val active: Boolean,
+ val added: String
+)
+
+data class locacion (
+ val type: Type,
+ val coordinates: List
+)
+
+enum class Type {
+ Point
+}
+
+
diff --git b/app/src/main/java/com/example/ayudapy/PedidosAyuda.kt a/app/src/main/java/com/example/ayudapy/PedidosAyuda.kt
new file mode 100644
index 0000000..06ccc80
--- /dev/null
+++ a/app/src/main/java/com/example/ayudapy/PedidosAyuda.kt
@@ -0,0 +1,34 @@
+package com.example.ayudapy
+
+data class PedidosAyuda (
+ val type: String,
+ val features: List
+)
+
+data class Feature (
+ val type: FeatureType,
+ val geometry: Geometry,
+ val properties: Properties
+)
+
+data class Geometry (
+ val type: GeometryType,
+ val coordinates: List
+)
+
+enum class GeometryType {
+ Point
+}
+
+data class Properties (
+ val pk: Long,
+ val title: String,
+ val name: String,
+ val added: String
+)
+
+enum class FeatureType {
+ Feature
+}
+
+
diff --git b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/drawable-xhdpi/centro_donacion.png a/app/src/main/res/drawable-xhdpi/centro_donacion.png
new file mode 100644
index 0000000..996553c
Binary files /dev/null and a/app/src/main/res/drawable-xhdpi/centro_donacion.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/ayuda.png a/app/src/main/res/drawable-xxhdpi/ayuda.png
new file mode 100644
index 0000000..dcaeded
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/ayuda.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/icon_listo_unchecked.png a/app/src/main/res/drawable-xxhdpi/icon_listo_unchecked.png
new file mode 100644
index 0000000..09d389a
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/icon_listo_unchecked.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/icon_pendientes_unchecked.png a/app/src/main/res/drawable-xxhdpi/icon_pendientes_unchecked.png
new file mode 100644
index 0000000..27c894f
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/icon_pendientes_unchecked.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/infobutton.png a/app/src/main/res/drawable-xxhdpi/infobutton.png
new file mode 100644
index 0000000..8372979
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/infobutton.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/logoheader.png a/app/src/main/res/drawable-xxhdpi/logoheader.png
new file mode 100644
index 0000000..f038d9e
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/logoheader.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/pedido.png a/app/src/main/res/drawable-xxhdpi/pedido.png
new file mode 100644
index 0000000..c9b2ba8
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/pedido.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/pendientesbutton.png a/app/src/main/res/drawable-xxhdpi/pendientesbutton.png
new file mode 100644
index 0000000..c2e3274
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/pendientesbutton.png differ
diff --git b/app/src/main/res/drawable-xxhdpi/pin_favorito.png a/app/src/main/res/drawable-xxhdpi/pin_favorito.png
new file mode 100644
index 0000000..be457c4
Binary files /dev/null and a/app/src/main/res/drawable-xxhdpi/pin_favorito.png differ
diff --git b/app/src/main/res/drawable/background_gradient.xml a/app/src/main/res/drawable/background_gradient.xml
new file mode 100644
index 0000000..faf49ea
--- /dev/null
+++ a/app/src/main/res/drawable/background_gradient.xml
@@ -0,0 +1,9 @@
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/drawable/background_round.xml a/app/src/main/res/drawable/background_round.xml
new file mode 100644
index 0000000..96759ee
--- /dev/null
+++ a/app/src/main/res/drawable/background_round.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/drawable/ic_launcher_background.xml a/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ a/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git b/app/src/main/res/layout/activity_maps.xml a/app/src/main/res/layout/activity_maps.xml
new file mode 100644
index 0000000..8d009ff
--- /dev/null
+++ a/app/src/main/res/layout/activity_maps.xml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git b/app/src/main/res/layout/alert_dialog.xml a/app/src/main/res/layout/alert_dialog.xml
new file mode 100644
index 0000000..61a4490
--- /dev/null
+++ a/app/src/main/res/layout/alert_dialog.xml
@@ -0,0 +1,6 @@
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/layout/alert_dialog_contacto.xml a/app/src/main/res/layout/alert_dialog_contacto.xml
new file mode 100644
index 0000000..3051787
--- /dev/null
+++ a/app/src/main/res/layout/alert_dialog_contacto.xml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/layout/fragment_pedido.xml a/app/src/main/res/layout/fragment_pedido.xml
new file mode 100644
index 0000000..d9bf310
--- /dev/null
+++ a/app/src/main/res/layout/fragment_pedido.xml
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git b/app/src/main/res/layout/info.xml a/app/src/main/res/layout/info.xml
new file mode 100644
index 0000000..8ac0d53
--- /dev/null
+++ a/app/src/main/res/layout/info.xml
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/layout/menu_buttons.xml a/app/src/main/res/layout/menu_buttons.xml
new file mode 100644
index 0000000..c6e238b
--- /dev/null
+++ a/app/src/main/res/layout/menu_buttons.xml
@@ -0,0 +1,107 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git b/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ a/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..eca70cf
--- /dev/null
+++ a/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git b/app/src/main/res/mipmap-hdpi/ic_launcher.png a/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..a571e60
Binary files /dev/null and a/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git b/app/src/main/res/mipmap-hdpi/ic_launcher_round.png a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 0000000..61da551
Binary files /dev/null and a/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git b/app/src/main/res/mipmap-mdpi/ic_launcher.png a/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..c41dd28
Binary files /dev/null and a/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git b/app/src/main/res/mipmap-mdpi/ic_launcher_round.png a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 0000000..db5080a
Binary files /dev/null and a/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git b/app/src/main/res/mipmap-xhdpi/ic_launcher.png a/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..6dba46d
Binary files /dev/null and a/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git b/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..da31a87
Binary files /dev/null and a/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git b/app/src/main/res/mipmap-xxhdpi/ic_launcher.png a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..15ac681
Binary files /dev/null and a/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git b/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..b216f2d
Binary files /dev/null and a/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git b/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..f25a419
Binary files /dev/null and a/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git b/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 0000000..e96783c
Binary files /dev/null and a/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git b/app/src/main/res/values/colors.xml a/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..aa076c7
--- /dev/null
+++ a/app/src/main/res/values/colors.xml
@@ -0,0 +1,8 @@
+
+
+ #6200EE
+ #3700B3
+ #03DAC5
+ #33FFFFFF
+ #CCC
+
diff --git b/app/src/main/res/values/dimens.xml a/app/src/main/res/values/dimens.xml
new file mode 100644
index 0000000..0056038
--- /dev/null
+++ a/app/src/main/res/values/dimens.xml
@@ -0,0 +1,5 @@
+
+
+ 16dp
+ 8dp
+
diff --git b/app/src/main/res/values/strings.xml a/app/src/main/res/values/strings.xml
new file mode 100644
index 0000000..4b43f4d
--- /dev/null
+++ a/app/src/main/res/values/strings.xml
@@ -0,0 +1,7 @@
+
+ Ayudapy
+ Map
+
+
+ Hello blank fragment
+
diff --git b/app/src/main/res/values/styles.xml a/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..c89628c
--- /dev/null
+++ a/app/src/main/res/values/styles.xml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
diff --git b/app/src/release/res/values/google_maps_api.xml a/app/src/release/res/values/google_maps_api.xml
new file mode 100644
index 0000000..1ef79e9
--- /dev/null
+++ a/app/src/release/res/values/google_maps_api.xml
@@ -0,0 +1,20 @@
+
+
+ YOUR_KEY_HERE
+
diff --git b/app/src/test/java/com/example/ayudapy/ExampleUnitTest.kt a/app/src/test/java/com/example/ayudapy/ExampleUnitTest.kt
new file mode 100644
index 0000000..f03065a
--- /dev/null
+++ a/app/src/test/java/com/example/ayudapy/ExampleUnitTest.kt
@@ -0,0 +1,17 @@
+package com.example.ayudapy
+
+import org.junit.Test
+
+import org.junit.Assert.*
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * See [testing documentation](http://d.android.com/tools/testing).
+ */
+class ExampleUnitTest {
+ @Test
+ fun addition_isCorrect() {
+ assertEquals(4, 2 + 2)
+ }
+}
diff --git b/build.gradle a/build.gradle
new file mode 100644
index 0000000..991db60
--- /dev/null
+++ a/build.gradle
@@ -0,0 +1,29 @@
+// Top-level build file where you can add configuration options common to all sub-projects/modules.
+
+buildscript {
+ ext.kotlin_version = '1.3.71'
+ repositories {
+ google()
+ jcenter()
+
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:3.6.1'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+
+ // NOTE: Do not place your application dependencies here; they belong
+ // in the individual module build.gradle files
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ jcenter()
+
+ }
+}
+
+task clean(type: Delete) {
+ delete rootProject.buildDir
+}
diff --git b/gradle.properties a/gradle.properties
new file mode 100644
index 0000000..23339e0
--- /dev/null
+++ a/gradle.properties
@@ -0,0 +1,21 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx1536m
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app's APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Automatically convert third-party libraries to use AndroidX
+android.enableJetifier=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
diff --git b/gradle/wrapper/gradle-wrapper.jar a/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..f6b961f
Binary files /dev/null and a/gradle/wrapper/gradle-wrapper.jar differ
diff --git b/gradle/wrapper/gradle-wrapper.properties a/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..6805a48
--- /dev/null
+++ a/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Thu Apr 30 11:17:22 PYT 2020
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
diff --git b/gradlew a/gradlew
new file mode 100644
index 0000000..cccdd3d
--- /dev/null
+++ a/gradlew
@@ -0,0 +1,172 @@
+#!/usr/bin/env sh
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >/dev/null
+APP_HOME="`pwd -P`"
+cd "$SAVED" >/dev/null
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn () {
+ echo "$*"
+}
+
+die () {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+nonstop=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+ NONSTOP* )
+ nonstop=true
+ ;;
+esac
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+ JAVACMD=`cygpath --unix "$JAVACMD"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Escape application args
+save () {
+ for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
+ echo " "
+}
+APP_ARGS=$(save "$@")
+
+# Collect all arguments for the java command, following the shell quoting and substitution rules
+eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
+
+# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
+if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
+ cd "$(dirname "$0")"
+fi
+
+exec "$JAVACMD" "$@"
diff --git b/gradlew.bat a/gradlew.bat
new file mode 100644
index 0000000..f955316
--- /dev/null
+++ a/gradlew.bat
@@ -0,0 +1,84 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windows variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git b/settings.gradle a/settings.gradle
new file mode 100644
index 0000000..38edf08
--- /dev/null
+++ a/settings.gradle
@@ -0,0 +1,2 @@
+rootProject.name='Ayudapy'
+include ':app'