This post was updated on .
Hello, everybody.
I'm new in this forum, but I've been using NetRexx for almost 10 years, in traditional JVM. Since I got an Android phone, I'm porting my personnal NetRexx stuff to Android. Almost done, except one thing : I want a pop up window with some text inside. The popup window is triggered via a menu button. (the user hit Android menu key, then press a 'help' button inside the menu) So I wrote something like : ... method onOptionsItemSelected(item = MenuItem) returns boolean s = item.getItemId() select ... when s = HELP_Item then do -- do what ????? -- I want to display a popup window -- from file res/layout/helpfile.xml -- with layout_id = R.id.helpfile -- containing only a TextView with id = R.id.helptxt -- I know I will do somewhere a findViewById(R.id.helpfile), and a findViewById(R.id.helptxt) -- Ok, but then what ??? end ... end ... Any netrexx Android Guru to give a solution ? Edit : The complete project, + snapshots, is hosted at http://www.hhns.fr/netrexx/demo5.zip |
Finally, found it :
method do_hlp d = Dialog(this) d.setContentView(R.layout.helpfile) d.setTitle("No sea sick ? Ok, then :") d.setCancelable(1) d.show() return |
Hello Henri Henault (when my small Brain does serve me right):
Still alive? Has your conversion using Rexx2Nrx to convert your classic Rexx Programs to NetRexx been successful? You didn't reply on my last mails to you personally (years ago!) :-( Thomas Schneider. ===================================================================================== Am 30.01.2012 21:46, schrieb hhenault: > Finally, found it : > > method do_hlp > > d = Dialog(this) > > d.setContentView(R.layout.helpfile) > d.setTitle("No sea sick ? Ok, then :") > d.setCancelable(1) > d.show() > > return > > -- > View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Popup-Window-in-Android-NetRexx-tp3699572p3701207.html > Sent from the ibm-netrexx mailing list archive at Nabble.com. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > -- Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org) _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
Thomas Schneider, Vienna, Austria (Europe) :-)
www.thsitc.com www.db-123.com |
This post was updated on .
Hi thomas
I've been 'out of order' (serious health problems) during monthes. Now, I'm again on the way, I got my first 'real' Android Phone (Galaxy Note: half phone, half tablet) two weeks ago. I prepare myself to dive deeply in those dark waters, Java + Android + NetRexx. You can grab my first NetRexx/android application from the post #1: it may serve as a good example for beginners. Now that I (more or less) understand the Android mechanic, I will work on a project which consist to build automaticaly the layout xml files, which are a punishment for guys like myself, who had been working for years on 3270 terminals, so simple ... Happy to get again in touch with you Regards Henri P.S. : by the way, I always get the mention 'your post has not been accepted ...' What's the normal procedure ? |
Good to hear that you did SURVIVE! :-)
You should directly Contact Kermit Kiser (*or* he might contact you, cc me, please....). He is (as I think) the THINK-TANK for ANDROID applications *written in NetRexx* :-) Henri, I personally do also think you should SUBSCRIBE Project NetRexx on www.kenai.com as a follower... You might also want to look at my projects DB-123, PP, and LOGOS on www.kenai.com maybe your sons might be interested to help me to market those in France? Thomas Schneider. ============================================================================== Am 31.01.2012 14:21, schrieb hhenault: > Hi thomas > > I've been 'out of order' (serious health problems) during monthes. > > Now, I'm again on the way, > > I got my first 'real' Android Phone (Galaxy Note: half phone, half tablet) > two weeks ago. > > I prepare myself to dive deeply in those dark waters, Java + Android + > NetRexx. > > You can grab my first NetRexx/android application from the post #1: it may > serve as a good example for beginners. > > Now that I (more or less) understand the Android mechanic, I will work on a > project which consist to build automaticaly the layout xml files, which are > a punishment for guys like myself, who had been working for years on 3270 > terminals, so simple ... > > Happy to get again in touch with you > > Regards > > Henri > > > -- > View this message in context: http://ibm-netrexx.215625.n3.nabble.com/Popup-Window-in-Android-NetRexx-tp3699572p3703250.html > Sent from the ibm-netrexx mailing list archive at Nabble.com. > > _______________________________________________ > Ibm-netrexx mailing list > [hidden email] > Online Archive : http://ibm-netrexx.215625.n3.nabble.com/ > > -- Thomas Schneider (Founder of www.thsitc.com) Member of the Rexx Languge Asscociation (www.rexxla.org) Member of the NetRexx Developer's Team (www.netrexx.org) _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
Thomas Schneider, Vienna, Austria (Europe) :-)
www.thsitc.com www.db-123.com |
Free forum by Nabble | Edit this page |