[MonoTouch] Using NS types instead of .NET types?

2012-04-03 Thread NC Software
Hello, I see some developers that have come from an Xcode background use NS types in MonoTouch instead of .NET types. For example, using NSString instead of String. Is there any impact to doing this? Pro's, Con's, should I raise this as a concern or is it negligible to the performance and

[MonoTouch] Change Sound Volume

2012-04-03 Thread FriDie
Hello everybody, it is possible to change the volume of the iPad within the code? I try to integrate the MoviePlayer without any StandardControls. But I need 2 Buttons where i can handle the Volumen? Hopefully somebody have a great solution for this problem. Cheers FriDie -- View this message

[MonoTouch] Monotouch.Dialog controller calling Storyboard controller - a bad idea?

2012-04-03 Thread bustergonad
Is it bad to use call Storyboard view controllers from Monotouch dialog viewcontrollers in the same project? If it's ok to do, how do you call a Storyboard view controller (FirstViewController) from within a monotouch.dialog controller - ie. What do you pass into the constructor of the

Re: [MonoTouch] Change Sound Volume

2012-04-03 Thread Jason Awbrey
there is no API to adjust volume - it would be a bad user experience if individual apps could override the volume level the user had already set http://stackoverflow.com/questions/4859402/ios-change-device-volume On Tue, Apr 3, 2012 at 5:26 AM, FriDie steffen.dietr...@fridie.de wrote: Hello

Re: [MonoTouch] Best practice: Get webpage HTML inside thread?

2012-04-03 Thread Nic Wise
I do that. Works fine for me. On Tue, Apr 3, 2012 at 17:44, MojoDK m...@fpr.dk wrote: Hi, I have this code: string url=bla; ThreadPool.QueueUserWorkItem (delegate {    try {        WebClient client = new WebClient();        string html = client.DownloadString(url);        

Re: [MonoTouch] Best practice: Get webpage HTML inside thread?

2012-04-03 Thread Gonzalo Paniagua Javier
On Tue, Apr 3, 2012 at 12:44 PM, MojoDK m...@fpr.dk wrote: Hi, I have this code: string url=bla; ThreadPool.QueueUserWorkItem (delegate {    try {        WebClient client = new WebClient();        string html = client.DownloadString(url);        client.Dispose();        client = null;  

[MonoTouch] MonoTouch.Dialog SelectionStyle Question

2012-04-03 Thread Brett Spurrier
Hi all, I have a UITableView implemented with MonoTouch.Dialog, but I am having some trouble setting the SelectionStyle. I have subclassed OwnerDrawnElement for my elements, which are called as elements of my RootElement. I have a methods which dynamically creates my RootElement, and this is

Re: [MonoTouch] Monotouch.Dialog controller calling Storyboard controller - a bad idea?

2012-04-03 Thread Craig Dunn
I haven't done a Storyboard with MT.D yet, but opening a Storyboard viewcontroller from regular old TableSource.RowSelected can be done like this (note the Identifier must be set in the Storyboard+Attributes Inspector for your view controller) // Specially for Storyboard !! var detail =

[MonoTouch] On wifi, 3G, 4G or nothing?

2012-04-03 Thread MojoDK
Hi, Is it possible to tell if the App/Device is on Wifi, 3G, 4G or nothing? Thanks Mojo -- View this message in context: http://monotouch.2284126.n4.nabble.com/On-wifi-3G-4G-or-nothing-tp4530146p4530146.html Sent from the MonoTouch mailing list archive at Nabble.com.

Re: [MonoTouch] Using NS types instead of .NET types?

2012-04-03 Thread Craig Dunn
Hey, I don't know any pros/cons OTTOMH but there are some parts of the API (exposed by MonoTouch) that still require NSStrings (even NSArrays), so you will occasionally see them, even in examples and such. Therefore it is worthwhile being aware of their existence and how to use them. However,

Re: [MonoTouch] On wifi, 3G, 4G or nothing?

2012-04-03 Thread Craig Dunn
Currently I think this class https://github.com/xamarin/monotouch-samples/blob/master/ReachabilitySample/reachability.cs is your best bet - however in my experience it can block, so should be run on another thread. also, i don't think it can tell the difference between 3G and 4G :) HTH cd On

Re: [MonoTouch] Using NS types instead of .NET types?

2012-04-03 Thread Rolf Bjarne Kvinge
Hi, On Tue, Apr 3, 2012 at 4:05 PM, NC Software n...@nc-software.com wrote: Hello, I see some developers that have come from an Xcode background use NS types in MonoTouch instead of .NET types. For example, using NSString instead of String. Is there any impact to doing this? Pro's, Con's,

[MonoTouch] System.ServiceModel.ProtocolException for mac client on lan

2012-04-03 Thread Felix Collins
I'm running a WCF service on windows 7 .net3.5 on ISS and accessing it with a variety of clients. Using basic http binding with no security. (I also tried custom binding with keepalive off but that made no difference.) Each request is made with a new wcf client object which is then closed

Re: [MonoTouch] System.ServiceModel.ProtocolException for mac client on lan

2012-04-03 Thread Felix Collins
ok, so no html tables allowed, so view this as fixed width (old skool!)... *Client * *Routing * *WCF Server * *Result * winxp console app same lan switchWCF service on same subnet okay - no exceptions win7 console app

[MonoTouch] WiFi debugging

2012-04-03 Thread Dean Cleaver
Should it say waiting for debugger to connect on :0...? It looks wrong to me, and WiFi debugging no longer works - any ideas how to fix it? Dino ___ MonoTouch mailing list MonoTouch@lists.ximian.com http://lists.ximian.com/mailman/listinfo/monotouch