Re: [mono-android] Periodic error during deployment

2011-11-02 Thread Glen Hassell
Igor, You could check to see the SDCard is available (status.equals(Environment.MEDIA_MOUNTED) true) TRY/CATCH - RECOMMEND_MEDIA_UNAVAILABLE returned - INSTALL_FAILED_MEDIA_UNAVAILABLE but null reference, is not really the error... !? This seems odd, something has mounted your device (not emulato

[mono-android] Bluetooth stream problems

2011-11-02 Thread Igor Russkih
Hello, We are trying to use BT connectivity via MD, As I see Java's InputStream from BluetoothSocket is indirectly mapped into System.IO.Stream How then I can use java's is.available() to detect if there is any data in the stream? There is no direct mapping for such a logic in the System.IO.Stre

[mono-android] Periodic error during deployment

2011-11-02 Thread Igor Russkih
Hello, We are getting the next error periodically when deployin app (Ctrl-F5) to the device: Getting package list from device > Uninstalling old version of package > Success > Getting available internal storage space on the device > *Internal error. Object reference not set to an instance of an o

[mono-android] View.IOnTouchListener Not Working in 1.9.2

2011-11-02 Thread emalamisura
Hey guys, I upgraded to 1.9.2, I create several TouchListeners in OnCreate and those TouchListeners expose a public EventHandler that I then attach to below the TouchListener creation but before the SetOnTouchListener call. Works great, but when I upgraded to 1.9.2, the touch listeners are comple

Re: [mono-android] Resuming app always reverts to first activity

2011-11-02 Thread Tossing, Chris
Randy, I just recently dealt with this issue, but I am not able to reproduce it. I have the following example working: [Activity(Label = "TestApp", MainLauncher = true, Icon = "@drawable/icon")] public class Activity1 : Activity { protected override void OnCreate(Bundle bun

[mono-android] Resuming app always reverts to first activity

2011-11-02 Thread Randy Ficker
I ran a simple test: 1. Create a fresh Mono for Android project. Add a second activity, and make the button of the default activity launch the second activity. 2. Make an identical app in Eclipse using pure Java. 3. Launch the Java app, tap the button to go to the second ac

Re: [mono-android] running emulator VDs

2011-11-02 Thread Wally McClure
I've been digging more into this problem more over the past couple of days. It seems to only occur when my physical device (htc evo 4g) is connected to my computer running sdk r15. This doesn't happen to my computer that is still running r14 and doesn't seem to happen when my device is not co

Re: [mono-android] How to detect and handle FaultException returned from WCF

2011-11-02 Thread Atsushi Eno
It is because your reply message had a body that the WCF client side did not expect. Atsushi Eno -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/How-to-detect-and-handle-FaultException-returned-from-WCF-tp4930778p4958097.html Sent from the Mono for Android mailing

Re: [mono-android] How to use editText.SetImeActionLabel to update Keyboard keys

2011-11-02 Thread Jonathan Pryor
On Nov 2, 2011, at 2:21 AM, Nirban Dutta wrote: > How to use public void SetImeActionLabel (string label, int actionId) > > What to pass in actionid something like EditorInfo.IME_ACTION_DONE , what is > the mono equivalent? Use ImeAction.Done: http://androidapi.xamarin.com/index.aspx?

Re: [mono-android] google maps sample

2011-11-02 Thread Tomasz Cielecki
I have made a sample you can find it here: https://github.com/Cheesebaron/MonoDroid.GoogleMapsDemo On Mon, Oct 31, 2011 at 9:44 PM, Wally McClure wrote: > is there a sample for how to use the new maps functionality in 1.9.2?  I see > a sample in the xamarin github.com samples, but I thought that

Re: [mono-android] ItemizedOverlay does does not work

2011-11-02 Thread Tomasz Cielecki
Hey Jon, Just tried the patch and it works nicely. I have updated my github repo with the changes as well: https://github.com/Cheesebaron/MonoDroid.GoogleMapsDemo On Tue, Nov 1, 2011 at 10:48 PM, Jonathan Pryor wrote: > On Nov 1, 2011, at 5:35 PM, Tomasz Cielecki wrote: >> I think I understand h