[Guide] Maptools for Android | Confirmed Working+Easy Script

Doc requests, organization, and submissions

Moderators: dorpond, trevor, Azhrei

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

[Guide] Maptools for Android | Confirmed Working+Easy Script

Post by S0AndS0 »

03072014 Updated
Maptools Specific Guide for Installing and Running on Android with (Root and Linux)

Greetings reader,
I, the author or compiler of these documents and scripts, welcome you to running Maptools on your Android phone or tablet. The pre-reqs for doing so are as follows;

1. Root permissions on your Android Device
2. Instal Linux using Debian Kit from the Android Marketplace
3. Download and run the script that I wrote to download & install Java and a bunch of Java dependent software to your Android device.
-- it really is that easy use the following sections to accomplish each of the 3 pre-reqs...

~~If you wish to support the developer then click this link to contribute (Link will be added at some point) Thanks
Update to Support Link; You may now use my gmail account address to send support (PM me for that if you have troubles) Paypal and Google Wallet solutions are now available.
This guide is ripped from its original source from here:
((where comments can be made) you may notify the author though the commenting system on the other mirrors as well)
http://forum.xda-developers.com/showthr ... st40434313
and here: ((where updates starts) you may watch me work here)
https://docs.google.com/document/d/17rb ... sp=sharing
and here: ((publicly Editable) you may make changes to main project here)
https://docs.google.com/document/d/1CIk ... sp=sharing
and here: ((Maptools Specific Guide For Android) Currently Under construction)
https://docs.google.com/document/d/1W0H ... sp=sharing
Note: ^^^ this is the link you want for the guide ^^^


Once you’ve got Linux on Android with Debian kit booting up Debian go ahead and pop open a terminal window and input the following comands;
1. install "git" with apt-get

Code: Select all

apt-get install git
2. Clone with the following command to a directory on the Linux side of things;

Code: Select all

git clone https://github.com/S0AndS0/Debian-Kit-Mods
3. and run the ARM_Linux_Moder with the following command, just be sure to edit the file path to point to where you cloned this github project

Code: Select all

sh $HOME/github/Debian-Kit-Mods/ARM_Linux_Moder
4. you'll be presented with some options (7 at this moment) and you'll want to choose option "1" to run the "ARM_JREorJDK7_Downloader" script which will then present four options; here you'll want to choose option "4" because it will not only download Java's JDK but then automaticly call upon the Installer script when it's done downloading. Note for hard float users; option "3" is also coded to do the same for you as option "4" but for hard floating point instead.
5. When ARM_JDKsf_Installer runs it'll give mostly yes and no prompts, but be careful when it asks if you still nead to download Java becuase you've already done so answer "n" or "no" to continue with the installation process.
6. At this point you'll almost be ready to rock with Maptools, all that is left is re-running the ARM_Linux_Moder script and choosing option "3" to run ARM_Maptools_Installer which will prompt to install/download Maptools. But this will soon be handled with a prompt to install Java dependent software after the "ARM_JDKsf_Installer" has finished so this step will change shortly.
7. Run the Maptools jar file with "java -jar" command. Either put this command in the preferances/settings window (it's the right hand tab that you can find this for files) or run with the following example command after editing the file path to point to where the Maptools jar file is on your system

Code: Select all

java -jar $HOME/github/Debian-Kit-Mods/Download/Maptools/maptools.jar
8. Give it a minuet to boot up and enjoy :-)

I timed it a few times on my slow network connection and this version of installing Maptools to Android should take 20-40 minutes to compleate. I'll be working on hard float version of Java's JDK and updating the github shortly for those that want to squeeze a bit more speed out of thier devices, however, hard float Java will require that Linux is hard float too; so if you are reading this and want to try hard float instead then lildebi is the app to use instead of Debian Kit for installing Linux to your Android. I'll also be working on adding some new fun fetures to the ARM_Linux_Modder script and making things a bit more streamlined for the componits already compleated. So re-clone the github every so often to gain access to the new fetures I'm writing up.
Screenshots
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
login with remmina
http://s272.photobucket.com/user/S0AndS ... sort=3&o=7
Image

list of the old versions of scripts used
http://s272.photobucket.com/user/S0AndS ... sort=3&o=6
Image

01 Maptools on ARM command line start
http://s272.photobucket.com/user/S0AndS ... sort=3&o=5
Image

02 Maptools on ARM warning that lower end devices will receive
http://s272.photobucket.com/user/S0AndS ... sort=3&o=4
Image

03 Maptools on ARM starting after excepting warning diolog
http://s272.photobucket.com/user/S0AndS ... sort=3&o=3
Image

04 Maptools on ARM still starting up
http://s272.photobucket.com/user/S0AndS ... sort=3&o=2
Image

05 Maptools on ARM started and ready
http://s272.photobucket.com/user/S0AndS ... sort=3&o=1
Image

06 Maptools on ARM scanning for servers to connect to
http://s272.photobucket.com/user/S0AndS ... sort=3&o=0
Image

~~~~~~~~~old screen caps~~~~~~~~~~
Desktop_Blank
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Longin_With_Remmina
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
After_Updating_JDK_InstallScript
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Befor_Starting
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_01
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_02
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_03
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_04
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_05
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
Maptools_ARM_Started_06
https://docs.google.com/file/d/0B46yVbe ... sp=sharing
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Maptools Specific Guide For Android Updates
Status of entire Guide for Maptools on Android = Working
Status of scripts to download and install everthing = Working
Updates
05222013- Ripped this guide out of the main guide that I’ve been writing for all users of rooted android phones and tablets capable of running linux.
Maptools Specific Guide For Android Introduction and User Warning
WARNING this guide is still under heavy construction and should not be used just yet as I’m still debugging the java dependencies that Maptools has. This may be to my own fault, I installed openjdk by accident before going thought the new install guide for installing java from java source that I wrote up, this has caused my system to result in errors because of having different versions of java installed at the same time. Your useage may vary if you are reading this and follow the new guide here that doesn’t include installing openjdk but instead has instructions for installing java for ARM on your device. I will be updating this intro when I’ve solved it and I’ll be updating all guides to include my findings.
WARNING:Root has the possibility of doing bad things to your device and those around you and running a full desktop Operating System (OS) on top of that is a further compounding of the danger to your device and others. And doing all that on a device that has access to the internet as a whole for long periods of time even furthers that risk. I take no responsibility for what you do with your property, time, or other’s property. This guide is for educational purposes and no harm is intended or wished by the author to anyone or community or the planet as a whole.
07182013- Confirmed; Maptools runs just fine on Android using Java ARM JDK from the above links that I edited in :-) I’ve written a script that makes it really easy and you can find the link up there as well. I’ve yet to test the Networking side of things but I expect that it should be as simple as running a Port-Forwarding app on the Android side and if this is so I’ll write up a guide on how to do that as well.

07292013- Made some mods to the Java with jApps installer script; now will download some goodies for setting up a game master build environment, I'll also be adding some "Samples" that another user was kind enough to shair with me (pre-built maps and tokens to get us started) so look forward to some neat updates there. Been doing a lot of work on rooting devices; Rooted a Droid X today for another user so they can join the party here, and working hard on porting root methods to Android through Debian Kit, look to Google + for the dev's that I've been contacting till I put up links to that here and XDA.

08042013- Made lots of mods to new version of script (have yet to post it) now looking for file hosting sites that will allow for individual script parts to be downloaded (things are getting complex) so that updates are easy on you all. Hopefully by the end of the week I'll have a Master_Mod_ Script that you all can use "wget" to download and update with. Currently looking at Git Hub but have yet to find the command that downloads parts of a branch instead of a full "clone"... I've yet to get Google Drive/Docs or "Box" (another hosting site) to perform a download of script parts without adding something to the file (usually a header) that enviably "corrupts" what it was supposed to do... However, when I've got that cracked we'll all be able to enjoy some really good mods and features :-)
Note: even though I'm working on an updated version of the installer, the old one still should work wile you wait for more features to be added ;-)

Update 08102013- Until I get google command line down and tested use the following link
https://docs.google.com/document/d/1qJo ... sp=sharing
to keep up with all the mods that I make scripted. Options 1-4 in the script should work just fine :-D Options 0 and 5-7 don't work just yet, future updates will complete them and Options 8+ will be used for more mods that I write up or are requested by others.

