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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,4cb1f8d1c17d39a8 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.205.116.5 with SMTP id fg5mr877211bkc.3.1319899662871; Sat, 29 Oct 2011 07:47:42 -0700 (PDT) Path: l23ni15926bkv.0!nntp.google.com!news2.google.com!postnews.google.com!d37g2000prg.googlegroups.com!not-for-mail From: Anatoly Chernyshev Newsgroups: comp.lang.ada Subject: Re: Ada 'hello world' for Android; success! Date: Sat, 29 Oct 2011 07:46:43 -0700 (PDT) Organization: http://groups.google.com Message-ID: <5e4cbab8-b375-4995-bf1a-e264b307a279@d37g2000prg.googlegroups.com> References: <8239efcjuw.fsf@stephe-leake.org> <98ca5430-aa52-4e39-b789-70d0dd6adb46@d33g2000prb.googlegroups.com> <824nyrq5p6.fsf@stephe-leake.org> NNTP-Posting-Host: 188.66.212.218 Mime-Version: 1.0 X-Trace: posting.google.com 1319899603 9971 127.0.0.1 (29 Oct 2011 14:46:43 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 29 Oct 2011 14:46:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d37g2000prg.googlegroups.com; posting-host=188.66.212.218; posting-account=g6PEmwoAAADhFsmVm6Epjviaw4MLU0b5 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.23) Gecko/20110920 Firefox/3.6.23 GTB7.1,gzip(gfe) Xref: news2.google.com comp.lang.ada:14233 Content-Type: text/plain; charset=ISO-8859-1 Date: 2011-10-29T07:46:43-07:00 List-Id: Well, I have HTC too, and might be willing to do some programming on it (to have some use of GPS data for instance). But your example above just scares me away. And I'm happy to have no employer to force me digging into this. I will not approach any Android programming in Ada until it gets back to the simplicity of e.g. with Android.total.coverage, text_io; use Android.total.coverage, text_io; procedure Hello is begin Put_Line("Hello, world!"); end Hello; At the moment, I would opt for Python. Here is its version of "Hello, world": import android droid = android.Android() droid.makeToast('Hello, World!') > Anatoly Chernyshev writes: > > Looks like a Pyrrhic victory to me. All elegance of Ada is suddenly > > dissipated. > > I gather you feel that Android is inelegant in some way; can you be more > specific? > > I find my Android PDA to be much more useful than my previous Palm PDA. > And certainly easier to program at this level; there were no open source > tools for the Palm. > > What would be a better platform for PDA applications? > > -- > -- Stephe