Showing posts with label Android. Show all posts
Showing posts with label Android. Show all posts

17 January, 2016

Casualty Simulator Android App

A friend was discussing with me various prop idea which we could make with Arduino in particular, but there are "virtual props" that you can build in software. Virtual props are particularly well suited to logic driven props which are hard to build in the physical world.

As an example I built this Casualty Simulator for Android DEMO. This is a demo intended only as a proof of concept. It is not intended for use as is, although it should be usable with limitations.

It should run on fairly old Android devices, but may struggle if they are really underpowered.





Basically it is an Android app which is designed to be running on an Android device placed on a casualty which will be carried on a stretcher. The app detects if the casualty is pitched about dangerously and every time that happens, the app cries out in pain and the casualty loses health.

When the casualties health reaches zero the casualty is dead. The players can "Give Treatment" to the casualty a maximum of three times, which will add 20 health points back. This is to simulate bandaging, transfusion or adrenaline treatments.

Note that the players cannot give treatment to a dead casualty, nor can they heal a healthy casualty above 100 health.

There is an audio heartbeat monitor which slows down as the casualty gets closer to death. This gives the players some approximate feedback on the casualties status. To get an accurate status the players can click the "Check Health" button as often as they like.

If the casualty dies there is an audio feedback of a heartbeat monitor flat-lining, and on screen text to alert the players.

To prevent cheating the app displays a simple log of the starting and stopping of the app along with some other useful info.

To reuse again, simply quit and restart the app. Start/Stop acts like a play and pause function, not a restart.

Please note you need to long press the Start/Stop button to minimise accidental Start Stops.

Finally, this is a concept demo, if anybody wants me to develop it further, please contact me through the contact page. I guess if anybody wants to use it, they will want to be able to edit all the parameters, such as health, sensitivity, treatments.

Installation Instructions


Before you can click on the download link you must enable the ability to install software from "Unknown Sources" and you must manually un-install any earlier copies of the software.

"Android protects users from inadvertent download and install of apps from locations other than Google Play (which is trusted). It blocks such installs until the user opts-in Unknown sources in Settings > Security, where you will see an option similar to the option shown below. To allow the installation of applications from other sources, users need to enable the Unknown sources setting on their devices, and they need to make this configuration change before they download your application to their devices." 


The text may also say "Allow installation of apps from sources other than the Play Store."
Note: You would be wise to disable this option after you have successfully installed the software.


From your android device you can now access the download link and the software will be installed on your device. The download link is available after you accept the Warning and Liability Notice below.


DISCLAIMER OF WARRANTIES AND LIMITATION OF LIABILITY

Software downloaded from the CrapWorks web site or from other sources is provided 'as is' without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of fitness for a purpose, or the warranty of non-infringement. Without limiting the foregoing, the CrapWorks makes no warranty that:


  • the software will meet your requirements
  • the software will be uninterrupted, timely, secure or error-free
  • the results that may be obtained from the use of the software will be effective, accurate or reliable
  • the quality of the software will meet your expectations
  • any errors in the software obtained from the CrapWorks web site will be corrected.
  • the software is complete and free of defects


Software and its documentation made available on the CrapWorks web site:

  • could include technical or other mistakes, inaccuracies or typographical errors. The CrapWorks may make changes to the software or documentation made available on its web site.
  • may be out of date, and the CrapWorks makes no commitment to update such materials.

The CrapWorks assumes no responsibility for errors or ommissions in the software or documentation available from its web site.

In no event shall the CrapWorks be liable to you or any third parties for any special, punitive, incidental, indirect or consequential damages of any kind, or any damages whatsoever, including, without limitation, those resulting from loss of use, data or profits, whether or not the CrapWorks has been advised of the possibility of such damages, and on any theory of liability, arising out of or in connection with the use of this software.

The use of the software downloaded through the CrapWorks site or other sources is done at your own discretion and risk and with agreement that you will be solely responsible for any damage to your computer system or loss of data that results from such activities. No advice or information, whether oral or written, obtained by you from the CrapWorks or from the CrapWorks web site shall create any warranty for the software.





or 

13 February, 2014

Android Marshal Tools App Installation




Current build: 201402251500, published 25th February 2014, expires 28th February 2015.

What is in this build?


This is a fully functional evaluation BETA copy of the software to allow those who have shown an interest in the software the ability to see how it operates. It will expire on 28th February 2015, when most of the features will be disabled. The reason for time limiting it, is so that there is not an untested BETA copy in general circulation. This copy contains location data for my home airsoft field, Section8 Airsoft. I can change this data to your home airsoft site in the full production version of the software, but I will ask for a very small donation to make these changes, which will allow me to continue to work on the software and build in new features. I will endeavour to keep the software FREE to users in the airsoft community.

How does it work?


There is a short video explaining the features of the previous version here. I have made some minor changes and improvements since this video was made, but it is still relevant, and will give you a good idea of the application and it's capabilities.

Installation Instructions


Before you can click on the download link you must enable the ability to install software from "Unknown Sources" and you must manually un-install any earlier copies of the software.

"Android protects users from inadvertent download and install of apps from locations other than Google Play (which is trusted). It blocks such installs until the user opts-in Unknown sources in Settings > Security, where you will see an option similar to the option shown below. To allow the installation of applications from other sources, users need to enable the Unknown sources setting on their devices, and they need to make this configuration change before they download your application to their devices." 


