Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[APP][1.6+]Number Converter [v2 UPDATE]

OP snotyak

24th July 2012, 11:17 AM   |  #1  
OP Senior Member
Thanks Meter: 73
 
229 posts
Join Date:Joined: May 2012
Donate to Me


f you have suggestions, or problems please provide me with feedback here rather than giving me negative reviews on Google Play. This is my third app and I'm looking to improve it as much as possible.

Number Converter


This app allows for simple input and conversion between decimal, binary, hexadecimal, and octal numbers. You can type values within any field and all of the others will be calculated.

Google Play Store Link
https://play.google.com/store/apps/d...umberconverter

Ad-Free version:
https://play.google.com/store/apps/d...onverterdonate


Please follow me on twitter - https://twitter.com/snotyak

Version Changes:

Code:
2.0
  • Removes the limit on value length. (you can use greater than 64-bit values)
  • Add spacing/formatting to values
1.1
  • Supports both Light and Dark theming
Inital Release
  • Supports Copy to clipboard
  • Supports values from 0 to 9,223,372,036,854,775,807
Attached Thumbnails
Click image for larger version

Name:	featurenum1.jpg
Views:	281
Size:	52.2 KB
ID:	1639888   Click image for larger version

Name:	device-2013-01-12-144811.jpg
Views:	47
Size:	24.1 KB
ID:	1639966   Click image for larger version

Name:	device-2013-01-12-144842.jpg
Views:	42
Size:	18.9 KB
ID:	1639967   Click image for larger version

Name:	device-2013-01-12-144913.jpg
Views:	43
Size:	27.6 KB
ID:	1639968   Click image for larger version

Name:	device-2013-01-12-145028.jpg
Views:	43
Size:	24.8 KB
ID:	1639969   Click image for larger version

Name:	device-2013-01-12-145119.jpg
Views:	38
Size:	18.9 KB
ID:	1639970   Click image for larger version

Name:	device-2013-01-12-145142.jpg
Views:	38
Size:	14.2 KB
ID:	1639971  
Last edited by snotyak; 13th January 2013 at 02:10 AM.
The Following 10 Users Say Thank You to snotyak For This Useful Post: [ View ]
31st July 2012, 11:37 AM   |  #2  
Member
Thanks Meter: 0
 
33 posts
Join Date:Joined: Nov 2010
Thumbs up
Really stylish and clean application. However I get a menu button which doesn't do anything on my Galaxy Nexus. Good job btw!
31st July 2012, 11:44 AM   |  #3  
OP Senior Member
Thanks Meter: 73
 
229 posts
Join Date:Joined: May 2012
Donate to Me
Quote:
Originally Posted by Tanayar

Really stylish and clean application. However I get a menu button which doesn't do anything on my Galaxy Nexus. Good job btw!

EDIT: I totally thought you were replying to my other app, haha. I think I'll add theming capabilities (just simple light or dark) and have your menu button do that

Thanks for the input!
Last edited by snotyak; 31st July 2012 at 11:47 AM.
31st July 2012, 12:00 PM   |  #4  
labsin's Avatar
Senior Member
Flag Antwerp
Thanks Meter: 235
 
665 posts
Join Date:Joined: Apr 2011
More
Maybe an option to chose between the softkeyboard and the in-app one?
31st July 2012, 12:46 PM   |  #5  
OP Senior Member
Thanks Meter: 73
 
229 posts
Join Date:Joined: May 2012
Donate to Me
Quote:
Originally Posted by labsin

Maybe an option to chose between the softkeyboard and the in-app one?

I intentionally didn't let users choose their keyboard because there aren't soft keyboards with ONLY the specific keys users can use. I could allow users to use any keyboard but limit their input to what should be in the given fields, but it may cause frustration when ignorant users are pressing keys and are receiving haptic feedback, but the actual characters aren't appearing in the text box.
31st July 2012, 02:50 PM   |  #6  
Senior Member
Flag Chicagoland
Thanks Meter: 46
 
