Re: [mono-android] Services and Broadcast Receivers

2013-03-05 Thread Sait
sir , is there a method called register? there is registerreceiver i don see register method or maybe be i dont no it -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Services-and-Broadcast-Receivers-tp5712394p5712981.html Sent from the Mono for Android mailing li

Re: [mono-android] Services and Broadcast Receivers

2012-11-20 Thread Goncalo Oliveira
My bad with the SafeUnregisterReceiver, it's an extension. here's the code... public static void SafeUnregisterReceiver( this ContextWrapper ctx, BroadcastReceiver receiver ) { if ( ( ctx != null ) && ( receiver != null ) ) { ctx.UnregisterRe

Re: [mono-android] Services and Broadcast Receivers

2012-11-20 Thread EaranMaleasi
thank you for your peace of code, and sorry that i'm posting back only now. i am figuring out at the moment how it works(yeah do not only C&P even if i can't really understand it atm.) and how i implement it. i have a problem with this one: SafeUnregisterReceiver this method seems to be nowhere

Re: [mono-android] Services and Broadcast Receivers

2012-11-16 Thread Goncalo Oliveira
I got a bit bothered with the need to have to create a broadcast receiver for every little thing, so I created a generic broadcast receiver with a delegate. It simplifies the process... You can grab the source here http://pastebin.com/yBa5LP6C The way to use it is very simple. >From the service,

[mono-android] Services and Broadcast Receivers

2012-11-15 Thread EaranMaleasi
hey guys, i want to setup an Service, which is responsible for all Data from and into the Database. because of the point, that i want to get Data from the Service to my Activities, i've searched for sth. that can send Data to an activity without starting it like a "simple" intent with extras, and