We have new sample code including
a game - Samurai Kitchen
and a list control (lua based)
plus others…
http://developer.anscamobile.com/content/additional-samples
Carlos [import]uid: 24 topic_id: 844 reply_id: 300844[/import]
We have new sample code including
a game - Samurai Kitchen
and a list control (lua based)
plus others…
http://developer.anscamobile.com/content/additional-samples
Carlos [import]uid: 24 topic_id: 844 reply_id: 300844[/import]
Thank you! [import]uid: 5712 topic_id: 844 reply_id: 1856[/import]
More on the way
Carlos [import]uid: 24 topic_id: 844 reply_id: 1857[/import]
Very good sample code.
I have already done a tableView library to handle native UI tableViewList by using LUA which the ability to auto-size for iPad, iPhone and also it works on Android. So, Android apps produced with CORONA can have the same look and feel of iPhone style list!
Carlos, you think you can also share it here? it’s more compacted and support images files as icon on list, as header and footer bars on the top of the list. I am still working on the listener of each cell but definetly I think my library is auto-contained so main.lua file is very simple to use TableView List.
I will make a video on youtube to show you the functionality. Also, you can improve the LUA code as you wish.
Let me know if you are interested on that and where I must send the code, video or images.
Regards,
Flavio. [import]uid: 3022 topic_id: 844 reply_id: 1867[/import]
I’d really be interested in seeing this if it’s closer to the native iPhone functionality. [import]uid: 3018 topic_id: 844 reply_id: 1870[/import]
Flavio, if you want me to post it on the sample section, send me a zip file containing all elements. If you also want to send me the video, great, we can post it on the You Tube anscamobile channel
Thanks
Carlos [import]uid: 24 topic_id: 844 reply_id: 1872[/import]
Carlos I am sending an email with zip file.
Please take note that it still in development but I guess community or CORONA staff can improve the code, so the only thing behind this sharing is to improve the code and share.
Flavio. [import]uid: 3022 topic_id: 844 reply_id: 1873[/import]
Got it, thank you. Will look at it when I get in front of a mac and will upload later to the sample code.
Thanks again
Carlos [import]uid: 24 topic_id: 844 reply_id: 1877[/import]
Thanks Carlos!
I hope community improve or extend this library to simulate native UI behaviour in LUA CORONA produced apps. But as I see during my test it is possible to build such lib with a few tricks in mind.
My idea is to avoid as much as we can, to load png images for buttons. I prefer to use newRect or new RoundedRect to build scalable buttons, also with gradients colors or shine effect.
Of course it always takes time to put everything we want to have in libraries of this type, but that’s the force of community.
Flavio-
fpassa@gmail.com [import]uid: 3022 topic_id: 844 reply_id: 1903[/import]
I will clean up the code a bit and posted later.
Carlos [import]uid: 24 topic_id: 844 reply_id: 1904[/import]
Carlos,
Any progress on posting Flavio’s TableView sample code?
Would it be possible to have a file area on this forum for sharing code?
Tom [import]uid: 6119 topic_id: 844 reply_id: 2414[/import]
Sample code can be posted to http://developer.anscamobile.com/forums/sample-code [import]uid: 54 topic_id: 844 reply_id: 2415[/import]
Eric,
I was talking about a place to upload/download sample code files and not just cut and paste code into a forum post. This would allow sharing larger projects that may include multiple files.
Tom [import]uid: 6119 topic_id: 844 reply_id: 2424[/import]
Hi Tom,
That’s a great idea. I like the way jQuery does it with their plugins. Users can login, post and download code, and give ratings. Take a look: http://plugins.jquery.com/project/Plugins
-Gilbert [import]uid: 5917 topic_id: 844 reply_id: 2428[/import]
Gilbert,
Any update on the “plugin” upload/download area? This is a great idea! It would also be really nice to have some Corona modules similar to the jQuery UI widgets/effects like a slider, calendar, tabs, scale, slide, highlight, etc.
Dave [import]uid: 8194 topic_id: 844 reply_id: 5156[/import]