The missing R class issue is now fixed and will be included in the next build release (4.2.5 or whatever next).

For resource/asset support in non-binding library project, we need more certain amount of work and I can't say when it will be done. But it has been one of our wish list, so please stay tuned :)

Thanks for all those feedback.

Atsushi Eno


craig wrote:
Well, after a difficult learning curve, I believe I have successfully bound
the ActionBarSherlock library in Mono for Android.

Download the demo solution here:
"http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip
http://craigrs84files.appspot.com/android/ActionBarSherlockDemo.zip

Because of limitations with current version of Mono for Android, I had to
build the JAR file with com.actionbarsherlock.R.java included inside of it.
This seems a little hackish to me but it seems to work OK so far.  Initially
I was worried about the IDs becoming out of synch but Android seems to
generate the IDs using a hash algorithm based on the ID's friendly name.  If
it does become a problem though I suppose I could probably implement some
sort of injection code that would transfer/inject the ID values from
Resource.Designer.cs into com.actionbarsherlock.R.java.

Awaiting for improvements from Atsushi and Mono 4 Android team to improve
this process ;).  One thing I would LOVE to see if the ability to create
separate library projects capable of containing resource files similar to
what is now possible in the native java API.

Please open up and see if there is anything in the JAR binding process that
could be improved.  I'm new to the JAR binding process and didn't know
entirely what I was doing.  I did notice that the binding process generated
3 warnings but didn't have any idea how to correct these warnings.

Thanks.

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/ActionBarSherlock-tp5710482p5710791.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

Reply via email to