Udemy
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Development
Web Development Data Science Mobile Development Programming Languages Game Development Database Design & Development Software Testing Software Engineering Development Tools No-Code Development
Business
Entrepreneurship Communications Management Sales Business Strategy Operations Project Management Business Law Business Analytics & Intelligence Human Resources Industry E-Commerce Media Real Estate Other Business
Finance & Accounting
Accounting & Bookkeeping Compliance Cryptocurrency & Blockchain Economics Finance Finance Cert & Exam Prep Financial Modeling & Analysis Investing & Trading Money Management Tools Taxes Other Finance & Accounting
IT & Software
IT Certification Network & Security Hardware Operating Systems Other IT & Software
Office Productivity
Microsoft Apple Google SAP Oracle Other Office Productivity
Personal Development
Personal Transformation Personal Productivity Leadership Career Development Parenting & Relationships Happiness Esoteric Practices Religion & Spirituality Personal Brand Building Creativity Influence Self Esteem & Confidence Stress Management Memory & Study Skills Motivation Other Personal Development
Design
Web Design Graphic Design & Illustration Design Tools User Experience Design Game Design Design Thinking 3D & Animation Fashion Design Architectural Design Interior Design Other Design
Marketing
Digital Marketing Search Engine Optimization Social Media Marketing Branding Marketing Fundamentals Marketing Analytics & Automation Public Relations Advertising Video & Mobile Marketing Content Marketing Growth Hacking Affiliate Marketing Product Marketing Other Marketing
Lifestyle
Arts & Crafts Beauty & Makeup Esoteric Practices Food & Beverage Gaming Home Improvement Pet Care & Training Travel Other Lifestyle
Photography & Video
Digital Photography Photography Portrait Photography Photography Tools Commercial Photography Video Design Other Photography & Video
Health & Fitness
Fitness General Health Sports Nutrition Yoga Mental Health Dieting Self Defense Safety & First Aid Dance Meditation Other Health & Fitness
Music
Instruments Music Production Music Fundamentals Vocal Music Techniques Music Software Other Music
Teaching & Academics
Engineering Humanities Math Science Online Education Social Science Language Teacher Training Test Prep Other Teaching & Academics
AWS Certification Microsoft Certification AWS Certified Solutions Architect - Associate AWS Certified Cloud Practitioner CompTIA A+ Cisco CCNA CompTIA Security+ Amazon AWS Microsoft AZ-900
Graphic Design Photoshop Adobe Illustrator Drawing Digital Painting InDesign Character Design Canva Figure Drawing
Life Coach Training Neuro-Linguistic Programming Personal Development Personal Transformation Mindfulness Life Purpose Meditation CBT Emotional Intelligence
Web Development JavaScript React CSS Angular PHP Node.Js WordPress Vue JS
Google Flutter Android Development iOS Development React Native Swift Dart Programming Language Mobile Development Kotlin SwiftUI
Digital Marketing Google Ads (Adwords) Social Media Marketing Google Ads (AdWords) Certification Marketing Strategy Internet Marketing YouTube Marketing Email Marketing Retargeting
Microsoft Power BI SQL Tableau Business Analysis Data Modeling Business Intelligence MySQL Data Analysis Blockchain
Business Fundamentals Entrepreneurship Fundamentals Business Strategy Business Plan Startup Freelancing Online Business Blogging Home Business
Unity Game Development Fundamentals Unreal Engine C# 3D Game Development C++ 2D Game Development Unreal Engine Blueprints Blender
30-Day Money-Back Guarantee
IT & Software Operating Systems Retrofit

Retrofit 2 Android

Aprender a realizar peticiones GET, POST, PUT y DELETE a un servidor y además de autenticación Básica, JWT y OAuth 2
Rating: 4.8 out of 54.8 (71 ratings)
271 students
Created by Alberto Palomar
Last updated 1/2019
Spanish
Spanish [Auto]
30-Day Money-Back Guarantee

What you'll learn

  • Aprende a utilizar Retrofit 2 para Android con Java y poder realizar peticiones GET, POST, PUT, DELETE a un servidor y además aprenderás como Acceder con Autenticación Básica, Autenticación por JSON Web Token JWT y OAuth 2

