karthi06
Junior Member level 2
- Joined
- Jan 16, 2014
- Messages
- 24
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 209
Hello,
Currently i am working on creating a GUI layout for accident notifier by using visual basic software. I have the Eclipse coding that was intended for smartphone application. The coding is as following:
Algorithm 1:
if input=0
"DETECT1" string is sent
else
"No Detect" string is sent
Algorithm 2:
Software initialized in "splash.java", GUI layout at "splash.xml" for 5 seconds,then to "Menu.java".
Algorithm 3:
"Menu.java" is initialised with GUI layout at "activity_sms.xml".User's details are included.
if(button "START" on click)
compare name>0
phone number>0
passenger number>0
car plate number>0
vehicle model>0
go to "Standby.java" with GUI layout "standby.xml"
else(menu.java)
Algorithm 4:
"Standby.java" with GUI layout "standby.xml", to discover BlueBee
if(button "Discover device" on click)
scan and discover Bluetooth devices
else(standby.java)
Algorithm 5:
if(button "BlueBee" on click)
pair with BlueBee
else(Algoritm 4)
Algoritm 6:
if(string "DETECT1" received)
go to "cancel.java" at "cancel.xml"
else(display string "No detect")
Algorithm 7:
At "cancel.java" at "cancel.xml",
if(button "DO NOT SEND" on click)
go to Algorithm 3
else(go to "SMS.java")
The problem is, i don't know how to re-write the coding into the visual basic software, as some of the terms used in the coding will differ in VB software. Thus, i need your help in solving my problem and thank you very much
Currently i am working on creating a GUI layout for accident notifier by using visual basic software. I have the Eclipse coding that was intended for smartphone application. The coding is as following:
Algorithm 1:
if input=0
"DETECT1" string is sent
else
"No Detect" string is sent
Algorithm 2:
Software initialized in "splash.java", GUI layout at "splash.xml" for 5 seconds,then to "Menu.java".
Algorithm 3:
"Menu.java" is initialised with GUI layout at "activity_sms.xml".User's details are included.
if(button "START" on click)
compare name>0
phone number>0
passenger number>0
car plate number>0
vehicle model>0
go to "Standby.java" with GUI layout "standby.xml"
else(menu.java)
Algorithm 4:
"Standby.java" with GUI layout "standby.xml", to discover BlueBee
if(button "Discover device" on click)
scan and discover Bluetooth devices
else(standby.java)
Algorithm 5:
if(button "BlueBee" on click)
pair with BlueBee
else(Algoritm 4)
Algoritm 6:
if(string "DETECT1" received)
go to "cancel.java" at "cancel.xml"
else(display string "No detect")
Algorithm 7:
At "cancel.java" at "cancel.xml",
if(button "DO NOT SEND" on click)
go to Algorithm 3
else(go to "SMS.java")
The problem is, i don't know how to re-write the coding into the visual basic software, as some of the terms used in the coding will differ in VB software. Thus, i need your help in solving my problem and thank you very much