Support
All support resources for our products. Here you can find answers to frequently asked questions, discuss with other users, recover a lost license code or file a support request.
Forum closed
This forum was closed and turned into an archive effective April 21, 2018. It is no longer possible to create new topics or reply to existing topics.

Thanks everyone for all the great questions and contributions over the years.

Please use the Contact form to get in touch.

Remote Buddy Forum

Overview 

AuthorThread
User

31.01.2011 19:07:18
setUnusedButton wie einbauen?
View

This posting is older than 6 months and can contain outdated information.
Hallo!

Ich arbeite immoment mit HIDRemote und habe schon einige Fortschritte machen können. Allerdings habe ich dazu 
ein paar Fragen:

Ich habe jetzt alles soweit abgespeckt, dass dem User der Shared und der Exklusiv Modus zur Auswahl bleiben. Wenn 
der User sich im Shared Modus befindet, soll ein Button der zuvor ausgewält worden ist NUR für meine App gelten. 
Alle anderen Buttons sollen so funktionieren, wie es schon Apple eingerichtet hat.

Beispiel: 
Modus - Shared 
Button - Center

Wenn ich nun auf Center drücke wird eine bestimmte Funktion meines Programmes ausgeführt 
NUR (!!!) Diese Funktion soll ausgeführt werden, sonst nichts. Wenn ich auf Play/Pause drücke, 
soll mein iTunes auch auf die Play/Pause Funktion reagieren (wie von Apple gewollt).

Allerdings verstehe ich nun nicht ganz, wie ich die setUnusedButton Funktion benutzen kann (Wenn das überhaupt 
die Funktion ist, mit der ich hier arbeiten soll) und wo ich diese einbinde.

Immoment bin ich soweit:

Modus - Exklusiv 
Button - Play/Pause (Bsp.)

Ich drücke auf Play/Pause und meine Methode wird aufgerufen. iTunes reagiert nicht. Wie gewollt

----

Modus - Shared 
Button - Play/Pause (Bsp.)

Ich drücke wieder auf Play/Pause, meine Methode wird aufgerufen und iTunes reagiert (!!!) Hier soll 
iTunes allerdings nicht reagieren, da der Button Play/Pause NUR für meine Methode reserviert sein soll.

Wie stelle ich das nun an?

Andere Frage: Darf ich eine App, die mit ihrer Klasse läuft im App Store zum verkauf stellen?

Mit freundlichen Grüßen,

Louis Raymond 

These entries from the FAQ may be relevant to this topic:

Hardware - Apple® Remote