[MonoTouch] MonoMac plugin now available for MonoDevelop 2.6 b3

2011-08-03 Thread dtavlikos
http://tirania.org/monomac/archive/2011/Aug-03.html

I've been waiting for this...

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MonoMac-plugin-now-available-for-MonoDevelop-2-6-b3-tp3717786p3717786.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


Re: [MonoTouch] MonoDevelop does not start - icon keeps dancing

2011-08-03 Thread Nic Wise
you could try emailing supp...@xamarin.com if you have a paid version
of MT (or possibly even if you dont)

Which version of OSX are you on? which version of mono etc?

On Thu, Aug 4, 2011 at 03:21, abhijit  wrote:
> Any help possible. Please Please Please.
> Else this is end of road for me.
>
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/MonoDevelop-does-not-start-icon-keeps-dancing-tp3712432p3717521.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
>



-- 
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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] A class for resize, scaling, stretching and cropping an image

2011-08-03 Thread Nic Wise
No problem - please do. I was using it the other day, and found a few
bugs to put into my bug tracker, but if you have any feedback, it'd be
very welcome :)

On Thu, Aug 4, 2011 at 01:04, ilmdaniel  wrote:
> Thx Nic,
> Yes, I also think it could be useful to integrate both.
>
> By the way,  very nice application the "Trip Wallet".  I will contact you in
> private for some questions if you don't mind.
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/A-class-for-resize-scaling-stretching-and-cropping-an-image-tp3714025p3717280.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
>



-- 
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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Any ideas what this could be?

2011-08-03 Thread Dean Cleaver
Caught this exception:

MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: 
NSInvalidArgumentException Reason: -[NSCFCharacterSet willPresentAlertView:]: 
unrecognized selector sent to instance 0xf47bf0
at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String 
principalClassName, System.String delegateClassName) [0x0] in :0
at KleverLogic.FlashValet.iPhone.Valet.Application.Main (System.String[] args) 
[0x000ed] in /xsl-home/kleverlogic/FlashValet/Mobile/iPhone/Valet/Main.cs:60

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


Re: [MonoTouch] MonoDevelop does not start - icon keeps dancing

2011-08-03 Thread abhijit
Any help possible. Please Please Please.
Else this is end of road for me.


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/MonoDevelop-does-not-start-icon-keeps-dancing-tp3712432p3717521.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


Re: [MonoTouch] A class for resize, scaling, stretching and cropping an image

2011-08-03 Thread ilmdaniel
Thx Nic, 
Yes, I also think it could be useful to integrate both.

By the way,  very nice application the "Trip Wallet".  I will contact you in
private for some questions if you don't mind.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/A-class-for-resize-scaling-stretching-and-cropping-an-image-tp3714025p3717280.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


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Nic Wise
Thanks - I think I had your new one already. Google reader will tell
me next time you post if I did :)

On Wed, Aug 3, 2011 at 22:07, Sebastien Pouliot  wrote:
>> * Sebastien Pouliot (master of Crypto and Linker fu). You can find his
>> twitter stream at https://twitter.com/#!/spouliot and his blog is
>> at http://pages.infinit.net/ctech/poupou.html
>
> Jeff forgot that I'm also the general of Gendarme ;-)
> I have not yet updated monologue but I moved my blog activities
> to http://spouliot.wordpress.com/
> Sebastien
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> 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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Sebastien Pouliot
>
> * Sebastien Pouliot (master of Crypto and Linker fu). You can find his
> twitter stream at https://twitter.com/#!/spouliot and his blog is at
> http://pages.infinit.net/ctech/poupou.html
>

Jeff forgot that I'm also the general of Gendarme ;-)

I have not yet updated monologue but I moved my blog activities to
http://spouliot.wordpress.com/

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


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Nic Wise
> We could probably do this... although another good way is to watch
> http://go-mono.org/monologue which is an aggregate of all the core Mono*
> developer blogs (+ a number of the more active contributors, etc).

I do, already, but it's hard to decypher who's xamarin and who's mono

> The other people *currently* working on MonoTouch (and related technologies)
> are:

thanks. Followed and subbed :)

> * Chris Hardy (documentation guru). You can find his twitter stream
> at https://twitter.com/#!/chrisntr and his blog
> at http://weblogs.asp.net/chrishardy/

Chris is working for you guys? Sweet. nice one Chris :) I really
should pull finger and send Nat my CV...

> Hah! Well, they weren't that close at all until we finally explained to
> Miguel that Geoff wasn't pronounced "Gee-off" ;-)
> Also, I'm the original!

Fair enough. How did Miguel pronouns it? Geee-off? I really can't
imagine how that could be messed up, and then with a Mexican accent on
top :)


-- 
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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Jeff Stedfast
Hi Nic,

On Wed, Aug 3, 2011 at 4:12 PM, Nic Wise  wrote:

> Jeff
>
> Any chance of getting those working on MT to post something here? eg:
>
> hi, I'm Jeff. I'm working on the MT compiler, I blog at X and tweet at Y.
>
> I've been building up my list of MT people in google reader, but it's
> a slow process waiting for people to post their URLs :)
>

We could probably do this... although another good way is to watch
http://go-mono.org/monologue which is an aggregate of all the core Mono*
developer blogs (+ a number of the more active contributors, etc).

The other people *currently* working on MonoTouch (and related technologies)
are:

* Miguel de Icaza (fearless CTO and master of the iOS5 API), but I'm sure
you already know his blog & twitter accounts!

* Chris Toshok (kind of the lead on the project now that Geoff has moved on
to other exciting projects at another company). I don't think Chris has a
blog anymore, but his twitter stream is https://twitter.com/#!/toshok

* Rodrigo Kumpera (master of all things in the core Mono runtime). You can
find his twitter stream at https://twitter.com/#!/kumpera and his blog at
http://www.kumpera.net/blog/

* Sebastien Pouliot (master of Crypto and Linker fu). You can find his
twitter stream at https://twitter.com/#!/spouliot and his blog is at
http://pages.infinit.net/ctech/poupou.html

