Re: [mono-android] new project types in 4.1

2012-04-23 Thread Jonathan Pryor
On Apr 20, 2012, at 2:11 PM, johnHolmes wrote: > Could this new "binding project" help with the integration of OpenFeint for > Android? We hope so. :-) Please try it out, and let us know how it goes. Thanks, - Jon ___ Monodroid mailing list Monodroi

Re: [mono-android] Resources in Class Library project

2012-04-23 Thread Jonathan Pryor
On Apr 23, 2012, at 4:08 AM, Tomasz Cielecki wrote: > could not seem to find much about this topic, but lets say I want to put some > Layouts and Drawables in a Class Library project, which I want to use inside > both the Class Library, but also the project that uses the Class Library. You need

Re: [mono-android] Link to libmonosgen-2.0.so in emulator

2012-04-23 Thread Jonathan Pryor
On Apr 23, 2012, at 9:12 AM, fmcicreate wrote: > But calling this function from the thread gives the same error: *Thread 0x0 > may have been prematurely finalized*. Does this happen on mono/linux or mono/OSX? Or just on Android? Could you please file a test case so that we can investigate? Than

Re: [mono-android] Showing keyboad

2012-04-23 Thread Tomasz Cielecki
Hello again, There is also an approach using the InputMethodManager: EditText text = FindViewById(Resource.Id.MyTextView); ThreadPool.QueueUserWorkItem((s) => { Thread.Sleep(100); RunOnUiThread(() => {

Re: [mono-android] Showing keyboad

2012-04-23 Thread Tomasz Cielecki
Ah lol, I didn't see that. Sorry! I can't seem to find a nice way to do this, but this seems to work: EditText text = FindViewById(Resource.Id.MyTextView); ThreadPool.QueueUserWorkItem((s) => { Thread.Sleep(100); RunOnUiThread((

Re: [mono-android] Link to libmonosgen-2.0.so in emulator

2012-04-23 Thread fmcicreate
Jonathan Pryor-2 wrote > > On Apr 18, 2012, at 12:37 PM, fmcicreate wrote: > (...) > then you're also going to need to be responsible for everything else as > well. > > - Jon > Hi Jon. I saw your answer to this question: http://comments.gmane.org/gmane.comp.gnome.mono.monodroid/4766 http://

Re: [mono-android] Showing keyboad

2012-04-23 Thread Miljenko Cvjetko
Hi Tomasz On 2012.04.23 14:58, Tomasz Cielecki wrote: Use UITextFields BecomeFirstResponder() method. I.e.: UITextField _textField = new UITextField(); _textField.BecomeFirstResponder(); View.AddSubview(_textField); Yup, we are both on m4a and mtch lists, but this time I was asking about m4a

Re: [mono-android] Showing keyboad

2012-04-23 Thread Tomasz Cielecki
Use UITextFields BecomeFirstResponder() method. I.e.: UITextField _textField = new UITextField(); _textField.BecomeFirstResponder(); View.AddSubview(_textField); On Mon, Apr 23, 2012 at 2:24 PM, Miljenko Cvjetko wrote: > Hi > > I have single edittext widget in activity layout and would like to

[mono-android] Showing keyboad

2012-04-23 Thread Miljenko Cvjetko
Hi I have single edittext widget in activity layout and would like to show keyboard without user interaction when activity loads. This is what I have tried: editText1.RequestFocus(); editText1.RequestFocusFromTouch() ; editText1.PerformClick(); but keyboard shows (in emulator) only if user cl

[mono-android] Resources in Class Library project

2012-04-23 Thread Tomasz Cielecki
Hey there, could not seem to find much about this topic, but lets say I want to put some Layouts and Drawables in a Class Library project, which I want to use inside both the Class Library, but also the project that uses the Class Library. The Class Library project template does not per default c

Re: [mono-android] ActionBar for pre-ICS devices

2012-04-23 Thread Tomasz Cielecki
Ok, it is now a fully working sample. I will add some licensing, it will be the same license as the original which is Apache 2, so feel free to use it as long as you follow the license :) https://github.com/Cheesebaron/MonoDroid.ActionBar On Fri, Apr 20, 2012 at 12:10 PM, Tomasz Cielecki wrote: