When I use the Gift Card app it adds a button to the inventory screen called "Gift Card", when I press the "Gift Card" button it automatically triggers the launch of the the Gift Card app to take care of provisioning the card. My question is two fold:
1.) How is the Gift Card app adding the custom inventory button to the Register? Is it just creating a new Inventory item?
2.) How does the Gift Card app automatically trigger when the button from 1.) is pressed? Is it just listening to the MODIFY_ORDER action Intent and detecting that a Gift Card inventory item was selected and then using that to trigger itself to open?