Re: [mono-android] [MonoTouch] Introducing the Xamarin Forums

2012-10-05 Thread Matthew Leibowitz
I agree to this line. I don't like navigating to many different sites. On Fri, Oct 5, 2012 at 3:11 PM, Wally McClure wrote: > replacing the email list would result in my dropping out. web forums > always sound cool, "but you can get to them anywhere." I can get to my > email easily anywhere: l

Re: [mono-android] [MonoTouch] Introducing the Xamarin Forums

2012-10-04 Thread Matthew Leibowitz
olders :) > > Alex > > > > El 04/10/2012, a las 09:38, René Ruppert > escribió: > > So the mailing list is (finally) dead? > > Grüße, René > > Am 04.10.2012 um 09:43 schrieb Matthew Leibowitz >: > > Hectic! > > On Thu, Oct 4, 2012 at 12:15 AM, Ryan

Re: [mono-android] Introducing the Xamarin Forums

2012-10-04 Thread Matthew Leibowitz
Hectic! On Thu, Oct 4, 2012 at 12:15 AM, Ryan Paul wrote: > *Greetings, Developers! > > Today we are announcing the launch of the Xamarin Forums: > http://forums.xamarin.com > > You can use the new forums to give us feedback, demo your projects, share > cool tips and tricks, talk about the lates

Re: [mono-android] Preserving sqlite data on Upload to device

2012-09-14 Thread Matthew Leibowitz
This will probably involve storing the database in a different location other than the Data folders. External storage? On Fri, Sep 14, 2012 at 11:51 PM, dickies wrote: > I'm doing some testing where I'm storing some data in sqlite which I want > to > retain on app update. However, when I go Run

Re: [mono-android] Silverlight to Android

2012-09-11 Thread Matthew Leibowitz
Then we can fork... On Sep 11, 2012 6:26 PM, "Matthew Leibowitz" wrote: > Maybe you could put it on github? We all need one of those :) > On Sep 11, 2012 6:25 PM, "Matthew Leibowitz" > wrote: > >> So did I >> On Sep 11, 2012 6:24 PM, "Tomasz Cie

Re: [mono-android] Silverlight to Android

2012-09-11 Thread Matthew Leibowitz
Maybe you could put it on github? We all need one of those :) On Sep 11, 2012 6:25 PM, "Matthew Leibowitz" wrote: > So did I > On Sep 11, 2012 6:24 PM, "Tomasz Cielecki" wrote: > >> I just get a 503 error when trying the URL. >> On Sep 10, 2012 6:56 PM,

Re: [mono-android] Silverlight to Android

2012-09-11 Thread Matthew Leibowitz
So did I On Sep 11, 2012 6:24 PM, "Tomasz Cielecki" wrote: > I just get a 503 error when trying the URL. > On Sep 10, 2012 6:56 PM, "Sascha" wrote: > >> Hello, >> >> I have developed some apps for Windows Phone and just started to port my >> apps to Android. I made a little tool to convert the x

Re: [mono-android] Suggestion

2012-09-10 Thread Matthew Leibowitz
A google search for "Xamarin apps" brings up the showcase in the first few items. And there are no stack overflow results. Google is good, Microsoft is better, and Xamarin is the best :) On Fri, Aug 31, 2012 at 8:11 PM, Sayed Arian Kooshesh wrote: > i blame this on stackoverflow clobbering any se

Re: [mono-android] System.Reactive on Mono?

2012-08-29 Thread Matthew Leibowitz
I think there is a mono-reactive... On github. On Aug 29, 2012 9:53 AM, "Maximilian Wilson" wrote: > One of the great things for me, so far, about Mono for Android is that so > much of the .NET runtime is "just there." (Three cheers for Xamarin!) It > makes it easy to forget that .NET libraries s

Re: [mono-android] Portable rest client

2012-08-24 Thread Matthew Leibowitz
Awesome! Think of no more linked files ! On Fri, Aug 24, 2012 at 1:11 AM, Goncalo Oliveira wrote: > i think that would be great. I'll try contacting him to see if he's open > to it. > > Goncalo Oliveira > Sent from my Windows Phone > --------