283 posts
Join Date:Joined: Aug 2007
More
Suggestions
This is a nice application. I would like to make the following suggestions:

Allow the user to set the word size (in bits).
Allow for word sizes greater than 60 bits (64 bits would be nice, 128 bits would be fantastic).
Allow for signed or unsigned (this affects the decimal conversion).
Add basic programmers calculator functions (add, subtract, multiply, divide, shift left/right, rotate left/right, And, Or, Xor, 1's compliment, 2's compliment).

A convert to floating point would be a nice feature. This would take the decimal number and convert it to the binary, octal and hex floating point representation. This would require the entry of non-integer values. IMHO only IEEE format floating needs to be supported.

Thanks...
31st July 2012, 03:07 PM   |  #7  
OP Senior Member
Thanks Meter: 73
 
229 posts
Join Date:Joined: May 2012
Donate to Me
OP updated. New version released


Quote:
Originally Posted by ChitownWingMan

This is a nice application. I would like to make the following suggestions:

Allow the user to set the word size (in bits).
Allow for word sizes greater than 60 bits (64 bits would be nice, 128 bits would be fantastic).
Allow for signed or unsigned (this affects the decimal conversion).
Add basic programmers calculator functions (add, subtract, multiply, divide, shift left/right, rotate left/right, And, Or, Xor, 1's compliment, 2's compliment).

A convert to floating point would be a nice feature. This would take the decimal number and convert it to the binary, octal and hex floating point representation. This would require the entry of non-integer values. IMHO only IEEE format floating needs to be supported.

Thanks...

Honestly, I only made this for my convenience. I wish to dedicate most of my time towards making games, but I made this for me and thought I could benefit others.

Regarding your feature requests,

The first one seems pretty feasible. Not really sure what you specifically want from this. Do you want it so the word (in the binary field) is capped at x (where x is the input word length). Or do you just want it to look nice and throw a space after every x bits?

Regarding > 60 bits and signed/unsigned - Java's largest primitive data type is "long" which is max 9,223,372,036,854,775,807. Theoretically, I could use the other half of the spectrum (the negative values) and offset it to cover that much more, but I don't think Long.toString(someLong, baseX) would play nice with that. I'd basically need to do it completely differently to achieve this.

The basic functions also seem feasible but, to me, don't belong in this app. I think a dedicated Programmer's tools app would be more appropriate as the sole purpose of this is to display different representations of a given number.

Lastly, converting to floating point is the most feasible of your options. My girlfriend is about to leave the state for vet school so I won't be doing too much programming as I'll be spending time with her...but if any of the requested features make it in this app, it'll be the floating point conversion...though, as you mention, it's going to need decimal values, I'd throw it on a different tab or something.

Thanks a lot for your feedback.
31st July 2012, 04:48 PM   |  #8  
15israellai's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 34
 
329 posts
Join Date:Joined: Jan 2012
More
Thumbs up
Wow. That's a really handy and straightfoward ICS-style app. Cool, bro.
31st July 2012, 06:48 PM   |  #9  
OP Senior Member
Thanks Meter: 73
 
229 posts
Join Date:Joined: May 2012
Donate to Me
Quote:
Originally Posted by 15israellai

Wow. That's a really handy and straightfoward ICS-style app. Cool, bro.

Thanks. I plan on doing more apps of this style in the future
31st July 2012, 07:43 PM   |  #10  
Junior Member
Thanks Meter: 1
 
2 posts
Join Date:Joined: Nov 2006
More
Thumbs up Small suggestion
I *like* this. Thanks, nice tool.
I agree with the suggestion that you provide an option for displayed word-size. Perhaps if you do that, then it would be really good to display
  • with spaces between bytes for binary values, or between appropriate-size tuples for higher -ary values (between 3 numerals for octal, 2 for hex)
  • left padding for the values, where padding may be zero, or sign-extension

You have inspired me to develop a similar tool for analyzing unicode character data, particularly UTF-8 strings.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes