[mono-android] Is it possible to access custom controls outside application bounds?

Renato Degelo rdegelo at gmail.com
Fri Jun 29 11:58:50 UTC 2012


Thanks Jonathan...

Unfortunately both projects are applications, so i decided copy the
components to each application... Thats sux, because when i update the
component, ill have to recompile every app.

Jonathan, you said that i could place components in libraries...  How it
works with resources? Can i place resources in a library? If so, how
compiler will generate the ids for it?

Thanks

2012/6/28 Jonathan Pryor-2 [via Mono for Android] <
ml-node+s1047100n5710669h54 at n5.nabble.com>

> On Jun 27, 2012, at 3:55 PM, Renato Degelo wrote:
> > Hail, im working on two different monodroid projects and i want access a
> custom control in Project A from Project B.
> > Is it possible?
>
> If they're in the same Solution, edit Project A and add Project B as a
> project reference.
>
> If they're not in the same Solution, you should be able to copy
> ProjectB.dll "somewhere" and reference the assembly within Project A.
>
> However, if Project A and Project B are Applications, and not Libraries,
> things get more complicated (because of Android Resources/etc.). If this is
> the case, the simple answer is "no, that's not (easily) possible."
>
>  - Jon
>
> _______________________________________________
> Monodroid mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=5710669&i=0>
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://mono-for-android.1047100.n5.nabble.com/Is-it-possible-to-access-custom-controls-outside-application-bounds-tp5710627p5710669.html
>  To start a new topic under Mono for Android, email
> ml-node+s1047100n4298622h97 at n5.nabble.com
> To unsubscribe from Mono for Android, click here<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4298622&code=cmRlZ2Vsb0BnbWFpbC5jb218NDI5ODYyMnwtOTAyODI0Mjk3>
> .
> NAML<http://mono-for-android.1047100.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: http://mono-for-android.1047100.n5.nabble.com/Is-it-possible-to-access-custom-controls-outside-application-bounds-tp5710627p5710678.html
Sent from the Mono for Android mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120629/2764970d/attachment-0001.html>


More information about the Monodroid mailing list