Re: [mono-android] PostSharp 2.1 and Mono for Android

2012-08-24 Thread Matthew Leibowitz
ested PS support for M4A we could > change Gael’s mind. > > ** ** > > Miha > > ** ** > > *From:* monodroid-boun...@lists.ximian.com [mailto: > monodroid-boun...@lists.ximian.com] *On Behalf Of *Matthew Leibowitz > *Sent:* Friday, August 24, 2012 9:18 AM > *

Re: [mono-android] PostSharp 2.1 and Mono for Android

2012-08-24 Thread Matthew Leibowitz
But we have to implement the INotifyPropertyChanged and the horrible RaiseEvent for each property. I have a POC that works brilliantly with PostSharp, so there is very little non-bussines logic in the VM. Matthew Leibowitz On Fri, Aug 3, 2012 at 10:44 AM, Sayed Arian Kooshesh wrote: > which mean

Re: [mono-android] Portable rest client

2012-08-23 Thread Matthew Leibowitz
e: > Some time ago, the author said that he wasn't going to do anything until > portable libraries were officially out. And at the moment, that I know of, > there is no work in progress. > > Would be great though... > > On 23 August 2012 17:21, Matthew Leibowitz wrote: > &g

Re: [mono-android] Talking between apps

2012-08-23 Thread Matthew Leibowitz
"its better to give than to receive" :p On Aug 23, 2012 5:20 PM, "Sayed Arian Kooshesh" wrote: > Saw this while researching something tonight, thought I'd share. That > donate buttons never been hit. I'm thinking .. > > > > http://mylifewithandroid.blogspot.com/2009/06/controlling-application-sep

Re: [mono-android] Portable rest client

2012-08-23 Thread Matthew Leibowitz
Is there any work going on to port the restsharp library into a portable one? On Aug 23, 2012 6:01 PM, "Goncalo Oliveira" wrote: > Yes, that's what I'm using. > > I guess my question was not correctly formed. > I am currently using RestSharp yes, it's pretty stable and there are side > projects f

Re: [mono-android] safe guarding my app against piracy

2012-08-23 Thread Matthew Leibowitz
Does anyone know if the antilvl works against the mono for android apks? Also, does assembly signing help? On Aug 23, 2012 6:12 PM, "Matthew Leibowitz" wrote: > You can also try using licensing (lvl) > > http://developer.android.com/guide/google/play/licensing/index.html >

Re: [mono-android] safe guarding my app against piracy

2012-08-23 Thread Matthew Leibowitz
You can also try using licensing (lvl) http://developer.android.com/guide/google/play/licensing/index.html https://github.com/mattleibow/Android.Play.ExpansionLibrary www.digipom.com/how-the-android-license-verification-library-is-lulling-you-into-a-false-sense-of-security/ On Aug 23, 2012 5:15

Re: [mono-android] Screen sizes and layouts

2012-08-16 Thread Matthew Leibowitz
Using the Xamarin designer really helps. All you have to do is open the base layout and then switch to the other sizes from the drop down. If you have the various locks on, it keeps track of which settings are changed on which screen size. It even asks you if you want to apply those changes to the

Re: [mono-android] Release version errors

2012-08-16 Thread Matthew Leibowitz
IE seems to be doing some weird sending/crashing/reposting. On Thu, Aug 16, 2012 at 7:14 PM, Matthew Leibowitz wrote: > Hi > > Maybe this could give you some ideas: (T4 Templates) > > > <#@ template debug="false" hostspecific="false" language

Re: [mono-android] Release version errors

2012-08-16 Thread Matthew Leibowitz
Hi Maybe this could give you some ideas: (T4 Templates) <#@ template debug="false" hostspecific="false" language="C#" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.Reflection" #> <#@ import namespace="System.Collections.Generic" #> <#@ output extension=".cs" #> using System.

Re: [mono-android] Release version errors

2012-08-16 Thread Matthew Leibowitz
Just an idea, but maybe you could do something with T4 Templates? this could give you some ideas: <#@ template debug="false" hostspecific="false" language="C#" #> <#@ assembly name="System.Core" #> <#@ import namespace="System.Reflection" #> <#@ import namespace="System.Collections.Generic" #> <

Re: [mono-android] loading a project in md

2012-08-08 Thread Matthew Leibowitz
This has got to do with the solution version number. See the first two lines of the sln file. On Aug 8, 2012 4:27 PM, "Wally McClure" wrote: > I have created an mfa solution in VS2012. I'm trying to go back to run > this in MonoDevelop. I am finding that MD won't load the mfa solution and > in

Re: [mono-android] one nagging problem when I start VS

2012-08-07 Thread Matthew Leibowitz
No, I also get this. So I turned off update checking. On Aug 7, 2012 10:59 PM, "Wally McClure" wrote: > I have one nagging problem when I start VS, run in the alpha channel, and > have 4.2.5 installed. I keep getting the message on startup about a new > update. I'm not sure if its a new update,

Re: [mono-android] PostSharp 2.1 and Mono for Android

2012-08-03 Thread Matthew Leibowitz
tion of all that INPC properties :-( Matthew Leibowitz wrote: Well, some weird news, all is now working. I did nothing except: I first tried updating PostSharp to version 2.1.7.6. This made no changes. Then, I created the sample in VS 2012: http://www.sharpcrafters.com/postsharp/documentation#get

Re: [mono-android] PostSharp 2.1 and Mono for Android

2012-08-03 Thread Matthew Leibowitz
o need the PostSharp.Custom.targets file. So the sum of the story is: It works. Who knows why. Hope this helps :) Matthew On Fri, Aug 3, 2012 at 8:46 AM, Matthew Leibowitz wrote: > Hi, > > That "when I get home" turned into a "tomorrow", but here is some more > inform

Re: [mono-android] PostSharp 2.1 and Mono for Android

2012-08-02 Thread Matthew Leibowitz
LOG: The assembly 'mscorlib_3' was not found. > === >at PostSharp.Sdk.CodeModel.Domain.GetAssembly(IAssemblyName > assemblyName, BindingOptions bindingOptions) >at PostSharp.Sdk.CodeModel.AssemblyRefDeclarat

[mono-android] PostSharp 2.1 and Mono for Android

2012-08-02 Thread Matthew Leibowitz
Hi all, Has anyone tried using postsharp 2.1 with mono for android? One guy managed to get it to work, but he was using version 2. Version 2.1 seems to use the mscorlib 5? Maybe its because of silverlight 5 being installed? I'll see if I can give some more info when I get home, but I just wanted

Re: [mono-android] 4.2.4 : VS2012 Professionnal can't stop debugging

2012-08-01 Thread Matthew Leibowitz
I just tried again now with M4A 4.2.5 VS2012 on Win7, the problem is still there. I use an app called Advanced Task Killer which sits in the status bar. If I close the app from the Android side, then VS works. Or you could wait for the ANR :) and then force close. On Wed, Aug 1, 2012 at 9:29 AM,

Re: [mono-android] How to handle garbage collection?

2012-07-31 Thread Matthew Leibowitz
This seems to be vaguely related to one of my other projects (Android Play Expansions library). When using RemoteViews, the gref count went up like anything. Simply by doing ”expandedView.SetTextViewText” or “expandedView.SetViewVisibility”, where expandedView was a RemoteViews, caused the gref co

Re: [mono-android] How to handle garbage collection?

2012-07-31 Thread Matthew Leibowitz
Hi Craig, Is there a reason why you aren’t using a ListView? Matthew Sent from my Windows 8 PC *From:* craig *Sent:* 31 July 2012 06:34:13 PM *To:* monodroid@lists.ximian.com *Subject:* Re: [mono-android] How to handle garbage collection? Here

Re: [mono-android] How to handle garbage collection?

2012-07-31 Thread Matthew Leibowitz
It is better to use a list view for lists of data. Then you won't have to construct all the views at the start. This will reduce memory load as well as allow for their re-use. On Jul 31, 2012 5:45 PM, "craig" wrote: > Actually I'm not using a ListView. > > In this case it's just a simple linear l

Re: [mono-android] How to handle garbage collection?

2012-07-31 Thread Matthew Leibowitz
Can you not use a list view? This will allow recycling of views. You could use a custom adapter and then just switch the list's data. On Jul 31, 2012 3:56 PM, "craig" wrote: > http://mono-for-android.1047100.n5.nabble.com/file/n5711079/screen.png > > I have the above application. Whenever the p

Re: [mono-android] 'this' is null / null reference exception

2012-07-27 Thread Matthew Leibowitz
Just a thought, it could be a result of the android gc clearing static variables. I noticed this sometimes happens on lower end devices or after a memory intensive activity. On Jul 27, 2012 6:16 PM, "Jonathan Pryor" wrote: > On Jun 25, 2012, at 6:49 AM, keith wrote: > > I have been getting rand

Re: [mono-android] 4.2.4 : VS2012 Professionnal can't stop debugging

2012-07-26 Thread Matthew Leibowitz
I have this problem too. Just terminate the app from the device side. I use easy app killer or something. On Jul 27, 2012 12:08 AM, "Alphapage" wrote: > Hello, > I was using 4.2.3 without any problem in VS2012, but when I want to stop > the > debugger the only way is to kill the VS2012 process. >

Re: [mono-android] getAssets()

2012-07-15 Thread Matthew Leibowitz
I think its Context.Assets Typeface.CreateFromAsets(this.Assets, On Jul 15, 2012 7:15 PM, "SBlank" wrote: > Hi, > What is the equivalent for getAssets() ? I tried this.Assets but that > throws an exception. > > Typeface font = Typeface.createFromAsset(**getAssets(), "someFont.ttf"); >

Re: [mono-android] Problem with building after debugging

2012-07-13 Thread Matthew Leibowitz
I think this was supposed to be fixed in 4.2.4? On Jul 13, 2012 9:43 AM, "Hänke, Maik" wrote: > Hi, > > ** ** > > when I debugged my app and try to rebuild my application I always got > following error: > > Unable to copy file "C:\devlop\Test\bin\Debug\x.dll.mdb" to > "bin\Debug\x.dll.mdb

Re: [mono-android] Type systems: java.lang.Object and System.Object

2012-07-11 Thread Matthew Leibowitz
Have a look at this thread: http://mono-for-android.1047100.n5.nabble.com/Convert-net-type-to-Java-Lang-Object-how-td5710021.html#a5710144 It seems that a few people are doing this already. Maybe the mono guys could include it in the main set? Matthew On Wed, Jul 11, 2012 at 1:02 PM, andyjohns

Re: [mono-android] Non Google Play release, private company.

2012-07-09 Thread Matthew Leibowitz
Isn't there something like an enterprise release. I know that Mono for Android has a license that is used for this type of thing... On Mon, Jul 9, 2012 at 4:36 PM, Domanet wrote: > Hi All, > > I’d like to install the software on 50 or so devices owned by the company. > > This seems fairly easy

Re: [mono-android] Android.Play.ExpansionLibrary - C# APK Expansion Files and LVL

2012-07-05 Thread Matthew Leibowitz
cial dependencies (i.e. the Market Expansion add-on from > Google) that one needs to be aware of? > > Do you have a TODO list? Anything in particular that needs attention? What > license are you using for this code? > > > > On Wed, Jul 4, 2012 at 1:46 AM, Matthew Leibowitz < >

Re: [mono-android] Activation Issues

2012-07-03 Thread Matthew Leibowitz
be useful? Although I had this problem at home and I had no TeamViewer installed. I may have had an old version of a VirtualBox or VMware installed... On Tue, Jul 3, 2012 at 10:43 AM, Matthew Leibowitz wrote: > And just to make it worse, this doesn't work either. > > This is

Re: [mono-android] Activation Issues

2012-07-03 Thread Matthew Leibowitz
ay: > > > http://docs.xamarin.com/android/getting_started/installation/offline_activation > > Downloading the license file can be done on the product page: > > https://store.xamarin.com/account/Products > > > > > On di, 2012-07-03 at 10:30 +0200, Matthew Leibowitz wr

Re: [mono-android] Activation Issues

2012-07-03 Thread Matthew Leibowitz
t my already activated installation, which I didn't > use for a bit more then a month, was also not activated anymore. I recycled > one of the licenses to get it activated again. But you can only do this > once a year, as I understood. > > Cheers > > Peter > >

Re: [mono-android] Issue with XmlSerializer

2012-07-03 Thread Matthew Leibowitz
Thanks. On Mon, Jul 2, 2012 at 10:07 PM, Jonathan Pryor wrote: > On Jul 2, 2012, at 12:45 PM, Matthew Leibowitz wrote: > > Just a question, is there any way to get some sport of list of removed > members and types? > > ildasm/monodis/monop are your friends. :-) > >

