Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Jonathan Pobst
Actually, this helps a lot. Building packages with linking sends things down a very different code path. Linking is generally only used with Release mode, so debugging with linking isn't tested. This gives me something to work from. Thanks for your investigation on this! Jonathan On 9/29/

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread SRI
HI, I created a New Application Project and set a Break Point and was able to debug on device. When I set the Mono Android Options Linking - None, Use Shared Runtime (false) -- Can Debug Linking - None, Use Shared Runtime (true) -- Can Debug

Re: [mono-android] top 5 in Honeycomb/ICS

2011-09-29 Thread Tom Opgenorth
I've got a keen interest in fragments ATM. On Thu, Sep 29, 2011 at 20:56, Wally McClure wrote: > What are the top 3, 5, 10, whatever features of Honeycomb (or coming in ICS) > that you as a developer are looking to dive into? > Wally > ___ > Monodroid m

[mono-android] top 5 in Honeycomb/ICS

2011-09-29 Thread Wally McClure
What are the top 3, 5, 10, whatever features of Honeycomb (or coming in ICS) that you as a developer are looking to dive into? Wally ___ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http

Re: [mono-android] Trouble with Android.Graphics

2011-09-29 Thread Jonathan Pryor
Short version: http://stackoverflow.com/questions/7535503/mono-for-android-exit-code-255-on-bitmapfactory-decodestream/7590929#7590929 Long version: We map every Java method which takes e.g. java.io.InputStream to a System.IO.Stream, and provide an "Adapter" which subclasses System.IO.S

Re: [mono-android] Missing Static Methods

2011-09-29 Thread Jonathan Pryor
On Sep 29, 2011, at 3:43 PM, efontana wrote: > Is there anything wrong is just doing it this way? > > int color = System.Drawing.ColorTranslator.FromHtml("#afe0f4").ToArgb(); No, but that has different semantics. Color.ParseColor() supports a specific list of named colors, e.g. "magenta", which

Re: [mono-android] Missing Static Methods

2011-09-29 Thread efontana
Is there anything wrong is just doing it this way? int color = System.Drawing.ColorTranslator.FromHtml("#afe0f4").ToArgb(); seems sorta Hackish to do the JNI thing? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Missing-Static-Methods-tp4817432p4854447.html Sen

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
I seem to have lost the ability to also debug in the emulator. On Thu, Sep 29, 2011 at 2:40 PM, Jonathan Pobst wrote: > This doesn't explain why you would be able to debug on the emulator. Can > you try it again and see if the .mdb's are being included there? > > Jonathan > > > On 9/29/2011 1:27

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Jonathan Pobst
This doesn't explain why you would be able to debug on the emulator. Can you try it again and see if the .mdb's are being included there? Jonathan On 9/29/2011 1:27 PM, Elan Hasson wrote: > no .MDBs are being included. and yes i am in debug configuration. > > On Thu, Sep 29, 2011 at 2:24 PM, Jon

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
no .MDBs are being included. and yes i am in debug configuration. On Thu, Sep 29, 2011 at 2:24 PM, Jonathan Pobst wrote: > Weird, it works here. > > Is this just a single project that isn't including the .mdb or is it > libraries that the mfa project references whose .mdb's aren't being > includ

Re: [mono-android] Why System.Net.HttpUtility is internal

2011-09-29 Thread Jonathan Pryor
On Sep 28, 2011, at 11:24 AM, sound wrote: > Why System.Net.HttpUtility is internal class? Because Mono for Android follows the .NET framework assembly/namespace pattern, not the Silverlight assembly/namespace pattern. Thus, we have a public System.Web.HttpUtility in System.Web.Services.dll (whi

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Jonathan Pobst
Weird, it works here. Is this just a single project that isn't including the .mdb or is it libraries that the mfa project references whose .mdb's aren't being included? Are you sure you are using the Debug configuration? Jonathan On 9/29/2011 12:54 PM, Elan Hasson wrote: > No Debug files are

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
No Debug files are being included in the APK. The android debug log is pretty annoying as it lags my machine (probably time to upgrade :)) and crashes visual studio often. On Thu, Sep 29, 2011 at 12:22 PM, Jonathan Pobst wrote: > 2 things to check: > > - View the Android Debug Log and it shou

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
The debug log crashes visual studio when i attempt to scroll a lot also. On Thu, Sep 29, 2011 at 12:22 PM, Jonathan Pobst wrote: > 2 things to check: > > - View the Android Debug Log and it should have some messages about > initializing the debugger: > > http://android.xamarin.com/**Documentatio

Re: [mono-android] MonoDroid and Google maps api

2011-09-29 Thread Jonathan Pryor
On Sep 28, 2011, at 1:14 AM, Tyson Swing wrote: > I'm impressed with the whole Android implementation for C#. I find it much > more concise than dealing with the Java equivalent using Eclipse. I was > reading up on how to use a MapView, which is a bit cumbersome if you activity > heavily depen

[mono-android] MonoDroid and Google maps api

2011-09-29 Thread Tyson Swing
To the MonoDroid team, I'm impressed with the whole Android implementation for C#. I find it much more concise than dealing with the Java equivalent using Eclipse. I was reading up on how to use a MapView, which is a bit cumbersome if you activity heavily depends on it, and in the thread it m

[mono-android] Why System.Net.HttpUtility is internal

2011-09-29 Thread sound
Why System.Net.HttpUtility is internal class? In MS class library it is public. Or there is some alternative? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Why-System-Net-HttpUtility-is-internal-tp4849612p4849612.html Sent from the Mono for Android mailing list a

[mono-android] Trouble with Android.Graphics

2011-09-29 Thread John Heerman
Hello, I've run across a problem trying to retrieve an image from the web and decode the stream or byte array into a bitmap/drawable resource. Each one of the tests below fail when I try to invoke the static BitmapFactory or BitmapDrawable class. I'm running my tests in MonoDevelop on Mac OSX Li

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread SRI
Hi, I have also experienced this using version 1.9. The debug files are not in the APK. During Compilation, the debug files are not included. Best Regards, Sridharan Srinivasan Alias Sri. On Fri, Sep 30, 2011 at 12:22 AM, Jonathan Pobst wrote: > 2 things to check: > > - View t

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Jonathan Pobst
2 things to check: - View the Android Debug Log and it should have some messages about initializing the debugger: http://android.xamarin.com/Documentation/Guides/Android_Debug_Log - Rename your .apk to .zip, look in the assemblies directory inside it, and see if the debug symbols are there (.m

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
It runs fine without stopping at breakpoints. On Thu, Sep 29, 2011 at 12:11 PM, Jonathan Pobst wrote: > What happens when you try? > > - Is there an error? > - Does VS go into debug mode? > - Does it run fine but doesn't stop at breakpoints? > > Jonathan > > > > On 9/29/2011 11:03 AM, Elan Hasso

Re: [mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Jonathan Pobst
What happens when you try? - Is there an error? - Does VS go into debug mode? - Does it run fine but doesn't stop at breakpoints? Jonathan On 9/29/2011 11:03 AM, Elan Hasson wrote: > Hello List, > > Hopefully this is just a configuration issue-- I am unable to debug by > placing breakpoints in

[mono-android] Unable to debug with physical devices in 1.9

2011-09-29 Thread Elan Hasson
Hello List, Hopefully this is just a configuration issue-- I am unable to debug by placing breakpoints in my C# code and deploying to my physical devices. I am using MonoDroid 1.9 and VS2010 on Windows 7. Prior to using physical devices, I was able to step through (albeit slowly) code using the

[mono-android] TextMetal - Cross platform data/domain layer code generator supports Mono for Android 1.9

2011-09-29 Thread Daniel Bullington
TextMetal, a zero friction open source text templating engine for .NET and Mono, announced full support for Mono for Android (MfA) 1.9. TextMetal is a powerful text templating engine written in C# which uses an extensible XML-based dialect and is suitable for use in automation scenarios and code ge

Re: [mono-android] Using Styles and Themes

2011-09-29 Thread Jonathan Pryor
On Sep 29, 2011, at 5:37 AM, Rashmi wrote: > HI, I am looking for answer to second part of the question which is "I want > to create a theme which I want to inherit from Theme.Light and then add an > attribute of not having the title bar." Don't you really want Theme.Light.NoTitleBar.Fullscreen?

Re: [mono-android] Bad SOAP header while using SessionInfo for Authorization

2011-09-29 Thread Atsushi Eno
Hello, How did you reproduce this? Sample sources are useful to examine issues. We have no idea e.g. which it uses, sys.web.services or wcf from these few lines. Atsushi Eno -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Bad-SOAP-header-while-using-SessionInfo-f

[mono-android] Research Mono

2011-09-29 Thread Mittchel Van Vliet
Hello everyone, Currently I am researching the Mono platform for a school project.. and I have two questions that I want the users of the Mono platform to fill in. These questions are regarding the advantages and disadvantages of MonoTouch and Mono for Android. You can find the survey right here:

Re: [mono-android] Using Styles and Themes

2011-09-29 Thread Rashmi
HI, I am looking for answer to second part of the question which is "I want to create a theme which I want to inherit from Theme.Light and then add an attribute of not having the title bar." Below is my code that I have used in styles.xml : ** and the code in Assembly Info is : *[assembly: Applic

Re: [mono-android] Mandroid unable to load assemblies

2011-09-29 Thread Atsushi Eno
Hello, > Hello there, > > I am constantly running into these issues, where MANDROID is trying to > load assemblies, which it then cannot find. At first it was > System.Windows, which afaik is not in Mono. I removed all those > references and hoped everything would be fine, but now I get errors > a

[mono-android] Mandroid unable to load assemblies

2011-09-29 Thread Tomasz Cielecki
Hello there, I am constantly running into these issues, where MANDROID is trying to load assemblies, which it then cannot find. At first it was System.Windows, which afaik is not in Mono. I removed all those references and hoped everything would be fine, but now I get errors about it not being abl

Re: [mono-android] Using Styles and Themes

2011-09-29 Thread Atsushi Eno
Hello, I used to make sure to tell that the layout XML schema is only for auto completion aids. Maybe I haven't explained this in public list (as I wasn't in the MfA team when I created that), so it is time for that ... Generally, it is not doable to allow undeclared attributes in "android" na