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

2012-08-02 Thread Breyer, Christian
Our customers are currently using well over 100 phones running on API Level 7. They bought those phones in order to use them for at least two years in their line of business and there is no way to just update the OS. So, I think what craig described - thanks for that - should be taken seriously.

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

2012-08-02 Thread Matthew Leibowitz
Hi, That "when I get home" turned into a "tomorrow", but here is some more information: With just a plain old PostSharp 2.1 install and a simple project I get this: Unhandled exception (2.1.3.3, 32 bit, CLR 2.0, Release): > PostSharp.Sdk.CodeModel.BindingException: Cannot find the type > 'System

Re: [mono-android] Java Binding with ActionBarSherlock

2012-08-02 Thread DFX
You did all the heavy lifting! -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Java-Binding-with-ActionBarSherlock-tp5711097p5711143.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid m

Re: [mono-android] 4.2.5 resources party stopper

2012-08-02 Thread Atsushi Eno
Hi, You're right, it seems assets are not collected as expected. Let me investigate for appropriate fixes within 4.2.5 final release. Thanks for the report! Atsushi Eno tsukrov wrote: Hi, Mr. Enomoto, Works fine for "res". Fails for "assets". Is it a correct project structure. http://mono

[mono-android] Mono Android-8 Support Disabled? on 4.2.5

2012-08-02 Thread Wally McClure
I finally got around to actually installing the 4.2.5 alpha on my phone. I notice that the Mono Android - 8 Support is disabled. I haven't done anything particular to the framework. I'm wondering why it is showing as disabled and what that means. Wally

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread tsukrov
I see, but the question was HOW to create a UI control & its resources in the same lib. We can put its res & assets (just fix the assets bug of 4.2.5) AND its C# sources in Java Bind Lib. Then use the resources per string name. -- View this message in context: http://mono-for-android.1047100.

Re: [mono-android] Monodroid Crasher

2012-08-02 Thread Jonathan Pryor
On Aug 2, 2012, at 9:45 AM, Goncalo Oliveira wrote: > One thing that might be worth mentioning - or not - the base type for my > custom provider implementation is System.MonoType. I am confused. System.MonoType is an internal type; how could this be a base type? > but it's throwing an exceptio

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Jonathan Pryor
On Aug 2, 2012, at 3:04 PM, tsukrov wrote: > Wait, what about Java Binding Lib with Resources? That's a Java Binding Library, not an Android Library Project. You can't use Resource.Foo.Bar from C# in a Library project, that's the problem. - Jon ___

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread tsukrov
Wait, what about Java Binding Lib with Resources? We can access resources per string name and GetIdentifier. It's slower (we can cache ids), but acceptable. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-Library-Projects-and-Resources-tp571p5711137.h

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Jonathan Pryor
On Aug 2, 2012, at 5:54 AM, Kirby wrote: > The question is: How to write a custom control with UI parts having resources > in a separate project (call it library or application). At present, you don't. This is a known limitation, and we are working on it. I'm sorry for the inconvenience. As a

Re: [mono-android] How a nube gets past Namespace not found?

2012-08-02 Thread Jonathan Pryor
On Aug 1, 2012, at 12:08 AM, shares wrote: > I'm running into a couple of 'Namespace does not exist errors' like these for > starters: > > System.Collections.Specialized.IOrderedDictionary > System.Windows.Threading.DispatcherObject > > I'm having trouble figuring out what to do to get past the

[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] Xamarin designer not available in VS2010

2012-08-02 Thread Jason Awbrey
which version of VS are you using - pro, ultimate, etc? On Wed, Aug 1, 2012 at 10:36 PM, Ken Lavigne wrote: > I am having a problem with the new designer on my laptop. I installed > VS2010, > sp1 and then I installed version 4.2.4. I created a new project. When I > double clicked the main.axml f

Re: [mono-android] 4.2.5 resources party stopper

2012-08-02 Thread tsukrov
It's impossible, since it's a java binding lib. I don't need to mark resources as resources in the jbl. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-5-resources-party-stopper-tp5711078p5711131.html Sent from the Mono for Android mailing list archive at N

