Re: [mono-android] FindViewById returning a ViewGroupInvoker

2012-02-22 Thread Jonathan Pryor
On Feb 22, 2012, at 10:50 AM, Chris Tacke wrote: > Later on in my app, I'd like to get hold of this MapView so I can zoom in on > it, but I'm having difficulty. > > My first attempt returned null: > >var m = m_layout.FindViewById(Resource.Id.DriverMap); ... > So I tried this: > var m

Re: [mono-android] Using web services with Mono for Android

2012-02-22 Thread stevenbc90
Found my problem, DNS was not resolving. Used IP and it worked like a charm -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Using-web-services-with-Mono-for-Android-tp5506207p5506744.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] FindViewById returning a ViewGroupInvoker

2012-02-22 Thread Enrico
It fails because you need the Activity Context for the FindViewByID and some Layout has not the Context to work with it. Would be my answer to this. Enrico Am 22.02.2012 um 20:07 schrieb Chris Tacke: In the end it worked if I requested the FindViewById from the Activity itself, not the Lay

Re: [mono-android] Failed to install package

2012-02-22 Thread jclement
I get the same problem with MonoDevelop and the emulator. The first time I "Upload to Device" everything is fine. Then every time a upload again I get Installing package 1119 KB/s (46 bytes in 0.096s) pkg: /data/local/tmp/testandroid.testandroid-Signed.apk Failure [INSTALL_FAILED_MISS

[mono-android] Setting Configuration activity for Widget

2012-02-22 Thread tweaver60
I'm creating an app widget configuration activity - mIConfig (file is mIConfig.cs). Here are my custom attributes: *[Activity] [IntentFilter(new string[] { "android.appwidget.action.APPWIDGET_CONFIGURE" })] public class mIConfig : Activity {...}* My VS2010 project name is *mTest*.

[mono-android] Using web services with Mono for Android

2012-02-22 Thread stevenbc90
Hi, I have an application that needs to access a soap web service from an android device. The web service is hosted within the company network and the application does not need to access the internet to reach it. We have a wireless network in place and a windows CE application that the Mono applic

Re: [mono-android] Mono for Android - Windows installation fails?

2012-02-22 Thread Miljenko Cvjetko
Hi Earlier versions of the Android sdk weren't installed with setup.exe and thus some paths (registry entries with setup.exe) need to be manually set. Look for older android sdk setup howtos which explain manual setup. As far as I can remember 2011-06 when setup.exe came out. regards mel On

Re: [mono-android] FindViewById returning a ViewGroupInvoker

2012-02-22 Thread Chris Tacke
In the end it worked if I requested the FindViewById from the Activity itself, not the Layout: This fails: var map = m_layout.FindViewById(Resource.Id.DriverMap); This works: var map = this.FindViewById(Resource.Id.DriverMap); So that answers #1. But #2 is still apropos. Why does the first

[mono-android] Mono for Android - Windows installation fails?

2012-02-22 Thread michalpawlowski
I've downloaded the freebie (emulator only) version of the installer. When I run it, it immediately told me I was ready to use Mono for Android. I did already have JDK, Gtk#, MonoDevelop and the Android SDK installed - recent versions if not the latest. However when I try to create a new Mono for A

Re: [mono-android] Fully Qualified name?

2012-02-22 Thread tweaver60
Apologies for the duplicate post - finding other posts on this subject. -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Fully-Qualified-name-tp5505955p5506052.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

[mono-android] Fully Qualified name?

2012-02-22 Thread tweaver60
Newbie here I'm creating an app widget configuration activity - mIConfig (file is mIConfig.cs). My VS2010 project name is mWidgetTest. I'm adding the following line to declare the configuration activity in the AppWidgetProviderInfo XML file: android:configure="mIConfig" also tried android:

[mono-android] FindViewById returning a ViewGroupInvoker

2012-02-22 Thread Chris Tacke
I have an AbsoluteLayout that contains a MapView. I load this layout in my Activity (which is a MapActivity) like this: m_layout = LayoutInflater.Inflate(Resource.Layout.DriverLayout, null); SetContentView(m_layout); And the MapView shows up on the screen and works just fine. The MapView is de

Re: [mono-android] Example FTP

2012-02-22 Thread Jonathan Pryor
On Feb 22, 2012, at 7:21 AM, Natanael wrote: > I need an example in C # monodroid how to ftp. Anyone have any examples. Have you tried using WebClient or WebRequest with an ftp:// url? It should work, considering that we have the FTP support classes, e.g.: http://androidapi.xamarin.com/?

[mono-android] Example FTP

2012-02-22 Thread Natanael
I need an example in C # monodroid how to ftp. Anyone have any examples. thank you -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Example-FTP-tp5504951p5504951.html Sent from the Mono for Android mailing list archive at Nabble.com. ___

Re: [mono-android] Activty, BackButton, HomeButton

2012-02-22 Thread johnHolmes
:( sigh! I hope you manage to fix it as soon as possible. At least before you have lost all your hair :) -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/Activty-BackButton-HomeButton-tp5501854p5504642.html Sent from the Mono for Android mailing list archive at Nabb

Re: [mono-android] Failed to install package

2012-02-22 Thread johnHolmes
I'm having a similar issue, using the DEVICE. I can run and debug the application once. Later, if I hit a bug or stop the app and rerun the debug, it won't run anymore. It is really wired because once compiled it says: *Installing Pacakge Success Failed to install package* I need to close and r

Re: [mono-android] textview hints

2012-02-22 Thread John Valentine
Thanks for the replies chaps. the hint appears exactly as if you had defined some text to put in the box .. that is, you have to delete it manually before you can enter anything. I would have expected it to 'disappear' .. ie you would automatically overtype it .. and it should also appear 'greyed'

Re: [mono-android] Failed to install package

2012-02-22 Thread laur
Hello, I’ve lot of problems too L First problem: Lot of times, when I start avd with monodev, he said “not launched”.. I restart monodev for see, same problem.. I restart again avd it’s ok (sometimes I must restart 2 or 3 times the avd). Another problem, when I change one line of my ax

Re: [mono-android] Won't re-innstall after uninstall

2012-02-22 Thread Marek Habersack
On 2012-02-20 19:32, Triplany wrote: Hello, That would be awesome thank you! I will leave my system as is so I can send you the information when the new installer is done. The new installer is up on xamarin.com/trial - please give it a try and let's see how it works for you. If you get any cra