[mono-android] Problems with installing monodroid with Android SDK

2012-04-24 Thread provaa
I've installed:

1- jdk-7u3-windows-i586.exe
2- installer_r18-windows.exe
3- gtk-sharp-2.12.10.win32.msi
4- MonoDevelop-2.8.8.4.msi

I've tried to install MonoDroid but it can't detect: Android SDK ver. 18,
that is what i've installed.
why?
Thanks

My complete log is:
[2012-04-24 10:01:55.968] [Info] Installation ID:
681cc945-c5fb-4863-ad1b-e678a648a98e
[2012-04-24 10:01:55.968] [Info] Operating system: Windows XP
v5.1.2600.196608 (Professional (Service Pack 3); Microsoft Windows NT
5.1.2600 Service Pack 3), 32-bit
[2012-04-24 10:01:55.968] [Info] Installer version: 2.1.0.38014
[2012-04-24 10:01:55.968] [Info] Status: in progress
[2012-04-24 10:01:55.968] [Debug] Manifest retrieval task executing. Waiting
for it to finish.
[2012-04-24 10:01:55.968] [Debug] Manifest retrieval task started.
[2012-04-24 10:01:55.968] [Info] Retrieving installation manifest.
[2012-04-24 10:01:55.968] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml'.
[2012-04-24 10:01:56.296] [Info] Retrieving installation size manifest.
[2012-04-24 10:01:56.296] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml'.
[2012-04-24 10:01:56.515] [Info] Installation size manifest not found
online, using the bundled copy
[2012-04-24 10:01:56.515] [Info] Installation size manifest: reading from
assembly.
[2012-04-24 10:01:56.515] [Info] Manifest retrieval task completed
successfully
[2012-04-24 10:01:56.515] [Debug] Component detection task executing.
Waiting for it to finish.
[2012-04-24 10:01:56.515] [Info] Component detection starting
[2012-04-24 10:01:56.515] [Info] Determining list of software items to
install.
[2012-04-24 10:01:56.515] [Debug] Processing update nodes from the manifest.
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Java JDK'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Android SDK'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'GTK#'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'MonoDevelop'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Mono for Android, VisualStudio and MonoDevelop'
[2012-04-24 10:01:56.515] [Info] Waiting for detection to finish
[2012-04-24 10:01:56.515] [Debug] Detecting software item 'Java JDK'
[2012-04-24 10:01:56.515] [Info] Checking whether JDK needs to be installed.
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-04-24 10:01:56.515] [Info] Incompatible version of JDK detected (1.7)
[2012-04-24 10:01:56.515] [Info] JDK 1.6 needs to be installed.
[2012-04-24 10:01:56.515] [Info] Status: successful
[2012-04-24 10:01:56.515] [Info] Software item 'Java JDK': not up to date
[2012-04-24 10:01:56.515] [Info] Component 'Java JDK' v. 1.7 present but
requires update to v. 1.6
[2012-04-24 10:01:56.515] [Debug] Detecting software item 'Android SDK'
[2012-04-24 10:01:56.515] [Info] Checking if Android SDK needs to be
updated/installed
[2012-04-24 10:01:56.515] [Info] Fetching Android SDK manifest.
[2012-04-24 10:01:56.515] [Info] Manifest URL:
http://dl.google.com/android/repository/repository-5.xml
[2012-04-24 10:01:56.515] [Info] Using default samples:
[2012-04-24 10:01:56.515] [Info] Downloading from
'http://dl.google.com/android/repository/repository-5.xml'.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 14' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 12' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 10' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 8' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 7' needs to be
created.
[2012-04-24 10:01:56.843] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\Android SDK Tools', value 'Path'
[2012-04-24 10:01:56.843] [Debug] Attempting to read registry subkey
'SOFTWARE\Android SDK Tools', value 'Path'
[2012-04-24 10:01:56.843] [Info] Status: failed.
[2012-04-24 10:01:56.843] [Exception] Failed to detect component 'Android
SDK'
[2012-04-24 10:01:56.843] [Exception]
System.Security.Principal.Ide

Re: [mono-android] Problems with installing monodroid with Android SDK

2012-04-24 Thread Marek Habersack

On 2012-04-24 12:15, provaa wrote:
Hey,


