[mono-android] Async and the UI

2012-07-26 Thread Nosh
Hi I am using async to get message back from web service and in the methos dealing with the returned msg from the web service i need to show a message. I realise due to thread i cannot update UI. I am new to this in c# so any advice would be helpful here is my method private void ServerReturn

Re: [mono-android] Adding ZTE Light Tab 2 to running devices

2012-07-26 Thread Nosh
Please ignore my last post. The Samsung is working after i reinstalled drivers. I think this is the issue with the ZTE Tab 2 i.e. i need to install device drivers for this..when connected to the PC it's just a USB stick. anyone know where to find these . Thanks -- View this message in contex

Re: [mono-android] Adding ZTE Light Tab 2 to running devices

2012-07-26 Thread Nosh
Thanks Tried that but no luck.. I tried reconnecting my Smasung II which worked i.e would come up in the display for devices connected but that has stopped appearing now. Any Ideas -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Adding-ZTE-Light-Tab-2-to-runni

[mono-android] Adding ZTE tablet to running devices

2012-07-16 Thread Nosh
Hi I have attached a ZTE Light Lab 2 to my PC and tried debugging to it but the device is not showing in the select device windows. any ideas Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Adding-ZTE-tablet-to-running-devices-tp5710899.html Sent from the

[mono-android] cannot override OnActivityResult

2012-06-26 Thread Nosh
Hi When i try and override OnActivityResult(int requestCode, int resultCode, Intent data) I get a message :no suitable method found to override private void cmdAddJobnum_Click() { try { int listitems = lstJobNumbers.Count;

[mono-android] Set Device date and Time

2012-06-14 Thread Nosh
Hi Any ideas on how to set the device date and time via code Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Set-Device-date-and-Time-tp5710345.html Sent from the Mono for Android mailing list archive at Nabble.com. _

[mono-android] Date time string

2012-06-14 Thread Nosh
Hi I have the following code string time = string.Format("{0}:{1}", hour, minute.ToString().PadLeft(2, '0')); Job.JobEndDateTime = Now.ToString("dd-MM- ") + time + ":00"; The Now.ToString("dd-MM- ") + time + ":00"; occasionally returns *"01-01-0001 0:00:00"* Any ideas TIA -- View

[mono-android] Context Menu on Listview

2012-06-06 Thread Nosh
Hi I have managed to get an idea about how the ContextMenu stuff works but i need some guidance on the following. I have a listview with a 5 items eg: ITEM 1 ITEM 2 ITEM 3 ITEM 4 ITEM 5 I have managed to attach a contextmenu to the listview. What i need is to be able to tap and hold on an Item

Re: [mono-android] SetRequestedOrientation stopped working after upgrade of SDK

2012-06-06 Thread Nosh
Many thanks worked a treat. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SetRequestedOrientation-stopped-working-after-upgrade-of-SDK-tp5710121p5710175.html Sent from the Mono for Android mailing list archive at Nabble.com. _

[mono-android] SetRequestedOrientation stopped working after upgrade of SDK

2012-06-05 Thread Nosh
Hi Can anyone guide me as to how to stop the screen orientation from changing? Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/SetRequestedOrientation-stopped-working-after-upgrade-of-SDK-tp5710121.html Sent from the Mono for Android mailing list archive a

Re: [mono-android] Single Line Edittext

2012-04-20 Thread Nosh
Thanks Jon this did the trick also android:singleLine="true" is this ok? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Single-Line-Edittext-tp5649201p5654313.html Sent from the Mono for Android mailing list archive at Nabble.com.

[mono-android] Single Line Edittext

2012-04-18 Thread Nosh
Hi How can i stop the EditText being Multiline TIA -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Single-Line-Edittext-tp5649201p5649201.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodro

Re: [mono-android] PLEASE HELP!!! The project type is not supported by this installation.

2012-04-09 Thread Nosh
Ok have manage to get it back now. I just did a repair on the Mono for Android and it seemed to have brought it back into VS2010. Still not fully confidant that it wont happen again.. Let wait and see -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/PLEASE-HELP-T

Re: [mono-android] The targeted Android api level cannot be found

2012-04-04 Thread Nosh
Hi Jon I think I have sorted it. I basically removed the SDK from Program Files etc and then reinstalled to my D:\Andorid SDK This seemed to have solved the problem. Maybe a Windows 7 Accounts rights issue maybe? Thanks anyways for your help Only wish I could solve the VS2010 issue now that wo

Re: [mono-android] Capture BACK

2012-04-04 Thread Nosh
Sure I did use the public override bool OnKeyDown and captured back { if (Job.JobStartDateTime == null) { //OK to Exit } else { if (keyCode == Keycode.Back) {

Re: [mono-android] PLEASE HELP!!! The project type is not supported by this installation.

2012-04-04 Thread Nosh
Yep it was closed whenI installed. I have tried a number of times now. could there be a problem with VS2010 installation -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/PLEASE-HELP-The-project-type-is-not-supported-by-this-installation-tp5615239p5617266.html Sen

Re: [mono-android] The targeted Android api level cannot be found

2012-04-04 Thread Nosh
Hi Jon Your help is greatly appreciated. I have the folder C:\Users\Nosh\AppData\Local\Xamarin\Mono for Android and there are 2 folders Mono for Android and MonoForAndroid In the first folder there is one file called debug.keystore only and in the second folder there are a number of txt

[mono-android] The targeted Android api level cannot be found

2012-04-03 Thread Nosh
Since MONO for Android is not working in VS2010 I had to resort to MonoDevelop But i am getting the following error now The targeted Android api level cannot be found Where can i change this in the project any clues anyone.. Thanks -- View this message in context: http://mono-for-android.104

Re: [mono-android] PLEASE HELP!!! The project type is not supported by this installation.

2012-04-03 Thread Nosh
Thanks But no luck. I installed and then installed from your link.. This has become a nightmare now!! I don't know why this has happened -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/PLEASE-HELP-The-project-type-is-not-supported-by-this-installation-tp5615239

[mono-android] PLEASE HELP!!! The project type is not supported by this installation.

2012-04-03 Thread Nosh
i have been working on a project for 2 weeks now and today i upgraded to Mono Android 4. Now when i try and open the Project in VS2010 i get the following message *The project type is not supported by this installation.* This is very frustrating and can anyone help? -- View this message i

[mono-android] Support/Future for Mono for Android

2012-04-03 Thread Nosh
hi All I am looking to purchase Mono for Android in the near future after reviewing the product and I have seen some scary post's regarding the future of the product albeit they were back in 2011. Feed back on this issue would be greatly appreciated before i outlay any capital Many Thanks -- Vie

[mono-android] Add String to Spinner

2012-04-02 Thread Nosh
Hi All I have a string AAA|BBB|CCC|DDD|EEE I which to add each item separated by the | to a spinner widget.So the spinner should have AAA BBB CCC DDD EEE Any pointers would be appreciated. Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Add-String-to-Sp

Re: [mono-android] Capture BACK

2012-04-02 Thread Nosh
Sorted Please ignore this post -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Capture-BACK-tp5612447p5612759.html Sent from the Mono for Android mailing list archive at Nabble.com. ___ Monodroid mailing list Monodroid@

[mono-android] Capture BACK

2012-04-02 Thread Nosh
Hi All I want to excecute some code when the user presses the BACK keyboard button on an Activity1. Is this possible? Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Capture-BACK-tp5612447p5612447.html Sent from the Mono for Android mailing list archive at

[mono-android] Checking to se if a FrameLayout is Visible

2012-03-28 Thread Nosh
How can i check if a FrameLayout is visible or invisible -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Checking-to-se-if-a-FrameLayout-is-Visible-tp5600265p5600265.html Sent from the Mono for Android mailing list archive at Nabble.com. __

[mono-android] System Date Time

2012-03-28 Thread Nosh
Hi newbie with c# but can someone point me to how I can get the System date time of the device. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/System-Date-Time-tp5598262p5598262.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] Folder for Misc Items

2012-03-27 Thread Nosh
yes you did apologies for repeat post.. Is it ok to use System.Environment.GetFolderPath(System.Environment.SpecialFolder.MyDocuments) as a location for my misc files and also the database -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Folder-for-Misc-Items-tp

[mono-android] Passing Data between Activities

2012-03-23 Thread Nosh
Hi can anyone give me a pointer as to how to pass data between activities. basically i have a login activity where the user enters a username and then clicks a button to login. the button calls another activity but i need to access the username the user entered on the second activity. beware n

Re: [mono-android] Folder for Misc Items

2012-03-23 Thread Nosh
Hi Sorry I think my post wasn't very clear On the Android device App will utilise/create XML, SQLLITE and Text files. My question is on the Device which folder shall I use to store these type of files. TIA -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Folder-

[mono-android] Folder for Misc Items

2012-03-22 Thread Nosh
Hi All Just want to know which folder is the best place to hold my Apps miscellaneous files such as text or XML. Also SqlLite Database Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Folder-for-Misc-Items-tp5585221p5585221.html Sent from the Mono for Androi

[mono-android] CSV or XML

2012-03-14 Thread Nosh
Hi I need to create a CSV file but I am not sure which folder (if there is such a thing in Android). Is there a folder structure in Android? -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/CSV-or-XML-tp5564651p5564651.html Sent from the Mono for Android mailing

[mono-android] Hide Soft Keyboard

2012-02-24 Thread Nosh
Hi Can anyone tell me how to Hide the Soft Keyboard Thanks -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Hide-Soft-Keyboard-tp5513066p5513066.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] Mono For Android Disappears from VS2010

2012-02-10 Thread Nosh
Hi This is linked to a question i posted some time ago regarding Mono templates going missing I recently opened VS2010 and tried to open a project which i did in Mono for Android and VS2010 states that this is no a valid VS project. This project was actually developed in the dev environment of V

Re: [mono-android] MonoDroid Templates gone missing

2012-02-01 Thread Nosh
A folder by the name MonoDroid is present but no Folder called Mono for Android. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/MonoDroid-Templates-gone-missing-tp5436188p5444112.html Sent from the Mono for Android mailing list archive at Nabble.com.

Re: [mono-android] MonoDroid Templates gone missing

2012-01-30 Thread Nosh
Hi Jonathan Followed your advice but no luck. I un installed mono for android and then re-installed the latest version. The project type is still missing from the list under File>New Project>Other languages>Visual c# It's real shame this has happened now as I was really getting a grip with thi

[mono-android] MonoDroid Templates gone missing

2012-01-27 Thread Nosh
Hi All I have been developing some sample Android apps in monodroid (VS2010) over the last few days I just started VS2010 today and the Templates for MonoDroid including the option have disappeared when I try starting a new Project. Opening an older monodroid project just gives a message The proje