Update 02012014- some (if not all) of the above have started to show errors. I've been working on solving this and you can find updated (experimental) versions on page 2 of this thread wile I woek out the kinks.

Update 03022014- new version of scripts can be found here;
https://github.com/S0AndS0/Debian-Kit-Mods

Update 03022014- hard float is no available for lildbi users just run the download script and choose option 3 and it will download and install jdk hard float to your hard float OS

Update 03072014- uploaded 6 new screen caps to photobucket along with some of the old ones, re-wrote OP to shorten it because the new scripts handle much more of the work. Photobucket album can be found here;
http://s272.photobucket.com/user/S0AndS ... M_Maptools
Last edited by S0AndS0 on Fri Mar 07, 2014 9:25 pm, edited 10 times in total.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

!UnderConstruction! Linux Xtras for Android !UnderConstructi

Post by S0AndS0 »

This App is undersonstruction and should not be run untill this warning is removed

That being stated you may; veiw, download, test, modify, and "push" updates to this project so long as you sign your edits with some way of contacting the editer (link to a web sight and profile name is ok) and "push" only to the following link.
https://github.com/S0AndS0/Linux-Xtras- ... tree/edits

When I've checked up on the edits I'll sync the master branch here
https://github.com/S0AndS0/Linux-Xtras-for-Android
please contact me if you want to contribute to making this the best user interface for running Maptools on Android by way of Linux.
Last edited by S0AndS0 on Fri Feb 07, 2014 3:04 am, edited 2 times in total.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Q&A

Post by S0AndS0 »

For most trouble shooting look to section 5 of the main guide. I've gone through many troubles myself when running this system and "shot" them all down for us there.

Q~What devices is this confirmed working on?

A~ Currently I can confirm this works on the following rooted devices:
Device | Rom | Linux method | Linux distribution
Epic 4G SPH-D700 | CM 9 | Debian Kit | Any
myTouch 3G slide | CM 7 | Debian Kit | Squeeze
Sero 7" Pro (usa)| stock rooted | Debian Kit | Squeeze
Last edited by S0AndS0 on Fri Mar 07, 2014 9:29 pm, edited 3 times in total.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

_____Reserved______
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Thread now open for comments and discussion.

Post by S0AndS0 »

Howdy all; I'm here to help and this thread is here to compile suggestions, bug-reports, comments, and make running Maptools (and related tools) easy and pain free on Android.

The "reserved" posts will be used to keep all information that is found latter in the thread to be of help in one place, I'll be running updates every week or two and working on scripts and the Google drive side almost daily.

So; hit me up if you run into issues or have something to say :-)
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.


User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

wolph42 wrote:made sticky. thanks for the elaborate howto.
Thanks for the sticky :-D glad to have something for others that is finely easy to use. I look forward to seeing servers pop up with some kind of ARM or Android title to it, and playing with the people that I was inspired to make this all for.

Some things to look forward to:
~Scripts for just after installing Linux, something that you can run instead of following the last part of section 1 of the guide.
~Android to Android rooting. This is something that I'm currently pursuing and will be completing soon (I hope) so that; if you have a rooted Android device but your budy that you want to play with doesn't, then if you two can meat up and plug the two devices together (think the old Game Boy link cables but for your phones ;-) ) then hit a couple of "popups" on the rooted device to root the non-rooted device; no PC or education or searching required, just root with no hassles.
~An App on the Android Marketplace. Now that I've got Java's JDK on my devices I can get into developing and testing my own app that'll do all this from start to finish with all the polish and easy of use that I can muster. This app will be put up for *Free* when it's completed.
Note: I'll be avoiding putting in "add support" or any kind of "charges" instead I'll be trying to "crowd-fund" the development costs through; donations of hardware, time others spend on "patches", and any monetary donations that are sent through the donation link.
~Script for Linux distros that aren't on ARM. There are other ways to run Maptools and the like (such as on PC) and Android can "boot" those distros as well, so, for the sake of compatibility I may just add a "PC linux" version for all this as well.
~Raspberry Pi install script or confirmation that the current one works. If I can get positive cash flow coming in for further development then that is what some of those funds will be used for.
~Dev. Road trip. I've not posted this anywhere else yet. But in the coming months I will be planning to travel and take this show on the road. Doing mods to tech, repair work, custom jobs and stuff like that if people are interested. This is because I've a lot of information and training to share and sometimes a document or video just doesn't cut it or the thing that someone wants to do is so far out of their "zone of comfort" that they would not normally attempt it. If people are interested it should be as simple as just hitting me up when you see that I'm going to be passing through and scheduling a spot at a local library or something for a space to do the work.

I've much in the way of work to do to make this better but I've faith that this is going to be popular with many users.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

Update 08212013
Network testing Maptools starting at 12pm (now down 08222013)
S0AndS0 wrote: Name of server (alias)
ARM hosted test 2

IP Address
192.168.65.145

Port
8070

Guest Password
S0AndS0guest

Version of MapTools
1.3.b89

Device that is hosting the service
T-Mobile myTouch 3G slide
~ Rooted and running CyanogenMod-7.0.3-slide
~ 600MHz processor (not over clocked)
~~ CPU info : ARMv6-compatible processor fev 5 (v6|)
~~ Mem info (avail/total) : 60 MB / 418 MB
~~ Android version : 2.3.3
~~ Kernel version 2.6.32.17-cyanogenmod-g46ca326 shade@toxygen #1

Port Forwarder App info
forwarding port 5631 > 8070

Linux distro info
~ Running Squeeze flavored Debian
~~ installed using "Debian Kit" app free from the market place (if you use be sure to thank that developer as this wouldn't be possible without them)
~ Installed Java from source
~~ version 7u21 arm soft float
Note to reader reading this
~~ I invite you to see that Maptools works on ARM (Android running Linux) because it does :-D
~~ Please be kind and don't abuse the network but feel free to hop on wile it's up today (possibly tomorrow too ;-)) and chat with me.
~~ use the direct connection tab on your maptools and be sure you're running the same version of Maptools. Those are the requirements so far as I know.

Currently (as of 4pm)I've successfully connected to the device from my laptop running Vista home basic running Java (not sure what version) running the same version of Maptools as the device that is hosting all on the same "wireless router" and it works just fine.

Some notes on the mobile side of things
the controls when using touch screen and trying to "paint" in backgrounds; it's best to set what you want to paint in as the "right-mouse" button. This is because to register a solid "click" on a touch screen only device (ie without a real mouse) it's a press and hold kinda thing which the RDP app short cuts to a right click... really it's minor and the user interface is just fine :-)

~~~~~
Update 8pm (myTime) server should now be up again for another 4 to 6 hours tonight.
I've tested it as working under the "direct connection" tab and logged in as two different guests at the same time, still no notable lag :-) for changes that different players make
,
however
,
this has all been done on one access point/router, when I tried connecting the second computer through a completely different access point/ISP to the web entirely I receive connection refused or connection time out errors...
Last edited by S0AndS0 on Thu Aug 22, 2013 10:03 pm, edited 2 times in total.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
Guyon
Cave Troll
Posts: 37
Joined: Tue Dec 29, 2009 11:00 am

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by Guyon »

Congrats S0AndS0 on your amazing success. ... and nice to get Pinned too! I was rooting for you the whole time!
Alas I am afraid that my Nook HD+ may not be able to go linix, but this may spur me into going full android, (Christmas?) Anyway I hope we get the traffic so your project makes its way to the masses. YouTube maybe with aq Dungeons and Dragons header? Or maybe a post at RPG.net. I am sure others may have even better suggestions.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

Guyon wrote:Congrats S0AndS0 on your amazing success. ... and nice to get Pinned too! I was rooting for you the whole time!
Alas I am afraid that my Nook HD+ may not be able to go linix, but this may spur me into going full android, (Christmas?) Anyway I hope we get the traffic so your project makes its way to the masses. YouTube maybe with aq Dungeons and Dragons header? Or maybe a post at RPG.net. I am sure others may have even better suggestions.
http://www.xda-developers.com/android/n ... -and-more/
http://forum.xda-developers.com/showthr ... ?t=2300132
http://iamafanof.wordpress.com/2012/11/ ... ok-tablet/
http://thomaspolasek.blogspot.ca/2012/0 ... rd_16.html

Use the above links to quickly catch up on what I've found for your device.

Looks like you have a choice, you can root it temporarily or you can root it permanently. Once you've got root it's really just a few downloads away, Java source, script to install it, Debian Kit, and RDP app.... didn't want to keep you waiting so I may edit this post with more info if you like.

Edit 9pm myTime- server is still up at the same address or maybe this one?>>> 107.63.16.182 <<<<? not quite sure which one is which for "remote guests" to connect to...

Oh and thanks on the congrats, and I've been talking with my partner and we may be making some videos on the process and if you're looking for a good solid device that can be found on the cheep and is super easy to root check the "Epic 4G sph-d700" the slider version, I have yet to brick it or find a thing that it can't do, best of all I just picked up a replacement (partner dropped her phone and screen went dead) for under $52 ($5 shiping already added into previous dollar amount) off ebay, it just came in the mail and I used the directions that Qbking (from youtube provides) and related downloads to root it after the first charge... all in all it took less than 2 hours to set up and completely from scratch. Soooo if ya don't want to risk your current device and you don't want to buy a Raspberry Pi ( a $35 credit card sized ARM computer) you can get a device that has fantastic specs and runs just about everything and has up to 3x the amount of processing power of a Pi for like $15 more... if that's not all, I've already done the research in how to repair the various parts from other identical models and found that after $15 worth of tools (screwdriver and shipping plus some free bees) and the thing goes together like legos so repair is easy and cheep, like no soldering required ;-) everything just clips, screws or sits in place....
S0AndS0 wrote: taken from a "doc" I've been compiling about the Epic 4G repairs cost and guides
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Repairing the samsung epic 4g
Video Guide to replacing the Epic 4G SPH-D700 screen
http://www.youtube.com/watch?v=b7wnGfM5zFg
Written and pictured Guide to replacing the Epic 4G SPH-D700 screen
http://forum.xda-developers.com/showthr ... ?t=1569701
or
http://www.repairsuniverse.com/samsung- ... guide.html

Note we’ll have to get a driver of screws
2.99 T5 Torx Screwdriver
http://www.repairsuniverse.com/t5.html

Costs of Parts
ebay search for SPH-D700 replacement screens
http://www.ebay.com/bhp/sph-d700-screen
it’s ebay though...

All Parts for our phones
http://www.globaldirectparts.com/Samsun ... s/6425.htm

$98.99 Replacement screen from Direct Parts
http://www.globaldirectparts.com/Samsun ... 550-qs.htm
Times for shiping?
Screens look to be about a month wait time (25 days) even though on the main site it says “same day”

$134.99 Complete front Housing and Screen Replacement from Direct Parts
http://www.globaldirectparts.com/produc ... 540-qs.htm
Times for shiping?
Says same day. probably because it’s the “full” replacement

$5.01 Keypad Replacement from Direct Parts
http://www.globaldirectparts.com/Galaxy ... 520-qs.htm
Times for shiping?
Keypads look to be the same day

Note a “safe open pry tool” is apart of the materials “required but it comes with any repair part that you buy from the above sites
-- see Item Description in following link
http://www.repairsuniverse.com/prytools.html

for the mean time use droid VNC server on your epic
https://play.google.com/store/apps/deta ... .vnc&hl=en
http://opensourceexcedio.wordpress.com/ ... nc-server/
use “what is my ip” google search when connected to the epic via modem tethering to find your IP address

Then copy past the multi digit code into the app you are using to connect to the epic
Example IP: 192.168.27.3 (now down 08222013)
Note you'll still need the "port" number too... Extensions to come.

App to use to connect to your epic
https://play.google.com/store/apps/deta ... androidVNC

There are only three required places to edit to make a good connection
1. Target IP
2. Target port
3. Password (sometimes username but leave it blank if the Target doesn't have one set)

How to get the numbers for the first two steps to making a good connection?

http://www.androidcentral.com/android-2 ... hould-know

http://www.tutorialforandroid.com/2009/ ... using.html

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Last edited by S0AndS0 on Thu Aug 22, 2013 10:01 pm, edited 3 times in total.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
Guyon
Cave Troll
Posts: 37
Joined: Tue Dec 29, 2009 11:00 am

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by Guyon »

Thanks.. Looking in to that, but seems technical for me. Reading all the links though.

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

Guyon wrote:Thanks.. Looking in to that, but seems technical for me. Reading all the links though.
Always welcome ( ... well within reason right? ;-) ... ) added some more info, like two of the cheapest options for doing this without risking your current device. if you can go for the 52 dollar option as this gives you a keyboard and screen and really good hardware for testing on :-D

I and the server will remain online for a few more hours so let me know if you get stuck

@all readers

feel free to chime in or connect on, I'll try to post when I take it all down for the night.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
jfrazierjr
Deity
Posts: 5176
Joined: Tue Sep 11, 2007 7:31 pm

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by jfrazierjr »

Thanks for setting this up as a host, but I would guess that far more people would be interested in the other approach where the ARM device is used as a client. I know there have been a few people who wanted to do some campaign creation on the go so to speak, but i suspect that far more people would wish to know what is and is not possible within MapTools as a per player connected client. For example, currently, MapTool sourcecode uses the following:

Right-Click Drag(no token selected): Pan map(ie, can this be easily emulated in a tablet via touch controls)
Left-Click: select token(if one is under mouse and on a layer the player has access to)
Left-Click Drag: move selected token (if player "owns")
Left-Double Click: edit token properties(if player "owns")
Right Click: Context menu(if player "owns")
Zoom(plus/minus keys on keyboard): I highly doubt pinch/zoom translates this, but there is also a text box in the status bar area that can have a zoom level manually input(ie, typed into, enter to "complete action").


Also, how can you(if at all) handle selecting multiple tokens. On a PC, you can easily use the "shift" key to keep adding to the selected tokens OR use Click point/mouse drag to make a selection area and everything within is selected.

These are some of the most important things and I doubt most of them can actually be utilized with the current MapTool code(or at least not in an intuitive manner) on a tablet.
I save all my Campaign Files to DropBox. Not only can I access a campaign file from pretty much any OS that will run Maptool(Win,OSX, linux), but each file is versioned, so if something goes crazy wild, I can always roll back to a previous version of the same file.

Get your Dropbox 2GB via my referral link, and as a bonus, I get an extra 250 MB of space. Even if you don't don't use my link, I still enthusiastically recommend Dropbox..

User avatar
S0AndS0
Cave Troll
Posts: 60
Joined: Wed May 22, 2013 3:15 am
Location: USA
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by S0AndS0 »

jfrazierjr wrote:Thanks for setting this up as a host, but I would guess that far more people would be interested in the other approach where the ARM device is used as a client. I know there have been a few people who wanted to do some campaign creation on the go so to speak, but i suspect that far more people would wish to know what is and is not possible within MapTools as a per player connected client. For example, currently, MapTool sourcecode uses the following:

Right-Click Drag(no token selected): Pan map(ie, can this be easily emulated in a tablet via touch controls)
Left-Click: select token(if one is under mouse and on a layer the player has access to)
Left-Click Drag: move selected token (if player "owns")
Left-Double Click: edit token properties(if player "owns")
Right Click: Context menu(if player "owns")
Zoom(plus/minus keys on keyboard): I highly doubt pinch/zoom translates this, but there is also a text box in the status bar area that can have a zoom level manually input(ie, typed into, enter to "complete action").


Also, how can you(if at all) handle selecting multiple tokens. On a PC, you can easily use the "shift" key to keep adding to the selected tokens OR use Click point/mouse drag to make a selection area and everything within is selected.

These are some of the most important things and I doubt most of them can actually be utilized with the current MapTool code(or at least not in an intuitive manner) on a tablet.
Welcome for sure. Indeed and that is what I would like to test tonight; if you wanted to set up a test server I'll try to connect in as proof that this works the other way too :-D
Currently it's nice to know that where I camping then I could connect to everyone else through a shared wifi hotspot and be comfy by the fire instead of hunched around a lantern on a table.

As to functionality when using all on the device;

currently you can set the "Long press delay" option in the RDP app suggested by, opening the app, pressing menu, scroll down to "Long press delay", select it and modify the time intervel for your usage habits.
~ this means that a;
~~ tap on screen = left click
~~ tap+hold (no delay between) = left click hold (drag to select multiple tokens or text or what have you)
~~ tap tap+hold = right click (after a moment a right click diolog should pop up)
~~ tap tap+hold and drag = select or drag a right click command across desktop or window bellow the cursor
~~ for other keys like shift, arrows and such
~~~ I suggest using a combo of enabling some of the "Quick buttons" options in the RDP app as this will give you access to many from the screen quickly and without cluttering up things to much (it auto-hides)
~~~ there's an App called "Hackers Keyboard" which, with some modification, will get you all the rest in the form of an onscreen keyboard that looks like your standard qwerty.
~~~ also there are "short-cuts" available when you've got a device that has a slide out keyboard (I buy nothing else now but devices that have this feature) that you can find more about once a connection is established by;
~~~~ hitting menu on the device
~~~~ tapping more
~~~~ and tapping help for standard short-cuts
~~~ if that's not enough for making things really easy you can also set up custom ones;
~~~~ before a connection has been established tap menu
~~~~ tap "Keys" to see the ones already set up
~~~~ tap menu again and hit "Add" to add your own custom short-cuts that can then be called after the connection has been established by;
~~~~~ connect then tap menu
~~~~~ tap "Keys"
~~~~~ tap the short-cut that you want to send to the Linux OS that you've connected to.

Selecting multiple tokens wasn't an issue at all, keeping them selected was a bit tricky at first, also there are guides that show how to attach a bluetooth mouse or a wired mouse to Android now so this may not be to big of an issue for long. I'll try the "shift click and drag" combos both with soft keyboard and hard keyboard (on the device) and let you know, but, I don't see why it wouldn't work as expected :-)

As of now I'm working on XDA to bring more connectivity solutions to Android/Linux with another reader so, expect; Maptools over 3G/4G and other fun things to come out of it. And my next full day off will be this up-coming Saturday if you don't have the time tonight to set up a test server.

Update 08292013- So networking across 3G and 4G is a bit funky. Depending on the service provider this can be easy or a really difficult operation. Currently I've got a working LNMP server running and working over 3/4G over Sprint and it works great for serving up the sample webpage (see page 12-13+ at the XDA main guide thread) however the person that has been helping set all this up is on a different service provider and has received errors.
~ Moral of the story? Well the LNMP part really doesn't matter a hole bunch to the Maptools thing but the networking principals are similar, meaning that the methods that I've used to successfully connect to a device from outside it's local network will enable some of the users of Maptools to connect with one another over the normal 3/4G networks :-)
~~ I'll be drafting up guides and such on how to get this all done easily for Maptools and LNMP users and hopefully we can all get some bug reports from Verizon, AT&T, and other networks users and then I can work on solutions for each with the users of each.

Update 08312013- off from normal work dewties today so I'll be playing round with network set up; hosting and connecting from different types of networks, wifi, 3G, 4G and Bluetooth. If you catch a server up on the Maptools side of things that says something like "ARM Hosted test 3" then the password for guests will be "S0AndS0guest" I may end up making a test 4 from another device too. I'll also be working on guides, LNMP networking, and if I've the time, work on the scripts for the video tutorial series that I've been planing to get going for everyone to use.
If anyone has some advice for the video capture, screen capture, and editing of video and audio streams I could use it, however, I'm on a tight budgets so keep the apps or programs suggested to the opensource or free side of things please.
@wolph42 - hey I keep running across the great work you have done over the years on these forums; if you'd be so kind as to share a compilation of links to the projects you would most likely want on your dream mobile device running Maptools I'll be sure to add them into the next revision of the installer script for ARM. Provided that is if I can also have permission to to so ;-) ... I ask because the last two that I wanted to play with use different versions of Maptools so I figured that you have already figured out the favorites that work well together and would have an educated opinion on what would be most useful.
@allreaders - if you too have suggestions I'd like to hear'em. I'm looking to make it an easy one script option to get guests and hosts set up with *everything* to play and build; so version suggestions, libraries, builders, tools, other programs that you found useful... you get the idea. Furthermore if anyone reading this knows a thing or two about port forwarding or IP tables on Android I could use an extra set of eyes or two, having issues with some service providers and their internal vers external IP addresses set up, and, having issues using one device as a hot spot instead of a real router to connect to the outside world... aside from that this almost ready to start wrapping up into a real life android app that'll take care of things (I've been doing a lot of research) I've got some really good examples of how to get things from the script to display right onto an app and been looking at scripting for android directly too (for launching other apps) the thing that I'm still scratching my head over is how to get "display EXPORT=<IPaddress>:<port>" to work on Android or with Putty and Cygwin on a PC; If we can get this solved then I can export just the Maptools window to the display that should display it (like the Android screen) and only that window, no background, clock, desktop to waist CPU time or precious RAM :-D if we get that up and running then making a real "Maptools Mobile App" will be 100% possible and I'll have no excuse not to 100% compleat it ;-) I'll be working on it, just thought an update and request might stur up faster results.
I have ported Maptools Mobile for Android.
link to guide to do it yourself step by step
Maptools on ARM (Android & Pi)
or
rptools [Guide] thread
link to script to use after using section 1 of above guide
My github Repos
You may contact me through the document that I'm writing or though email or through one of the mirrors that I've posted this information on for public viewing such as XDA Developers or through PM through this very site.

