If you want it to show when the app isn't running, you need to use a
push message, have your server watch the feed and send a push to the
phone when it sees a change. You can't easily do long running
background tasks on the iphone*
PushSharp (on github) is a good place to start with this. Or
UrbanAirship (paid service).
If it's just while your app is running, start a thread, load the feed, and then
InvokeOnMainThread(delegate {
//use a UIAlertView like normal here
});
InvokeOnMainThread is on any NSObject-derived class, so if you dont
have one handy, you can
new NSObject().InvokeOnMainThread(....
* unless you are a VOIP client, a GPS navigation app, or you register
for significant location changes, but that's not predicable, so if the
user isn't moving, they will never get a change
On Wed, Aug 8, 2012 at 3:56 PM, Aziz <[email protected]> wrote:
> Guys How I can make an alert view when there is a new video (feed) from that
> channel ?
>
> I want to make an option in my prog which is :
>
> tell me when there is a new video --- switch with yes or no ---
>
> how to make that ?
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Youtube-Client-Library-in-monotouch-tp4655973p4656430.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
--
Nic Wise
t. +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch