• Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r4wp

[#Red] Red language group

DocKimbel
10-Jun-2013
[8271x2]
Gerard, thanks for reporting it. Galaxy Tab uses Tegra2 chipset, 
so an ARM Cortex-A9 CPU, I see no reason why it shouldn't work with 
ARMv5 code... Are you sure you've tested with hello.apk and not hello-x86.apk?
Gerard, can you install this app on your Galaxy Tab: https://play.google.com/store/apps/details?id=org.jtb.alogcat&hl=en


Once hello.apk has crashed, just switch to this app, and send me 
the logs by email.
sqlab
10-Jun-2013
[8273]
Kaj, thanks for the example
Gerard
10-Jun-2013
[8274]
OK Doc I'll try it later as I must go to work now and I'll send it 
back results to you later. Thanks
NickA
10-Jun-2013
[8275]
Congrats on the Android release Doc - very exciting!  (sorry, I've 
been away from AltMe for a while)
DocKimbel
10-Jun-2013
[8276]
Thanks Nick, more to come soon. :-)
Endo
10-Jun-2013
[8277]
I just test hello.apk on Samsung S3 Galaxy Android 2.3.6, it works 
well. Great work Doc!
Gerard
10-Jun-2013
[8278]
Hi Doc, I just sent you my log results to your red-lang.org email 
account - thanks - it seems the device is unable to locate the sdram 
card since there is no such sdcard on this device and no slot to 
put one too... may be there is another place to send files but I 
never looked at it and so I don't know where to send my files - the 
device is just using his own directories by itself and I never bothered 
about it until now ... I will have to look further to help you in 
this way.
Gerard
11-Jun-2013
[8279]
@Doc : I just sent back my unfiltered log results for the Samsung 
Galaxy tab 10.1 machine - thanks and best regards
MikeL
11-Jun-2013
[8280]
I am runing %red.r for %0MQ-request-client.red but failing on 
#include %../common/common.red
It looks like it would be from 
https://github.com/dockimbel/Red.git
but I don't find any common/ directory

I am probably mis-aligning my zmq directories but don't have anything 
but common.reds from clones.
Any hints to help me find my path?
PeterWood
11-Jun-2013
[8281]
I don't think that common.red is from the main Red repo. I suspect 
it's one of Kaj's libraries.
Kaj
11-Jun-2013
[8282x5]
That's correct
All bindings follow the same naming. The common repository is here:
http://red.esperconsultancy.nl/Red-common
It's easier to download all bindings together with the download.r 
script:
http://red.esperconsultancy.nl/Red-test/dir?ci=tip
james_nak
11-Jun-2013
[8287]
On my Nexus 7, the hello.apk comes up with a main screen that has 
"hello" in the top bar. Is that correct? To exit it, you have to 
swipe the app away. It does not respond to a return/escape.
MikeL
11-Jun-2013
[8288]
Thanks I will catch up soon.
Gerard
11-Jun-2013
[8289x2]
@james_nak : this is exactly what I get on my Galaxy tab 10.1 and 
I suspected it was not correctly executing since I doubt it is doing 
what is expected - even if I don't really know about the app !
@Doc : Can you tell us what was really expected as the normal behaviour 
for this Hello.apk app ?
Pekr
11-Jun-2013
[8291]
before Doc does so, I expect him to release some new improved version 
:-)
Arnold
11-Jun-2013
[8292]
@Gerard, you make me very curious to what you expected Hello.apk 
should do. I think it plays a Lionel Richie song! ;)
Gerard
11-Jun-2013
[8293x2]
@Arnold and Pekr : What is the current behaviour of the Hello.apk 
? I thought it was displaying some welcome msg and then askin for 
some input before disappearing gracefully. Now on my machine a while 
screen is displayed with a "Hello" as its window name and nothing 
else is going on.... For the previous Red/System Hello, something 
almost similar was going on too. So it's not for the Red part fault 
but it is due to the lower layer ... I knew this but I can't diagnose 
what ios coming myself as I'm missing some vital knowlwdge here to 
be really helpful to debug anything ... on my own - sorry for having 
acquired some product in the first pioneers just to test how this 
kind of product was running on Android. I required some Flash and 
my Apple products just could'nt do it - but my tablet Android tablet 
was much slower on display than my iDevices. Hope that under Red 
and Red/System there will be some products running at full speed 
- if not I plan to let it go at a real bargain price very soon ... 
to get some more powerful device ASAP.
When I talk about spped it's related to display and GUI ...
Pekr
11-Jun-2013
[8295]
Gerard - don't know, my HTC phone is being in the repair centre (touch 
layer not working) - just today received sms, that is it ready. I 
will have it back over the weekend ...
Andreas
11-Jun-2013
[8296]
Now on my machine a while screen is displayed with a 
Hello" as its window name and nothing else is going on...."


Gerard, that's exactly what the current hello.apk is supposed to 
do.
james_nak
11-Jun-2013
[8297]
OK, thanks. That's all I needed to know.
Gerard
11-Jun-2013
[8298]
Me too - thanks Andreas - So I regretfully missed the point basing 
my view on the previous Red/System Hello.apk. - Really Sorry Doc 
for this misconception. Just thinking that I should have looked at 
the source code instead of being like a blind - asking unuseful questions. 
I'll take note as to not disturbing anybody in this way in the future....
DocKimbel
11-Jun-2013
[8299]
This is what you should get when running hello.apk: http://static.red-lang.org/hello-droid.png
Andreas
11-Jun-2013
[8300]
Just in case: I don't see the "Hello Android World from Red!" text 
on a Nexus 4.
Luis
11-Jun-2013
[8301x2]
Only Hello on windows name on  Notus II too
Notus = Galaxy Note II
Gerard
11-Jun-2013
[8303x3]
@Doc : So the text msg is really missing - only the Window's name 
is appearing on my device - Phew !!! I was not disrturbing you for 
nothing at least! Hope the last log results could help a bit - but 
don't stress too much if your time is limited (rare) and I suppose 
it is .... thanks for the screen capture you sent.
This fact seems to show that Samsung really is doing things in a 
non standard way ... at a very low level may be !!!
And for most of their devices based on Android - or may be the same 
chipset - but I don't really know about the specific internals... 
of their devices !
Kaj
11-Jun-2013
[8306]
How hard would it be to have Red generate .SYS Windows drivers?
DocKimbel
12-Jun-2013
[8307x3]
Gerard, it's most probably a faulty apk, we'll see with the next 
demo.
SYS: It seems that not much is required to add to the PE file itself, 
I see no additional sections needed. However, it requires a proper 
checksum in the header. That checksum is either calculated using 
Windows API or the algorithm could be implemented directly in Rebol. 
In the first case, it shouldn't take more than an hour to add support 
to it, in second case a day or two. The main issue would be to find 
a simple way to test it once generated? Any idea?
Andreas: was your Nexus4 running 4.2.2?
AdrianS
12-Jun-2013
[8310]
Nenad, I only had the window title as well, on the Galaxy Nexus with 
4.2.2 - thought that was all that was expected.
DocKimbel
12-Jun-2013
[8311x2]
I just tested the hello.apk (downloading from the Red site) on an 
emulated 4.2.2 and it works fine. So, it looks like the Android emulator 
is not as reliable as it seems.
Gerard, found the native crash dump info in your log file, thanks! 
We'll give it another try with the new bridge version once ready 
(this week).
Gerard
12-Jun-2013
[8313]
Thanks Doc.
Kaj
12-Jun-2013
[8314x2]
I have an example Windows driver that would be interesting to port 
to Red/System, so that could be a test case
I guess a 32 bit driver wouldn't work on 64 bit Windows?
DocKimbel
12-Jun-2013
[8316]
Hmm, I'm not sure.
Kaj
12-Jun-2013
[8317]
It would be great if it would; then I could surely use the Red route
DocKimbel
12-Jun-2013
[8318]
I wonder how do you make the testing process simple and straighforward 
for a Windows driver.
Kaj
12-Jun-2013
[8319]
The driver I inherited is a simple file filter driver, so it fits 
in the existing Windows infrastructure and it could potentially be 
almost empty
DocKimbel
12-Jun-2013
[8320]
I'm not sure that you can just change a driver file "in place" after 
each recompilation. I'm wondering if you need to deinstall the old 
one and install the new one each time...