AndroidX native library support in codenameone - codenameone

We have a third party native SDK that is done in AndroidX, to which extent we can use it in codenameone, and what is the roadmap of AndroidX integration codenamone.
Many thanks for your prompt response, we have some decisions to make.

I moved the task for AndroidX support to the 7.0 timeframe. Initially we hoped to get 7.0 out the door much sooner but since it was delayed it makes sense to do that task now.
Some developers were able to get AndroidX libraries working with some creative build hints but I can't find their posts at the moment.

Thank you a lot Shai,
We also have been able to get it work but by modifying the config of the Android studio project.
Can you confirm, the other developpers did on the CN1 build hint ?
Thanks a lot

Related

Google Eclipse Plugin is Gone?

This morning, I tried to get a coop student up and running on an older version of the Google App Engine for Eclipse plugin.
The following website and all related links appear to have been wiped off the face of the earth:
https://developers.google.com/eclipse/
Is this just down at the moment?
Is it possible to get older versions of the plugin?
While it is correct that the Google Plugin for Eclipse has been removed from Google's documentation, it is still available.
To install it, in Eclipse Neon, click "Install new Software" and add in this URL.
http://dl.google.com/eclipse/plugin/4.6
Next, click through the dialogues to allow the installation, and restart Eclipse.
While Google has chosen to stop supporting this, I personally feel that the new Cloud Tools for Eclipse plugin is just not ready. Also, in the early days, JDO was what many people were using on top of the data layer, and since GAE has been around for 10+ years, many of us have a lot of infrastructure built on top of this that is costly to change. While it's still possible, in theory, to run the DataNucleus enhancer manually, it's a huge pain that requires in-depth knowledge of the inner workings of GAE and DataNucleus and knowledge of which dependencies go together. It may have been well-documented in the past, but today it is not.
But be warned, one of our engineers recently lost the ability to deploy the project to Google App Engine using the GPE and was forced to use the gcloud tool, which doesn't seem to have sensible defaults, like deploying to a non-default version and instead will deploy straight to default, well, by default. So we're writing a script around that command that will pass in --no-promote so it doesn't immediately start migrating traffic... Visit the gcloud reference for app deploy for more details. Good luck!
For more information on the install process, please see How to install Google Plugin for Eclipse on mkyong.com.
GPE is indeed gone. It was not up to date and many parts of it no longer functioned. Over the coming year, even more core functionality was going to break. We wouldn't be doing anyone any favors by letting them invest their time in a broken tool. This is doubly true for new users such as your students. There are some old GPE snapshots floating around here and there, but those don't really work with GCP in 2018.
That official documentation is most likely gone for good, the plugin was deprecated in favour of the Google Cloud Tools for Eclipse. From Migrating from the Google Plugin for Eclipse:
The Google Plugin for Eclipse is deprecated and will not be supported
beyond Eclipse 4.6 (Neon). It will be removed in early 2018.
This document describes how to migrate a project that uses the Google
Plugin for Eclipse to the supported tooling.
You can check the snapshots of the docs on the Wayback Machine, and maybe still find the matching code repositories, if they haven't been removed as well.
But it's probably a good idea to switch to the supported tools sooner than later, especially since they're just getting started.
Related: Migrating GAE project to Java 8 - get XML validation error after adding runtime property to appengine-web.xml

Codename one methods not available on android device

The methods that are missing from the apk file are
BorderLayout.centerEastWest()
Dialog constructor with (String, Layout) as arguments.
There are probably more but these are the ones I encountered. I can work around the problem by using alternate methods and constructor but there seems to be a mismatch between the local library and the android build library.
Please note that when building the project I had to use the android.gradle=false hint for the apk to be readable on my older android 2.3.6 device. Without this hint the apk is not accepted on the device.
In addition the theme resource file is not loaded on the device while it is in the simulator. All these problems might be related ?
Thanks for your help
New features are no longer added to the old Ant build pipeline as maintaining it has become unwieldy since Google no longer supports proper versions of play services or other features we need.
We still have it for compatibility for people who built old applications with it but it's version of the Codename one libraries is frozen in time as newer versions of the libraries will break it. Google killed support forthe 2.x device family ages ago in play services so basic things like in-app purchase or proper location API's can't work on those old devices. The problem is that supporting them would make support for newer features MUCH harder.
I've edited the docs to reflect that this flag is deprecated.

Does silverlight really solve browser compatibility issues?

I'm planning web application and considering silverlight as development platform. Will it help to solve browser compatibility issues? The app intended to be used on desktops only (no mobile).
Yes, it will solve browser compatibility issues, and could work on both Mac OS and Windows with the very same code.
The only drawback is that, the first time your user connect to your application, he will need to download the Silverlight plugin.
Awesome you would say? Well, unfortunately some people that probably never try to do something like image processing or advanced line of business application in a browser decide that plugins are not so cool and that you would be able to do the same thing with the magic power of HTML5.
We are still waiting to have the same possibility in HTML5 that we have in Silverlight or Flash, but plugins are already dead. At least as long as no big compay want to push them again.
So, my advice would be: don't start a project in Silverlight. You will have problems, even if you do not target mobile. For example it becomes harder and harder to find compatible good tools (like ReSharper, NCrunch, or even just a decent unit testing library). And in further release of Windows and Mac OS, it will probably not be supported at all (IE for Windows RT already does not support Silverlight).
Sorry man, Silverlight is dead, you arrive after the battle.
If your developing your application for an Intranet, I would say Silverlight is an excellent choice.
If you are developing for the Internet, use an HTML based language

can database engine be included in eclipse plugin?

I am new to Eclipse plugin development. I am working to develop a plugin that needs to store large amount of data, as well as search and retrieve from them. I am wondering, if I can use a database for this having plugin dependency. Is there any database engine that comes as Eclipse plugin? I was looking at Apache Derby, but quite unsure about the possibility.
Please suggest.
I have been happily using Derby's Eclipse plug-in for data storage and retrieval. There is a good step-by-step tutorial that assumes very little prior knowledge. Follow these installation instructions, and you should be up and running fairly soon.
Once you get it installed in Eclipse, there is additional useful information. Launch Eclipse and bring up the Help for the Derby plug-ins. Help >> Help Contents>> Derby Plug-in User Guide.
For the Eclipse (Rich Client Platform) it does not matter where or how you store data. It is just a framework which helps deliver a rich client interface.
What other functionality will be required by the users of the data? Apart from getting new data in (is client application the right thing fro that anyway). And searching for certain data? If there is a lot of interaction with the data, draw some possible screens, to get an idea about how it should be implemented in eclipse (eclipse plugins).
There are several plug-ins / extensions which can help you getting the data storage functionality implemented.

Fisheye for Winforms

Does anybody if there is a fisheye (menu/pane) windows forms control like it is often seen in Ajax applications:
example: http://interface.eyecon.ro/demos/fisheye.html
A googled around, but I only found this one at codeprojece:
http://www.codeproject.com/KB/menus/FishEyeMenu.aspx
Have you checked out : DotNetBar BubbleBar. It works and looks pretty similar to FishEye.
Also FYI, if you download and register VB Express Edition 2008 (not sure on any other express edition) you get access to download a copy of the bubblebar as a thank you for registering (there is other stuff too). I do not recall the license on it, but I think it was a single install license.
You should try Flash components . I have seen plenty of them on the internet. This is one fo them: http://www.shinedraw.com/animation-effect/flash-and-silverlight-fish-eye-menu/
Even Adobe Flare could help. You might need Adobe Flex builder to create one.

Resources