Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

We have a version 12 application that we would like to provide the ability to use in a disconnected state. We did this in Version 7 using Mobilink and Ultralite. Our application was written in Java and ran on a Windows based laptop. The thing worked awesome. Now that we have moved to version 12, most of our users just use the broswer based version of the application but we are starting to get inundated for requests for an Iphone / Android app. Now I know if we developed one for an Iphone, 97% of the users would ask if it worked on an Android and vice versa so my question is .... What is the best route to go when developing an Ultralite app that must be run on multiple platforms? What development environment and language? I am trying to get something that does not require 3 sets of source code but if that's the only way I'll do it.

Thanks!!!!!!

asked 26 Sep '11, 14:09

Codecranker's gravatar image

Codecranker
506283238
accept rate: 20%

retagged 26 Sep '11, 14:24

PhilippeBertrand%20_SAP_'s gravatar image

PhilippeBert...
1.8k42139


Given that you have already a working UltraLite-MobiLink solution from which to work from, you should continue along that line.

Many changes have occurred with the APIs available for UltraLite since version 7. The C version of UltraLite has changed significantly but now has a API for iPhone. The java version you knew no longer exists. A new java API (UltraLiteJ) targets the BlackBerry and Android but also has a desktop version.

I wish I could say one data access works for all but due to the different development environments (Objective C for iPhone, Java for BlackBerry and Android), one code base isn't going to do it. Then again, the GUI for these are completely different so you would probably want to right different apps anyway.

The good news is that they (UltraLite, UltraLiteJ) support the same DDL and SQL (with only minor difference) and they all can communicate to the same MobiLink server!

Note on Android: although Android uses the UltraLiteJ API, it actually uses the underlying UltraLite C runtime so the database and SQL supported are identical to the iPhone.

permanent link

answered 26 Sep '11, 14:23

PhilippeBertrand%20_SAP_'s gravatar image

PhilippeBert...
1.8k42139
accept rate: 22%

edited 26 Sep '11, 15:37

Thank you very much for this concise answer! Is there any tutorial or sample code for writing the Android version? That would be the one that I would want to tackle first. What is the preferred IDE for Android development?

Thanks

(26 Sep '11, 15:27) Codecranker

Android development requires the Eclipse-based Android SDK available here. We have a tutorial in the docs and I've posted a blog post here.

On the broader question of cross-platform development - we'd all love it, but the devices don't really permit it right now.

permanent link

answered 26 Sep '11, 16:20

Tom%20Slee's gravatar image

Tom Slee
1.3k21629
accept rate: 29%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×162
×79
×72
×20

question asked: 26 Sep '11, 14:09

question was seen: 5,754 times

last updated: 26 Sep '11, 16:31