comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Ada on Android?
Date: Mon, 05 Sep 2011 13:22:51 -0400
Date: 2011-09-05T13:22:51-04:00	[thread overview]
Message-ID: <82zkiihpjo.fsf@stephe-leake.org> (raw)

I managed to modify an open source music player written in Java to do
what I want on my new Android.

Now I want to make it even better, but I'm already tired of saying "I
wish this was in Ada!".

So I install GNAT GPL 2011 for jvm target, and ran jvm2ada on
android.jar (which generated about 2,900 files!, after some hiccups).

Then I tried building the Java hello world tutorial translated to Ada.
The compiler reported several bugs in the generated code; some obvious
errors (duplicate identifiers) some apparently compiler bugs. After
finding work-arounds for all of those, I finally hit a bug box that I
don't see how to fix.

I'm doing this at home, so I can't use my work AdaCore support contract
to get help.

Has anyone here done any Ada for Android?

I could compromise and write the GUI and Android API-intensive stuff in
Java and the rest in Ada, but for this program, most of it is GUI or
Android-intensive (there are a _lot_ of very nice facilities in the
Android API). So that would not gain much.

--
-- Stephe



             reply	other threads:[~2011-09-05 17:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05 17:22 Stephen Leake [this message]
2011-09-05 20:15 ` Ada on Android? onox
2011-09-06  1:16   ` Stephen Leake
2011-09-06 10:33     ` Brian Drummond
2011-09-06 12:08       ` jrmarino
2011-09-07 23:09         ` Brian Drummond
2011-09-08  0:15       ` Stephen Leake
2011-09-09 13:16         ` Brian Drummond
2011-09-10 17:38           ` Stephen Leake
2011-09-06 16:54   ` Pascal Obry
2011-09-06 18:11     ` jrmarino
2011-09-08  0:18       ` Stephen Leake
2011-09-08  5:51         ` jrmarino
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox