Re: [mono-android] DatePicker missing properties

2012-05-30 Thread Stuart Lodge
Both of those are "*Since: *API Level 11; API Level 11" -  HoneyComb or
later

Try changing your Minimum Android Target to 3.1 or later in the project
properties dialog

Stuart

On 30 May 2012 06:45, pdonovan  wrote:

> I'm trying to implement a simple inline date picker using Mono for Android
> 4.2.2.134493563. However, the Android.Widget.DatePicker class seems to have
> some missing properties. The following code doesn't compile, specifically
> the last 2 lines:
>
> Android.Widget.DatePicker p = new Android.Widget.DatePicker(context);
> p.CalendarViewShown = false;
> p.SpinnersShown = true;
>
> The above properties are mentioned in the online Mono for Android
> documentation here:
>
> http://androidapi.xamarin.com/?link=T%3aAndroid.Widget.DatePicker%2fP
>
> Is there any way I can work around this until this apparent bug is fixed?
>
> Regards,
>
> Paul
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/DatePicker-missing-properties-tp5710096.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
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] Java Bindings Library - error MSB6006: "generator.exe" exited with code -532462766

2012-05-30 Thread Jonathan Pryor
On May 30, 2012, at 2:51 AM, Narayan Sainaney wrote:
> Would appreciate any info on what might be wrong.

Part of the build output will be a obj\Debug\api.xml file. Can you attach that?

The code generator is crashing when attempting to translate some Java generics 
constructs, probably in a type name that contains a '<' but not a '>' (which 
wouldn't be a valid type name). Either there's a bug in our .jar parser 
(generating bad type names), or you're using a Metadata file to alter a type 
name (and forgetting a '>'), or "something else" is going wrong. The api.xml 
file should narrow things down.

It would be also helpful to know if you're using any Metadata transformations:


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

Thanks,
 - Jon

___
Monodroid mailing list
Monodroid@lists.ximian.com

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


Re: [mono-android] DatePicker missing properties

2012-05-30 Thread pdonovan
Thank you. I had my main project configured correctly, but had failed to
check the project that was actually trying to use the DatePicker. It had
Build -> General -> Target Framework still set to 2.1. Changing that to 3.1
made it compile. I still don't get any autocomplete for those properties
though.

Paul


--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/DatePicker-missing-properties-tp5710096p5710102.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] Build/Clean issue since 4.2 when making just code changes

2012-05-30 Thread emalamisura
I've noticed something kind of close where Intellisense doesn't seem to be
working correctly.  Visual Studio actually thinks that parts of the
application are missing, it builds just fine but it will show you tons of
errors.  When you debug it will say "Class Uknown" when in fact it does
exist, the Find Symbol doesn't work properly, in fact Visual Studio will
actually try to get you to create the class that does in fact exist but for
whatever reason it thinks it doesn't...Like I said, it builds and runs fine
but this is just insanely annoying.

You can't use the debugger, you can't do Find Symbol anymore, this needs to
be fixed as a high priority item.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Build-Clean-issue-since-4-2-when-making-just-code-changes-tp5710027p5710103.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] 4.2.1 issues

2012-05-30 Thread emalamisura
Same reference/Intellisense issues, it also affects the debugger and won't
let you analyze anything since it hints it doesn't exist. I submitted this
bug as a private bug since I took a screenshot of my source code, this is
probably the biggest show stopper ive encountered thus far in all Mono
Android releases, luckily you can use MonoDevelop just fine and it works
great aside from occasional crash...

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/4-2-1-issues-tp5709753p5710104.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] DatePicker missing properties

2012-05-30 Thread Stuart Lodge
I get autocomplete in vs2010, but only after shutting and reopening the
project

Stuart

On Thursday, 31 May 2012, pdonovan wrote:

> Thank you. I had my main project configured correctly, but had failed to
> check the project that was actually trying to use the DatePicker. It had
> Build -> General -> Target Framework still set to 2.1. Changing that to 3.1
> made it compile. I still don't get any autocomplete for those properties
> though.
>
> Paul
>
>
> --
> View this message in context:
> http://mono-for-android.1047100.n5.nabble.com/DatePicker-missing-properties-tp5710096p5710102.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
>
>
___
Monodroid mailing list
Monodroid@lists.ximian.com

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