##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",
curl -u 19614a6d-94a4-4788-a0bb-9d559f841b58:221610d0-4668-4379-9db7-29a086c98793 -H "Accept: application/json" -H "Content-type: application/json" -X POST -d '{"deviceToken":"BSPA91bGDWDdl-xW3EmSs2bH7Qlo5AOfbCJtmyOukYxVHq8KKUqpPLBLUjettGYoN2nahBbAe3GgmxKPcZnqEIFFxHw3_brKOSmeXjZQuEVehSJTUdJuXUCmR3XweZ2MM_455fYMcvkUse1DIp1wjxnik2uHYSNl87wrJzLddoC7tPp-gch3eJAf","alias":"bob","categories":["lead"],"deviceType" : "iPhone", "operatingSystem" : "iOS", "osVersion" : "6.1.2"}' http://localhost:8080/ag-push/rest/registry/device |
##Toast Notifications
{
"title" : "The title",
"alert" :"HELLO!",
"duration" : "short|long",
"launch" : {
"type": "toast",
(function( send ) { | |
WebSocket.prototype.send = function( data ) { | |
console.debug( 'WebSocket.send', data ); | |
return send.call( this, data ); | |
} | |
})( WebSocket.prototype.send ); |
ws: open | |
ws1: init | |
WebSocket.send {"msgType":"add","id":"81082ff9-a3b5-421e-87fa-109c893c871b","clientId":"client1","content":"Do or do not, there is no try."} | |
ws2: init | |
WebSocket.send {"msgType":"add","id":"81082ff9-a3b5-421e-87fa-109c893c871b","clientId":"client2"} | |
ws2: sent |
# switch Graphene to use remote reusable session | |
phantomjs --webdriver=4444 --remote-debugger-port=8888 --remote-debugger-autorun=true | |
# open browser at http://localhost:8888 |
adb devices -l |
define("src/aerogear.core", | |
["exports"], | |
function(__exports__) { | |
"use strict"; | |
/* AeroGear JavaScript Library | |
* https://github.com/aerogear/aerogear-js | |
* JBoss, Home of Professional Open Source | |
* Copyright Red Hat, Inc., and individual contributors | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); |
docker build -t easymysql github.com/nkratzke/easymysql | |
docker run -it -p 3306:3306 -e user="someuser" -e password="somepassword" -e right="WRITE" easymysql | |
#### second console: | |
### mind to change IP address to the docker address | |
docker run -it easymysql /bin/bash | |
root@408ffa1f5036:/# mysql -h 172.17.42.1 -u someuser -p | |
AeroGear's Android libraries were built as jar, apklib and aar using Maven and the android-maven-plugin. The project follows the standard Android project layout as opposed to the standard Maven layout so sources will be in /src instead of /src/main/java and can be imported directly into IDE as an Android project.
The core library contains common components and interfaces which the rest of the AeroGear Android libraries depend on.
| | Project Info |