[mono-android] Activation Issues

2012-07-03 Thread Matthew Leibowitz
Hi all, I just want to see if I am the only one having trouble with my activation of Mono for Android. >From time-to-time, my activation seems to become un-activated, if that's a word. For example, yesterday I was all fine, building, deploying and debugging on the device. This morning, bam! This

Re: [mono-android] What's up with 4.2.3 debugging?

2012-07-02 Thread Matthew Leibowitz
Or you can upgrade to VS 2012 - the RC version works well On Sun, Jul 1, 2012 at 6:08 PM, Darren wrote: > I cannot seem to reach breakpoints in anything but the primary thread. Is > that the common theme to this problem? Am I supposed to do something > "special" to debug a secondary thread? I

Re: [mono-android] Issue with XmlSerializer

2012-07-02 Thread Matthew Leibowitz
Just a question, is there any way to get some sport of list of removed members and types? On Jul 1, 2012 11:12 PM, "Jonathan Pryor" wrote: > On Jun 27, 2012, at 12:47 PM, Pattt wrote: > > I’m linking with « sdk and user assemblies », exactly as requested here: > > That link doesn't work for me, s

Re: [mono-android] JsonObject.ToString() not escaping new lines.

2012-06-29 Thread Matthew Leibowitz
Thanks Jon for the detailed explanation. Much appreciated. On Thu, Jun 28, 2012 at 7:37 PM, Jonathan Pryor wrote: > On Jun 28, 2012, at 4:10 AM, Matthew Leibowitz wrote: > > Although this won't solve your problem, string + string is a bad > practice. It is better to us

Re: [mono-android] What's up with 4.2.3 debugging?

2012-06-28 Thread Matthew Leibowitz
And, just to throw some more comments, The breakpoints are hit in VS 2012 :) Either VS 2012 got better or VS 2010 was bad ... On Fri, Jun 15, 2012 at 12:29 AM, devbuzz wrote: > Paul - rolling back to 4.2.1 makes all the difference if you need to do > lots > of debugging. > > I wasn't having deb

Re: [mono-android] debugger constantly detaches

2012-06-28 Thread Matthew Leibowitz
Scrap that last message, wrong message to wrong place - that's the problem with multiple accounts... On Thu, Jun 28, 2012 at 11:55 AM, Matthew Leibowitz < mattleibowm...@gmail.com> wrote: > And here's another cool one by this guy > > > On Tue, Jun 12, 2012 at 5

Re: [mono-android] debugger constantly detaches

2012-06-28 Thread Matthew Leibowitz
And here's another cool one by this guy On Tue, Jun 12, 2012 at 5:42 PM, Sayed Arian Kooshesh wrote: > The OutOfMemoryException can sometimes be predicted in advance with > special code that uses the MemoryFailPoint class in the .NET Framework. > http://msdn.microsoft.com/en-us/library/system.ru

Re: [mono-android] JsonObject.ToString() not escaping new lines.

2012-06-28 Thread Matthew Leibowitz
Although this won't solve your problem, string + string is a bad practice. It is better to use a StringBuilder: var sb = new StringBuilder(); sb.AppendLine(Name); sb.AppendLine(Unit); sb.AppendLine(AddressLine1); sb.AppendLine(AddressLine2); sb.AppendLine(AddressLine3); sb.AppendLine(AddressLine4

Re: [mono-android] Mono for Android and NAnt

2012-06-27 Thread Matthew Leibowitz
nedjar > ./bin/Release/net.opgenorth.esj-signed.apk > ./bin/Release/net.opgenorth.esj.android.apk my_default_key > > # Zipalign last. > & 'C:\Program Files\Android\android-sdk\tools\zipalign.exe' -f -v 4 > ./bin/Release/net.opgenorth.esj-signed.apk ./AlbertaEmploymentStandards

[mono-android] Mono for Android and NAnt

2012-06-26 Thread Matthew Leibowitz
Hi All, Just want to see if anyone has got a NAnt build script (and maybe the nant.exe.config) that builds (and signs the APK) a MfA solution. It will be a great help as my knowledge of NAnt is so low that its embarrassing. Hopefully I will be able to see the changes and learn the right things th

Re: [mono-android] Save and use data on USB KEY

2012-06-26 Thread Matthew Leibowitz
Hi, But that is not strictly true though. I have an "issue" that this is the path of the large Internal memory. I don't really care where the content is saved, but it is good to know this. See this thread: * http://mono-for-android.1047100.n5.nabble.com/detect-SD-Card-path-tp5710218p5710237.html

Re: [mono-android] 'this' is null / null reference exception

2012-06-25 Thread Matthew Leibowitz
Hi, What may be the problem is that Android is destroying you singleton class. Android does not ensure that static classes/members will keep their values. On lower end devices, the garbage collector is obviously working hard to keep memory usage at a minimum. If you wish to do something like this

Re: [mono-android] Touch events in view

2012-06-21 Thread Matthew Leibowitz
This code should not compile as the OnTouchEvent method needs a return value. Try returning the value from base.OnTouchEvent . What you need to return is, I think, false for the down to tell the window that you have not processed the down event. This allows the event to continue to the Up event. On

Re: [mono-android] 4.2.3 debugger

2012-06-20 Thread Matthew Leibowitz
Just to add some more info... This, for me at least, only is a problem on the Android 2.3.3 device. My Android 3.1 tablet has no problems at all. I don't know if this is the case with the other devs? Matthew On Tue, Jun 19, 2012 at 3:44 PM, Sayed Arian Kooshesh wrote: > have you tried build cle

Re: [mono-android] Disposing method in View

2012-06-19 Thread Matthew Leibowitz
ity, my view is unloaded, thus resulting in the control being detached. This results in my images being clear. Which is good so far. Are there any comments or different ways of doing this? Matthew On Mon, Jun 18, 2012 at 10:58 PM, Jonathan Pryor wrote: > On Jun 18, 2012, at 10:16 AM, Matth

Re: [mono-android] Disposing method in View

2012-06-18 Thread Matthew Leibowitz
e. > > On Mon, Jun 18, 2012 at 4:16 PM, Matthew Leibowitz > wrote: > > Hi all, > > > > As my last question suggested, I am working with images. I cache the lo > res > > in an array member of a view, but how do I dispose of the images? > > I tried overrid

[mono-android] Disposing method in View

2012-06-18 Thread Matthew Leibowitz
Hi all, As my last question suggested, I am working with images. I cache the lo res in an array member of a view, but how do I dispose of the images? I tried overriding the Dispose(bool) method, but that doesn't seem to be called when the Activity is closed. What am I doing wrong? :) Is there ano

Re: [mono-android] Larger memory footprint when using BitmapFactory.DecodeFile in C# (and huge memory for tiny image)

2012-06-18 Thread Matthew Leibowitz
ratio of > 10:1 > > to 20:1 without losing noticeable image quality. 60KB -> 1 MB is in that > > range. > > > > Darren > > > > On Jun 18, 2012 6:06 AM, "Matthew Leibowitz" > > wrote: > >> > >> Hi all, > >> > >&

[mono-android] Could not load file or assembly Mono.Cecil.Mdb in VS 2012

2012-06-08 Thread Matthew Leibowitz
I seem to be having a problem with debugging with Visual Studio 2012 System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil.Mdb, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified. File nam

Re: [mono-android] Convert .net type to Java.Lang.Object - how?

2012-06-06 Thread Matthew Leibowitz
I also use a method almost exactly like this. It works very well. We should make it standard - maybe include it in the core libraries. Is something similar used in MonoTouch? If so then how do those guys do something like this? On Jun 6, 2012 3:01 AM, "johnHolmes" wrote: _

