ERROR:::
java code:
|
jConnect is not supported on Android (or other mobile JVMs). It is designed for J2SE and most mobile JVMs are not compatible with J2SE. Options are to use MobiLink to synchronize data to an UltraLite database as a remote database or use OData to serve data to Android. |
as i remenber only versions 12 and 15 have mobilink and ultralite.. still using java , windoze M$ users have now a pain .. maybe u must use ODBC over androit , due androit its basically linux, compile and make it aand apk with freedts included in this way u apport to the freedts opensource, and let it go the stupid java tecnology, use gambas maybe or qt While I can't comment on the rest of your recommendations, there is no SQL Anywhere version 15, and certainly v16 and above do contain the MobiLink and Ultralite components...
(11 Jan '17, 09:31)
Volker Barth
i installed the anywhwre just for check, and mobilink plugin connection does not appears! only appears for sql anywhere 12.0.1 maybe u have a paid version?
(11 Jan '17, 10:59)
mckaygerhard
You are probably trolling the community, if you do not understand the difference between Dalvik, ART and HotSpot, this forum is not a right place to argue why another "stupid java tecnology" doesn't work on "androit - basically linux". My life is to short to feed you. Sorry.
(11 Jan '17, 12:13)
Vlad
Replies hidden
@Vlad stop calling me troll, i used sql anywhere and dont see the Qmobilink plugin connector, i only see in the 15 and 12, i have all the version since conmverted to java based gui and sybase separates from M$ so i already know whats i taking about! thins like "LIMIT" many users said "that not true" but the real its that they're ignores how to made it!
(12 Jan '17, 13:51)
mckaygerhard
FWIW, here's my v17 SQL Central plugin overview. It's from a paid version, and I have not installed all components, but the dev edition should include that, as well, so MobiLink and UltraLite definetely are supported with v17:
(13 Jan '17, 02:33)
Volker Barth
i'm afraid that the developed version dont include that u point, i download the development editio0n and i not have it in any case, some weeks ago i read in documentation that sybase since 16 comes separately their components... well in any case, about the androit problem, the best solution its ODBC (well JDBC i dont know if work), currently i'm comtribute in freedts around nvarchar and nchar support and the connection protocol for sybase must be 5
(13 Jan '17, 08:52)
mckaygerhard
These components are plugins and can be loaded and/or registered from the Tools| Plugins menu. If the plugin is not loaded, you can manually Load it. If it is not listed, it has not been registered. Click Register, select the registration file option, and go to the %SQLANY17%\java directory. There will be 3 options (MobiLink, SQLAnywhere, and UltraLite) assuming that you installed the associated component.
(16 Jan '17, 09:20)
Chris Keating
i research and i not have any plugin, only those, in lib directory only have the share libs .so files, no jars, and in bin32 (i used 32bit flavor) obviously only have the binaryes to lauch..
(16 Jan '17, 09:55)
mckaygerhard
More comments hidden
|
I don't know the answer, but I doubt that it is a good idea to connect to a real DB over the network using JDBC - please read why: http://stackoverflow.com/a/7221716 .
What you can try to do is to use the latest version of jConnect (not the 3rd version, but 4th), but again, I do not like the way you chose.
The solution is already described on SO, but I will repeat it - use the web service (SA can create OData services for you), or MobiLink to replicate required records to your device.
Hi Vlad, your stackoverflow link brought me to "page not found". Cheers, Volker
It is because, the 'dot' was captured by the markup processor. Here is the correct link:
http://stackoverflow.com/a/7221716