Re: [MonoTouch] Get MAC address

2011-11-08 Thread Brian Newton
I believe Apple's recommended procedure is to generate your own Guid and
save it to the app settings.

On Tue, Nov 8, 2011 at 3:24 PM, ayoung andrewdyo...@gmail.com wrote:

  Thanks. I saw that one too. There's really no easier way?

 On Tuesday, November 8, 2011 at 15:17, jawbrey [via MonoTouch] wrote:


 Not MT specific, but this is all I've seen


 http://stackoverflow.com/questions/677530/how-can-i-programmatically-get-the-mac-address-of-an-iphone

 Sent from my iPhone

 On Nov 8, 2011, at 5:07 PM, Andrew Young [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4017947i=0
 wrote:

  With the release of iOS 5, the UUID is obsolete. MAC address would
 probably be the next best. Does anyone know how to get the MAC address with
 MonoTouch?
  ___
  MonoTouch mailing list
  [hidden email] http://user/SendEmail.jtp?type=nodenode=4017947i=1
  http://lists.ximian.com/mailman/listinfo/monotouch
 ___
 MonoTouch mailing list
 [hidden email] http://user/SendEmail.jtp?type=nodenode=4017947i=2
 http://lists.ximian.com/mailman/listinfo/monotouch


 --
  If you reply to this email, your message will be added to the discussion
 below:

 http://monotouch.2284126.n4.nabble.com/Get-MAC-address-tp4017921p4017947.html
  To start a new topic under MonoTouch, email [hidden 
 email]http://user/SendEmail.jtp?type=nodenode=4017973i=0
 To unsubscribe from MonoTouch, click here.
 See how NAML generates this 
 emailhttp://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespacebreadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml



 --
 View this message in context: Re: Get MAC 
 addresshttp://monotouch.2284126.n4.nabble.com/Get-MAC-address-tp4017921p4017973.html
 Sent from the MonoTouch mailing list 
 archivehttp://monotouch.2284126.n4.nabble.com/at Nabble.com.

 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch


___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Web-services vs other?

2011-11-07 Thread Brian Newton
I can say that I've been using a web service backend for most of the
processing in my app, have made probably close to 100-200 calls while
developing it and I've never had it timeout. Are you thinking the
unreliability is innate to web services or just the way Monotouch handles
them?

On Thu, Oct 27, 2011 at 7:23 PM, simarx kul...@simarx.com wrote:

 Hi - I am developing an iPhone application where I am consuming Soap
 web-services using the standard mechanism provided by MonoDevelop whereby I
 am adding a web-reference to the web-service and then calling it's methods.

 On occasion, I do find calls to methods timeout in an inconsistent manner
 when I know it's not down to a poor net connection.

 Is there any advice as to whether I should consider using alternative code
 to consuming web-services?

 I've read elsewhere that it may be more reliable to Post data directly and
 process the results myself - using NSMutableUrlRequest for example.

 I don't really want to put this effort in unless it's going to make a
 difference.

 Any advice?





 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/Web-services-vs-other-tp3946648p3946648.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Do the makers of Monodevelop actually test the application?

2011-10-25 Thread Brian Newton
Right,

It's not about opening a second version of the program, just being able to
have two solutions open simultaneously for comparison etc. Many apps allow
new windows with new content (Word, all browsers etc). But yep, I'll give
Jason's terminal hack a try in the meantime.

Brian

On Tue, Oct 25, 2011 at 4:50 AM, Mike Muegel mike.mue...@gmail.com wrote:

 Rolf, I don't think Demis and I want a second instance. We just want the
 ability to open 2+ solutions at the same time but each solution is in a
 different window (same MD instance/icon). Just like any other document
 oriented Mac app, but the document is the solution.

 Cjeers,
 -Mike


 On Tue, Oct 25, 2011 at 4:38 AM, Rolf Bjarne Kvinge r...@xamarin.comwrote:

 Hi,

 On Tue, Oct 25, 2011 at 3:49 AM, Michael Muegel mike.mue...@gmail.com
 wrote:
  not being able to have two solutions/copies of MD open
  My #1 non-bug issue. Doing keep solution open in Open helps but not
 nearly
  as useful as second window.
  Jason's open -n trick will help for now. But adding support for MD
 windows
  would be really great.

 This is actually how the Mac is supposed to work. It's not MonoDevelop
 that refuses to open another instance, it's the Mac that just
 activates the current instance instead of creating a new one when you
 click on the MonoDevelop icon.

 Rolf

  Thanks,
  -Mike
  From: Brian Newton briannew...@gmail.com
  Date: Mon, 24 Oct 2011 17:37:23 -0700
  To: Demis Bellot demis.bel...@gmail.com
  Cc: monotouch@lists.ximian.com, competent_tech
  xamarinfor...@competent.com
  Subject: Re: [MonoTouch] Do the makers of Monodevelop actually test the
  application?
 
  Monodevelop has been relatively stable for me, I've never had issues
 with
  USB debugging. I did start running into some issues after just straight
  upgrading to Lion, but a full uninstall of all components/reinstall in
 the
  proper order did the trick. The only thing that's a constant irritant is
 not
  being able to do find in all files (it just never finds anything) and
 not
  being able to have two solutions/copies of MD open at the same time as
 far
  as I can tell. Makes comparing my code with Miguel's amazing sample code
  more difficult. =)
 
  On Mon, Oct 24, 2011 at 4:21 PM, Demis Bellot demis.bel...@gmail.com
  wrote:
 
  Sigh, Reply all...
  The main problem with MonoDevelop is most devs using it are coming from
  a VS.NET (and possibly R#) background, so yeah the new IDE and lacks
 some
  features that can slow down productivity some-what.
  But the value of MonoTouch/Droid is clearly being able to run C# on
  iOS/Android with the possibility of re-using your existing code-base
 which
  IMHO more than makes up for any productivity loss.
  In this light, the value more than justifies the cost.
  - Demis
 
  On Mon, Oct 24, 2011 at 7:07 PM, competent_tech
  xamarinfor...@competent.com wrote:
 
  I pay $2500/year for visual studio which has crashed about the same
  number of
  times as monodevelop since I started using it 3 months ago.
 
  I pay $1500/year for one windows/asp.net component suite and filing
 bugs
  with the vendor results in them telling us that the obviously broken
  control
  behavior is by design after analyzing the issue for 2 months. The
 first
  and only bug I have filed with monotouch/monodevelop had a workaround
 in
   2
  hours and a permanent fix in  24 hours.
 
  We were able to convert more than 500,000 LOC from an existing Windows
  tablet app written in VB to monotouch in 3 months and now have
 customers
  lining up at the door for the iPad version.
 
  Yes there are some issues and I would be happy to have more third
 party
  controls and suites to choose from, but overall, monodevelop and
  monotouch
  are absolute steals and incredibly well supported.
 
  --
  View this message in context:
 
 http://monotouch.2284126.n4.nabble.com/Do-the-makers-of-Monodevelop-actually-test-the-application-tp3932349p3934907.html
  Sent from the MonoTouch mailing list archive at Nabble.com.
  ___
  MonoTouch mailing list
  MonoTouch@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/monotouch
 
 
 
  ___
  MonoTouch mailing list
  MonoTouch@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/monotouch
 
 
  ___ MonoTouch mailing list
  MonoTouch@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/monotouch
  ___
  MonoTouch mailing list
  MonoTouch@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/monotouch
 
 



___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Tabbed UI question

2011-10-25 Thread Brian Newton
Hey all,

I'm working on an app that returns a list of items. Each item has a category
associated with it. Currently I've got them bound to a single
Montouch.Dialog section as a list of elements, using a lot of Miguel's Tweet
display code in TweetStation.

What I'm looking to do is to have tabs across the top that have sections
like All, Category1, Category2 etc. Ideally I would have a more tab if
there are more than 2, similar to how it's often done in TabBars.

I've uploaded a couple examples to help explain what I'm talking about. I'd
prefer something similar to how Spotify does it (the last greenish image),
but anything similar to any of the examples would be great.

http://www.dropbox.com/gallery/442343/1/iPhone?h=b35702

Any ideas/samples/examples for MT?

Thanks!
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] install ios 4 sdk without uninstalling iOS 5

2011-10-17 Thread Brian Newton
Yeah, in general how do you support multiple versions of iOS? When I go into
the project properties all I can select is 5.0, which from what I can tell
makes it so people without 5.0 can't even install it even if I'm not using
any 5.0 specific tech.

On Mon, Oct 17, 2011 at 12:56 PM, Jeff Stedfast j...@xamarin.com wrote:

 Hi Art,

 If you figure out how to do it, let us all know - I know I'd love to know
 the answer to this as well!

 Jeff


 On Mon, Oct 17, 2011 at 6:21 AM, Art coderproje...@gmail.com wrote:


 is it possible to install previous SDKs (ios 4) without uninstalling the
 iOS
 5? I want to select different sdk (iOS4 or ios 5) under SDK options.

 Art



 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/install-ios-4-sdk-without-uninstalling-iOS-5-tp3911566p3911566.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch



 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch


___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Exception Handling of Async Webservice

2011-10-13 Thread Brian Newton
Well, if you have no internet connection, there's no way to retrieve
the result... you could do something like create a key that you send
along with your request, then if you don't get a response in a certain
amount of time, you could have another web service you call where you
pass the same key and look up an error message you store somewhere
along with the key.

2011/10/13 Andreas Ploetzeneder i...@ploetzeneder-it.com:
 i mean, for example if my internet connection crashs,...how can i fetch
 that,

 Am 13. Oktober 2011 20:31 schrieb Andreas Ploetzeneder
 i...@ploetzeneder-it.com:

 ok

 Am 13. Oktober 2011 20:30 schrieb Brian Newton briannew...@gmail.com:

 Well, firstly you have to have the webservice return the exception in
 some way. Then, it should just be part of the args in the event
 function that receives the response.

 2011/10/13 Andreas Ploetzeneder i...@ploetzeneder-it.com:
  Hi,
  how can i fetch an Exception of an webservice which i call async?
 
 
 
  --
 
 
 
 
 
  Mit freundlichem Gruß,
 
  Andreas Plötzeneder
  CEO
  ihr ploetzeneder it-solutions Team
  Mobile Development – Desktopanwendungen – Webanwendungen
  Tel:  +43 720 30 30 24 10
  Fax: +43 720 30 30 24 20
  Email: i...@ploetzeneder-it.com
  web:   http://www.ploetzeneder-it.com
 
  Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
  und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
  vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so
  löschen
  sie diese bitte und informieren Sie den Absender. Jede Form der
  Verbreitung
  oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in
  Teilen,
  die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
  Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
  it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert
  wurde.
 
 
 
  ___
  MonoTouch mailing list
  MonoTouch@lists.ximian.com
  http://lists.ximian.com/mailman/listinfo/monotouch
 
 
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch



 --





 Mit freundlichem Gruß,

 Andreas Plötzeneder
 CEO
 ihr ploetzeneder it-solutions Team
 Mobile Development – Desktopanwendungen – Webanwendungen
 Tel:  +43 720 30 30 24 10
 Fax: +43 720 30 30 24 20
 Email: i...@ploetzeneder-it.com
 web:   http://www.ploetzeneder-it.com

 Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
 und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
 vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
 sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
 oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen,
 die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
 Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
 it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.





 --





 Mit freundlichem Gruß,

 Andreas Plötzeneder
 CEO
 ihr ploetzeneder it-solutions Team
 Mobile Development – Desktopanwendungen – Webanwendungen
 Tel:  +43 720 30 30 24 10
 Fax: +43 720 30 30 24 20
 Email: i...@ploetzeneder-it.com
 web:   http://www.ploetzeneder-it.com

 Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
 und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
 vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
 sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
 oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen,
 die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
 Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
 it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.



___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Webservice problem

2011-10-04 Thread Brian Newton
Can you give more information about what you've done to call the web
service? Does it discover the methods when you add it as a web
reference?

2011/10/4 Andreas Ploetzeneder i...@ploetzeneder-it.com:
 Hello,
 i have got a webservice, and i added it, but i cannot access to the
 functions of the wbeservice.
 any ideas?
 When i call the webservice over web:

 The following operations are supported. For a formal definition, please
 review the Service Description.

 HelloWorld

 Login

 connect

 getactualdata

 gethistorydata

 but i cannot call the function from C#?
 Why?
 --





 Mit freundlichem Gruß,

 Andreas Plötzeneder
 CEO
 ihr ploetzeneder it-solutions Team
 Mobile Development – Desktopanwendungen – Webanwendungen
 Tel:  +43 720 30 30 24 10
 Fax: +43 720 30 30 24 20
 Email: i...@ploetzeneder-it.com
 web:   http://www.ploetzeneder-it.com

 Der Inhalt dieser E-Mail samt aller Anhänge ist vertraulich
 und ausschließlich für den Adressaten bestimmt. Wenn Sie nicht der
 vorgesehene Adressat dieser E-Mail oder dessen Vertreter sind, so löschen
 sie diese bitte und informieren Sie den Absender. Jede Form der Verbreitung
 oder Veröffentlichung der E-Mail, sei es in ihrer Gesamtheit oder in Teilen,
 die nicht ihrem Zweck dient, ist unzulässig. Das Internet kann die
 Unversehrtheit dieser Mitteilung nicht garantieren. ploetzeneder
 it-solutions übernimmt daher keine Haftung, falls die E-Mail geändert wurde.



 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch


___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Converting Xcode3 sln to Xcode4 - issues

2011-09-27 Thread Brian Newton
I'm having this issue as well. I made a project straight out of Xcode4 with
two view controllers. I added some textfields and a button, hooked up the
outlets to the textfields and an action to the button, everything was fine.
I then came back later, added some code for push notifications, tried to
build, and got this coding-compliant error about one of my textfields. If
I removed the textfield and all outlets etc, it would then complain about
the next one. I removed all controls, and it then was erroring about the
view itself. I've tried deleting the view in Xcode, remaking it, recreating
the outlet the file's owner, and the only way to get it to go away is to
delete the view and everything referring to it.

I read on the MonoTouch site that this error is due to something not being
generated correctly in the designer.xib.cs generated file:

http://support.xamarin.com/customer/portal/articles/135125-this-class-is-not-key-value-coding-compliant-for-the-key-

But those files don't exist in Monodevelop. Someone said you can manually
create them, but will that actually fix this? Is there an easier way to get
MT to regenerate these files and fix the problem if that's really the issue?

On Tue, Sep 27, 2011 at 10:28 AM, nemke djordjevic.nema...@gmail.comwrote:

 I have started to learn MonoTouch and it's so easy to work with. I have
 went
 trough the Hello World example with Xcode4 and MonoDevelop 2.8 beta and
 everything works fine.

 However, when I downloaded the code examples from the free ebook Building
 iPhone and iPod touch Applications for the .NET/C# Developer with
 MonoTouch
 by Wallace B. McClure,
  which can be found

 http://www.wrox.com/WileyCDA/WroxTitle/Building-iPhone-and-iPod-touch-Applications-for-the-NET-C-Developer-with-MonoTouch.productCd-0470590734,descCd-DOWNLOAD.html
 here  I got some problems.

 I opened the FirstMonoTouchProject example, asked for migration and it went
 ok. The solution builds with no errors after migration. But when run the
 app
 (F5) it crashes with messages like this:

 /Unhandled Exception: MonoTouch.Foundation.MonoTouchException: Objective-C
 exception thrown.  Name: NSUnknownKeyException Reason: [UITextField
 0x710c100 setValue:forUndefinedKey:]: this class is not key value
 coding-compliant for the key window.
  at (wrapper managed-to-native)
 MonoTouch.UIKit.UIApplication:UIApplicationMain
 (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
 principalClassName, System.String delegateClassName) [0x00042] in
 /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x0] in
 /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:34
  at FirstMonoTouchProject.Application.Main (System.String[] args) [0x0]
 in /Users/nemanja/Projects/McClure
 Code/FirstMonoTouchProject/FirstMonoTouchProject/Main.cs:14
 [ERROR] FATAL UNHANDLED EXCEPTION: MonoTouch.Foundation.MonoTouchException:
 Objective-C exception thrown.  Name: NSUnknownKeyException Reason:
 [UITextField 0x710c100 setValue:forUndefinedKey:]: this class is not key
 value coding-compliant for the key window.
  at (wrapper managed-to-native)
 MonoTouch.UIKit.UIApplication:UIApplicationMain
 (int,string[],intptr,intptr)
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String
 principalClassName, System.String delegateClassName) [0x00042] in
 /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:29
  at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x0] in
 /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:34
  at FirstMonoTouchProject.Application.Main (System.String[] args) [0x0]
 in /Users/nemanja/Projects/McClure
 Code/FirstMonoTouchProject/FirstMonoTouchProject/Main.cs:14 /

 Do I need to refactor something in order to make this work, or was this
 code
 faulty in the first place?

 --
 View this message in context:
 http://monotouch.2284126.n4.nabble.com/Converting-Xcode3-sln-to-Xcode4-issues-tp3848336p3848336.html
 Sent from the MonoTouch mailing list archive at Nabble.com.
 ___
 MonoTouch mailing list
 MonoTouch@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/monotouch

___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch