comp.lang.ada
 help / color / mirror / Atom feed
* Ada on Android?
@ 2011-09-05 17:22 Stephen Leake
  2011-09-05 20:15 ` onox
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Leake @ 2011-09-05 17:22 UTC (permalink / 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-09-10 17:38 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-05 17:22 Ada on Android? Stephen Leake
2011-09-05 20:15 ` 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

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