#27 ✓resolved
Nikias Bassen

[PATCH] NotificationProxy updated

Reported by Nikias Bassen | April 13th, 2009 @ 11:30 PM | in 1.0 Release

Here's a patch that updates the functionality and several declarations of the NotificationProxy implementation. This includes a new iphone_np_get_notification functions which allows to check if a notifcation has been triggered by the device. The 'iphoneclient' test program (main.c) has been updated to show a use case; When "XXX sleeping" is displayed, it checks for 5 seconds if a notification appears. In this time window, do the "slide to cancel" to see the magic happen (well ok, it prints a message to the terminal).

This change allows applications to actually react on notifications that are sent by the device (like the "slide to cancel" thing).

Ah. And included is also an additional function for lockdown to get the name of the device (e.g. Steve's iPhone).

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

Referenced by

Pages