Home       Goals       Download       Documentation       Support Us       Development       Job Openings       Webstore       Patrons       Contact us / Enlist      

 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

qtapp_2010_shelved [2012/03/30 01:32] (current)
Line 1: Line 1:
 +====== SUPER SIMPLE QT/Mobile APPLICATION ======
 +This application is intended to show a series of images and play back sounds when a buttons are pushed, a breakdown of the application follows here and someone familiar with QT should be able to do this in a day or two.
  
 +The application begins by displaying a splash icon on the main screen and potentially plays a sound.
 +
 +video: splash_start.MPG (also see SPLASH CONFIGURATION FILE).
 +
 +The application then displays images as ICONS on screen from pictures in lists by the name chp01.txt chp02.txt etc. with a text or partial text printed underneath if present in text file.
 +
 +Program must be able to handle PNG, SVG and JPG as minimum, other image formats welcome.
 +
 +The chpxx.txt text files are built like this: (xx represents an arbitrary number)
 +
 +<code>
 +
 +<Text> <imagename> <soundname>
 +<Text> <imagename> <soundname>
 +<Text> <imagename> <soundname>
 +<Text> <imagename> <soundname>
 +
 +Example
 +
 +Water water.png splash.wav
 +Salt shaker.svg salt.wav
 +Herring fish.png sayherring.wav
 +
 +</code>
 +
 +Preferrable no size limitation as such regarding number of lines in chp.txt files, i.e. in number of words/sentences pr. chapter.
 +
 +If text is longer than the icon, an image of a triangle at the end of the word pointing in the text direction should be shown to indicate a sentence.
 +
 +This image should be user definable and called pointing.imageformat
 +
 +imageformat after the . denotes the type of image file i.e. svg, png,, jpg etc.
 +
 +SOUND: The application must be able to play the sound at the end of the line in the chpxx.txt files as shown in the example text above, this happens when the user clicks on an icon on the screen.
 +
 +The application must as a minimum be able to playback mp3, and should be able to play ogg and wav files as well.
 +
 +(see video: pushing_a_button.MPG)
 +
 +One needs to be able to leaf through the icons on screen in each chapter from side to side.
 +
 +(See video: move_icons_and_chapter_buttons.MPG)
 +
 +
 +It should be possible to define the size and number of icons displayed on screen at any given time, this should be done in a configuration file called display.txt
 +
 +The syntax of the display file should be like this.
 +
 +<code>
 +<XNum1>, <YNum1>, <SIZE1> <+/->
 +<XNum2>, <YNum2>, <SIZE> <+/->
 +
 +Example
 +2,3,100 +
 +3,3, 95 -
 +
 +</code>
 +
 +Standard mode 1 - Vertical (the first line)
 +
 +In the first line, the number 2 is the number of images on the x-axis and the number 3, is the number of images on the y-axis, 100 + indicates to enlarge image by 100%
 +
 +Standard mode 2 - Horizontal, i.e. when the phone is tilted. (the second line)
 +
 +In the second line, the number 3 indicates the number of images to show on the x-axis and the number 3 indicates the number of images on the y-axis, 95 - indicates a reduction in the size of the images displayed. i.e. the characters + and - are used to indicate enlarge or reduce.
 +
 +Enlargement of icons and reduction should be possible during live running of the application using standard zoom movements
 +
 +i.e. enlarge by moving index and thumb in opposite directions, and reduce by moving index and thumb towards each other.
 +
 +TOP MENU
 +
 +The top side of the screen a fixed set of buttons allow users to make quick select sections (ie. chapters) the arrow keys allow to scroll through chapters as demonstrated in the video earlier 
 +
 +(move_icons_and_chapter_buttons.MPG).
 +
 +Chapter buttons are represented with a number, it should be possible to add icons to any button in the interface via text file in the following format called ifbuttons.txt
 +
 +The numbers change as you leaf through the chapter, the numbers are also buttons so that you can push to go to that chapter direct, the single arrow is used to start the program to automatically slowly move in the chosen direction and the double arrow to move faster, tapping the double arrow twice rapidly moves all the way up or down through the possible chapters.
 +
 +The stop button (the in the top menu square) does exactly what the name indicates, namely stops the scrolling.
 +
 +With regards to the format of the ifbuttons.txt file it should be like this:
 +
 +<code>
 +
 +<MENU1> <UP/DOWN> 
 +<buttonname> <imagename> <text>
 +<buttonname> <imagename> <text> 
 +<buttonname> <imagename> <text> 
 +
 +<MENU2> <UP/DOWN>
 +<buttonname> <imagename> <text> 
 +<buttonname> <imagename> <text> 
 +
 +Example:
 +
 +MENU1 UP
 +arrow1 chp1.png 1
 +arrow2 chp2.png 2
 +stop stop.png
 +
 +MENU2 DOWN
 +aboutbutton.svg
 +exitbutton.png
 +
 +</code>
 +
 +As you can see stop had no textual representation, the idea is that you parse to the EOL and if there is nothing after the .png you only show icon, if there is something you show text in case icon is broken.
 +
 +Also you will have noticed that the file had two different menus called MENU1 and MENU2, these each had an either up or down behind them indicating the default start position on screen when the application opens.
 +
 +NOTICE: Top and bottom interface panels need to be interchangeable i.e. draggable from top to bottom and vice versa.
 +
 +(See video: move_menus.MPG)
 +
 +
 +PROGRAM EXIT & ABOUT PROGRAM
 +
 +To end the application one presses the x button, at the bottom of the screen, one is then presented with a do you want to quit box with a yes and a cancel button.
 +
 +Program exit shows a splash screen for a certain period of time and potentially plays a sound.
 +
 +A questionmark button opposite the x when clicked presents a text that can be found in about.txt
 +
 +SPLASH CONFIGURATION FILE
 +
 +Both begin splash screens and end splash screens need to be defined in a file called splash.txt, also the time that the splashscreen is shown on screen needs to be defined in the file like this. At start and stop the application needs to be able to play a sound file, this is also defined in splash.txt.
 +
 +The file structure looks like this
 +
 +<code>
 +
 +<begin splash image name> <time to show splashscreen> <soundname>
 +<end splash image name> <time to show splashscreen> <soundname>
 +
 +Example:
 +
 +startimage.png 10 tada.wav
 +endimage.png 20 thankyou.mp3
 +
 +</code>
 +
 +Directory structure for program
 +
 +/application ←– main directory, main program files
 +
 +/images ←— directory for images (png/jpg) - includes any icon buttons the program utilizes
 +
 +/words ←— directory for chapter files (chp.txt)
 +
 +/sound ←—- directory for sound files (mp3, ogg, wav)
 +
 +/config ←— directory for config files (splash.txt, ifbuttons.txt)
 +
 +The application need to be able to run independantly of where it is placed i.e. it needs to be able to be run from an arbitrary location on a device / disk.
 +
 +All txt files need to be plain text files that are editable by any standard text editor.
 +
 +The application needs to be developed using the newest QT - from: http://qt.nokia.com/products
 +
 +All code created must be 100% open and thoroughly documented, and you will need to sign over irrevocable rights to the code as well as the irrevocable right to distribute or to alter and otherwise use under a licence of my choice.
 +
 +You will yourself naturally retain the rights to said code to use as you please.
 +
 +You will before beginning need to confirm the above conditions. A proper text will be provided to you to print and sign, you'll then need to scan and upload it to us and send the document by airmail to an address to be stated.
 +
 +
 +
 +The advert is posted on eLance at: http://tinyurl.com/3yptyg5
 +
 +I have also today (08/05-2010) set up a Facebook advertisement seeking to enlist people, will be vey interesting to see if anyone responds. (stats on Facebook ad campaign show no impressions, the fee was set to the lowest possible, thus other bidders for the space have bought it)
 +
 +Today (16/05-2010) I posted the same app as an Android application project on freelancer.com under the heading [[http://www.freelancer.com/projects/Android/SUPER-SIMPLE-Android-Mobile-APPLICATION.html|SUPER-SIMPLE-Android-Mobile-APPLICATION]]. 
 +
 +Within 1 hour or so a bidder entertained a bid, the MPG's created to illustrate the project have been uploaded to http://globability.org/download/mobileapp1.zip - the file includes 20 png's and one svg.
qtapp_2010_shelved.txt · Last modified: 2012/03/30 01:32 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki



The contents of this site, i.e. texts, programs and images, but not limited to these, belongs to their respective owners and are protected under international copyright treaties according to individual licensing.

Please make sure you familiarize yourself with the appropriate permissions / licenses and follow these individually before using anything you find on this site.

The Global Ability Initiative is a Non Profit venture dedicated to the development of gratis, open source software for the disabled, the sick and the needy - We aim to provide assistive software to a wide variety of people, suffering for example from Aphasia, MS, ALS, Cerebral Palsy and other disabilities as well as pushing initiatives in the field of ECG monitoring.

With reservation for changes and errors.