[mono-android] How a nube gets past Namespace not found?

2012-08-02 Thread shares
I'm running into a couple of 'Namespace does not exist errors' like these for starters: System.Collections.Specialized.IOrderedDictionary System.Windows.Threading.DispatcherObject I'm having trouble figuring out what to do to get past these errors. Any help greatly appreciated. Thanks -- View

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Sayed Arian Kooshesh
I ran into a wall with this, too, in normal android. I found it easier to just pass a context and just new things up On Wed, Aug 1, 2012 at 5:03 PM, Kirby wrote: > Hi, > > I have an Android Library Project (in C# NOT Java!!!) created in order to > build a custom control (which I can use in differ

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

2012-08-02 Thread Sayed Arian Kooshesh
I never target under 8. No one sells those phones and the market share is tiny and it has the most bugs. On Tue, Jul 31, 2012 at 5:39 PM, craig wrote: > I was running on Android emulator API Level 7 (2.1) > > Curiously, I just tried the same code on Android emulator API Level 15 and > it behaved

Re: [mono-android] 4.2.5 resources party stopper

2012-08-02 Thread Sayed Arian Kooshesh
did you marked it as an android asset file? On Tue, Jul 31, 2012 at 2:32 PM, tsukrov wrote: > Hi, Mr. Enomoto, > > Works fine for "res". > Fails for "assets". > > Is it a correct project structure. > > http://mono-for-android.1047100.n5.nabble.com/file/n5711094/proj.png > > I have updated the te

Re: [mono-android] dynamic listview item expansion using ViewStub - selectively not working

2012-08-02 Thread Sayed Arian Kooshesh
you are using e.position... I think that's your problem. I don't think that's the same as getPositionForView jon? On Mon, Jul 30, 2012 at 3:41 PM, Sayed Arian Kooshesh wrote: > I need to see your code for ActiveCallsAdapter > > > Android only keeps 7 or 8 views (or such) around and reuses the

Re: [mono-android] dynamic listview item expansion using ViewStub - selectively not working

2012-08-02 Thread Sayed Arian Kooshesh
I need to see your code for ActiveCallsAdapter Android only keeps 7 or 8 views (or such) around and reuses them to conserve memory. One of the hardest learning curves (or first rather) of android programming is figuring this out and know that you pretty much have to do work to let android know wh

Re: [mono-android] 4.2.5 debugger ignores breaks in java bind lib.

2012-08-02 Thread tsukrov
Funny. Debugging works fine with regular .NET libs, but not with java binding libs. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-5-debugger-ignores-breaks-in-java-bind-lib-tp5711103p5711124.html Sent from the Mono for Android mailing list archive at Nabble.

[mono-android] Xamarin designer not available in VS2010

2012-08-02 Thread Ken Lavigne
I am having a problem with the new designer on my laptop. I installed VS2010, sp1 and then I installed version 4.2.4. I created a new project. When I double clicked the main.axml file, I got the standard xml editor. I right clicked the file, and the designer is not listed. Also, in the mono toolba

[mono-android] Settings and layouts in libraries

2012-08-02 Thread Sellec
Hi everybody. I have an mono for android application that have some basic functionality with modules/plugins which expands it. For example, one module can have its own settings, forms and other. How can i create custom layouts and settings in modules? I know that mono is not supports library resour

[mono-android] Button Click inside ListView with customAdapter

2012-08-02 Thread vish02chouhan
Hi, I am using List view in Mono for Android, I have a two text view and a button inside listview,i am not able to handle its button click .How can i do this -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Button-Click-inside-ListView-with-customAdapter-tp5711073

[mono-android] *using Monodroid UI Builder* and trying to change text color for spinner

2012-08-02 Thread cianflon
I've seen several examples of how to change the text color for a spinner. The examples add a TextView to an xml file to hook up with the Spinner. That's fine, but how can this be done using the MonoDroid UI Builder? Dragging out a spinner on the UI Builder only creates a spinner in its corr

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

2012-08-02 Thread Alphapage
Thanks for the tips. I hope the bug will be fixed soon. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/4-2-4-VS2012-Professionnal-can-t-stop-debugging-tp5710974p5711056.html Sent from the Mono for Android mailing list archive at Nabble.com. __

Re: [mono-android] Offline Documentation

2012-08-02 Thread Jonathan Pryor
On Jul 20, 2012, at 2:12 PM, Tsofatse Emmanuel wrote: > i'm wondering if there's any documentation offline for mono for android. Yes. We ship two forms of offline documentation: Mono.Android.xml and monodoc files. To read the Mono.Android.xml content, you need to use the Visual Studio object b

Re: [mono-android] Odd behavior when restarting app

2012-08-02 Thread DirkDiggler
I think I'm getting the same thing happening to me but more random. I have an app with multiple activities, I don't leave the app other than triggering the camera and zxing barcode scanner. Sometimes (not all) when I press the back button on the 2nd activity in, the oncreate of activity 1 will fi

[mono-android] Repeating OnPause/OnResume when phone goes to Sleep

2012-08-02 Thread zdman
For ICS (Android 4.0.4, Droid Razr Maxx), I'm running into an issue where when I put my phone to sleep (press the power button to turn off the screen), it keeps calling OnPause and OnResume over and over. Has anyone seen this before? Any ideas what might be causing this? This does not happen for

Re: [mono-android] Monodroid Crasher

2012-08-02 Thread Goncalo Oliveira
One thing that might be worth mentioning - or not - the base type for my custom provider implementation is System.MonoType. On 2 August 2012 14:40, Goncalo Oliveira wrote: > Has anyone used https://github.com/soundnRg/Crasher successfully? > > I have created an Application class > > [Applica

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

2012-08-02 Thread Jonathan Pryor
On Aug 1, 2012, at 4:46 AM, Matthew Leibowitz wrote: > I just tried again now with M4A 4.2.5 VS2012 on Win7, the problem is still > there. VS2012 is known to be broken at this time. We are working on it. I apologize for the inconvenience. Do you see these problems with VS2010? - Jon ___

[mono-android] Monodroid Crasher

2012-08-02 Thread Goncalo Oliveira
Has anyone used https://github.com/soundnRg/Crasher successfully? I have created an Application class [Application] [Crasher( UseCustomData = true, CustomDataProviders = new[] { typeof( FMobileDataReportProvider ) } )] [GoogleFormReporterSettings( "1QFCaT40v8_G4F0_UZMQ4t7i51l0mHJKkpmY

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Atsushi Eno
You *can't* embed and use resources in mere managed library at all. This has been known and unchanged. Android resources need to be handled in Java/Android manner and .NET resources have nothing to do with that. The only way you can embed resources in library is to build an Android Library pro

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Kirby
I thought also I could use this as a workaround but this approach unfortunately does not work with layout files… Inside those layout files you have usually some views with Ids (in order to find them programmatically and replace text or whatever). This system works out of the box with the android re

Re: [mono-android] Obfuscator process broken

2012-08-02 Thread tsukrov
Sorry, recreating the whole obfuscation step fixed the issue. Meanwhile I got this funny Exception from mono: "D:\...\.csproj" (SignAndroidPackage target) (1) -> (_GenerateJavaStubs target) -> C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(709,3): error MSB4018: The

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Manski
Kirby wrote > > They ARE if you tweek the project file... > Ah, I didn't know this. For my projects, I currently use regular .NET resources until this issue is fixed. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-Library-Projects-and-Resources-tp57

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Kirby
They ARE if you tweek the project file... However I think basically you turn it into an application then. But even as a Library-Application it works perfectly as library (you can use it from your main application) but the resource problem is still there... The question is: How to write a custom co

Re: [mono-android] Android Library Projects and Resources

2012-08-02 Thread Manski
I thought Android resources aren't currently available in library projects. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Android-Library-Projects-and-Resources-tp571p575.html Sent from the Mono for Android mailing list archive at Nabble.com. ___