Requirements

  • Tener conocimientos Básicos de Android Studio. Haber realizado algún aplicación previa.

Description

En este curso podrás aprender Retrofit 2 para Android con Java. Retrofit se ha convertido en la librería por excelencia para hacer peticiones GET, POST, PUT y Delete a servidores y con este curso dominarás dichas peticiones. Además podrás aprender como hacer Autenticación Básica, Autenticación por Token con JSON Web Token y OAuth2.

NOTA: Vamos a tener que instalarnos un Servidor Local Tomcat para hacer nuestras peticiones al Back-end. Se explica a lo largo del curso.

Ahora mismo Retrofit es la librería que más se esta utilizando en cualquier empresa que desarrolla aplicaciones Android por ello este curso te permitirá ver como se realizan dichas peticiones a nivel profesional, incluido haciendo uso del patrón Singlenton a la hora de crear tu instancia de Retrofit.

Retrofit es un cliente REST para Java y Android, en este caso veremos su funcionamiento en Android realizando una aplicación real que se conecte a servidor. Utilizando Retrofit hace que sea muy fácil hacer peticiones Http.

Entra y descubre como lo hacen los profesionales.

¿Que voy a Aprender en este Curso?

  • METODOS GET, POST, PUT, DELETE, HEAD.

  • Crear, Leer, Actualizar y Borrar datos de un Servidor

  • Vamos a ver Relación 1 a Muchos y Muchos a Muchos y operar con ellos desde nuestra Aplicación

  • Authentication Básica

  • Authentication por Token JWT

  • OAuth 2

Who this course is for:

  • Desarrolladores Android

Course content

