• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][2.1+][FREE] HDBHelper: Calculate in Hex, Decimal and Binary - All at once!

Search This thread

KobiP

Senior Member
Jun 22, 2007
276
40



HDBHelper

HDB stands for Hex, Decimal and Binary. And the App does what it sounds like: Display and Caluclate in Hex, Dec and Bin!
You can choose your Bitlength, also if the value is signed or unsigned. You can easily switch between the Settings and see how the value changes.

Features:
- No Ads!
- Bit Length: 8bit, 16bit, 32bit
- Signed, Unsigned
- Type in Bin, Dec, Hex
- Byte Endianness (Little Endian, Big Endian, Reverse Little Endian (DIP)
- Arithmetic operations: addition, subtraction, multiplication, division, modulu
- Bit operations: shifting, rolling, NOT, AND, OR, XOR, XNOR
- Three layouts: Simple, Advanced and Display
- Languages​​: English and German
- Long Press "Del/Clr" to Clear
- Long Press "-" to enter Negative Value
- Supporting Devices from very small (ldpi) to big (xhdpi) and Tablets with Android 3.2+ in portrait and landscape
- Display 8 Bit Values in ASCII
- Toggle Bits by tapping
- Copy to Clipboard (Bin, Dec, Hex, or all at once)
You can get the App for free in the Google Play Store. I am very happy to hear your oppinion! And if you have some feature wishes, even better :)

Cheers,

KobiP

 
Last edited:

KobiP

Senior Member
Jun 22, 2007
276
40
Known Bugs in 1.8.0:
- none known :angel:

Changelog:
v1.8.0
New Features:
Use your Hardware Keyboard to enter the following Keys 0-9, A-F, +-*/=
If your app is English, a standard qwerty Keyboard is assumed. In German a qwertz Keyboard Layout is assumed
You want another Keyboard supported? Write me an eMail!

v1.7.0
New Features:
- Minus Button shows now long Press action
- You can now long press Minus with the current value 0 to enter a negative value
- New Icon

Solved Bugs:
- 7 Inch Advanced Layout Portrait Glitch fixed

v1.6.0 (19 Downloads at XDA)
New Features:
- Simulate Endianess errors. Example: Sender has Big Endianess, receiver has Little Endianess
- Menu Layout improved
Solved Bugs:
- In some cases multiple Equations calculated in a row were leading to wrong results
- Bin & Hex divide did not work for 16bit

Changelog:
v1.5.1
New Features:
- Copy to Clipboard (Bin, Dec, Hex, or all three at once)
- Choose Endianness (Big Endian, Little Endian, Reverse Little Endian (DIP)
Solved Bugs:
- If Signed is active you can not enter in Hex a Value Bigger than 0x7F / 0x7FFF / 0x7FFFFFFF
Enhancements:
- ASCII Value displayed more beautiful

v1.4.0 (110 Downloads at XDA)
New Features:
- New Layout: Displays only the Value, no calculation possible. Binary Bits are bigger and easier to toggle.
- 8 Bit Values can be displayed as ASCII
 

Attachments

  • HDBHelper.apk
    910.4 KB · Views: 936
Last edited:

jerdog

Admin Emeritus - Purveyor of word nuggets
May 17, 2007
8,169
7,154
Gallifrey
Please provide the app (and all future versions) in the OP for download, in accordance with Forum Rules, especially for those who do not have Play Store access
 

jjohns63

Senior Member
Aug 2, 2010
61
22
Austin
Awesome app, with a simple layout, I work in PC firmware and often need to convert between hex, decimal, and binary so I've been searching for this for a long time.
I've found a bug, though. When I am in hex, 8bit mode, I'm unable to enter values > 0x7F. I get a toast message saying "Value rejected, is bigger than Bit length allows. Same general principle applies to hex, 16bit mode; I can't enter values > 0x7FF.
 

KobiP

Senior Member
Jun 22, 2007
276
40
@jerdog: APK is now in Post 2 attached.

@jjohns63: You are right, in HEX and Bin You should be able to do that. Only in Decimal this should not be allowed if you have a signed value. Will fix this in next release. Happy that you like it :)
 
  • Like
Reactions: afaneh92

sleepyfu

Senior Member
May 11, 2010
423
21
Seattle, WA
Is it possible to get option to display BIN from left to right, this will come in real handy for dip switch addressing hardwares.
 

KobiP

Senior Member
Jun 22, 2007
276
40
@sleepyfu: You mean Little and Big Endian or do you mean completely Reverse?
E.g. Dec 2400 = Bin 0000 1001 0110 0000
What would you display?

