User Tag List

Results 1 to 2 of 2

Thread: User-input number in android app?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Jan 2016
    0 Post(s)
    0 Thread(s)

    User-input number in android app?

    I'm trying to create a writer's goal-setting android app where the user can put in a goal number ("Write X words"), and then the app will track their progress. I want the user to be able to select a box (right now I have a counter there, but a different object might be better), type in any number they want, and then the app will store that number as a value (so it can compare the daily progress input until the user has reached their goal). I'm not sure how to get it to do that, however. Any help?


  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    Janette5's Avatar
    Join Date
    Dec 2014
    Western Cape, SA
    29 Post(s)
    0 Thread(s)
    You can use an edit box - if the player clicks in it, it auto pops-up a keyboard. The player can type in any number in it. Then you can save it in an ini file - where you can retrieve it again. You'd have to check that it's a value though - or do something so that if the player types a letter instead of a number it doesn't crash everything. If you're just displaying it, then it won't matter.

    Another option would be to have up and down arrows next to a counter and if the user taps them - it increases or decreases the counter. You can save the value of the counter into the ini file - and retrieve it from there again. That way you're sure that they will be using a number. (But it might get tedious if they need to add a lot of days.)

Similar Threads

  1. How to work with user input?
    By tjmhoops in forum Fusion 2.5
    Replies: 3
    Last Post: 22nd February 2014, 06:03 PM
  2. Feature suggestion for Android object to allow for super-easy custom user input.
    By BrashMonkey in forum Android Export Module Version 2.0
    Replies: 1
    Last Post: 27th May 2013, 03:54 PM
  3. User input in Flash
    By King_Cool in forum SWF/Flash Export Module Version 2.0
    Replies: 2
    Last Post: 21st November 2012, 09:10 PM
  4. How To Have a User Input A Number
    By MrXkill in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th July 2011, 02:01 PM
  5. How to delay user input momentarily...
    By mobichan in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 7th October 2007, 06:33 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts