C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -reference:Newtonsoft.Json.dll /target:winexe .\Table.cs
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe -r:Newtonsoft.Json.dll /target:winexe .\Table.cs
| #Library Repository: https://github.com/hdodenhof/CircleImageView | |
| #build.gradle (Module:App) | |
| dependencies { | |
| ... | |
| implementation 'de.hdodenhof:circleimageview:3.0.1' | |
| ... | |
| } | |
| <LinearLayout | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" |
| #layout/activity_login.xml | |
| <EditText | |
| android:id="@+id/editText2" | |
| android:layout_width="match_parent" | |
| android:layout_height="60dp" | |
| android:background="@drawable/input_border_radius" | |
| android:ems="10" | |
| android:paddingLeft="20dp" | |
| android:text="Name" /> |
| <?xml version="1.0" encoding="utf-8"?> | |
| <!-- res/drawable/input_border_radius.xml --> | |
| <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <item> | |
| <shape xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:shape="rectangle" android:padding="10dp"> | |
| <solid android:color="#FFFFFF"/> | |
| <stroke android:width="2dp" android:color="#FF0000" /> | |
| <corners |
| // Rutas: | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-3.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-8.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-7.jpg | |
| // https://mymodernmet.com/wp/wp-content/uploads/2019/09/100k-ai-faces-4.jpg | |
| // build.gradle (Module: App) | |
| dependencies { | |
| .... | |
| implementation 'com.android.volley:volley:1.1.1' | |
| } |
| public static void sendRequestPOST(QueueUtils.QueueObject o, final MainActivity _interface) { | |
| String url = "http://rrojasen.alwaysdata.net/purchaseorders.json"; | |
| url = "http://fipo.equisd.com/api/users/new.json"; | |
| url = "http://192.168.58.3:8056/api/users/new.json"; | |
| StringRequest stringRequest = new StringRequest(Request.Method.POST, url, | |
| new Response.Listener<String>() { | |
| @Override | |
| public void onResponse(String response) { | |
| try { | |
| //Do it with this it will work |
| package info.rayrojas.avispa.models; | |
| import android.content.ContentValues; | |
| import android.content.Context; | |
| import android.database.Cursor; | |
| import android.database.sqlite.SQLiteDatabase; | |
| import android.database.sqlite.SQLiteOpenHelper; | |
| import android.provider.BaseColumns; | |
| import java.util.ArrayList; |
| import { Component, OnInit } from '@angular/core'; | |
| import { ViewEncapsulation } from '@angular/core' | |
| import { Router, ActivatedRoute } from '@angular/router'; | |
| import { FormBuilder, FormGroup, Validators } from '@angular/forms'; | |
| import { LoginService } from './login.service'; | |
| @Component({ | |
| selector: 'app-login', |
| public class DatabaseHelper extends SQLiteOpenHelper { | |
| .... | |
| public static class Columns implements BaseColumns { | |
| public static final String COLUMN_NAME_TOKEN = "token"; | |
| public static final String COLUMN_NAME_NAME = "name"; | |
| public static final String COLUMN_NAME_TITLE = "title"; | |
| public static final String COLUMN_NAME_MESSAGE = "message"; | |
| public static final String COLUMN_NAME_EXTRA = "extra"; | |
| public static final String COLUMN_NAME_ACTIVE = "is_active"; | |
| public static final String COLUMN_NAME_CHANNEL = "channel"; |
| <?php | |
| namespace App\Http\Controllers; | |
| use Illuminate\Support\Facades\Auth; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\Http; | |
| use GuzzleHttp\Client; | |
| use Illuminate\Support\Facades\Log; | |
| use GuzzleHttp\Exception\ClientException; | |
| use GuzzleHttp\Exception\RequestException; |