Cheers
 
  • Like
Reactions: sleepyfu

University of Pi

Senior Member
Aug 31, 2011
162
25
26
Rochester, NY
I'd love to see more bases supported like base 12 or base 20
(or theoretically support for all base systems with brackets for each digit if it is larger than 10)
in a future release
 
Last edited:

sleepyfu

Senior Member
May 11, 2010
423
21
Seattle, WA
@sleepyfu: You mean Little and Big Endian or do you mean completely Reverse?
E.g. Dec 2400 = Bin 0000 1001 0110 0000
What would you display?

Cheers

Reverse as 1=1000, 2=0100, 3=1100, 12=0011, Thanks!
Reason being most hardware I have seen with binary address using dip switches has 1 on the far left.

<via Tapatalk>
 

KobiP

Senior Member
Jun 22, 2007
276
40
I'd love to see more bases supported like base 12 or base 20
(or theoretically support for all base systems with brackets for each digit if it is larger than 10)
in a future release
Hi!
Hmm, I can't think of any use for this. Can you give me an example? This change would mean a complete overhaul of my app, so it won't be integrated soon, if ever...

@sleepyfu: I implemented a setting where you can choose between Big Endian, Little Endian and Reverse Little Endian. Last one is your poposal :) Will be included in next Update, pobably next weekend!

@Gemofworld: Tnx :D

Cheers
 
  • Like
Reactions: sleepyfu

University of Pi

Senior Member
Aug 31, 2011
162
25
26
Rochester, NY
Re: [APP][2.1+][FREE] HDBHelper: Calculate in Hex, Decimal and Binary - All at once

Hi!
Hmm, I can't think of any use for this. Can you give me an example? This change would mean a complete overhaul of my app, so it won't be integrated soon, if ever...
l

Nothing extremely useful mainly just cool
Could always find a different app

Sent from my TF300T using XDA Premium HD app
 

KobiP

Senior Member
Jun 22, 2007
276
40
Changelog:
v1.5.1
New Features:
- Copy to Clipboard (Bin, Dec, Hex, or all three at once)
- Choose Endianness (Big Endian, Little Endian, Reverse Little Endian (DIP)
Solved Bugs:
- If Signed is active you can not enter in Hex a Value Bigger than 0x7F / 0x7FFF / 0x7FFFFFFF
Enhancements:
- ASCII Value displayed more beautiful

Uploaded new Version!

@sleepyfu: Hope you like the Reverse Little Endian (DIP) Style :)
 
  • Like
Reactions: sleepyfu

sleepyfu

Senior Member
May 11, 2010
423
21
Seattle, WA
Uploaded new Version!

@sleepyfu: Hope you like the Reverse Little Endian (DIP) Style :)

Super awesome thanks alot!

I noticed for the setting's changes to take effect, you will need to back out of the app and relaunch,
consider auto restart or a pop up note to ask the user to relaunch the app.
Or is it possible to kill the main process when in settings than start it back with new settings values?
Sorry I don't know how to code, just throwing ideas around.

Thanks again, super excited about this app :)

here is an example of the hardware
Ic_Type_Dip_Switches_Coded_Selector_Dial_Switch.jpg


<via Tapatalk>
 
Last edited:

KobiP

Senior Member
Jun 22, 2007
276
40
I noticed for the setting's changes to take effect, you will need to back out of the app and relaunch,
consider auto restart or a pop up note to ask the user to relaunch the app.

Thanks, you were the final reason to implement an Endian Functionality. Right now the settings are only there for adjusting the dafaults at App Start. You can switch the Layout easily during runtime under View :) But you are right, settings should response immediately.

Next I am planning a function where you can simulate / display what happens if Data is stored in Big and read in Little Endian, also the other way round. And maybe a paste function. But I am not sure about the second one...

Cheers
 
  • Like
Reactions: sleepyfu

KobiP

Senior Member
Jun 22, 2007
276
40
Changelog:
v1.6.0
New Features:
- Simulate Endianess errors. Example: Sender has Big Endianess, receiver has Little Endianess
- Menu Layout improved
Solved Bugs:
- In some cases multiple Equations calculated in a row were leading to wrong results
- Bin & Hex divide did not work for 16bit

I released the new Version 1.6.0 today.

Have Fun and happy Easter!
 

KobiP

Senior Member
Jun 22, 2007
276
40
v1.7.0
New Features:
- Minus Button shows now long Press action
- You can now long press Minus with the current value 0 to enter a negative value
- New Icon