* Rolf Kvinge (mostly working on the MonoDevelop side of things). He rarely
tweets, but you can follow him at https://twitter.com/#!/rolfkvinge and his
blog is at http://rolfkvinge.blogspot.com/ (he's a quiet guy)

* Chris Hardy (documentation guru). You can find his twitter stream at
https://twitter.com/#!/chrisntr and his blog at
http://weblogs.asp.net/chrishardy/

I think that's everyone...


You can find my mostly uninteresting twitter stream at
https://twitter.com/#!/jstedfast



> Also: Jeff / Geoff. Too close. :)



Hah! Well, they weren't that close at all until we finally explained to
Miguel that Geoff wasn't pronounced "Gee-off" ;-)

Also, I'm the original!

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


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Geoff Norton
Greg,

You can fix this today:

http://ios.xamarin.com/Documentation/Troubleshoot#Debugger_is_unable_to_connect_with_the_device

Follow the steps in the:

"MonoDevelop may picked the wrong host IP address." section.  Be sure to fully 
quit MonoDevelop before editing the properties file otherwise it will clobber 
your changes.

-g

On 2011-08-01, at 9:55 AM, Greg wrote:

> Any ideas or help are never useless. Unfortunately my IP Address is already
> reserved. It appears from Jeffs response that I simply will not be getting
> this working until the next release of MonoTouch (4.1) which just makes it
> very very difficult to test on the hardware as I have to write everything to
> a log and then when the app crashes get the log to see where it died and
> why, not very productive but when needs must
> 
> Cheers
> 
> Greg
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3709711.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] Wrong IP Address

2011-08-03 Thread Nic Wise
Jeff

Any chance of getting those working on MT to post something here? eg:

hi, I'm Jeff. I'm working on the MT compiler, I blog at X and tweet at Y.

I've been building up my list of MT people in google reader, but it's
a slow process waiting for people to post their URLs :)

Also: Jeff / Geoff. Too close. :)

N

On Wed, Aug 3, 2011 at 20:44, Jeff Stedfast  wrote:
> Hi Greg,
> I just blogged about how to override the settings used by the device used to
> connect to the debugger on your local machine in current versions of
> MonoTouch:
> http://jeffreystedfast.blogspot.com/2011/08/debugging-your-monotouch-apps-future.html
> I also wrote a bit about our future (likely with 4.1) plans where apps will
> be debuggable via the USB connection which will solve this horrible WiFi
> debugging experience.
> Hope this helps if you haven't found an alternative solution in the
> meantime,
> Jeff
>
> On Mon, Aug 1, 2011 at 10:24 AM, Greg  wrote:
>>
>> here is the content as requested, this as you can see is where i learnt
>> that
>> IP address is a virtual nic.
>>
>> lo0: flags=8049 mtu 16384
>>        options=3
>>        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>>        inet 127.0.0.1 netmask 0xff00
>>        inet6 ::1 prefixlen 128
>> gif0: flags=8010 mtu 1280
>> stf0: flags=0<> mtu 1280
>> en0: flags=8863 mtu
>> 1500
>>        options=2b
>>        ether c4:2c:03:00:a8:73
>>        inet6 fe80::c62c:3ff:fe00:a873%en0 prefixlen 64 scopeid 0x4
>>        inet 192.168.3.168 netmask 0xff00 broadcast 192.168.3.255
>>        media: autoselect (100baseTX )
>>        status: active
>> en1: flags=8823 mtu 1500
>>        ether 90:27:e4:f2:c9:d9
>>        media: autoselect ()
>>        status: inactive
>> fw0: flags=8863 mtu
>> 4078
>>        lladdr e8:06:88:ff:fe:b6:85:7a
>>        media: autoselect 
>>        status: inactive
>> p2p0: flags=8802 mtu 2304
>>        ether 02:27:e4:f2:c9:d9
>>        media: autoselect
>>        status: inactive
>> vnic0: flags=8843 mtu 1500
>>        options=3
>>        ether 00:1c:42:00:00:08
>>        inet6 fe80::21c:42ff:fe00:8%vnic0 prefixlen 64 scopeid 0x8
>>        inet 10.211.55.2 netmask 0xff00 broadcast 10.211.55.255
>>        inet6 ::0.0.0.2 prefixlen 64
>>        media: autoselect
>>        status: active
>> vnic1: flags=8843 mtu 1500
>>        options=3
>>        ether 00:1c:42:00:00:09
>>        inet6 fe80::21c:42ff:fe00:9%vnic1 prefixlen 64 scopeid 0x9
>>        inet 10.37.129.2 netmask 0xff00 broadcast 10.37.129.255
>>        inet6 ::0.0.0.2 prefixlen 64
>>        media: autoselect
>>        status: active
>>
>> Thanks
>>
>> Greg
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3709789.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
>
>



-- 
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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] Wrong IP Address

2011-08-03 Thread Jeff Stedfast
Hi Greg,

I just blogged about how to override the settings used by the device used to
connect to the debugger on your local machine in current versions of
MonoTouch:

http://jeffreystedfast.blogspot.com/2011/08/debugging-your-monotouch-apps-future.html

I also wrote a bit about our future (likely with 4.1) plans where apps will
be debuggable via the USB connection which will solve this horrible WiFi
debugging experience.

Hope this helps if you haven't found an alternative solution in the
meantime,

Jeff

On Mon, Aug 1, 2011 at 10:24 AM, Greg  wrote:

