From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,5059e1c3870d4dc8,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Ada on Android? Date: Mon, 05 Sep 2011 13:22:51 -0400 Message-ID: <82zkiihpjo.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) Cancel-Lock: sha1:KGBZ5bT6w6Tk9BEumhjfwRuzYSI= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: dd3e64e65056de029e66132724 Xref: g2news2.google.com comp.lang.ada:21821 Date: 2011-09-05T13:22:51-04:00 List-Id: 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