Sunteți pe pagina 1din 41

1

DESIGN OF SMART PHONE

1.INTRODUCTION
What Is SmartPhone?
SmartPhone is a Computer Telephony Integration (CTI) product. This means it links your
desktop computer and telephone system together. CTI is at the heart of the future office, and
SmartPhone was one of the first CTI products of its kind to be released in the United
Kingdom. SmartPhone belongs to a family of CTI applications produced by Oak Telecom.
Other parts of the family are Smart Connect and Smart Operator. Smart Connect can
automatically open the record of the customer that is calling you when you answer the
telephone. Smart Operator can be used by operators and receptionists who need to quickly
and easily control queues of calls and see the telephone status of staff members.
SmartPhone links over your network to a computer running SmartServer. The SmartServer
computer is connected to the switchboard your company uses to make and receive all its
telephone calls. So the SmartServer computer knows at any time what telephone calls are in
progress. It uses this information to tell all the computers running SmartPhone who is on the
telephone to whom. Using this information, you can tell if somebody you need to speak to is
on the telephone or not. In addition, if you are a supervisor, you can monitor the amount of
time spent by employees talking on the telephone.
You can also connect your databases of contacts to SmartServer so that when somebody in
one of the databases calls your company, their name and their company name can be
displayed instead of just their telephone number. This gives you the advantage of knowing
who is calling before answering the telephone. It also eliminates the need of trying to
remember peoples telephone numbers.

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

2
DESIGN OF SMART PHONE

2. PROJECT DESCRIPTION
DESCRIPTION:A smart phone (or smart phone) is a mobile phone with more advanced computing
capability and connectivity than basic feature phones. Early smart phones typically combined
the features of a mobile phone with those of another popular consumer device, such as
a personal digital assistant (PDA), a media player, a digital camera, and/or a GPS navigation
unit. Later smart phones include all of those plus the features of a touch screen computer,
including web browsing, Wi-Fi, and 3rd-party Apps.

MODULE 1:
It deals with design and coding of first four icon/apps of the smart phone. Four apps are
designed in this module . Every icon has an output screen and its corresponding coding to
display the output forms. In design the tools used are Pictureboxes , listbox, webbrowser
,combobox , labels ,buttons, textbox, panel, etc.

MODULE 2:
It deals with design and coding of second four icon/apps of the smart phone. Four apps are
designed in this module . Every icon has an output screen and its corresponding coding to
display the output forms. In design the tools used are Pictureboxes , listbox, combobox ,
labels ,buttons, textbox, panel, etc.

MODULE 3:
It deals with design and coding of third four icon/apps of the smart phone. The apps designed
in this module are Contacts, Stop Watch , Browser , Messenger . Every icon has an output
screen and its corresponding coding to display the output forms. In design the tools used are
Pictureboxes , timer , webbrowser ,combobox , labels ,buttons, textbox, panel.

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

3
DESIGN OF SMART PHONE

MODULE 4:
It deals with design and coding of fourth four icon/apps of the smart phone. The apps
designed in this module are playstore, Settings, Calculator, Youtube . Every icon has an
output screen and its corresponding coding, to display the output forms. In design the tools
used are Pictureboxes , webbrowser , combobox , labels ,buttons, textbox .

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

4
DESIGN OF SMART PHONE

3. DESIGN
MODULE 1:

Figure 3.1.1: Input Screen

MODULE 2:

Figure 3.2.1: Lock Screen

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

5
DESIGN OF SMART PHONE

Figure 3.1.1: Input Screen

MODULE 3:

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

6
DESIGN OF SMART PHONE

Figure 3.3.1:Lock Screen

Figure 3.3.2: Password

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

7
DESIGN OF SMART PHONE

Figure 3.3.3: Menu

MODULE 4:

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

8
DESIGN OF SMART PHONE

Figure 3.4.1: Lock Screen

Figure 3.4.2: Lock Screen

Figure 3.4.3: Menu

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

9
DESIGN OF SMART PHONE

4.Source Code
MODULE 1:
Public Class Form1

Private Sub Button2_Click_1(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
Form2.Show()
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Form3.Show()
End Sub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

10
DESIGN OF SMART PHONE

Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button3.Click
Form4.Show()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
Form5.Show()
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
End Sub
Private Sub Label1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Label1.Click
End Sub
End Class

Public Class Form2

Private Sub Button32_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button32.Click
Form3.Show()
End Sub
Private Sub Button37_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button37.Click

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

11
DESIGN OF SMART PHONE

Form4.Show()
End Sub
Private Sub Button33_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button33.Click
Form6.Show()
End Sub
Private Sub Button34_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button34.Click
Form7.Show()
End Sub
Private Sub Button20_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button20.Click
txt_number.Text = txt_number.Text + "1"
End Sub
Private Sub Button24_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button24.Click
txt_number.Text = txt_number.Text + "2"
End Sub
Private Sub Button28_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button28.Click
txt_number.Text = txt_number.Text + "3"
End Sub
Private Sub Button21_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button21.Click
txt_number.Text = txt_number.Text + "4"
End Sub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

12
DESIGN OF SMART PHONE

Private Sub Button25_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button25.Click
txt_number.Text = txt_number.Text + "5"
End Sub
Private Sub Button29_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button29.Click
txt_number.Text = txt_number.Text + "6"
End Sub
Private Sub Button22_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button22.Click
txt_number.Text = txt_number.Text + "7"
End Sub
Private Sub Button26_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button26.Click
txt_number.Text = txt_number.Text + "8"
End Sub
Private Sub Button30_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button30.Click
txt_number.Text = txt_number.Text + "9"
End Sub
Private Sub Button23_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button23.Click
txt_number.Text = txt_number.Text + "*"
End Sub
Private Sub Button27_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button27.Click
txt_number.Text = txt_number.Text + "0"
End Sub
KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

13
DESIGN OF SMART PHONE

Private Sub Button31_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button31.Click
txt_number.Text = txt_number.Text + "#"
End Sub
Private Sub Button38_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button38.Click
Form8.Show()
End Sub
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
End Sub
End Class

MODULE 2:
Public Class Form1
Private isdotexistbool As Boolean
Private isfirstnum As Boolean
Private firstnumdecimal As Decimal
Private secondnumdecimal As Decimal
Private specifier As String
Dim n1, n2 As Single
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button10.Click
TextBox1.Text &= 0
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
TextBox1.Text &= 1
End Sub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

14
DESIGN OF SMART PHONE

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
TextBox1.Text &= 2
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
TextBox1.Text &= 3
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
TextBox1.Text &= 4
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
TextBox1.Text &= 5
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button6.Click
TextBox1.Text &= 6
End Sub
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
TextBox1.Text &= 7
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
TextBox1.Text &= 8
End Sub
Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button9.Click
TextBox1.Text &= 9
End Sub
Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button11.Click
TextBox1.Text = ""
End Sub
Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button12.Click
If TextBox1.Text = "1234" Then
Form2.Show()
TextBox1.Text = ""
ElseIf TextBox1.Text = "" Then

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

15
DESIGN OF SMART PHONE

MessageBox.Show("You Have To Enter a 4 digit PIN")


Else
MessageBox.Show("You Have Entered Wrong PIN")
End If
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
End Sub
End Class

Public Class Form2


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Form3.Show()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Form4.Show()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Form13.Show()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
Form6.Show()
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
Me.Close()
End Sub
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
End Sub
End Class
Public Class Form3

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

16
DESIGN OF SMART PHONE

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button1.Click
Form2.Show()
Me.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Form2.Show()
Me.Close()
End Sub
End Class
Public Class Form4
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Form2.Show()
Me.Close()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Form2.Show()
Me.Close()
End Sub
End Class
Public Class Form6
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Form7.Show()
End Sub
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Form8.Show()
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
Form9.Show()
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
Form10.Show()

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

17
DESIGN OF SMART PHONE

End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
Form11.Show()
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button6.Click
Form2.Show()
Me.Close()
End Sub
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form2.Show()
Me.Close()
End Sub
End Class
Public Class Form7
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form6.Show()
Me.Close()
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
Form2.Show()
Me.Close()
End Sub
End Class

Public Class Form8


Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form6.Show()
Me.Close()
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
Form2.Show()
Me.Close()

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

18
DESIGN OF SMART PHONE

End Sub
End Class
Public Class Form9
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form6.Show()
Me.Close()
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
Form2.Show()
Me.Close()
End Sub
End Class
Public Class Form10
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form6.Show()
Me.Close()
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
Form2.Show()
Me.Close()
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs)
End Sub
End Class
Public Class Form11
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button7.Click
Form6.Show()
Me.Close()
End Sub
Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button8.Click
Form2.Show()
Me.Close()

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

19
DESIGN OF SMART PHONE

End Sub
End Class
Public Class Form13
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
If TextBox1.Text = "HumanComputerInterface" And
TextBox2.Text = "HCI" Then
Form12.Show()
Else
MessageBox.Show("Wrong Username and Password")
End If
End Sub
End Class

MODULE 3:
PublicClassForm1
PrivateSub Timer1_Tick(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Timer1.Tick
Label1.Text = TimeOfDay
EndSub
PrivateSub PictureBox1_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox1.Click
EndSub
PrivateSub Button1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button1.Click
Dim f9 AsNewForm9
Form9.Show()
EndSub
PrivateSub Label1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Label1.Click
EndSub
EndClass

PublicClassForm2

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

20
DESIGN OF SMART PHONE

PrivateSub PictureBox1_Click(ByVal sender AsSystem.Object, ByVal e


AsSystem.EventArgs) Handles PictureBox1.Click
Dim f3 AsNewForm3
Form3.Show()
EndSub
PrivateSub PictureBox8_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox8.Click
Dim f10 AsNewForm10
Form10.Show()
EndSub
PrivateSub PictureBox4_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox4.Click
Dim f5 AsNewForm5
Form5.Show()
EndSub
PrivateSub PictureBox6_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox6.Click
Dim f6 AsNewForm6
Form6.Show()
EndSub

CONTACTS:
PublicClassForm3
PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles ComboBox1.SelectedIndexChanged
If ComboBox1.SelectedItem = "Contacts"Then
Label1.Text = "
Contacts
"
Label2.Text = "Ramya
9432621110"
Label2.Text = "sravya
9843214561"
Label3.Text = "Mom
8321000921"
Label4.Text = "Dad
9812304332"
Label5.Text = "Home
0866-21345"
Label6.Text = "Lavanya
8321000021"
Label7.Text = "pooja
9432184000"
Label8.Text = "chaitra
7321003332"
Label9.Text = "Roopa
9444231253"
Label10.Text = "Sravani 8540002134"
Label11.Text = "priya
9430111231"
Label12.Text = "Isha
9666543212"
ElseIf ComboBox1.SelectedItem = "Incoming"Then

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

21
DESIGN OF SMART PHONE

Label1.Text = " Incoming


"
Label2.Text = "Mom
8321000921"
Label3.Text = "Roopa
9444231253"
Label4.Text = "Dad
9812304332"
Label5.Text = "pooja
9432184000"
Label6.Text = "Isha
9666543212"
Label7.Text = "Lavanya
8321000021"
ElseIf ComboBox1.SelectedItem = "Outgoing"Then
Label1.Text = " Outgoing
"
Label2.Text = "Sravani 8540002134"
Label3.Text = "Dad
9812304332"
Label4.Text = "sravya
9843214561"
Label5.Text = "Isha
9666543212"
Label6.Text = "priya
9430111231"
Label7.Text = "Home
0866-21345"
Label8.Text = "chaitra
7321003332"
Label9.Text = "Lavanya
8321000021"
ElseIf ComboBox1.SelectedItem = "Missed Calls"Then
Label1.Text = " Missed Calls
"
Label2.Text = "Isha
9666543212"
Label3.Text = "Home
0866-21345"
Label4.Text = "Sravani 8540002134"
Label5.Text = "chaitra
7321003332"
EndIf
EndSub

STOPWATCH
PublicClassForm10
PrivateSub Button1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button1.Click
Timer1.Enabled = True
EndSub
PrivateSub Button2_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button2.Click
Timer1.Enabled = False
EndSub
PrivateSub Button3_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button3.Click
Timer1.Enabled = False
Label1.Text = "0.0"
EndSub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

22
DESIGN OF SMART PHONE

PrivateSub Timer1_Tick(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)


Handles Timer1.Tick
Dim x AsDecimal
x = 0.01
Label1.Text = Label1.Text + x
EndSub
EndClass

BROWSER
PublicClassForm5

PrivateSub Button9_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)


Handles Button9.Click
WebBrowser1.Navigate(TextBox1.Text)
EndSub
PrivateSub Button1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button1.Click
WebBrowser1.GoBack()
EndSub
PrivateSub Button2_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button2.Click
WebBrowser1.GoForward()
EndSub
PrivateSub Button8_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button8.Click
WebBrowser1.Refresh()
EndSub
EndClass

MESSENGER
PublicClassForm6
PrivateSub Label1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Label1.Click
EndSub
PrivateSub Button3_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
EndSub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

23
DESIGN OF SMART PHONE

PrivateSub Form6_Load(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)


EndSub
PrivateSub WebBrowser1_DocumentCompleted(ByVal sender AsSystem.Object, ByVal e
AsSystem.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles
WebBrowser1.DocumentCompleted
TextBox1.Text = WebBrowser1.Url.AbsolutePath
EndSub
EndClass

MODULE 4:
PrivateSub PictureBox4_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox4.Click
Dim f5 AsNewForm5
Form5.Show()
EndSub
PrivateSub PictureBox5_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox5.Click
Dim f7 AsNewForm7
Form7.Show()
EndSub
PrivateSub PictureBox9_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox9.Click
Dim f11 AsNewForm11
Form11.Show()
EndSub
PrivateSub PictureBox10_Click(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles PictureBox10.Click
Dim f15 AsNewForm15
Form15.Show()
EndSub
EndClass
PLAYSTORE
PublicClassForm7

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

24
DESIGN OF SMART PHONE

PrivateSub Button1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)


Handles Button1.Click
WebBrowser1.GoBack()
EndSub
PrivateSub Button2_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button2.Click
WebBrowser1.GoForward()
EndSub
PrivateSub WebBrowser1_DocumentCompleted(ByVal sender AsSystem.Object, ByVal e
AsSystem.Windows.Forms.WebBrowserDocumentCompletedEventArgs) Handles
WebBrowser1.DocumentCompleted
TextBox1.Text = WebBrowser1.Url.AbsolutePath
EndSub
PrivateSub TextBox1_TextChanged(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles TextBox1.TextChanged
EndSub
EndClass
CALCULATOR
Public Class Form1
Dim total1 As Single
Dim total2 As Single
Dim sum, subt, multi, div As Single
Dim specifier As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
TextBox1.Text = 1
End Sub
Private Sub Button16_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button16.Click
TextBox1.Clear()

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

25
DESIGN OF SMART PHONE

End Sub
Private Sub Button11_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button11.Click
total1 = Val(TextBox1.Text)
TextBox1.Clear()
TextBox1.Text = "+"
specifier = "+"
End Sub
Private Sub Button12_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button12.Click
total1 = Val(TextBox1.Text)
TextBox1.Clear()
TextBox1.Text = "-"
specifier = "-"
End Sub
Private Sub Button13_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button13.Click
total1 = Val(TextBox1.Text)
TextBox1.Clear()
TextBox1.Text = "*"
specifier = "*"
End Sub
Private Sub Button14_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button14.Click

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

26
DESIGN OF SMART PHONE

total1 = Val(TextBox1.Text)
TextBox1.Clear()
TextBox1.Text = "/"
specifier = "/"
End Sub
Private Sub Button15_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button15.Click
total2 = Val(TextBox1.Text)
If specifier = "+" Then
sum = total1 + total2
TextBox1.Text = sum.ToString
ElseIf specifier = "-" Then
subt = total1 - total2
TextBox1.Text = subt.ToString
ElseIf specifier = "*" Then
multi = total1 * total2
TextBox1.Text = multi.ToString
ElseIf specifier = "/" Then
div = total1 / total2
TextBox1.Text = div.ToString
End If
End Sub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

27
DESIGN OF SMART PHONE

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button2.Click
TextBox1.Text = 2
End Sub
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button3.Click
TextBox1.Text = 3
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button4.Click
TextBox1.Text = 4
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button5.Click
TextBox1.Text = 5
End Sub
Private Sub Button6_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button6.Click
TextBox1.Text = 6
End Sub
Private Sub Button7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button7.Click
TextBox1.Text = 7
End Sub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

28
DESIGN OF SMART PHONE

Private Sub Button8_Click(ByVal sender As System.Object, ByVal e As


System.EventArgs) Handles Button8.Click
TextBox1.Text = 8
End Sub
Private Sub Button9_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button9.Click
TextBox1.Text = 9
End Sub
Private Sub Button10_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles Button10.Click
TextBox1.Text = 0
End Sub
End Class
SETTINGS
PublicClassForm15
PrivateSub Button2_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button2.Click
Dim f17 AsNewForm17
Form17.Show()
EndSub
PrivateSub Button5_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button5.Click
Dim f18 AsNewForm18
Form18.Show()
EndSub
PrivateSub Button1_Click(ByVal sender AsSystem.Object, ByVal e AsSystem.EventArgs)
Handles Button1.Click
Dim f16 AsNewForm16
Form16.Show()
EndSub

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

29
DESIGN OF SMART PHONE

PrivateSub ComboBox1_SelectedIndexChanged(ByVal sender AsSystem.Object, ByVal e


AsSystem.EventArgs) Handles ComboBox1.SelectedIndexChanged
If ComboBox1.Text = "ON"Then
Else
ComboBox1.Text = "OFF"
EndIf
EndSub
PrivateSub ComboBox2_SelectedIndexChanged(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles ComboBox2.SelectedIndexChanged
If ComboBox2.Text = "ON"Then
Else
ComboBox2.Text = "OFF"
EndIf
EndSub
PrivateSub ComboBox3_SelectedIndexChanged(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles ComboBox3.SelectedIndexChanged
If ComboBox3.Text = "ON"Then
Else
ComboBox3.Text = "OFF"
EndIf
EndSub
PrivateSub ComboBox4_SelectedIndexChanged(ByVal sender AsSystem.Object, ByVal e
AsSystem.EventArgs) Handles ComboBox4.SelectedIndexChanged
If ComboBox4.Text = "Google"Then
ElseIf ComboBox4.Text = "Firefox"Then
Else
ComboBox4.Text = "Internet Explorer"
EndIf
EndSub
EndClass

5. SNAPSHOTS OF THE OUTPUTS


MODULE 1:

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

30
DESIGN OF SMART PHONE

Figure 5.1.1: Output of a Dial Pad

Figure 5.1.2: Output of call

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

31
DESIGN OF SMART PHONE

Figure 5.1.3: Output of Messaging

Figure 5.1.4: Output of Contacts

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

32
DESIGN OF SMART PHONE

Figure 5.1.5: Output of TempleRun

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

33
DESIGN OF SMART PHONE

MODULE 2:

Figure 5.2.1: Output of Gallery

Figure 5.2.2 : Output of Calendar

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

34
DESIGN OF SMART PHONE

Figure 5.2.3: Output of Facebook

Figure 5.2.4: Output of Settings

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

35
DESIGN OF SMART PHONE

MODULE 3:

Figure 5.3.1: Output of Call log

Figure 5.3.2: Output of Missed Calls

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

36
DESIGN OF SMART PHONE

Figure 5.3.3 : Output of Timer

Figure 5.3.4 : Output of Browser

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

37
DESIGN OF SMART PHONE

Figure 5.3.5 : Output of Messenger

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

38
DESIGN OF SMART PHONE

MODULE 4:

Figure 5.4.1: Output of PlayStore

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

39
DESIGN OF SMART PHONE

Figure 5.4.2: Output of Calculator

Figure 5.4.3: Output of Settings

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

40
DESIGN OF SMART PHONE

Figure 5.4.4: Output of Storage

Figure 5.4.5: Output of Youtube

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

41
DESIGN OF SMART PHONE

6.REFERENCES
1. https://msdn.microsoft.com/en-us/library/7314433t(v=vs.90).aspx
2. https://www.youtube.com/watch?v=pNgz-hySHv0

KLUNIVERSITY

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

S-ar putea să vă placă și