7 sections • 126 lectures • 8h 55m total length

  • Preview00:54
  • Preview01:45
  • JSON
    06:29
  • Preview00:49
  • Preview00:48
  • Método POST
    00:23
  • Método PUT
    02:08
  • Método DELETE
    00:15
  • Método HEAD
    00:50
  • Código de Respuesta HTTP
    02:19
  • Cabecera HTTP
    02:40

  • Descarga el Código de Introducción a Retrofit 2
    00:01
  • Preview04:16
  • Clase Model
    05:08
  • Interfaz Service
    05:11
  • Usando Retrofit 2
    09:51
  • Final Introducción a Retrofit 2
    02:44

  • SetUp del Backend
    02:09
  • Instalar Eclipse
    01:46
  • Instalar JDK
    01:47
  • Instalar Spring en Eclipse
    03:03
  • Instalar el JDK en lugar del JRE
    02:04
  • Instalación MySQL y Workbench
    04:07
  • Workbench Vista Rápida
    02:01
  • SetUp Base de Datos
    01:31
  • Descarga Backend desde GitHub
    05:28

  • Descarga el Código de este Proyecto
    00:01
  • Preview03:32
  • SetUp Proyecto
    07:34
  • Registor XML
    11:48
  • SetUp Textos
    01:55
  • Clase Profesor
    03:12
  • Registro Activity
    11:19
  • Petición POST para Guardar Profesor
    15:02
  • Login XML
    04:12
  • Login Activity
    02:46
  • Login Método Post
    12:19
  • Probando el Login
    03:13
  • Shared Preferences
    08:49
  • Shared Preferences Parte 2
    06:32
  • Guardando Profesor en Shared Preferences
    04:30
  • Chequeando Profesor Logado en Registro Activity
    03:05
  • Profile XML
    01:36
  • Profile Activity
    05:39
  • Profile Logout
    03:44
  • Retrofit con Patrón Singleton
    04:32
  • Retrofit con Patrón Singleton Mejorado
    04:55
  • Optimizando Petición Login y Registro
    03:29
  • Método Delete Profesor
    04:45
  • Probando el Método Delete
    01:47
  • Método Put Profesor
    07:44
  • Image To String
    06:00
  • Actualizando Foto Profile
    10:12
  • Probando la Actualización de la Foto Perfil
    01:48
  • Método Get
    05:57
  • Clase Curso
    01:38
  • Curso Activity y XML
    02:20
  • Crear Método Post Curso
    10:01
  • Ver todos los cursos. Metodo Get
    06:08
  • Ver Cursos por Profesor. Metodo Post
    05:02
  • Relación Muchos a Muchos
    02:06
  • Lenguaje XML
    01:51
  • Crear Lenguaje
    08:21
  • Ver todos los Lenguajes
    04:37
  • Salvar Profesor y Lenguaje
    06:25
  • Ver Lenguajes de un Profesor
    05:51
  • Mejorando Retrofit con Loggin Interceptor
    08:34

  • Descarga el Código de Retrofit 2 Basic Authentication
    00:01
  • Autenticación Básica en Android
    04:49
  • Descarga Backend desde GitHub
    01:10
  • Configurando nuestro Backend
    03:10
  • Iniciando Android Studio Autenticación Básica
    02:09
  • Insertando datos a Tabla Profesor para Pruebas
    03:35
  • Model Profesor
    01:02
  • Configurando WebService en Android
    04:45
  • Petición GET Pública
    09:17
  • Autenticación Básica como Admin
    17:20
  • Autenticación Básica como User
    10:53
  • Otra forma de hacer Autenticación Básica
    05:08
  • Autenticación Básica con Contraseña Hash
    12:14
  • Autenticación Básica introduciendo User y Password por Téclado
    08:03

  • Descarga el Código de Retrofit 2 Token JWT Authentication
    00:01
  • ¿Que es un Token?
    04:34
  • Formato JWT
    07:22
  • Instalando el Backend de JWT
    02:05
  • Configurando Gradle y Manifest
    01:24
  • Activity XML
    02:50
  • Model Login
    00:44
  • Web Service JWT
    04:37
  • Método Post Obtener Token
    01:57
  • Obtener Token del Servidor
    09:08
  • Obtener Recursos con Token
    08:33
  • Comprobando JWT Token Incorrecto
    06:46

  • OAuth2 Teoria
    00:47
  • Propietarios del Recurso
    01:09
  • Servidor de Recursos
    Processing..
  • El Cliente
    00:55
  • Servidor de Autorizaciones
    00:31
  • Explicando OAuth2
    02:43
  • Concesión de Autorización
    00:51
  • Tokens en OAuth2
    01:28
  • Scope del Token
    00:26
  • Descargar Código Backend de OAuth2
    00:00
  • Configurando el BackEnd OAuth2
    02:03
  • Descargar Código Android Studio
    00:00
  • Manifest y Gradle
    01:09
  • Model User
    00:47
  • Model Movimiento Bancario
    00:46
  • Model Token
    01:12
  • Token Manager
    03:29
  • Finalizando Token Manager
    01:59
  • WebServiceOAuth
    04:34
  • MainXML
    01:13
  • Configurando MainActivity
    03:13
  • GET Usuarios
    04:54
  • POST Crear Usurio
    04:49
  • POST Obtener Token
    10:52
  • Probando Obtener Token
    03:11
  • Obtener Recurso Con Token
    05:43
  • Probando Token de Acceso
    05:05
  • Mejorando Obtener Token
    01:41
  • Logeado Activity
    04:06
  • Custom Authenticator
    15:41
  • Creando Servicio de Forma Segura con OAuth2
    06:04
  • Obtener Movimientos User Post
    09:17
  • Probando OAuth2
    06:15

Instructor

Alberto Palomar
Ingeniero de Telecomunicaciones
Alberto Palomar
  • 4.4 Instructor Rating
  • 2,858 Reviews
  • 32,926 Students
  • 29 Courses

Soy desarrollador de Android. Ahora mismo estoy desarrollando aplicaciones financieras utilizando Kotlin como lenguaje de programación. 

Soy Ingeniero de Telecomunicaciones de la Universidad Politécnica de Madrid y un a amante de las nuevas tecnologías y de Android.

Me encanta enseñar mis conocimientos y actualmente compagino mi trabajo como desarrollador de Android con cursos de Formación para que la gente pueda aprender a Programar

  • Udemy for Business
  • Teach on Udemy
  • Get the app
  • About us
  • Contact us
  • Careers
  • Blog
  • Help and Support
  • Affiliate
  • Impressum Kontakt
  • Terms
  • Privacy policy
  • Cookie settings
  • Sitemap
  • Featured courses
Udemy
© 2021 Udemy, Inc.