- Enable ADB on the RS38 using the following instructions: https://developer.chrome.com/docs/devtools/remote-debugging
- Set default USB-mode of RS38 to PTP (Use USB for in Android settings)
- Install SDK Platform Tools from https://developer.android.com/tools/releases/platform-tools
- Connect phone with USB-cable to PC
- CD into the platform tools and run
./adb devices
- A popup should appear on the phone for ADB authorization
- The RS38 should now be listed by the ADB tool
- Continue with the remote debugging instructions in Chrome to start debugging
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> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<!-- Bootstrap CSS --> | |
<link rel="stylesheet" href="https://bootswatch.com/4/darkly/bootstrap.min.css" crossorigin="anonymous"> | |
<script src="https://unpkg.com/feather-icons"></script> |
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 | |
$url = 'https://kiyoh.com/v1/invite/external'; | |
$params = array( | |
'hash' => 'HASH', | |
'location_id' => 'LOCATION_ID', | |
'tenantId' => '98', // 99 for klantenvertellen | |
'delay' => 0, | |
'first_name' => 'CUSTOMER NAME', // Last name is optional, so just use first_name for the full name | |
'ref_code' => 'YOUR REFERENCE', | |
'language' => 'nl', |
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
Open On-Chip Debugger 0.9.0 (2015-09-02-10:42) | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.org/doc/doxygen/bugs.html | |
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD | |
adapter speed: 2000 kHz | |
adapter_nsrst_delay: 100 | |
none separate | |
srst_only separate srst_nogate srst_open_drain connect_deassert_srst | |
Info : Unable to match requested speed 2000 kHz, using 1800 kHz |
It took me quite some time to figure out how to print properly from a web application. I will explain here how I did it, so you don't have to spend the same time.
Google Cloud Print API uses OAuth 2.0 for authorization.
As explained [here][1] on the Google Developer page, the best way to use OAuth with the Google API is with a Google service account. Create a service account as explained on the Google Developer page.
To use OAuth a library is required. Google has published the [Google API PHP client library][2]. If you want to use the examples from the Developer pages, you need to use version 1 of the library. In this article I use version 2 of the library.