forked from auctifera-josed/starprnt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial work on adding a requester of USB permissions
I was able to include the permission XML that allows any app to "respond" to a just-plugged printer, but......... not more than that. Some changes on the iOS side was done too, but that was easier since it's simply a no-op (and is untested too). Any Java code I included (even blatantly broken stuff) never caused an issue during compilation or runtime, not more than the current bug causes. No clue how to actually compile the plugin and get it into the debug app. This is supposed to be a solution for auctifera-josed#58
- Loading branch information
1 parent
aa835db
commit a8c7a9b
Showing
9 changed files
with
168 additions
and
50 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<usb-accessory model="Star TSP143IV-UE" manufacturer="STAR"/> | ||
</resources> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<resources> | ||
<usb-device class="255" subclass="66" protocol="1" /> | ||
<usb-device vendor-id="1305" product-id="0001" /> <!--IFBD-HU05/06, IFBD-HU07/08 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0002" /> <!--IFBD-HU05/06, IFBD-HU07/08 - vendorClass--> | ||
<usb-device vendor-id="1305" product-id="0003" /> <!--TSP100U/ECO/IIIU/IV - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0004" /> <!--TSP100U/ECO - vendorClass--> | ||
<usb-device vendor-id="1305" product-id="0005" /> <!--TSP100GT/IIIU - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0006" /> <!--TSP100GT - vendorClass--> | ||
<usb-device vendor-id="1305" product-id="0009" /> <!--FVP10 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0010" /> <!--FVP10 - vendorClass--> | ||
<usb-device vendor-id="1305" product-id="0011" /> <!--BSC10 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0012" /> <!--BSC10 - vendorClass--> | ||
<usb-device vendor-id="1305" product-id="0017" /> <!--BSC10BR - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0067" /> <!--SM-S210i/230i - mobile printer--> | ||
<usb-device vendor-id="1305" product-id="0023" /> <!--mPOP - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0071" /> <!--mC-Print3 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0073" /> <!--mC-Print2 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0075" /> <!--SK1-211/221/V211 - printerClass--> | ||
<usb-device vendor-id="1305" product-id="0077" /> <!--SK1-311/321/V311 - printerClass--> | ||
</resources> |