User avatar
BearFather
Cave Troll
Posts: 45
Joined: Tue Jan 07, 2014 11:46 pm
Location: Inside Your Head! <USA>
Contact:

Re: [Guide] Maptools for Android | Confirmed Working+Easy Sc

Post by BearFather »

Been looking at this post for about a month and finally decided to plunge in and get this to work. I got Linux installed, and working(awesome I'm a Linux nut). So been playing in that got it all fined tuned to my liking.

So went to try to get java installed, with your tutorial and scripts. And hit a few problems.

First off this is on a ASUS MeMo Pad HD7, with Debian squeeze install from Debian kit.

Running the script I get:
root@android-6e239197478b51b2:/home/bearfather# ./JavaARM_Installer_now_with_jApps.sh
: No such file or directoryh_jApps.sh: line 1: #!/bin/bash
you can update this script from the following link
https://docs.google.com/document/d/1uLe ... cslist_api
As Always happy hacking and modding
and the author can be contacted through
Google at Michael NA and
XDA at S0AndS0
for any help or concerns
: command not found_now_with_jApps.sh: line 9: {
________________________________
This script is written in the hopes that it will be found useful
use it to install Java 7 from source on ARM Linux systems
You're about to install Java 7 soft float
Are you sure? [Y/n]Y
': not a valid identifierith_jApps.sh: line 16: read: `response
'/JavaARM_Installer_now_with_jApps.sh: line 17: syntax error near unexpected token `in
'/JavaARM_Installer_now_with_jApps.sh: line 17: `case "$response" in

So knowing some bash I look at your script and see it's banging out on the first case. So I comment out the yes or no cause I want to run this. Then I get this...

root@android-6e239197478b51b2:/home/bearfather# ./JavaARM_Installer_now_with_jApps.sh
: No such file or directoryh_jApps.sh: line 1: #!/bin/bash
you can update this script from the following link
https://docs.google.com/document/d/1uLe ... cslist_api
As Always happy hacking and modding
and the author can be contacted through
Google at Michael NA and
XDA at S0AndS0
for any help or concerns
: command not found_now_with_jApps.sh: line 9: {
________________________________
This script is written in the hopes that it will be found useful
use it to install Java 7 from source on ARM Linux systems
You're about to install Java 7 soft float
: command not found_now_with_jApps.sh: line 27: }

You are root.
Your home directory is /root.

If you are reading this message,
critical environmental variables have been set.
creating a list of packages to install to your system
creating a list of alternatives to install for JDK tools to your system
Creating script to compile the JRE/JDK description file named .java-7-oracle.jinfo to use with update-java-alternatives
Now writing Java7_Activator
./JavaARM_Installer_now_with_jApps.sh: line 517: warning: here-document at line 234 delimited by end-of-file (wanted `EOF')
: No such file or directory
root@android-6e239197478b51b2:/home/bearfather#

I even tried messing with the first line cause it's popping out a weird error on #!/bin/bash.

Post Reply

Return to “Documentation Requests/Discussion”