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
private void setupLibraries() { | |
HashMap<String, Integer> libraries = new HashMap<>(); | |
libraries.put("libbiomini.so", R.raw.libbiomini); | |
libraries.put("libcard_reader.so", R.raw.libcard_reader); | |
libraries.put("libcollect.so", R.raw.libcollect); | |
libraries.put("libdecode.so", R.raw.libdecode); | |
libraries.put("libidcard.so", R.raw.libidcard); | |
libraries.put("libled.so", R.raw.libled); | |
libraries.put("libmoneybox.so", R.raw.libmoneybox); | |
libraries.put("libpicc.so", R.raw.libpicc); |
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
private void print() { | |
showProgressDialog(); | |
try { | |
try { | |
ThermalPrinter.start(mContext); | |
} catch (Exception ex) { | |
ex.printStackTrace(); | |
} | |
ThermalPrinter.reset(); | |
ThermalPrinter.setGray(4); |
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
<a href="itms-services://?action=download-manifest&url=@@@ LINK TO PLIST"> | |
click this link to install | |
</a> |
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"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>items</key> | |
<array> | |
<dict> | |
<key>assets</key> | |
<array> | |
<dict> |
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
{ | |
"to" : "aaaa", | |
"notification" : { | |
"title":"Judul", | |
"body":"Halo", | |
"icon":"ic_notification", | |
"color": "#3ba4f6", | |
"click_action":"com.suitmedia.nuna.OPEN_CUSTOMER" | |
}, | |
"data": { |
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
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<polymer-element name="sign-up"> | |
<template> | |
<style> | |
:host { |
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
/* | |
Copyright 2014 Stephan Tittel and Yahoo Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 | |
Unless required by applicable law or agreed to in writing, software |
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
<link rel="import" href="../core-scaffold/core-scaffold.html"> | |
<link rel="import" href="../core-header-panel/core-header-panel.html"> | |
<link rel="import" href="../core-menu/core-menu.html"> | |
<link rel="import" href="../core-item/core-item.html"> | |
<link rel="import" href="../core-icon-button/core-icon-button.html"> | |
<link rel="import" href="../core-toolbar/core-toolbar.html"> | |
<link rel="import" href="../core-menu/core-submenu.html"> | |
<link rel="import" href="../paper-input/paper-input.html"> | |
<link rel="import" href="../paper-radio-group/paper-radio-group.html"> | |
<link rel="import" href="../paper-radio-button/paper-radio-button.html"> |
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 com.witochandra; | |
import org.ksoap2.SoapEnvelope; | |
import org.ksoap2.SoapFault; | |
import org.ksoap2.serialization.PropertyInfo; | |
import org.ksoap2.serialization.SoapObject; | |
import org.ksoap2.serialization.SoapSerializationEnvelope; | |
import org.ksoap2.transport.HttpTransportSE; | |
import org.kxml2.io.KXmlParser; | |
import org.kxml2.io.KXmlSerializer; |
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
import json | |
import logging | |
import os | |
import socket | |
import ssl | |
import struct | |
import sys | |
import time | |
import uuid |