xAPFlash on Android
I'm still waiting for my registration to come through for the Automated home website so I can't post there yet but as many people on this forum are using xAPFlash perhaps someone can help. Here's the question I will/was going to post:
Perhaps this issue is covered in the wiki but I have been unable to find it so I'll ask a newbie question here.
I have xAPFlash running on my pc in a brower and I changed <name>joggler<name> to <name>pc<name> in the config.xml file. What I would like to do is to run it on my android phone.
I've transferred all the data onto the sd card on my phone and I get the screen with white XAP on a black background and then nothing further. I've tried <name>joggler<name> and <name>pc<name> and <name>android<name> none of these seems to help.
The phone is running Android 2.3.4 and has flash player installed, it will load and display the sliders etc. but not run the full xAPFlash swf file.
Am I missing something obvious or should I look for other errors in my setup?
For instance do I need to be running an iserver on my android device or will the one on my livebox be sufficient?
or is it the security implication of Flash player accessing TCP and local file systems?
Any pointers gratefully received.
Last year I annoyed everyone by constantly turning the Xmas tree lights on an off using the HAH web site
and an RF connection. Managed also to schedule it using Google Cal and Twitter - but found it rather complicated
to copy each day's program.
THIS year I am sitting with my Samsung Galaxy SII running the excellent example at the bottom of http://www.dbzoo.com/livebox/xapflash
- response using a the script hosted on a btinternet site is very quick.
Now off to try the new scheduler.
p.s the samsung is running android 2.3.3 gingerbread out of the box.
p.p.s it does look as though I could run the script locally but only if I "root" it which I am not prepared to do right now
as in the last post on http://www.droidforums.net/forum/droid-2-general-discussions/74221-global-security-settings-panel-flash-android.html
I don't know if it works though.
Trying to get xapflash working everywhere on my android. The following steps work:
1) Storing the swf's etc on a 192.168.1.xx pc and accessing the livebox on 192.168.1.yy
2) Storing the swf's etc on external btinternet site and accessing livebox locally using wifi on android
3) Storing the swf's etc on external btiinternet site and accessing livebox using 3g on android - using the actual IP address of my router
BUT can't can't get access to the router using xxxx.dyndns-home.com site even though I have access working to the web gui
on http://xxx.dyndns-home.com/login.kl1 and the caching thing on http://xxx.dyndns-home.com:8080/
Has anyone any ideas? each time I have been changing the override section of config.xml tried a) xxx.dyndns-home.com b)
xxx.dyndns-home.com/ and even c) http://xxx.dyndns-home.com
Doesn't work on pc either - yet I know I am getting through the router properly.
Make sure that you port forward 9996 to the iServer too - xAPFlash requires a TCP connection to an iServer so it can work. If you are running this outside of your local network then I bet you forgot to forward this port. Also your xapconfig.xml section will need to be modified so that <ip> section correctly points to where your iServer is.
<config>
<iserver>
<port>9996</port>
<ip>xxx.dyndns-home.com</ip>
</iserver>
</config>
If you are port forwarding you might use a different port on your external firewall if you wish, if so then you'd correspondingly adjust the xapconfig.xml file.
Brett
Hi Brett - thanks for coming back to me.
Nope - for once I followed your instructions on http://www.dbzoo.com/livebox/xapflash - and did ports 9996,3639 and 843 (and 8080)
I was using the override section of config.xml - when I use 94.195.xxx.xx which is the ip address of my router it works just fine
which proves the port forwarding is working ok. Then if I change the entry to xxx.dyndns-home.com it all freezes.
So I have now tried it changing the entry in xapconfig.xml as you suggested but that doesn't work either.
In order not to confuse myself I have three ftp sections labelled INTRANET, INTERNET and INTERNETDYN so I can check the config.xml
is really what I think it is (got caching problems at the beginning I think).
The override file does say usejoggler api = true - could that be related?
I remain hopeful.
Kim
p.s. all this just so I can stand outside of wifi range and turn on the xmas tree lights - swmbo thinks I'm barmy.
Alan I suspect its not working as you are running into this documented security issue that will also exist on the Android platform. http://www.dbzoo.com/livebox/xapflash#browser
I find the easiest way to get this working is to place all the files on a webserver and simply point your tablet browser at it. Why bother putting anything on your android at all! This is how I run the xAPFlash application on my tablet (HP Touchpad)
I don't have an Android so unfortunately this is about all the advise I can give.
Brett