The text may also say "Allow installation of apps from sources other than the Play Store."
Note: You would be wise to disable this option after you have successfully installed the software.


From your android device you can now access the download link and the software will be installed on your device.

> > > Proceed to download the app. < < <

F.A.Q.


Q. Will you make this app available from the Google Play Store?

A. Yes, I would *like* to however this will cost me money, and I am not in a position to meet all those costs without some help. If the community would like this I would kindly ask you guys to make a small donation. I also cannot add any more new features to the existing version of the software as more lines of code will exceed the allowable size of the application in the compiler that I use to build it (see below). To add more will require a costly compiler license upgrade.


Q. How much will this software cost, when it is released?

A. I Intend to make the app downloadable for FREE, either from this website or the Play Store.

Q. Can you customise it for my Airsoft site?

A. Yes, but I will probably ask for a very small charge, or for you to make a small donation to my running costs. It costs me money to produce this software and to make this available for download. I am not trying to make any money, just cover my costs.

Q. Is this software included in your Creative Commons License?

A. No, I am retaining all rights to this software.

Q. Is this software perfect in every way?

A. Sadly no dear innocent child, its an experimental prototype that may not work like you expect, and its use will be entirely at your own risk.

Q. I recognise those great in app icons, where have I seen them before?

A. Good spot! I use "Icons by Glyphish", under the terms of the Creative Commons Attribution 3.0 United States License, under which Joseph Wain has generously made them available.

Q. Will the software remain Ad-free?

A. Currently I have no plans to add advertising, but I might if it helps me with my running costs.

Q. How do I make a small donation or contact you about this software?

A. Please contact me via this link.

Q. I do not see the "Unknown Sources" option on my Android Device. What am I to do?

A. Some Android device providers treat their users like children and have locked the devices that they supply to their customers. The CrapWorks disapproves of this asshole-ish behaviour, but sadly there is nothing I can do for you. If I can raise the money to release the app on Google Play, this will not be an issue.

Q. What about the players? Is there a players version of this app?

A. I do intend to make a lightweight version of this app that allows marshals to share the game codes with the players who want the details of the games. Since the players version of this app will be very similar to the marshal app, just with less in it, and because I am still working on the marshal app, for the moment players can use the features of the marshal app that they find useful and ignore the features that they do not need.

02 February, 2014

Android Marshal Tools App

Update 6th February 2014...


The tool has now progressed to the release version with will be tested this weekend. If it looks good, I will release it to the community, shortly afterwards. Since I posted this blog entry, my blog has been red hot, which I guess means that you lot are very interested. :)

Since my last video there have been a number of new features including:


  • Audio alerts for the timer and counter tools.
  • A browsable games database.
  • The ability to share games with other android devices that have the software.


To name a few!


In the meantime here is a screenshot of the release version...
The Yellow text is readable in the actual app!
This screenshot was taken with the Android emulator.
And a feature tour video for your enjoyment which is best watched on YouTube at HD resolution with the volume set high....





Intended use

I imagine that airsoft marshals might design a game on this app, maybe even the night before gameday or during a pre-game marshal huddle with the lead marshal designing the game and the others copying the data. The the marshal(s) would have one or more ready to roll game(s) in their pocket. The structure of the mission designer encourages a marshal to address all the essential elements of a game at design time.

We have all been to a game briefing where all the essential elements have not been addressed before the briefing. (I have even delivered a few of these briefings. :P) It looks unprofessional and adds stress to the already stressful job of being a marshal. Having a scripted briefing on your phone means that you simply have to read the script.

The next problem this tool addresses, is a situation I see every game both from players and marshals. They turn to their neighbour and ask "Where do we respawn?", or "What are the life rules?" or "Where is our start point?". Now any player or marshal with this tool (who has recorded the game) has access to that information in their pocket.

Tell me more

If you are at all interested in using the app, please register your interest by clicking this link. In the comments field, first of all let me know what you are interested in as I use this link for comments on all my blog posts. Then, let me know where in the world your airsoft field/site is (where you would like to use the app). Then, let me know your role at the site, i.e. Owner, Marshal, Player, etc,. Finally your website URL.

Here is an example of a correctly filled in comments:

I would like to know more about your Android App:
My site is BadAss Airsoft, Porkbend, Utah, USA.
I am the site owner
The site website is www.badassairsoft.com

Feel free to add any other useful comments about how it could be improved.

Any spam or incorrectly filled fields (including name and email) will be deleted.

F.A.Q (Subject to change)

Q. How much will this cost?

A. I Intend to make the app downloadable for FREE, either from this website or the Play Store.

Q. Can you customise it for my Airsoft site?

A. Yes, but I will probably ask for a very small charge, or for you to make a small donation to my running costs. It costs me money to produce this software and to make this available for download. I am not trying to make any money, just cover my costs.

Q. Is this software included in your Creative Commons License?

A. No, I am retaining all rights to this software.

Q. Is this software perfect in every way?

A. Sadly no dear innocent child, its an experimental prototype that may not work like you expect, and its use will be entirely at your own risk.

Q. I recognise those great in app icons, where have I seen them before?

A. Good spot! I use "Icons by Glyphish", under the terms of the Creative Commons Attribution 3.0 United States License, under which Joseph Wain has generously made them available.