I've installed:

1- jdk-7u3-windows-i586.exe
2- installer_r18-windows.exe
3- gtk-sharp-2.12.10.win32.msi
4- MonoDevelop-2.8.8.4.msi

I've tried to install MonoDroid but it can't detect: Android SDK ver. 18,
that is what i've installed.
Windows isn't able to deal with transitioning from one user identity to another - it's an OS problem without an easy 
solution. Here's a link to Mono for Android 4.0.6 SDK you can use:


http://download.xamarin.com/priv/8b7f296520c5a4b761c14fc95a21a9b/MonoforAndroid/Windows/monoandroid-4.0.6-p2.msi

hope it helps,

marek

why?
Thanks

My complete log is:
[2012-04-24 10:01:55.968] [Info] Installation ID:
681cc945-c5fb-4863-ad1b-e678a648a98e
[2012-04-24 10:01:55.968] [Info] Operating system: Windows XP
v5.1.2600.196608 (Professional (Service Pack 3); Microsoft Windows NT
5.1.2600 Service Pack 3), 32-bit
[2012-04-24 10:01:55.968] [Info] Installer version: 2.1.0.38014
[2012-04-24 10:01:55.968] [Info] Status: in progress
[2012-04-24 10:01:55.968] [Debug] Manifest retrieval task executing. Waiting
for it to finish.
[2012-04-24 10:01:55.968] [Debug] Manifest retrieval task started.
[2012-04-24 10:01:55.968] [Info] Retrieving installation manifest.
[2012-04-24 10:01:55.968] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationManifest.xml'.
[2012-04-24 10:01:56.296] [Info] Retrieving installation size manifest.
[2012-04-24 10:01:56.296] [Info] Downloading from
'http://xamarin.com/download/installer/Windows/MonoForAndroid/InstallationSizes.xml'.
[2012-04-24 10:01:56.515] [Info] Installation size manifest not found
online, using the bundled copy
[2012-04-24 10:01:56.515] [Info] Installation size manifest: reading from
assembly.
[2012-04-24 10:01:56.515] [Info] Manifest retrieval task completed
successfully
[2012-04-24 10:01:56.515] [Debug] Component detection task executing.
Waiting for it to finish.
[2012-04-24 10:01:56.515] [Info] Component detection starting
[2012-04-24 10:01:56.515] [Info] Determining list of software items to
install.
[2012-04-24 10:01:56.515] [Debug] Processing update nodes from the manifest.
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Java JDK'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Android SDK'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'GTK#'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'MonoDevelop'
[2012-04-24 10:01:56.515] [Debug] Creating and initializing software item
'Mono for Android, VisualStudio and MonoDevelop'
[2012-04-24 10:01:56.515] [Info] Waiting for detection to finish
[2012-04-24 10:01:56.515] [Debug] Detecting software item 'Java JDK'
[2012-04-24 10:01:56.515] [Info] Checking whether JDK needs to be installed.
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit', value 'CurrentVersion'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit\1.7', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-04-24 10:01:56.515] [Debug] Attempting to read registry subkey
'SOFTWARE\JavaSoft\Java Development Kit\1.6', value 'JavaHome'
[2012-04-24 10:01:56.515] [Info] Incompatible version of JDK detected (1.7)
[2012-04-24 10:01:56.515] [Info] JDK 1.6 needs to be installed.
[2012-04-24 10:01:56.515] [Info] Status: successful
[2012-04-24 10:01:56.515] [Info] Software item 'Java JDK': not up to date
[2012-04-24 10:01:56.515] [Info] Component 'Java JDK' v. 1.7 present but
requires update to v. 1.6
[2012-04-24 10:01:56.515] [Debug] Detecting software item 'Android SDK'
[2012-04-24 10:01:56.515] [Info] Checking if Android SDK needs to be
updated/installed
[2012-04-24 10:01:56.515] [Info] Fetching Android SDK manifest.
[2012-04-24 10:01:56.515] [Info] Manifest URL:
http://dl.google.com/android/repository/repository-5.xml
[2012-04-24 10:01:56.515] [Info] Using default samples:
[2012-04-24 10:01:56.515] [Info] Downloading from
'http://dl.google.com/android/repository/repository-5.xml'.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 14' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 12' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 10' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 8' needs to be
created.
[2012-04-24 10:01:56.843] [Info] AVD 'MonoForAndroid API 7' needs to be
created.
[2012-04-24 10:01:56.843] [Debug] Attempting to read registry su

Re: [mono-android] Problems with installing monodroid with Android SDK

2012-04-24 Thread francesco provaa
Nothing.
Always:
[2012-04-24 14:14:55.546] [Exception] Failed to detect component 'Android SDK'

What do I do, now?
:(

Thanks for the reply.


Il 24 aprile 2012 13:03, Marek Habersack  ha scritto:
> On 2012-04-24 12:15, provaa wrote:
> Hey,
>
> Here's a link to Mono
> for Android 4.0.6 SDK you can use:
>
> http://download.xamarin.com/priv/8b7f296520c5a4b761c14fc95a21a9b/MonoforAndroid/Windows/monoandroid-4.0.6-p2.msi
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] API inconsistency on ListView longClick and click EventArgs

2012-04-24 Thread tequila slammer
Hi to everyone

I have noticed that there is an inconsistency between the
View.LongItemClickEventArgs and the View.ItemClickEventArgs. Both have a
View Property but on LongItemClickEvent its named V and on ClickItemEvent it
is called View. Maybe there is a reason for this and I did not recognized.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/API-inconsistency-on-ListView-longClick-and-click-EventArgs-tp5659603p5659603.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] API inconsistency on ListView longClick and click EventArgs

2012-04-24 Thread Jonathan Pryor
On Apr 23, 2012, at 10:52 AM, tequila slammer wrote:
> I have noticed that there is an inconsistency between the 
> View.LongItemClickEventArgs and the View.ItemClickEventArgs. Both have a View 
> Property but on LongItemClickEvent its named V and on ClickItemEvent it is 
> called View. Maybe there is a reason for this and I did not recognized.

There's a "reason"...it's just not a particularly good one. ;-)

Most of Mono.Android.dll is generated from an API description of android..jar:

http://docs.xamarin.com/android/tutorials/Binding_a_Java_Library_(.jar)

Events are also generated:


http://docs.xamarin.com/android/advanced_topics/api_design#Events_and_Listeners

The event generation logic turns event listener method parameters into 
properties on an EventArgs subclass; the AdpaterView.OnItemClickListener 
interface:


http://developer.android.com/reference/android/widget/AdapterView.OnItemClickListener.html

generates the AdapterView.ItemClickEventArgs type:


http://androidapi.xamarin.com/?link=T%3aAndroid.Widget.AdapterView.ItemClickEventArgs%2f*

If you squint at those two pages, you can see that every parameter in the 
AdapterView.OnItemClickListener.onItemClick() method is translated into a 
PascalCased property on the AdapterView.ItemClickEventArgs type.

This brings us to View.OnLongClickListener:


http://developer.android.com/reference/android/view/View.OnLongClickListener.html

For whatever reason, the parameter name is 'v' [0], so we mapped that to a 'V' 
property, as you see. (This is, in fact, erroneous; we should have mapped the 
'v' parameter to the `sender` parameter in the EventHandler, as was done with 
the View.Click event. We'll be fixing this in 4.2.)

 - Jon

[0] Why Google, Why?!

___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


[mono-android] Admob Binding?

2012-04-24 Thread motz
I searched high and low for admob integration with mono for android. I found
Greg's post:
http://www.gregshackles.com/2011/02/using-admob-in-a-monodroid-application/
http://www.gregshackles.com/2011/02/using-admob-in-a-monodroid-application/
, however even the sample does not work anymore. It seems like Admob is now
on v6 and everything out there is only referencing v4.x. Anyone else trying
to do this?

Thanks,
James

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Admob-Binding-tp5663590p5663590.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid


Re: [mono-android] New Binding Generator

2012-04-24 Thread Mark Eaton
Hi

Just wondering if there are any updates on this. My alpha version is still
4.1.

I'm getting the same issue when using the libGoogleAnalytics.jar


Regards

Mark Eaton

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/New-Binding-Generator-tp5623432p5663779.html
Sent from the Mono for Android mailing list archive at Nabble.com.
___
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid