Re: [mono-android] Auto-close alert dialog after a specific time

2013-02-25 Thread krish
ha...u can use Toast as Automatic message box eg: Toast.MakeText(this, "plz fill all fields", ToastLength.Long).Show(); here this represents context...afterwards string or message u want to display and toastlength has two options Long and Short...this message will vanishes with in seconds au

[mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread krish
hi...i m working on saving and retreiving of xml file...i have 3 edittexts and two buttonsby entering values in all 3 edittexts and click on save button,the data will saved to xml file...when i click on retrieve button the stored data shud display in textview(like label)...the data is saving to

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread Tomasz Cielecki
How does your Save method look like? Because it might be where your problem is. I think that you are overriding your XML instead of appending entries to it. Med Venlig Hilsen / With Best Regards Tomasz Cielecki http://ostebaronen.dk On Mon, Feb 25, 2013 at 1:05 PM, krish wrote: > hi...i m work

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread krish
hi...i m working on saving and retreiving of xml file...i have 3 edittexts and two buttonsby entering values in all 3 edittexts and click on save button,the data will saved to xml file...when i click on retrieve button the stored data shud display in textview(like label)...the data is saving

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread Tomasz Cielecki
You are just overriding the old entries instead of appending new entries to your XML, that is what is your problem is. I've made a sample which you can see here: https://gist.github.com/Cheesebaron/5029622 which works as intended. I am not sure if my method of writing the XML is the most optimal a

[mono-android] Embed .so in Jar Binding Project

2013-02-25 Thread Jeremy A. Kolb - ARA/NED
Some JARs depend on native libraries and it would be nice to embed native libraries within Java Library Binding Projects (similar to embeddedreferencejar) that get copied to the main project when building. Jeremy ___ Monodroid mailing list Monodroid@li

Re: [mono-android] Enhancement in Xml Retreive code

2013-02-25 Thread Paul Johnson
Hi, (I've snipped everything for a reason) I'm looking at your code. In the original you had a sharing violation exception. Pretty much this means you're trying to create a file that already exists. You are also not closing off the StreamWriter stw = new StreamWriter (path, true); line. Go

Re: [mono-android] Embed .so in Jar Binding Project

2013-02-25 Thread Atsushi Eno
Hello Jeremy, We will add support for EmbeddedNativeLibrary in Jar binding projects in the next release (unless it is going to be limited to major bugfixes). In case you know of any open source libraries that use native libraries like you requested, please let us know and we would be able to

[mono-android] Unchecked supported architectures are still included in the APK

2013-02-25 Thread Jeremy A. Kolb - ARA/NED
I've gone ahead an unchecked the armeabi-v7a and x86 supported architectures and done a clean and deploy and those directory with corresponding libmonodroid.so are still included in the APK. This is an attempted workaround for an issue where an armeabi lib is not being installed on an armeabi-v

Re: [mono-android] Unchecked supported architectures are still included in the APK

2013-02-25 Thread Jonathan Pryor
On Feb 25, 2013, at 1:14 PM, Jeremy A. Kolb - ARA/NED wrote: > I’ve gone ahead an unchecked the armeabi-v7a and x86 supported architectures > and done a clean and deploy and those directory with corresponding > libmonodroid.so are still included in the APK. This is an attempted > workaround fo

[mono-android] spinner with icons and text

2013-02-25 Thread vergatario
Guys am new to mono for android, I would like to display a spinner with icons and text, so far i have: *int[] icons = { Resource.Drawable.icon, Resource.Drawable.icon }; ArrayAdapter adapter = new ArrayAdapter(this, Android.Resource.Layout.SimpleSpinnerItem, icons); adapter.SetDropDownViewResource