This is mostly for Kermit I suppose, but anyone may certainly jump in.
A friend of mine has expressed interest in doing some Android development -- mostly for personal consumption, not for sale on the Market. Naturally I proposed NetRexx, and with a bit of urging and a few URLs he warmed to the concept. "Anything that's Java-but-easier is fine with me," says he. So now he's stalled because he would like to see some example sources -- even a "Hello, World" would suffice, but a "Press me"/"You pressed me!" app would be even better. I'm unable to help further because, although I have all the tools ready I've not written a single byte of NetRexx Android code. Here we have the perfect setup: a person with absolutely no NetRexx experience (he'd never heard of any Rexx until I mentioned it), a willingness to learn/try NetRexx, interest in Android development, and a desire to move forward for some hands-on experimentation -- stalled, as I say, for lack of examples. Can anyone help here? TIA, Tom. _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Hi Tom -
I have just posted the live HTML slide from my Aruba Symposium presentation on my web site: http://kermitkiser.com/NetRexx/Aruba2011/Creating%20Android%20Applications%20with%20NetRexx.html The page includes links to the "Hello World" sample code generated by the "new_project" macro as well as a copy of the enhanced button press version with comments added and a zip of the whole project. Here is the commented code: package com.andrexx.hellorexxla import android.app.Activity import android.os.Bundle import android.widget. import android.view. class helloRexxLA extends Activity implements View.onClickListener tv = TextView -- make a link for our text /** Called when the activity is first created. */ method onCreate(savedInstanceState=Bundle ) super.onCreate(savedInstanceState) tv = TextView(this) -- create a text field tv.setText("Android program written in NetRexx for RexxLA Symposium 2011") -- add some text tv.setTextSize(1,25.0) -- upsize the text nb=android.widget.Button(this) -- create a button nb.setText("press me") -- add some text to the button nb.setOnClickListener(this) -- add a listener method to the button (requires implements View.onClickListener and onClick method) mylayout=LinearLayout(this) -- create a graphical object container (called a layout in Android terms - these are normally defined using XML, see main.xml in res\layout dir) mylayout.addView(nb) -- add our button to the layout mylayout.addView(tv) -- add our text field to the layout setContentView(mylayout) -- display the layout on the screen method onClick(v=View) -- this method will be called when the button is clicked, v is the button (all Android graphical objects descend from View) tv.setText("You clicked me!") -- change the text in our text field Keep in mind that real Android applications mostly define the GUI layout using XML code even though you can do it in NetRexx code as shown above. The symposium presentation omitted an important piece - there is a macro "start_debug_monitor" which starts an application which allows you to view the system log on an Android device or emulator. It can be used to view debug or trace output from the applications while they are running. -- Kermit On 12/13/2011 11:20 AM, Tom Maynard wrote: > This is mostly for Kermit I suppose, but anyone may certainly jump in. > > A friend of mine has expressed interest in doing some Android > development -- mostly for personal consumption, not for sale on the > Market. Naturally I proposed NetRexx, and with a bit of urging and a > few URLs he warmed to the concept. "Anything that's Java-but-easier > is fine with me," says he. > > So now he's stalled because he would like to see some example sources > -- even a "Hello, World" would suffice, but a "Press me"/"You pressed > me!" app would be even better. I'm unable to help further because, > although I have all the tools ready I've not written a single byte of > NetRexx Android code. > > Here we have the perfect setup: a person with absolutely no NetRexx > experience (he'd never heard of any Rexx until I mentioned it), a > willingness to learn/try NetRexx, interest in Android development, and > a desire to move forward for some hands-on experimentation -- stalled, > as I say, for lack of examples. > > Can anyone help here? > > TIA, > Tom. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
On 12/13/2011 6:38 PM, Kermit Kiser wrote:
> > I have just posted the live HTML slide from my Aruba Symposium > presentation on my web site: > Thanks a million, Kermit! That is precisely what was needed ... not only for my friend in particular, but for newcomers in general. If more people can see Android development "without Java pain" it could do wonders to popularize NetRexx. Again, thanks. Tom. _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Tom Maynard
Quick and Dirty Video using Eclipse and NetRexx Plugin.
http://my.opera.com/monroe/blog/2011/12/14/netrexx-for-android-develoment Not pro at all. On 12/13/2011 02:20 PM, Tom Maynard wrote: > This is mostly for Kermit I suppose, but anyone may certainly jump in. > > A friend of mine has expressed interest in doing some Android > development -- mostly for personal consumption, not for sale on the > Market. Naturally I proposed NetRexx, and with a bit of urging and a > few URLs he warmed to the concept. "Anything that's Java-but-easier > is fine with me," says he. > > So now he's stalled because he would like to see some example sources > -- even a "Hello, World" would suffice, but a "Press me"/"You pressed > me!" app would be even better. I'm unable to help further because, > although I have all the tools ready I've not written a single byte of > NetRexx Android code. > > Here we have the perfect setup: a person with absolutely no NetRexx > experience (he'd never heard of any Rexx until I mentioned it), a > willingness to learn/try NetRexx, interest in Android development, and > a desire to move forward for some hands-on experimentation -- stalled, > as I say, for lack of examples. > > Can anyone help here? > > TIA, > Tom. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Fixed Name and Extension to auto play in Firefox
http://my.opera.com/monroe/blog/2011/12/14/netrexx-for-android-develoment _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Jason,
Really Nice Job!! Thanks for your efforts in putting this together. Bill On 12/13/2011 9:08 PM, Jason Monroe Martin wrote: > Fixed Name and Extension to auto play in Firefox > > http://my.opera.com/monroe/blog/2011/12/14/netrexx-for-android-develoment > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > > > ----- > No virus found in this message. > Checked by AVG - www.avg.com > Version: 2012.0.1873 / Virus Database: 2108/4679 - Release Date: 12/13/11 > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Jason Monroe Martin
On 12/13/2011 8:08 PM, Jason Monroe Martin wrote:
> Fixed Name and Extension to auto play in Firefox > No audio? No problem! Yet another terrific intro to Android dev via NetRexx ... another million thanks go out to Jazon. Who could ask for more? Why, ME! Of course. Keep 'em coming, folks! The whole world needs more stuff like Kermit and Jason have offered up. Do you realize the size of the Android Market? And the potential contribution that NetRexx could make in that space? It just boggles. Who will be next to step up? My undying thanks to all. (Which is the rather small subset of Kermit/Jason so far.) Tom. P.S. I might actually have to give this Android stuff a shot on my own -- I do have a phone and tablet, after all. The tablet (at least) is expendable -- for newbie crash-ola coding attempts. I probably need my phone <g>. _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
You would really have to be good or horribly bad to crash the device
with Kermit' s Android NetRexx IDE or Eclipse. . On 12/13/2011 10:14 PM, Tom Maynard wrote: > On 12/13/2011 8:08 PM, Jason Monroe Martin wrote: >> Fixed Name and Extension to auto play in Firefox >> > > No audio? No problem! Yet another terrific intro to Android dev via > NetRexx ... another million thanks go out to Jazon. Who could ask for > more? > > Why, ME! Of course. Keep 'em coming, folks! The whole world needs > more stuff like Kermit and Jason have offered up. Do you realize the > size of the Android Market? And the potential contribution that > NetRexx could make in that space? It just boggles. > > Who will be next to step up? > > My undying thanks to all. (Which is the rather small subset of > Kermit/Jason so far.) > Tom. > > P.S. I might actually have to give this Android stuff a shot on my own > -- I do have a phone and tablet, after all. The tablet (at least) is > expendable -- for newbie crash-ola coding attempts. I probably need > my phone <g>. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
On 12/13/2011 9:23 PM, Jason Monroe Martin wrote:
> Jazon Did I actually type that?! I mean, the S and Z keys may be on the same hand, but certainly not the same finger (and I know which one I deserve!). I apologize, and hadn't even realized that mistake until I saw it come back to haunt me. Zorry! My apologise! Onze again. Tom. (Or is that "Zom?") _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
In reply to this post by Tom Maynard
Coincidentally, just a few hours ago I received the following from a
fellow member of the NC Research Triangle Android MeetUp group http://www.meetup.com/TriDroid/ . Perhaps his QuickStart guide can be helpful: On 12/13/11 04:45 Ed Burnette said: > I could use a fresh set of eyes on a draft QuickStart chapter for > the next version of Hello, Android. You can find it here > temporarily: > > http://edburnette.com/temp/QuickStart_3e_p8_tridroid.pdf > > If a couple people could walk through the steps in the chapter and > let me know if you encounter any problems, it would be very > helpful. Especially if you're new to Android. -Chip- On 12/13/11 19:20 Tom Maynard said: > This is mostly for Kermit I suppose, but anyone may certainly jump in. > > A friend of mine has expressed interest in doing some Android > development -- mostly for personal consumption, not for sale on the > Market. Naturally I proposed NetRexx, and with a bit of urging and a > few URLs he warmed to the concept. "Anything that's Java-but-easier is > fine with me," says he. > > So now he's stalled because he would like to see some example sources -- > even a "Hello, World" would suffice, but a "Press me"/"You pressed me!" > app would be even better. I'm unable to help further because, although > I have all the tools ready I've not written a single byte of NetRexx > Android code. > > Here we have the perfect setup: a person with absolutely no NetRexx > experience (he'd never heard of any Rexx until I mentioned it), a > willingness to learn/try NetRexx, interest in Android development, and a > desire to move forward for some hands-on experimentation -- stalled, as > I say, for lack of examples. > > Can anyone help here? > > TIA, > Tom. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
For the Author of that book :
1) Long Standing Issue : Android only does . in Numeric Fields even if Locale supports , 2) Long Standing Issue : Class files can only be 64k. (Do not try to create variables with a million entries) 3) TabHost will cause null exception in Eclipse designer using lower than SDK 2.something the other 4) Place methods outside the onClick callback in android.content.DialogInterface.OnClickListener and maybe some other callbacks. 5) Do not do translations until App is competely ready and tested. 6) To Translate the use the full strings.xml in res/values with Google Translate at http://translate.google.com/ and do 'translate a document' then open second tab and Translate back. In some Locales, sentences may turn out the total opposite of what you mean. 7) SQLite mades a good mate to NetRexx because it stores all types as string anyway. 8) A simple android.widget.ViewSwitcher example would be nice. I started a book but it might be a long time. I would rather see NetRexx move quickly along. On 12/14/2011 12:22 AM, Chip Davis wrote: > Coincidentally, just a few hours ago I received the following from a > fellow member of the NC Research Triangle Android MeetUp group > http://www.meetup.com/TriDroid/ . Perhaps his QuickStart guide can be > helpful: > > On 12/13/11 04:45 Ed Burnette said: > > I could use a fresh set of eyes on a draft QuickStart chapter for > > the next version of Hello, Android. You can find it here > > temporarily: > > > > http://edburnette.com/temp/QuickStart_3e_p8_tridroid.pdf > > > > If a couple people could walk through the steps in the chapter and > > let me know if you encounter any problems, it would be very > > helpful. Especially if you're new to Android. > > -Chip- > > On 12/13/11 19:20 Tom Maynard said: >> This is mostly for Kermit I suppose, but anyone may certainly jump in. >> >> A friend of mine has expressed interest in doing some Android >> development -- mostly for personal consumption, not for sale on the >> Market. Naturally I proposed NetRexx, and with a bit of urging and a >> few URLs he warmed to the concept. "Anything that's Java-but-easier >> is fine with me," says he. >> >> So now he's stalled because he would like to see some example sources >> -- even a "Hello, World" would suffice, but a "Press me"/"You pressed >> me!" app would be even better. I'm unable to help further because, >> although I have all the tools ready I've not written a single byte of >> NetRexx Android code. >> >> Here we have the perfect setup: a person with absolutely no NetRexx >> experience (he'd never heard of any Rexx until I mentioned it), a >> willingness to learn/try NetRexx, interest in Android development, >> and a desire to move forward for some hands-on experimentation -- >> stalled, as I say, for lack of examples. >> >> Can anyone help here? >> >> TIA, >> Tom. >> >> _______________________________________________ >> Ibm-netrexx mailing list >> [hidden email] >> Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ >> >> > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ |
Free forum by Nabble | Edit this page |