Re: [mono-android] Opening Main.axml in designer

2012-06-04 Thread Matthew Leibowitz
Visual studio has two buttons that are used to switch between the winforms/wpf designer view and the code view. Is there a way the could make the designer or the xml code open using these buttons? On Jun 5, 2012 7:28 AM, "Miljenko Cvjetko" wrote: > Hi > > You need to go again: Open with +/ Androi

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
g will work, right? > > and before doing my imageView.XX i do a if File.Exists . so /sdcard, > or /other.. if pic doesn't exist, he don't try to get the pic, > > > > > Le 29/05/2012 15:07, Matthew Leibowitz a écrit : > > What you can also try is to specify the

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
nameofpic) i've the pic on avd and hard device :). > > So, for me, there is a bug :( > > > Le 29/05/2012 14:37, Matthew Leibowitz a écrit : > > Hmm... Does the image exist on the emulator? how did you get it on the > emulator? > > On Tue, May 29, 2012 at 1

Re: [mono-android] Thank you note

2012-05-29 Thread Matthew Leibowitz
I second that. The Xamarin guys/gals are some of the best that are out there. A big Thumbs Up! On Tue, May 29, 2012 at 2:47 PM, Goncalo Oliveira wrote: > This is not news, and I think that it is shared by everyone using > monodroid, nonetheless here it goes. > > Version 4.2 is a great addition, a

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
#x27;t > work on avd, it's ok on my hard device! > > > > i don't undestand anything.; > > > > > > > > Le 29/05/2012 13:28, Matthew Leibowitz a écrit : > > Oops my bad: > > var pathToImg = System.IO.Path.Combine(Config.

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
Oops my bad: var pathToImg = System.IO.Path.Combine(Config.PathOfCache, nameofpic); imageView.SetImageURI(*Android.Net.Uri.Parse(*"file://" + pathToImg*)*); On Tue, May 29, 2012 at 1:20 PM, Matthew Leibowitz wrote: > Try this and let me know what happens: >

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
k Path.Combine for see > > > Android.Net.Uri.WithAppendedPath(Android.Net.Uri.Parse("file://"), > Config.PathOfCache + nameofpic > > Le 29/05/2012 11:52, Matthew Leibowitz a écrit : > > This might be a problem with too many slashes. > > You have four. I may be wrong

Re: [mono-android] strange problem with file:// only on avd

2012-05-29 Thread Matthew Leibowitz
This might be a problem with too many slashes. You have four. I may be wrong, but two means relative path, three means use absolute path and four means use absolute path to the zero length directory name. eg: /[no_name]/file.jpg Try using Path.Combine and see its that helps. Matthew On May 29, 2

Re: [mono-android] Same Problem with 4.2.2 and 4.2.1

2012-05-25 Thread Matthew Leibowitz
I get this error sometimes. A clean and rebuild and a vs restart solves it. Also, shut down adb before the vs restart. On May 25, 2012 10:04 AM, "michelw" wrote: > Hello > > I've the same problem with monodroid 4.2.1 and 4.2.2 (i must use only > 4.0.6 :() > > When i try to deploy to my hard devi

[mono-android] Debugging throws FileNotFoundException (Mono.Cecil.Mdb) in VS Beta 11

2012-05-21 Thread Matthew Leibowitz
Hi all, I just want to check, does anyone else have this problem: When launching my app by the debugger in VS, I get this exception: System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cecil.Mdb, Version=0.9.5.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its

Re: [mono-android] Problems starting an app in 4.2 from VS2010

2012-05-17 Thread Matthew Leibowitz
Hi all, just a suggestion: what you can also do is to allow the developer to select whether to use implicit or explicit inclusion. An extra option could be added to the project properties for this. I am not too sure how much work this would be... Matthew On May 17, 2012 10:43 PM, "Stuart Lodge"

[mono-android] Android.Play.ExpansionLibrary - C# APK Expansion Files and LVL

2012-05-09 Thread Matthew Leibowitz
Hi All, Just to let those who are interested know: I have been working on porting the Java client libraries for the Google Play APK Expansion Files and Google Play Licensing to C#/.NET with Mono for Android. It is still relatively early in the development, but it does work and it downloads the fil

Re: [mono-android] Mono for Android's secure WCF services

2012-05-09 Thread Matthew Leibowitz
I have been implementing a REST endpoint now and it seems to be quite smooth going. I think this is what I'll be doing. I thought it was going to be harder, but it is pretty clean and neat. On Wed, May 9, 2012 at 3:27 PM, Wally McClure wrote: > One of the things I am liking about REST is a the

[mono-android] Fwd: Some sln files opening as hex?

2012-05-07 Thread Matthew Leibowitz
been playing with all sorts of ideas but hadn't spotted that change Stuart On 5 May 2012 20:17, Matthew Leibowitz wrote: > Hi Stuart, > > I also had this problem. It is a result of VS 11 changing the version > number of the solution. > > If you open the sln in notepad the

Re: [mono-android] Some sln files opening as hex?

2012-05-05 Thread Matthew Leibowitz
Hi Stuart, I also had this problem. It is a result of VS 11 changing the version number of the solution. If you open the sln in notepad the first two lines will be (bad): Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 11 instead of (correct): Microsoft Visual Stud

[mono-android] Could not connect to the debugger -> DWP Handshake failed

2012-05-05 Thread Matthew Leibowitz
Hi all, I always get this error when I start debugging for the first time or after I did a re-build. This only occurs in Visual Studio (on both by dev PCs). I assume something is being delayed for too long or timing out. Error initializing the debugger: Mono.Debugging.Soft.ConnectionException: >

[mono-android] Visual Studio Designer & xml strings

2012-05-05 Thread Matthew Leibowitz
Hi all, Good stuff this mono for android designer... But, there seems to be a slight problem with selecting strings from the xml files: - I am using the default project template. - I decided to change the name of the string that is displayed in the button from "Hello" to "ButtonText"

Re: [mono-android] Runtime version supported by this application is unavailable?

2012-05-03 Thread Matthew Leibowitz
esn't seem to include the .NET assemblies in the package. As a result when the runtime loads A, it loads B which references a non-existant C. I think I had this problem with the older versions of M4A as well. Hope this helps, Matthew On Tue, May 1, 2012 at 10:14 PM, Matthew Leibowitz wrote:

Re: [mono-android] Runtime version supported by this application is unavailable?

2012-05-01 Thread Matthew Leibowitz
I just set *trace *to *program*, and it worked. For now. Please let me know if the stack trace was any help as this will happen the next time I debug the app. Matthew On Tue, May 1, 2012 at 10:10 PM, Matthew Leibowitz wrote: > In MD I get this as well (I have trace set to

Re: [mono-android] Runtime version supported by this application is unavailable?

2012-05-01 Thread Matthew Leibowitz
) [0x00230] in /Users/builder/data/lanes/monodroid-mac-master/bc064d64/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:121 On Tue, May 1, 2012 at 9:57 PM, Matthew Leibowitz wrote: > Hi > > Here is the stack trace. There seems to be a lot of null reference > exceptions in

[mono-android] DWP Handshake failed

2012-05-01 Thread Matthew Leibowitz
Hi, Seeing that I am on a "report a bug" roll... What is this error? I get it with VS every now and again, mostly after a first install of my apk, after i restart the device, or after a clean/rebuild. It often only appears once and then only happens again after I do the afore mentioned things. -

Re: [mono-android] Runtime version supported by this application is unavailable?

2012-05-01 Thread Matthew Leibowitz
e: > On May 1, 2012, at 6:36 AM, Matthew Leibowitz wrote: > > I just installed the latest Mono for Android 4.1.1 and I am struggling > to get the IDEs to deploy/debug. > ... > > As this code was working a few moments go (before the restart), I am not > sure what this error me

[mono-android] Runtime version supported by this application is unavailable?

2012-05-01 Thread Matthew Leibowitz
Hi there, I just installed the latest Mono for Android 4.1.1 and I am struggling to get the IDEs to deploy/debug. The application does compile and run correctly using the older version and it was working after the install, before a reboot. This morning, both VS and MD compile and deploy, but crash