Using CodenameOne com.codename1.ui.* programmatically instead of LWUIT
116 views
Skip to first unread message
mikko.r...@gmail.com
unread,
Nov 18, 2013, 7:06:48 AM11/18/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com
Hi all,
I have ported my LWUIT JavaME app to CodenameOne about a year ago. The app utilizes programmatically com.codename1.ui.* stuff from CodenameOne svn repository, gui designer or emulator is not utilized. Today I fetched new code from CodenameOne svn repository and noticed that the ui stuff doesn't compile using JavaME SDK anymore. Is there any way to do this? I wouldn't want to port the code manually, use CodenameOne gui designer or emulator or revert back to buggy LWUIT.
Thanks for your comments.
- Mikko
Shai Almog
unread,
Nov 18, 2013, 1:31:40 PM11/18/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.r...@gmail.com
Hi, you don't need to use the GUI builder to use Codename One. In the new project wizard just select the second option for handcoded application when going thru the steps and your code will work with Codename One and its simulator as expected.
We now use Java 5 in Codename One so you need to use retroweaver (in the SVN too) to compile it. I would suggest using our build cloud though, its simple, free and supported.
mikko.r...@gmail.com
unread,
Nov 19, 2013, 3:48:37 AM11/19/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.r...@gmail.com
Hi,
Thank you very much for the information. I tried to compile and setup retroweaver on OS X but it didn't work, it compiled but there was no output at all. Also the original latest retroweaver release binary didn't work, same result. Any ideas?
Thanks once again
- Mikko
Chen Fishbein
unread,
Nov 19, 2013, 4:30:38 AM11/19/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.r...@gmail.com
create a CN1 project in NB or Eclipse create a non gui project paste all your code to the new project and build it using the build server.
mikko.r...@gmail.com
unread,
Nov 20, 2013, 9:40:33 AM11/20/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to codenameone...@googlegroups.com, mikko.r...@gmail.com
Hi,
I went my way and got the retroweaver to work. Anyways, thanks for the info and good stuff ;)
- Mikko
mkv.wo...@gmail.com
unread,
Sep 15, 2016, 2:05:27 PM9/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions, mikko.r...@gmail.com
Sorry for the LATE question. Can you explain the process of building/using RetroWeaver.
I've built RetroWeaver from CodenameOne github repo, but it doesn't seem to work properly. Thank you.
середа, 20 листопада 2013 р. 16:40:33 UTC+2 користувач mikko.r...@gmail.com написав:
Shai Almog
unread,
Sep 16, 2016, 1:35:08 AM9/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions, mikko.r...@gmail.com, mkv.wo...@gmail.com