Re: [mono-android] Free version: Emulator only? ... Bye bye

2011-12-22 Thread Tomas Finnøy
I don't see how an x86 emulator would make me test apps properly? Phones has abilities, like GPS and gyro, that simply doesn't exist on a desktop computer, and you would have to write an emulator for that as well. Most apps these days use these phone specific abilities in their apps, and I would

Re: [mono-android] Free version: Emulator only? ... Bye bye

2011-12-22 Thread Vladimir Dimitrov
I see your frustration as a user of this system. I have tried the mono android version on the emulator too and it had horrible performance. Debugging was useless. Everything was crashing and so on. But what you have to get with the evaluation version is not that you can test everything, but the ov

Re: [mono-android] Free version: Emulator only? ... Bye bye

2011-12-22 Thread Tomas Finnøy
I understand what you are saying. But keep in mind that there are a lot of .Net developers out there that have no prior experience with apps, and would like to get on this bandwagon. They not only want to test out an application, but also to see if this is a big investment on their part, or not. M

[mono-android] Profiler for M4A?

2011-12-22 Thread Narcís Calvet
Hello, I’m interested in a performance profiler for Visual Studio 2010 and Mono 4for Android, does anybody know of any tool which supports this environment? I’m using VS2010 Ultimate but included performance analisys tools don’t work with *.apk files. It would be a bonus if it was a memory prof

Re: [mono-android] Packaging problem with 4.0.1

2011-12-22 Thread Piotr Kryger
Filed as bug 2609 2011/12/20 Jonathan Pryor > On Dec 19, 2011, at 2:56 AM, Piotr Kryger wrote: > > I've just upgraded to 4.0.1 and now I'm unable to package app. > > Solution builds fine, but attempt to deploy ends with error: > > Could you plea

Re: [mono-android] Free version: Emulator only? ... Bye bye

2011-12-22 Thread Daniele Salvatore Albano
This would be awesome!!! If you need testers, i'm here :) 2011/12/22 Jonathan Pobst : > I think we will probably support x86 in the next version or two. > > We've been playing with an x86 emulator image from > http://www.android-x86.org/.  It's *fast*, but it's rough.  IE: you > can't rotate the

[mono-android] Adjust Emulator's Resolution

2011-12-22 Thread was
Is it possible to change the emulator's screen resolution? I have a customer with a Galaxy note with a 5.3” WXGA (1280 x 800) screen who has text overlapping problems. Can I emulate this? Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Adjust-Emula

Re: [mono-android] Adjust Emulator's Resolution

2011-12-22 Thread caruso
Yes you Can in the AVD Manager from google you can Create a new Emulation Device and set the resolution of the Emulator Device. Start -> Programs -> Android SDK Tools -> AVD Manager or AndroidSDK\AVD Manager.exe select a virtual Device use the Edit option and you can choose a individual Resolut

Re: [mono-android] Adjust Emulator's Resolution

2011-12-22 Thread was
Thanks Enrico. I now have the app installed on a 1280x800 emulator but all I see is the screen and no keyboard. I have both Keyboard and Keyboard lid support installed, but no sign of them. What am I missing? Regards...Andrew -- View this message in context: http://mono-for-android.1047100.n5.na

Re: [mono-android] Adjust Emulator's Resolution

2011-12-22 Thread was
Never mind. Use esc as backpress and select the Sample Soft Keyboard in Settings>Language & keyboard settings. Andrew -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Adjust-Emulator-s-Resolution-tp5094302p5094835.html Sent from the Mono for Android mailing list arc

Re: [mono-android] Generic Activity

2011-12-22 Thread Jonathan Pryor
On Dec 21, 2011, at 10:46 PM, John Moore wrote: > [Activity (Label = > "@string/lookupLabel",Theme="@android:style/Theme.Dialog")] > public class LookupActivity : ListActivity where TEntity : > IEntity > {} > so then my main activity invokes this activity like so... > Start

Re: [mono-android] Profiler for M4A?

2011-12-22 Thread Tom Opgenorth
Would DDMS: http://developer.android.com/guide/developing/debugging/ddms.html work for you? On Thu, Dec 22, 2011 at 02:51, Narcís Calvet wrote: > Hello, > > ** ** > > I’m interested in a performance profiler for Visual Studio 2010 and Mono > 4for Android, does anybody know of any tool which

[mono-android] PSA: runtime aborts without stack traces

2011-12-22 Thread Jonathan Pryor
There have been several mentions of runtime aborts that do not contain a stack trace, e.g. http://lists.ximian.com/pipermail/monodroid/2011-December/007756.html http://lists.ximian.com/pipermail/monodroid/2011-December/007862.html We have discovered a [0] cause: stack overflow.

[mono-android] Content Provider an Matrix Cursor

2011-12-22 Thread caruso
/* Matrix Cursor * i want to publish a ContentProvider there are two ways for it with a database or you can use a matrix cursor. i want to use a Matrix cursor what i have is the following code: Model:*/ class sample { public string ID; public strin

Re: [mono-android] Background thread - best practice?

2011-12-22 Thread caruso
Hello devBuzz, iam relative new to MonoDroid and have few experience with threads what my threads killed was the rotation when it comes back and want to notify the ui thread it has lost its focus and the Warning of Google... poped up in Logcat. My workaround was to set a private activity field in

[mono-android] Reference to Service Class started with StartService

2011-12-22 Thread devbuzz
If I instantiate a Service class using StartService() like this: StartService(new Intent(this, typeof(DBT.ServiceManager))); how do I get a reference to the class? I need to occasionally access the service to progress parameters etc. Anyone got an example or idea - bit out of my comfort zone wi

Re: [mono-android] sqlite

2011-12-22 Thread devbuzz
@wanting, Had exactly the same issue; spent a whole day trying to make it work as per the instructions here. In the end the only thing that worked was putting the database in a different folder. This is how I managed the database folder: var personalFolderPath = System.Environment.GetFolderPath

Re: [mono-android] Background thread - best practice?

2011-12-22 Thread devbuzz
Thanks Enrico. Having the thread killed during a rotation is not acceptable for my solution so I'm looking at the Service option. This looks like the way to go - BUT I'm not sure how to receive events in the application from the service class. -- View this message in context: http://mono-for-an

Re: [mono-android] sqlite

2011-12-22 Thread wanting
Hi, i also get the same error System.UnauthorizedAccessException, and i did disable Fast Deployment, but it seems not helpful for me. Thanks, wanting -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/sqlite-tp5054381p5095553.html Sent from the Mono for Android mai

Re: [mono-android] sqlite

2011-12-22 Thread wanting
Thanks devbuzz, it works for me. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/sqlite-tp5054381p5095700.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@lists

[mono-android] Reading from a file

2011-12-22 Thread John Croft
I have the following code: void OpenFile() { byte[] content = new byte[1024]; try { Stream fis = OpenFileInput(QUICKEDIT_FILENAME); if (fis.Read(content,0,content.Length) > 0) {

[mono-android] FindViewById keeps returning null for an included layout

2011-12-22 Thread Luke Stevens
I've been having some trouble lately accessing a layout that I'm adding to a TableRow (and assigning an id to, because I want to re-use this layout file multiple times) with an in the XML. The lines looks like this: The 'sumlabelcell' layout file looks like the following: http://s

Re: [mono-android] Generic Activity

2011-12-22 Thread jcwmoore
Jonathan Pryor-2 wrote > > StartActivity(typeof(LookupActivity)); > > This won't work, because an Android Callable Wrapper will be generated for > LookupActivity (as LookupActivity_1), but not for > LookupActivity. Thus, when Android attempts to create a > LookupActivity_1, we'll attempt to run

Re: [mono-android] Generic Activity

2011-12-22 Thread Jonathan Pryor
On Dec 22, 2011, at 7:59 PM, jcwmoore wrote: > Jonathan Pryor-2 wrote >> >> StartActivity(typeof(LookupActivity)); >> >> This won't work, because an Android Callable Wrapper will be generated for >> LookupActivity (as LookupActivity_1), but not for >> LookupActivity. Thus, when Android attempts t