2016년 11월 22일 화요일

How to i convert IP address to bit binery on app inventor2?


Hi all,

This is the first time i am creating application and i was told by my lecturer to create a IP converter. i have no idea how to make the IP address and subnet appear on the text-box and i also need to convert subnet mask to bit binery as well for my project. Hope i would be able to get help from you all. I have attached a png file to show you guys know roughly how it look like

-- 

 i have no idea how to make the IP address and subnet appear on the text-box

my WiFi extension https://puravidaapps.com/wifi.php can provide to local IP address


 i also need to convert subnet mask to bit binery as well for my project
how would you do that manually?

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook   http://www.appinventor.org/book2 ... the links are at the bottom of the Web page.  The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro  and the aia files for the projects in the book are here:  http://www.appinventor.org/bookFiles  
How to do a lot of basic things with App Inventor are described here:  http://www.appinventor.org/content/howDoYou/eventHandling  .

Also do the tutorials http://appinventor.mit.edu/explore/ai2/tutorials.html to learn the basics of App Inventor, then try something and follow the
 Top 5 Tips: How to learn App Inventor

You will not find a tutorial, which does exactly what you are looking for. But doing the tutorials (not only reading a little bit) help you to understand, how things are working. This is important and this is the first step to do.

Taifun     


-- 
You can see examples of base conversion in parts of this Gallery app:

ABG


-- 
Why doesn't my procedure have extra 'call' block compare to the link you gave me? i have attached the screenshot please take a look. Thanks

ggg.png 표시 중

ggggg.png 표시 중

-- 
You have to create the procedure and add parameters to it via the blue box before you can find it in the Procedures blocks section.

Pull a blank value procedure onto the Blocks area, then rename it and add parameters.
(Defining Procedures).

ABG


-- 

댓글 없음:

댓글 쓰기