Re: [MonoTouch] App crashes randomly when hitting UIControls

2011-11-08 Thread SebastianKellner
Hi Rolf, I've juest created a sample Project based on my Code and deleted all useless files. The curious thing is, the sample Project works... The original does not... Is it possible that the GarbageCollector disposes my objects because I'm holding to much data in background? Is it possible to

Re: [MonoTouch] memory manager? tell me more

2011-11-08 Thread Rolf Bjarne Kvinge
On Tue, Nov 8, 2011 at 8:20 AM, Guido Van Hoecke gui...@gmail.com wrote: I guess the 'obsolete' comment wrt HeapShot at http://www.mono-project.com/Profile is not really correct? Correct, it has been updated to use a new profiling engine available in mono so it's no longer obsolete. Rolf

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-08 Thread MilkyJoe
It's definitely working now :) Att his point in time, I can be sure if it was MT 5.0.2 or the fact that I disabled the Thumb-2 option. It works, and that's all that's important right now. Thanks again. -- View this message in context:

[MonoTouch] How to create thumbnails?

2011-11-08 Thread MilkyJoe
My app has a folder of photos. I need to create a photo selector, where thumbnails of the photos are presented in a horizontally scrolling view. When the user clicks on a thumbnail they are taken to a full page view of the photo. Well, that's the plan. How do I create thumbnails in MonoTouch? Do

[MonoTouch] Scrollable view

2011-11-08 Thread Mittchel Van Vliet
Hello everyone, I am trying to create a detail page that shows some basic information about a specific product. There is only one problem that I am facing: Letting the page scroll! I've got a few items that I need in my screen: -- UIImageVIew -- Some labels -- TextView for large description

Re: [MonoTouch] Scrollable view

2011-11-08 Thread Daniel Dillard
You have to set the content size and the physical size of the scrollview. (The content size will be greater) On Tue, Nov 8, 2011 at 8:18 AM, Mittchel Van Vliet mittc...@gmail.comwrote: I did.. I've tried the following: UIScrollView -- View --- Labels, UIImageView and TextView But I

Re: [MonoTouch] Scrollable view

2011-11-08 Thread Daniel Dillard
Have you looked at UIScrollview? On Tue, Nov 8, 2011 at 8:14 AM, Mittchel Van Vliet mittc...@gmail.comwrote: Hello everyone, I am trying to create a detail page that shows some basic information about a specific product. There is only one problem that I am facing: Letting the page scroll!

Re: [MonoTouch] Web-services vs other + BTFON

2011-11-08 Thread Nic Wise
In London Bike App (source: https://github.com/nicwise/londonbikeapp ) I check reachability to see if the network is up, and then check a site to see if I can connect. eg: if (Util.IsReachable(www.fastchicken.co.nz)) {

Re: [MonoTouch] How to create thumbnails?

2011-11-08 Thread Nic Wise
You can do it with CoreImage. For eg, I make thumbnails here, in code: https://github.com/nicwise/onthetelly https://github.com/nicwise/onthetelly/blob/master/iplayeroffline/ImageHelper.cs One thing tho: if your image has EXIF data saying it's upside down or even it's on it's side this may not

Re: [MonoTouch] How to create thumbnails?

2011-11-08 Thread MilkyJoe
Thanks Nic. I just found this code, that loks like it will fit my needs: http://blog.touch4apps.com/home/iphone-monotouch-development/iphone-monotouch-development/uiimage-scaletofit I'll definitely still take a look at your code (the source for your London Bike app has been a help). -- View

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-08 Thread Jeff Stedfast
Haha, okay :-) I'm just glad things are working for you now. Jeff On Tue, Nov 8, 2011 at 7:31 AM, MilkyJoe leigh.bow...@curvenet.co.ukwrote: It's definitely working now :) Att his point in time, I can be sure if it was MT 5.0.2 or the fact that I disabled the Thumb-2 option. It works, and

Re: [MonoTouch] [ERROR] FATAL UNHANDLED EXCEPTION: System.ExecutionEngineException

2011-11-08 Thread MilkyJoe
As soon as this app is out of the door, I'll have a closer look at this issue, and let you know what I find. Cheers -- View this message in context: http://monotouch.2284126.n4.nabble.com/ERROR-FATAL-UNHANDLED-EXCEPTION-System-ExecutionEngineException-tp3990487p4016482.html Sent from the

Re: [MonoTouch] annotating pdfs

2011-11-08 Thread Jeff Stedfast
Hey Alex, I'd probably suggest a few slight changes: For APPDFDocument, I'd suggest making IsEncrypted(), IsDecrypted(), and PageCount() into getter properties rather than methods. Same for other cases like AreasCount(), etc in some of the other classes. As far as the TODO's... seems like

Re: [MonoTouch] annotating pdfs

2011-11-08 Thread Jason Awbrey
Alex - thanks for looking at this. I'll try to do some testing with it in the next day or two On Tue, Nov 8, 2011 at 10:06 AM, Jeff Stedfast j...@xamarin.com wrote: Hey Alex, I'd probably suggest a few slight changes: For APPDFDocument, I'd suggest making IsEncrypted(), IsDecrypted(), and

Re: [MonoTouch] annotating pdfs

2011-11-08 Thread Jeff Stedfast
Oh! Actually... there's a bug in btouch wrt -x in MonoTouch = 5.0.2 (will be fixed in 5.0.3), so you can't actually use -x and will need to do a 2-stage compile like the CorePlot binding. Not using -x works fine, as in your case, but only because the partial classes in extensions.cs don't conflict

Re: [MonoTouch] Native library with Monotouch 5.0 (part 2)

2011-11-08 Thread fmuaddib
I think I have the same problem, check my post on StackOverflow: http://stackoverflow.com/questions/8055442/monotouch-error-when-compiling-for-the-device-but-not-on-simulator-mono-patch-i I've tried many tricks, but I'm still unable to debug on the iPhone. Only the release with the LLVM compiler

Re: [MonoTouch] Strange crash on device but not on the simulator: MONO_PATCH_INFO_JIT_ICALL_ADDR mono_marshal_safearray_create

2011-11-08 Thread fmuaddib
Thank you, I'll try to create a small project that replicates the problem then. I'll keep you posted. Regards, Emanuele Sabetta www.ipaziasoftware.com 2011/11/8 Rodrigo Kumpera kump...@xamarin.com: Hi, Sorry for the bug, but do you mind filling a bug with a test case that shows the problem?

[MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread sisnaz
I really could use some help with this one. I keep seeing this message for each property in my class: the requested operation cannot be completed because the object has been garbage collected. I have a web request I invoke which returns me a json object. In my case it's a list. The strange thing

Re: [MonoTouch] Fixed Column Headers in UITableView

2011-11-08 Thread sisnaz
Let's try this again. I don't want a section. I need static column headers that does not scroll with the data. Any examples or links on how to implement this? - There was only 1 trilogy -- View this message in context:

[MonoTouch] Get MAC address

2011-11-08 Thread Andrew Young
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 MonoTouch@lists.ximian.com

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread sisnaz
UPDATE: I removed the [Serializable] attribute and now it works fine reading from my web service, but now I can't serialize it to the binary file *frustrated - There was only 1 trilogy -- View this message in context:

Re: [MonoTouch] Get MAC address

2011-11-08 Thread ayoung
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

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread Robert Jordan
On 09.11.2011 00:01, sisnaz wrote: I really could use some help with this one. I keep seeing this message for each property in my class: the requested operation cannot be completed because the object has been garbage collected. Where do you see this message? While debugging? In my web

Re: [MonoTouch] Fixed Column Headers in UITableView

2011-11-08 Thread sisnaz
Thanks Dino.. I'll give that a shot. Appreciate it! - There was only 1 trilogy -- View this message in context: http://monotouch.2284126.n4.nabble.com/Fixed-Column-Headers-in-UITableView-tp3956547p4017995.html Sent from the MonoTouch mailing list archive at Nabble.com.

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread Jeff Stedfast
Hi Sinaz, This probably means that some of the fields in your class are being linked out by the MonoTouch linker. You can add the [Preserve] attribute to the fields or try setting the Linker behavior option to Don't Link in the iPhone Build options. Let us know if that works around the issue,

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread Dean Cleaver
Try get a copy of the full packet of data (before serialization) and also try serialize a few objects created manually. I get a feeling that the serializer is expecting something different to what you're providing once the Serializable attribute is present. -Original Message- From:

[MonoTouch] Problem with AudioPlayer on 5.x

2011-11-08 Thread kissgamestudios
I recently upgraded my application from 3.X to 5.X I had to make a few changes to the recorder to get the recording working, but I have tried everything I can think of to make the AudioPlayer() work and it keeps SIGDEV hard crashing on the simulator AND the device. This totally worked fine before

Re: [MonoTouch] Activation on new laptop with user apps/settings copied over

2011-11-08 Thread James Clancey
Hey Dennis, Did you install the trial or the full version? You can download the full version via https://store.xamarin.com/account/products . -- James Clancey On Tuesday, November 8, 2011 at 3:27 PM, technohead wrote: Hi, I'm trying to get my entire environment running on a new laptop.

Re: [MonoTouch] 5.01 BE WARNED

2011-11-08 Thread Jeff Stedfast
Hi David, Hopefully this issue is already fixed in 5.0.2 (released Friday? or if not, today) and I know Sebastien added some unit tests for the type of regression that occurred between 5.0.0 and 5.0.1. If your issue really is fixed in 5.0.2, it might not be necessary for you to get us a test

Re: [MonoTouch] Activation on new laptop with user apps/settings copied over

2011-11-08 Thread technohead
Ah, found the problem. When migrating over from the old laptop, it also brought over the license file. Removing that and running the MonoTouch setup program now shows the activation dialog box. Dennis -- View this message in context:

Re: [MonoTouch] Problem with AudioPlayer on 5.x

2011-11-08 Thread Sebastien Pouliot
Hello Eric, The most obvious problem would be thread-related but it looks like you already covered that aspect with InvokeOnMainThread. The next best thing is filling a bug report [1] and include a small, self-contained, test case to have other people look at the issue. You may also want to

Re: [MonoTouch] Run Iphone App on Ipad

2011-11-08 Thread Sebastien Pouliot
Hello, You should be able to run your (almost*) any MonoTouch application on your iPad, even if developed with the iPhone in mind. Note that the evaluation (free) version of MonoTouch will only work with the iOS simulator. You'll need either the Pro or Enterprise version of MonoTouch to deploy

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread Sebastien Pouliot
Hello, This should not be happening. Did you try Jeff's suggestion to change your project Linker behaviour option ? If you did and this did not help could you create a test case and fill a bug report on http://bugzilla.xamarin so we can have a look at this ? I'd really like to know what's going

Re: [MonoTouch] the requested operation cannot be completed because...

2011-11-08 Thread sisnaz
Hi Sebastien, I missed his second suggestion, but I just checked and it's already set to Don't Link. I'll go ahead and work up a test case then. Thanks again! - There was only 1 trilogy -- View this message in context:

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]

[MonoTouch] Sounds individual

2011-11-08 Thread Andreas Ploetzeneder
Hi, how can i use individual sounds for Push notification? how can i create them in the specific format? Where can i find a tut for that -- Mit freundlichem Gruß,* Andreas Plötzeneder* CEO *ihr ploetzeneder it-solutions Team **Mobile