Messaging in Codenameone

26 views
Skip to first unread message

sam.in...@gmail.com

unread,
Jul 30, 2013, 7:36:14 AM7/30/13
to codenameone...@googlegroups.com
Hi all,

Codenameone uses the principle of "Code Once and run every where" but i am curious that how it provides messaging between objects.

for e.g. i have this scenario.

i will use Codenameone to develop my business logic and have native UI's  (iPhone, Android and windows phone and desktop) how shall i communicate with the object in native language with the business layer which is in Codenameone

Shai Almog

unread,
Jul 30, 2013, 2:37:22 PM7/30/13
to codenameone...@googlegroups.com, sam.in...@gmail.com
Hi,
we don't use native widgets for our UI by default except for things such as input, web and video. So you code in pure Java all the way through.

If you want to invoke native code just use the native interfaces (see the developer guide) where you can define an interface with several constraints and invoke native code directly (we will generate native stubs for you).

Reply all
Reply to author
Forward
0 new messages