Solved Bugs:
- 7 Inch Advanced Layout Portrait Glitch fixed

Hey, I uploaded a new Version. This Time the Icon was designed with Gimp, not PowerPoint :cool:
 

KobiP

Senior Member
Jun 22, 2007
276
40
Another Month, another Update :)

v1.8.0
New Features:
Use your Hardware Keyboard to enter the following Keys 0-9, A-F, +-*/=
If your app is English, a standard qwerty Keyboard is assumed. In German a qwertz Keyboard Layout is assumed
You want another Keyboard supported? Write me an eMail!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 14



    HDBHelper

    HDB stands for Hex, Decimal and Binary. And the App does what it sounds like: Display and Caluclate in Hex, Dec and Bin!
    You can choose your Bitlength, also if the value is signed or unsigned. You can easily switch between the Settings and see how the value changes.

    Features:
    - No Ads!
    - Bit Length: 8bit, 16bit, 32bit
    - Signed, Unsigned
    - Type in Bin, Dec, Hex
    - Byte Endianness (Little Endian, Big Endian, Reverse Little Endian (DIP)
    - Arithmetic operations: addition, subtraction, multiplication, division, modulu
    - Bit operations: shifting, rolling, NOT, AND, OR, XOR, XNOR
    - Three layouts: Simple, Advanced and Display
    - Languages​​: English and German
    - Long Press "Del/Clr" to Clear
    - Long Press "-" to enter Negative Value
    - Supporting Devices from very small (ldpi) to big (xhdpi) and Tablets with Android 3.2+ in portrait and landscape
    - Display 8 Bit Values in ASCII
    - Toggle Bits by tapping
    - Copy to Clipboard (Bin, Dec, Hex, or all at once)
    You can get the App for free in the Google Play Store. I am very happy to hear your oppinion! And if you have some feature wishes, even better :)

    Cheers,

    KobiP

    5
    Known Bugs in 1.8.0:
    - none known :angel:

    Changelog:
    v1.8.0
    New Features:
    Use your Hardware Keyboard to enter the following Keys 0-9, A-F, +-*/=
    If your app is English, a standard qwerty Keyboard is assumed. In German a qwertz Keyboard Layout is assumed
    You want another Keyboard supported? Write me an eMail!

    v1.7.0
    New Features:
    - Minus Button shows now long Press action
    - You can now long press Minus with the current value 0 to enter a negative value
    - New Icon

    Solved Bugs:
    - 7 Inch Advanced Layout Portrait Glitch fixed

    v1.6.0 (19 Downloads at XDA)
    New Features:
    - Simulate Endianess errors. Example: Sender has Big Endianess, receiver has Little Endianess
    - Menu Layout improved
    Solved Bugs:
    - In some cases multiple Equations calculated in a row were leading to wrong results
    - Bin & Hex divide did not work for 16bit

    Changelog:
    v1.5.1
    New Features:
    - Copy to Clipboard (Bin, Dec, Hex, or all three at once)
    - Choose Endianness (Big Endian, Little Endian, Reverse Little Endian (DIP)
    Solved Bugs:
    - If Signed is active you can not enter in Hex a Value Bigger than 0x7F / 0x7FFF / 0x7FFFFFFF
    Enhancements:
    - ASCII Value displayed more beautiful

    v1.4.0 (110 Downloads at XDA)
    New Features:
    - New Layout: Displays only the Value, no calculation possible. Binary Bits are bigger and easier to toggle.
    - 8 Bit Values can be displayed as ASCII
    1
    @jerdog: APK is now in Post 2 attached.

    @jjohns63: You are right, in HEX and Bin You should be able to do that. Only in Decimal this should not be allowed if you have a signed value. Will fix this in next release. Happy that you like it :)
    1
    @sleepyfu: You mean Little and Big Endian or do you mean completely Reverse?
    E.g. Dec 2400 = Bin 0000 1001 0110 0000
    What would you display?

    Cheers
    1
    I'd love to see more bases supported like base 12 or base 20
    (or theoretically support for all base systems with brackets for each digit if it is larger than 10)
    in a future release
    Hi!
    Hmm, I can't think of any use for this. Can you give me an example? This change would mean a complete overhaul of my app, so it won't be integrated soon, if ever...

    @sleepyfu: I implemented a setting where you can choose between Big Endian, Little Endian and Reverse Little Endian. Last one is your poposal :) Will be included in next Update, pobably next weekend!

    @Gemofworld: Tnx :D

    Cheers