comp.lang.ada
 help / color / mirror / Atom feed
From: onox <denkpadje@gmail.com>
Subject: Re: Ada on Android?
Date: Mon, 5 Sep 2011 13:15:52 -0700 (PDT)
Date: 2011-09-05T13:15:52-07:00	[thread overview]
Message-ID: <657d70d1-2df5-4436-a44c-c97228daff27@l4g2000vbv.googlegroups.com> (raw)
In-Reply-To: 82zkiihpjo.fsf@stephe-leake.org

On Sep 5, 7:22 pm, Stephen Leake <stephen_le...@stephe-leake.org>
wrote:
> 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

You might be interested in checking the GNATDroid (Android 2.3+) cross-
compiler for FreeBSD at http://www.dragonlace.net/



  reply	other threads:[~2011-09-05 20:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-05 17:22 Ada on Android? Stephen Leake
2011-09-05 20:15 ` onox [this message]
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