> here is the content as requested, this as you can see is where i learnt
> that
> IP address is a virtual nic.
>
> lo0: flags=8049 mtu 16384
>options=3
>inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>inet 127.0.0.1 netmask 0xff00
>inet6 ::1 prefixlen 128
> gif0: flags=8010 mtu 1280
> stf0: flags=0<> mtu 1280
> en0: flags=8863 mtu
> 1500
>options=2b
>ether c4:2c:03:00:a8:73
>inet6 fe80::c62c:3ff:fe00:a873%en0 prefixlen 64 scopeid 0x4
>inet 192.168.3.168 netmask 0xff00 broadcast 192.168.3.255
>media: autoselect (100baseTX )
>status: active
> en1: flags=8823 mtu 1500
>ether 90:27:e4:f2:c9:d9
>media: autoselect ()
>status: inactive
> fw0: flags=8863 mtu
> 4078
>lladdr e8:06:88:ff:fe:b6:85:7a
>media: autoselect 
>status: inactive
> p2p0: flags=8802 mtu 2304
>ether 02:27:e4:f2:c9:d9
>media: autoselect
>status: inactive
> vnic0: flags=8843 mtu 1500
>options=3
>ether 00:1c:42:00:00:08
>inet6 fe80::21c:42ff:fe00:8%vnic0 prefixlen 64 scopeid 0x8
>inet 10.211.55.2 netmask 0xff00 broadcast 10.211.55.255
>inet6 ::0.0.0.2 prefixlen 64
>media: autoselect
>status: active
> vnic1: flags=8843 mtu 1500
>options=3
>ether 00:1c:42:00:00:09
>inet6 fe80::21c:42ff:fe00:9%vnic1 prefixlen 64 scopeid 0x9
>inet 10.37.129.2 netmask 0xff00 broadcast 10.37.129.255
>inet6 ::0.0.0.2 prefixlen 64
>media: autoselect
>status: active
>
> Thanks
>
> Greg
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Wrong-IP-Address-tp3704536p3709789.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] mtouch failed with no output

2011-08-03 Thread Jeff Stedfast
Hi Jon,

Sorry about the delay. Can you try adding 3 or 4 -v's in the "Additional
mtouch arguments" text field in the Project Options dialog in the "iPhone
Build" category? That might give some more verbose and useful output to
narrow down what might be going wrong.

Thanks,

Jeff


On Wed, Jul 27, 2011 at 11:17 AM, Jon Hopkins wrote:

> Using http://btouch-library.googlecode.com/files/FacebookConnect.zip
>
> Mtouch failed with no output error. No spaces in my folder name.
>
> Why do I get this error when I use third party libraries? Sometimes it
> works, and sometimes
> It doesn't. There doesn't seem to be a consistent way of getting it to
> work. I am adding in
> The additional parameters like this...
>
> -nosymbolstrip -aot="iphone-abi"  -noregistrar -gcc_flags
> "-L${ProjectDir}/assemblies -lFBPlatform -framework QuartzCore
> -framework OpenGLES -framework CoreGraphics -ObjC"
>
> Or this
>
> -v -gcc_flags "-L${ProjectDir}/assemblies -lFBPlatform -framework
> CoreGraphics -force_load ${ProjectDir}/assemblies/libFBPlatform.a"
>
> Thanks!
>
> Output is...
>
> Building: FacebookConnect (Debug|iPhoneSimulator)
>
> Building Solution FacebookConnect
>
> Building: FacebookConnect (Debug|iPhoneSimulator)
>
> Performing main compilation...
> /Developer/MonoTouch/usr/bin/smcs /noconfig
> "/out:/Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSim
> ulator/Debug/FacebookConnect.exe"
> "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.dll"
> "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll"
> "/r:/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll"
> "/r:/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll"
> "/r:/Users/jho/Downloads/FacebookConnect/FacebookConnect/assemblies/Face
> book.dll" /nologo /warn:4 /debug:+ /debug:full /optimize- /codepage:utf8
> "/define:DEBUG"  /t:exe
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/facebook.cs"
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/AppDelegate.cs"
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/AppDelegate.g.cs"
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/Main.cs"
>
> Copying content files
> Copying
> '/Users/jho/Downloads/FacebookConnect/FacebookConnect/images/Logo.png'
> to
> '/Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSimulato
> r/Debug/FacebookConnect.app/Icon.png'
> Build complete -- 0 errors, 0 warnings
>
> Compiling to native code
> /Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -sim
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSimulato
> r/Debug/FacebookConnect.app"
> "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.dll"
> "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll"
> "-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll"
> "-r=/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll"
> "-r=/Users/jho/Downloads/FacebookConnect/FacebookConnect/assemblies/Face
> book.dll" -debug -nolink "-sdk=4.2" -v -gcc_flags
> "-L/Users/jho/Downloads/FacebookConnect/FacebookConnect/assemblies
> -lFBPlatform -framework CoreGraphics -force_load
> /Users/jho/Downloads/FacebookConnect/FacebookConnect/assemblies/libFBPla
> tform.a"
> "/Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSimulato
> r/Debug/FacebookConnect.exe"
> Framework is:
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimul
> ator4.2.sdk
> Copied
> /Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSimulator
> /Debug/FacebookConnect.exe to
> /Users/jho/Downloads/FacebookConnect/FacebookConnect/bin/iPhoneSimulator
> /Debug/FacebookConnect.app/FacebookConnect.exe
> Generated
> /var/folders/Qe/Qek6Com-GPi6UWboNmE0Tr8g01g/-Tmp-/tmp3e43437c.tmp/main.m
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2
> -arch i386 -gdwarf-2 -fobjc-legacy-dispatch -fobjc-abi-version=2
> -miphoneos-version-min=4.2 -arch i386  -std=c99
> -I/Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include
> -isysroot
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimul
> ator4.2.sdk -c
> /var/folders/Qe/Qek6Com-GPi6UWboNmE0Tr8g01g/-Tmp-/tmp3e43437c.tmp/main.m
> -o
> /var/folders/Qe/Qek6Com-GPi6UWboNmE0Tr8g01g/-Tmp-/tmp3e43437c.tmp/main.x
> 86.o -DDEBUG
>
> In file included from
> /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include/mono
> touch/monotouch.h:16,
> from
> /var/folders/Qe/Qek6Com-GPi6UWboNmE0Tr8g01g/-Tmp-/tmp3e43437c.tmp/main.m
> :14:
> /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include/glib
> .h:117:1: warning: "ABS" redefined
> In file included from
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimul
> ator4.2.sdk/System/Library/Frameworks/Foundation.framework/Headers/Found
> ation.h:8,
> from
> /Developer/MonoTouch/SDKs/MonoTouch.iphonesimulator.sdk/usr/include/mono
> touch/gc.h:1,
> from
> /var/folders/Qe/Qek6Com-GPi6UWboNmE0Tr8g01g/-Tmp-/tmp3e43437c.tmp/main.m
> :13:
> /Developer/Platforms/iPhoneSi

Re: [MonoTouch] Embed RESX for Localization

2011-08-03 Thread Karl Heinz Brehme Arredondo
.. And MonoDevelop generated the directories "es" and "es-MX" with DLLs that
I copied  to Payload folder to generate the MyApp.app with all things plus
localization folders.

Sorry for fragmented info.

Karl

From:  Karl Heinz Brehme Arredondo 
Date:  Wed, 03 Aug 2011 13:10:39 -0300
To:  Rodrigo Kumpera 
Cc:  "monotouch@lists.ximian.com" 
Subject:  Re: [MonoTouch] Embed RESX for Localization

Thanks a lot.

If later you need exactly code of what I copied from Visual Studio
2008/Windows Mobile/netcf 2 I can private.

And to resume: code created on VS 2008 for resx was compiled on
MonoTouch/MonoDevelop and it has get the default text of each string
resource, but when changing iOS config to another country and language it
still got default text. But at least got some text from VS 2008 netcf
classes.

I have about 1 month to to basic localizations and will try something in VS
model to implement something temporary. BTW, Lion and bugs are more
important now.

Thanks,

Karl

From:  Rodrigo Kumpera 
Date:  Wed, 3 Aug 2011 12:56:08 -0300
To:  Karl Heinz Brehme Arredondo 
Cc:  "monotouch@lists.ximian.com" 
Subject:  Re: [MonoTouch] Embed RESX for Localization

Hi Karl,

Your email caused a very heated argument internally at Xamarin because, yes,
our localization story is not as nice as we want it to be.
Right now we are sorting out more urgent matters like crashers, bugs and
critical features such as Lion support.
Rest assured that your email caught our attention and we have the issue on
our radar.


On Wed, Aug 3, 2011 at 12:48 PM, Karl Heinz Brehme Arredondo
 wrote:
> (Resending if no one saw)
> 
> Hi..
> 
> I'm porting a Windows Mobile application to iOS and it's time for
> localization. I read about NSBundle.MainBundle.LocalizedStrings and the tool
> for extract it from the application, but I didn't like at allŠ
> 
> As I have this already localized on Windows Mobile application, I tried to
> copy my Library.Designer.cs generated on Visual Studio 2008 and the resx files
> Library.resx, Library.es.resx (generic spanish) and Library.es-CH.resx
> (chilean spanish), changed resx'es to Embed Resource, compiled and run without
> errors.
> 
> But, no translations was made changing iOs settings, and just the original
> text from Library.resx is shown. Debugging I found that Library.Designer.cs
> has resourceCulture = null, so at constructor I put a
> manual-not-necessary-on-windows resourceCulture =
> System.Globalization.CultureInfo.CurrentCulture, and checked on debugging that
> resourceCulture now has es-CH, but still no translated text appeared.
> 
> A sample of property generated on Visual Studio that runs OK there but on
> MonoTouch returned default text but not the translated:
> 
> /// 
> ///   Looks up a localized string similar to Convidados.
> /// 
> internal static string CONVIDADOS {
> get {
> return ResourceManager.GetString("CONVIDADOS",
> resourceCulture);
> }
> }
> 
> So, on code I call something like myButton.Text  = Library.CONVIDADOS and it
> has to return localized text from resx.
> 
> No idea what to do or how to use it, but it can help against the lack of
> localization on iOS that support just spanish or english or portuguese but not
> es and es-CH and es-AR and pt-BR and pt all as differente things. There is a
> way to use resx correctly? Something missing here?
> 
> I just don't want to put a #if PocketPC and #if Android and #if iOS on
> everywhere for each textŠ I think that could be possible to do it on a .net
> way.
> 
> 
> Also missing about the lack of UI resources like on windows. And still a lot
> of people condemn windows development where without a line of code I have
> ASP.NET   applications, desktop applications and windows
> mobile applications localized, not just text translation but with custom
> control properties (width, Visilibity and others) based on language and
> countryŠ
> 
> I have fear now to discover how this runs on AndroidŠŠ.
> 
> Karl
> 
> 
> ___
> 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] Problem using System.Diagnostics.Process

2011-08-03 Thread Geoff Norton
It was historically removed for footprint reasons, there is little to
no reason to ever use it, people who want process enumeration can
pinvoke the libc functions responsible for that.

-g


On Wed, Aug 3, 2011 at 12:02 PM, Rodrigo Kumpera  wrote:
> Right now monotouch doesn't support System.Diagnostics.Process on device.
> I don't know why it's not available, if it's just a footprint issue or if it
> doesn't work as is.
> Sebastien?
>
> On Wed, Aug 3, 2011 at 7:01 AM, pkd2010  wrote:
>>
>> Hi all
>>
>> i have made a application that lists all process running on iPhone
>> Simulator, using the following code:
>>
>> System.Diagnostics.Process.GetProcess()
>>
>> and it worked on iPhone Simulator without any problem but on the iPhone
>> device it just exits.
>> can you please explain me why that happens? if Process.GetProcess() is not
>> available to use, so how to this ? how to list the process? i know it is
>> possible because of an app that is available on the AppStore.
>>
>> Thanks,
>> Regards,
>> PK DEVELOPER
>>
>> --
>> View this message in context:
>> http://monotouch.2284126.n4.nabble.com/Problem-using-System-Diagnostics-Process-tp3714936p3714936.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] Embed RESX for Localization

2011-08-03 Thread Karl Heinz Brehme Arredondo
Thanks a lot.

If later you need exactly code of what I copied from Visual Studio
2008/Windows Mobile/netcf 2 I can private.

And to resume: code created on VS 2008 for resx was compiled on
MonoTouch/MonoDevelop and it has get the default text of each string
resource, but when changing iOS config to another country and language it
still got default text. But at least got some text from VS 2008 netcf
classes.

I have about 1 month to to basic localizations and will try something in VS
model to implement something temporary. BTW, Lion and bugs are more
important now.

Thanks,

Karl

From:  Rodrigo Kumpera 
Date:  Wed, 3 Aug 2011 12:56:08 -0300
To:  Karl Heinz Brehme Arredondo 
Cc:  "monotouch@lists.ximian.com" 
Subject:  Re: [MonoTouch] Embed RESX for Localization

Hi Karl,

Your email caused a very heated argument internally at Xamarin because, yes,
our localization story is not as nice as we want it to be.
Right now we are sorting out more urgent matters like crashers, bugs and
critical features such as Lion support.
Rest assured that your email caught our attention and we have the issue on
our radar.


On Wed, Aug 3, 2011 at 12:48 PM, Karl Heinz Brehme Arredondo
 wrote:
> (Resending if no one saw)
> 
> Hi..
> 
> I'm porting a Windows Mobile application to iOS and it's time for
> localization. I read about NSBundle.MainBundle.LocalizedStrings and the tool
> for extract it from the application, but I didn't like at allŠ
> 
> As I have this already localized on Windows Mobile application, I tried to
> copy my Library.Designer.cs generated on Visual Studio 2008 and the resx files
> Library.resx, Library.es.resx (generic spanish) and Library.es-CH.resx
> (chilean spanish), changed resx'es to Embed Resource, compiled and run without
> errors.
> 
> But, no translations was made changing iOs settings, and just the original
> text from Library.resx is shown. Debugging I found that Library.Designer.cs
> has resourceCulture = null, so at constructor I put a
> manual-not-necessary-on-windows resourceCulture =
> System.Globalization.CultureInfo.CurrentCulture, and checked on debugging that
> resourceCulture now has es-CH, but still no translated text appeared.
> 
> A sample of property generated on Visual Studio that runs OK there but on
> MonoTouch returned default text but not the translated:
> 
> /// 
> ///   Looks up a localized string similar to Convidados.
> /// 
> internal static string CONVIDADOS {
> get {
> return ResourceManager.GetString("CONVIDADOS",
> resourceCulture);
> }
> }
> 
> So, on code I call something like myButton.Text  = Library.CONVIDADOS and it
> has to return localized text from resx.
> 
> No idea what to do or how to use it, but it can help against the lack of
> localization on iOS that support just spanish or english or portuguese but not
> es and es-CH and es-AR and pt-BR and pt all as differente things. There is a
> way to use resx correctly? Something missing here?
> 
> I just don't want to put a #if PocketPC and #if Android and #if iOS on
> everywhere for each textŠ I think that could be possible to do it on a .net
> way.
> 
> 
> Also missing about the lack of UI resources like on windows. And still a lot
> of people condemn windows development where without a line of code I have
> ASP.NET   applications, desktop applications and windows
> mobile applications localized, not just text translation but with custom
> control properties (width, Visilibity and others) based on language and
> countryŠ
> 
> I have fear now to discover how this runs on AndroidŠŠ.
> 
> Karl
> 
> 
> ___
> 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] MonoTouch exception

2011-08-03 Thread Rodrigo Kumpera
This might happen if you have the wrong XIB file set as the Main interface
file on project options.


On Wed, Jul 27, 2011 at 10:44 AM, Dean Cleaver <
dean.clea...@xceptionsoftware.com> wrote:

>  Any ideas what this could be?
>
> ** **
>
> MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown.
> Name: NSInvalidArgumentException Reason: -[UIControlTargetAction
> willPresentAlertView:]: unrecognized selector sent to instance 0xf5b0ea0**
> **
>
>   at MonoTouch.UIKit.UIApplication.Main (System.String[] args,
> System.String principalClassName, System.String delegateClassName) [0x0]
> in :0 
>
> ** **
>
> Cheers,
>
> Dino
>
> ___
> 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] Urgent help with WebClient.CancelAsync() Throwing System.Threading.ThreadInterruptedException

2011-08-03 Thread Rodrigo Kumpera
Looks like a bug on monotouch. Can you fill a bugreport at
bugzilla.xamarin.com with a working sample of the issue?

Thanks,
Rodrigo

On Wed, Jul 27, 2011 at 6:17 AM, Danny Pronk  wrote:

> Hi All,
>
> In my app I am using the following :
>
> WebClient.DownloadDataAsync to download a file (epub)
> When the download starts I actually show an AlertView to display the
> progress of the download with a cancel button to give the user the
> possibility to
> Cancel the download (e.g. When he is on 3G and download is slow).
> When the user presses the cancelbutton I actually call
> WebClient.CancelAsync(); to interrupt the download.
> In my DataCompleted Routine I do a check on e.cancelled to figure out if
> the user has cancelled or not (or at least not break at that point)
>
> So far So good and all these pieces run good (without any problem) but
> after the code of DownloadCompleted has finished Mono throws me the
> exception
> System.Threading.ThreadInterrupedException.
>
> My stacktrace tells me :
>
> System.Threading.WaitHandle.WaitOne(etc..)
> System.Net.WebAsyncResult.WaitUntilComplete(etc..)
> System.New.WebConnectionStream.Read(etc..)
> System.Net.WebClient.ReadAll (etc..)
> System.Net.WebClient.DownloadDataCare(etc…)
>
> After reading up on CancelAsync() now I am at a loss how to fix this
> exception.
>
> Please can anybody give me some advise
>
> Regards
>
> Danny
>
> ___
> 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] Post Lion CoreLocation Not Working

2011-08-03 Thread Rodrigo Kumpera
Looks like a bug on XCode 4.1. Nothing much on our side can be done.


On Wed, Jul 27, 2011 at 5:49 AM, g.duffi...@proteo.co.uk <
g.duffi...@proteo.co.uk> wrote:

