This file contains hidden or 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
| package br.com.laborumtech.wincomanda; | |
| import android.content.Context; | |
| import android.support.v7.app.AppCompatActivity; | |
| import android.os.Bundle; | |
| import android.view.inputmethod.InputMethodManager; | |
| import android.widget.EditText; | |
| public class LoginActivity extends AppCompatActivity { |
This file contains hidden or 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
| Executing tasks: [:app:assembleDebug] | |
| Configuration on demand is an incubating feature. | |
| NDK is missing a "platforms" directory. | |
| If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /home/rodrigo/Android/Sdk/ndk-bundle. | |
| If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning. | |
| Incremental java compilation is an incubating feature. | |
| :app:buildInfoDebugLoader | |
| :app:preBuild UP-TO-DATE |
This file contains hidden or 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
| <?xml version="1.0" encoding="utf-8"?> | |
| <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| xmlns:app="http://schemas.android.com/apk/res-auto" | |
| xmlns:tools="http://schemas.android.com/tools" | |
| android:orientation="vertical" | |
| android:layout_width="match_parent" | |
| android:layout_height="match_parent" | |
| tools:context="com.example.rodrigo.agenda.FormularioActivity" | |
| tools:layout_editor_absoluteY="81dp" | |
| tools:layout_editor_absoluteX="0dp"> |
This file contains hidden or 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
| <?php | |
| function curlExec($url, $post = NULL, $username, $password, $accumulator) | |
| { | |
| $url = "http://127.0.0.1:8087/RPC3"; | |
| //Inicia o cURL | |
| $ch = curl_init($url); | |
| //Pede o que retorne o resultado como string | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
This file contains hidden or 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
| function testaPost(){ | |
| $.post('/includes/curl2.php',{ | |
| data: "<?xml version='1.0'?><methodCall><methodName>RequestServer.GetTableState</methodName><params><param><value><i4>112</i4></value></param><param><value><i4>1649267442702</i4></value></param></params></methodCall>" | |
| },{ | |
| username:"1" | |
| },{ | |
| password:"1" | |
| }, | |
| function(retorno){ | |
| console.log(retorno); |
This file contains hidden or 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
| <?php | |
| function curlExec($url, $post = NULL, array $header = array(), $username, $password, $accumulator) | |
| { | |
| $url = "http://127.0.0.1:8087/RPC3"; | |
| //Inicia o cURL | |
| $ch = curl_init($url); | |
| //Pede o que retorne o resultado como string | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
This file contains hidden or 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
| $("#botaoMesa").on("click",function() | |
| { | |
| console.log("teste"); | |
| var xmlString = "<?xml version='1.0'?><methodCall><methodName>RequestServer.GetTableState</methodName><params><param><value><i4>112</i4></value></param><param><value><i4>1649267442702</i4></value></param></params></methodCall>"; | |
| testaPost(); | |
| }); | |
| $('input[name=mesa]').keydown(function(e) | |
| { | |
| if(e.which == 9) $('#botaoMesa').click(); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>teste</title> |
This file contains hidden or 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
| $("#botaoMesa").on("click",function() | |
| { | |
| console.log("teste"); | |
| }); | |
| $('input[name=mesa]').keydown(function(e) | |
| { | |
| if(e.which == 9) $('#botaoMesa').click(); | |
| }); |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>teste</title> |