Hi guys! today I have completed my extension called binary converter. This converter can convert int value to binary code. My friend @Hrichik has helped me compile the extension.
thank you, this looks like a good start into building extensions...
Please also follow the naming conventions, which is UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, no underscores .
Excellent start! Let me tell you, if at 12 years old you are doing this, you are up to big things in the future!
Keep going!
As a challenge, try to build an extension for something people need and App Inventor can't do with simple built in blocks.
I am trying to create converter extension which can convert binary to string and back again with other conversions like octal. Do you need this in the same extension or separate?
Is this a question? Or you joking sorry but what if app inventor was made different website for designer and different for blocks? Sorry but it does not make any sense
can you provide an example of that string, which you like to convert into binary?
Taifun
PS: please keep the discussion in the community rather than sending my a PM... thank you...
BytesReceived – The BytesReceived event is run when one or more byte values are received from a connected Bluetooth device. Depending on the sign parameter of the last call to ReadBytes or RegisterForBytes for the given serviceUuid and characteristicUuid , the byteValues list will contain numbers ranging from -128 to 127 ( signed = true ) or 0 to 255 ( signed = false ). Parameters :
serviceUuid (text) — The unique identifier of the service passed in the read or register call.
characteristicUuid (text) — The unique identifier of the characteristic in the read or register call.
byteValues (list) — A list of values read from the device. The range of each value will depend on the sign flag previously specified in the call to read or register.