> Since Installing Lion my very simple location text application no longer
> works in the simulator. he code is as follows:-
>
> locationManager  = new MonoTouch.CoreLocation.CLLocationManager();
>
>if (CLLocationManager.LocationServicesEnabled)
>{
>// Register the events we want to listen for
>locationManager.UpdatedLocation += (object
> sender,
> CLLocationUpdatedEventArgs e) =>{
>Console.WriteLine("Updated Location
> Event Fired.");
>lblDistance.Text =
> e.NewLocation.Coordinate.Latitude.ToString() + " , "
> + e.NewLocation.Coordinate.Longitude.ToString();
>};
>
>locationManager.StartUpdatingLocation();
>}
>
> This now does not update the Location and I can see that this is erroring
> in
> the Application Output when it instantiates the locationManager with:-
>
> bootstrap_look_up failed (44e)
>
> Anyone got any ides on this ?
>
> Thanks
>
> Greg
>
>
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Post-Lion-CoreLocation-Not-Working-tp3697905p3697905.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] Problem using System.Diagnostics.Process

2011-08-03 Thread Rodrigo Kumpera
Right now monotouch doesn't support System.Diagnostics.Process on device.

I don't know why it's not available, if it's just a footprint issue or if it
doesn't work as is.

Sebastien?

On Wed, Aug 3, 2011 at 7:01 AM, pkd2010  wrote:

> Hi all
>
> i have made a application that lists all process running on iPhone
> Simulator, using the following code:
>
> System.Diagnostics.Process.GetProcess()
>
> and it worked on iPhone Simulator without any problem but on the iPhone
> device it just exits.
> can you please explain me why that happens? if Process.GetProcess() is not
> available to use, so how to this ? how to list the process? i know it is
> possible because of an app that is available on the AppStore.
>
> Thanks,
> Regards,
> PK DEVELOPER
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Problem-using-System-Diagnostics-Process-tp3714936p3714936.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] Embed RESX for Localization

2011-08-03 Thread Rodrigo Kumpera
Hi Karl,

Your email caused a very heated argument internally at Xamarin because, yes,
our localization story is not as nice as we want it to be.
Right now we are sorting out more urgent matters like crashers, bugs and
critical features such as Lion support.
Rest assured that your email caught our attention and we have the issue on
our radar.


On Wed, Aug 3, 2011 at 12:48 PM, Karl Heinz Brehme Arredondo <
k...@e-magesolutions.com> wrote:

> (Resending if no one saw)
>
> Hi..
>
> I'm porting a Windows Mobile application to iOS and it's time for
> localization. I read about NSBundle.MainBundle.LocalizedStrings and the tool
> for extract it from the application, but I didn't like at all…
>
> As I have this already localized on Windows Mobile application, I tried to
> copy my Library.Designer.cs generated on Visual Studio 2008 and the resx
> files Library.resx, Library.es.resx (generic spanish) and Library.es-CH.resx
> (chilean spanish), changed resx'es to Embed Resource, compiled and run
> without errors.
>
> But, no translations was made changing iOs settings, and just the original
> text from Library.resx is shown. Debugging I found that Library.Designer.cs
> has resourceCulture = null, so at constructor I put a
> manual-not-necessary-on-windows resourceCulture =
> System.Globalization.CultureInfo.CurrentCulture, and checked on debugging
> that resourceCulture now has es-CH, but still no translated text appeared.
>
> A sample of property generated on Visual Studio that runs OK there but on
> MonoTouch returned default text but not the translated:
>
> /// 
> ///   Looks up a localized string similar to Convidados.
> /// 
> internal static string CONVIDADOS {
> get {
> return ResourceManager.GetString("CONVIDADOS",
> resourceCulture);
> }
> }
>
> So, on code I call something like myButton.Text  = Library.CONVIDADOS and
> it has to return localized text from resx.
>
> No idea what to do or how to use it, but it can help against the lack of
> localization on iOS that support just spanish or english or portuguese but
> not es and es-CH and es-AR and pt-BR and pt all as differente things. There
> is a way to use resx correctly? Something missing here?
>
> I just don't want to put a #if PocketPC and #if Android and #if iOS on
> everywhere for each text… I think that could be possible to do it on a .net
> way.
>
>
> Also missing about the lack of UI resources like on windows. And still a
> lot of people condemn windows development where without a line of code I
> have ASP.NET applications, desktop applications and windows mobile
> applications localized, not just text translation but with custom control
> properties (width, Visilibity and others) based on language and country…
>
> I have fear now to discover how this runs on Android…….
>
> Karl
>
>
> ___
> 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] Embed RESX for Localization

2011-08-03 Thread Karl Heinz Brehme Arredondo
(Resending if no one saw)

Hi..

I'm porting a Windows Mobile application to iOS and it's time for
localization. I read about NSBundle.MainBundle.LocalizedStrings and the tool
for extract it from the application, but I didn't like at allŠ

As I have this already localized on Windows Mobile application, I tried to
copy my Library.Designer.cs generated on Visual Studio 2008 and the resx
files Library.resx, Library.es.resx (generic spanish) and Library.es-CH.resx
(chilean spanish), changed resx'es to Embed Resource, compiled and run
without errors.

But, no translations was made changing iOs settings, and just the original
text from Library.resx is shown. Debugging I found that Library.Designer.cs
has resourceCulture = null, so at constructor I put a
manual-not-necessary-on-windows resourceCulture =
System.Globalization.CultureInfo.CurrentCulture, and checked on debugging
that resourceCulture now has es-CH, but still no translated text appeared.

A sample of property generated on Visual Studio that runs OK there but on
MonoTouch returned default text but not the translated:

/// 
///   Looks up a localized string similar to Convidados.
/// 
internal static string CONVIDADOS {
get {
return ResourceManager.GetString("CONVIDADOS",
resourceCulture);
}
}

So, on code I call something like myButton.Text  = Library.CONVIDADOS and it
has to return localized text from resx.

No idea what to do or how to use it, but it can help against the lack of
localization on iOS that support just spanish or english or portuguese but
not es and es-CH and es-AR and pt-BR and pt all as differente things. There
is a way to use resx correctly? Something missing here?

I just don't want to put a #if PocketPC and #if Android and #if iOS on
everywhere for each textŠ I think that could be possible to do it on a .net
way.


Also missing about the lack of UI resources like on windows. And still a lot
of people condemn windows development where without a line of code I have
ASP.NET applications, desktop applications and windows mobile applications
localized, not just text translation but with custom control properties
(width, Visilibity and others) based on language and countryŠ

I have fear now to discover how this runs on AndroidŠŠ.

Karl



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


[MonoTouch] What behaviour should I expect after DidEnterBackground?

2011-08-03 Thread Dean Cleaver
I have some code in DidEnterBackground to release TCP-IP connections etc, but 
what I am seeing in WillEnterForeground is apparently random objects being set 
to null where I have no code to do so (or the code to do so is not being 
called).

It's almost like the GC is wiping them out when they're still being used - or 
should I not expect anything to be as it was before that call?

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


Re: [MonoTouch] Accessing iPhone camera without UIImagePickerController

2011-08-03 Thread ChrisNTR
As Dimitris mentioned, you'll want to look at AVFoundation and the
AVCaptureFrames method,

Miguel has a sample over on his GitHub account here -
https://github.com/migueldeicaza/monotouch-samples/tree/master/AVCaptureFrames

Hope this helps,

ChrisNTR

On Wed, Aug 3, 2011 at 2:57 PM, Dimitris Tavlikos  wrote:

> This is the document you should start with:
> http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/03_MediaCapture.html
>
> AVFoundation is the namespace you need.
>
> Unfortunately, I have no example ready...
>
> Dimitris Tavlikos
> Software Developer
> Email: jimi...@gmail.com
> Twitter: http://twitter.com/#!/dtavlikos
> Blog: http://software.tavlikos.com
>
>
>
>
>
>
> On Aug 3, 2011, at 4:54 PM, kbudris wrote:
>
> > I have a specialized camera app that needs to process each frame of the
> video
> > feed before displaying it for preview, then needs to capture a
> > full-resolution still image from the iPhone camera. All image capture
> > samples seem to use UIImagePickerController, but I'm getting the sense
> this
> > may not be my best choice if I need to manipulate the individual frames
> of
> > the live preview. Is there another way to capture still images from the
> > camera? I've been starting to look at AVFoundation, but it's not clear
> > whether that provides a full-resolution still image or just video.
> >
> > --
> > View this message in context:
> http://monotouch.2284126.n4.nabble.com/Accessing-iPhone-camera-without-UIImagePickerController-tp3715529p3715529.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
>



-- 
ChrisNTR
Microsoft ASPInsider
http://weblogs.asp.net/chrishardy
http://twitter.com/chrisntr
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] object not set to an instance of an object

2011-08-03 Thread dtavlikos
When you try to load an image with the UIImage.FromFile method, if the image
is not found, you do not get an exception, but a null object. When you
assign the null object to UIImageView.Image property, you then get an
exception.

Anyway, your path separator is wrong. Change "images\{0}" to "images/{0}".

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/object-not-set-to-an-instance-of-an-object-tp3715483p3715574.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


Re: [MonoTouch] Accessing iPhone camera without UIImagePickerController

2011-08-03 Thread Dimitris Tavlikos
This is the document you should start with: 
http://developer.apple.com/library/ios/#documentation/AudioVideo/Conceptual/AVFoundationPG/Articles/03_MediaCapture.html

AVFoundation is the namespace you need.

Unfortunately, I have no example ready...

Dimitris Tavlikos
Software Developer
Email: jimi...@gmail.com
Twitter: http://twitter.com/#!/dtavlikos
Blog: http://software.tavlikos.com






On Aug 3, 2011, at 4:54 PM, kbudris wrote:

> I have a specialized camera app that needs to process each frame of the video
> feed before displaying it for preview, then needs to capture a
> full-resolution still image from the iPhone camera. All image capture
> samples seem to use UIImagePickerController, but I'm getting the sense this
> may not be my best choice if I need to manipulate the individual frames of
> the live preview. Is there another way to capture still images from the
> camera? I've been starting to look at AVFoundation, but it's not clear
> whether that provides a full-resolution still image or just video.
> 
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Accessing-iPhone-camera-without-UIImagePickerController-tp3715529p3715529.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] Accessing iPhone camera without UIImagePickerController

2011-08-03 Thread kbudris
I have a specialized camera app that needs to process each frame of the video
feed before displaying it for preview, then needs to capture a
full-resolution still image from the iPhone camera. All image capture
samples seem to use UIImagePickerController, but I'm getting the sense this
may not be my best choice if I need to manipulate the individual frames of
the live preview. Is there another way to capture still images from the
camera? I've been starting to look at AVFoundation, but it's not clear
whether that provides a full-resolution still image or just video.

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Accessing-iPhone-camera-without-UIImagePickerController-tp3715529p3715529.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


Re: [MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-03 Thread Nic Wise
I've not done any actual work, however in the past, it's been very
little. It can't be zero, 'cos monotouch is "extra", but it's as close
to zero as you can get.

Geoff commented in the past that load time depends more on what you do
during load, than the framework - an MT app can spin up quicker than a
Obj-C one if it's done right.

One of the main things for load time was to get as much stuff out of
your ApplicationFinishedLaunching as you can - move it to background
threads etc.

So far, it's not been a problem, or even noticable.

On Wed, Aug 3, 2011 at 13:58, kbudris  wrote:
> Has anyone done benchmarking of an app implemented in MonoTouch vs.
> Objective-C to determine what, if any, performance cost we pay for the
> convenience of MonoTouch? Do we take any hit on launching and/or running a
> MonoTouch app?
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/Performance-cost-of-MonoTouch-vs-Objective-C-tp3715348p3715348.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
>



-- 
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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


[MonoTouch] Performance cost of MonoTouch vs. Objective-C

2011-08-03 Thread kbudris
Has anyone done benchmarking of an app implemented in MonoTouch vs.
Objective-C to determine what, if any, performance cost we pay for the
convenience of MonoTouch? Do we take any hit on launching and/or running a
MonoTouch app?

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Performance-cost-of-MonoTouch-vs-Objective-C-tp3715348p3715348.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] Problem using System.Diagnostics.Process

2011-08-03 Thread pkd2010
Hi all

i have made a application that lists all process running on iPhone
Simulator, using the following code:

System.Diagnostics.Process.GetProcess()

and it worked on iPhone Simulator without any problem but on the iPhone
device it just exits.
can you please explain me why that happens? if Process.GetProcess() is not
available to use, so how to this ? how to list the process? i know it is
possible because of an app that is available on the AppStore.

Thanks,
Regards,
PK DEVELOPER

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Problem-using-System-Diagnostics-Process-tp3714936p3714936.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] iPhone Simulator not starting app and debugger not connecting when content files added to build

2011-08-03 Thread ianadavies
Hi there,

I am having a very strange issue with an app I am building with MonoTouch. 

Basically if I add my content files (4 XML files) with a Build Action
"Content" the simulator intermitantly starts the app a couple of times (I
have to press the home button and then the icon for my app to get the
debugger to connect). After that the app never starts and the debugger never
connects. 

Removing the content files from the build , cleaning the simulator and the
solution rebuilding all is fine again!

The xml files are not even being accessed by the app yet, I have validated
the XML files and they are present in the package (When I add them). They
are not big files only 10 - 20 elements in each.

Has anyone experienced this issue and have any advice on what the problem
might be.


Cheers


Ian

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/iPhone-Simulator-not-starting-app-and-debugger-not-connecting-when-content-files-added-to-build-tp3714782p3714782.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


Re: [MonoTouch] 134 error on LLVM with MonoTouch 4.0.4.1

2011-08-03 Thread Nic Wise
looks like a good time to point you to:

http://bugzilla.xamarin.com/

:)

On Wed, Aug 3, 2011 at 03:25, scolestock  wrote:
> I got rid of the uservoice piece, so my compilation arguments are down to
> the following.  Output fragment is below.  Still the same error.
> -aot="nimt-trampolines=2048" -v -v -v
>
> T time: 0 ms, Generation time: 58 ms, Assembly+Link time: 0 ms.
>
> MONO_PATH=/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app
> /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
> --aot=mtriple=thumbv7-darwin,nimt-trampolines=2048,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s
> "/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/System.Xml.dll"
>
> Mono Ahead of Time compiler - compiling assembly
> /Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/System.Xml.dll
>
> Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree
> -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh
> -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls
> -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree
> -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm
> -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa
> -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll
> -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree
> -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o
> /var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s.opt.bc
> /var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s.bc
>
> Executing llc: /Developer/MonoTouch/LLVM/bin/llc -mattr=+v6
> -asm-verbose=false -mtriple=thumbv7-darwin -relocation-model=static
> -unwind-tables -disable-gnu-eh-frame -enable-mono-eh-frame -o
> /var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s
> /var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s.opt.bc
>
> Code: 0 Info: 0 Ex Info: 0 Unwind Info: 0 Class Info: 106 PLT: 1 GOT Info: 4
> GOT: 16 Offsets: 13
>
> Output file:
> '/var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/System.Xml.dll.7.s'.
>
> Linking symbol: '_mono_aot_module_System_Xml_info'.
>
> Compiled 0 out of 0 methods (100%)
>
> Methods compiled with LLVM: 0 (100%)
>
> Methods without GOT slots: 0 (100%)
>
> Direct calls: 0 (100%)
>
> JIT time: 0 ms, Generation time: 48 ms, Assembly+Link time: 0 ms.
>
> MONO_PATH=/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app
> /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
> --aot=mtriple=armv6-darwin,nimt-trampolines=2048,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/monotouch.dll.6.s
> "/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/monotouch.dll"
>
> Compilation exited with code 134, command:
>
> MONO_PATH=/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app
> /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
> --aot=mtriple=armv6-darwin,nimt-trampolines=2048,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/Newtonsoft.Json.MonoTouch.dll.6.s
> "/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/Newtonsoft.Json.MonoTouch.dll"
>
> MONO_PATH=/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app
> /Developer/MonoTouch/usr/bin/arm-darwin-mono --llvm
> --aot=mtriple=armv6-darwin,nimt-trampolines=2048,full,static,asmonly,nodebug,llvm-path=/Developer/MonoTouch/LLVM/bin/,outfile=/var/folders/03/033pAAGuHgGkIy4CorbVVTI/-Tmp-/tmp7463d58a.tmp/LSiOS.exe.6.s
> "/Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/LSiOS.exe"
>
> Mono Ahead of Time compiler - compiling assembly
> /Users/scott/src/LS/Main/LSMobileNative/iOS/LSiOS/bin/iPhone/Release/LSiOS.app/monotouch.dll
>
> Executing opt: /Developer/MonoTouch/LLVM/bin/opt -f -simplifycfg -domtree
> -domfrontier -scalarrepl -instcombine -simplifycfg -basiccg -prune-eh
> -inline -functionattrs -domtree -domfrontier -scalarrepl -simplify-libcalls
> -instcombine -simplifycfg -instcombine -simplifycfg -reassociate -domtree
> -loops -loopsimplify -domfrontier -loopsimplify -lcssa -loop-rotate -licm
> -lcssa -loop-unswitch -instcombine -scalar-evolution -loopsimplify -lcssa
> -iv-users -indvars -loop-deletion -loopsimplify -lcssa -loop-unroll
> -instcombine -memdep -gvn -memdep -memcpyopt -sccp -instcombine -domtree
> -memdep -dse -adce -simplifycfg -preverify -domtree -verify -o
> /var/folders/03/033pAAGuHgGkIy4CorbVVTI/

Re: [MonoTouch] A class for resize, scaling, stretching and cropping an image

2011-08-03 Thread Nic Wise
If its any help, I did something similar:

http://www.fastchicken.co.nz/2011/03/28/scaling-and-rotating-an-image-in-monotouch/

however, my constraint was that I needed to handle the camera's EXIF
rotation info, and adjust based on that. Might be useful to integrate
both :)

On Wed, Aug 3, 2011 at 08:23, Jon Hopkins  wrote:
> Thanks, looks like a useful class.
>
> Jon
> ___
> MonoTouch mailing list
> MonoTouch@lists.ximian.com
> 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
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
___
MonoTouch mailing list
MonoTouch@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/monotouch


Re: [MonoTouch] A class for resize, scaling, stretching and cropping an image

2011-08-03 Thread Jon Hopkins
Thanks, looks like a useful class.

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