#Region Project Attributes
#ApplicationLabel: HashTag
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: unspecified
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: True
#End Region
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim HashtagHelper As HashTagHelper
Dim HashtagHelper2 As HashTagHelper
End Sub
Sub Globals
'These global variables will be redeclared each time the activity is created.
'These variables can only be accessed from this module.
Dim HestEditText As EditText
Dim HestEditText2 As EditText
End Sub
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
'Activity.LoadLayout("Layout1")
Dim Txt2 As String = "This £system can £also be used #really well to make #shopping _lists. #Generally, you might µremember an item you #have to #pick up and #message your #better half or your #roommate about it. But as you #continue messaging with #each other, #that item gets lost #somewhere in your chat logs. #Next time, #just add a #hashtag to your #message."
Dim Txt As String = "A _hashtag can solve that £conundrum. When $someone sends you a #message that you µwant to be able to refer to later, just type and send the message #important. #Later, when searching, all you #have to do is look up this tag, #without having to remember any keywords from the #message."
HashtagHelper.Initialize("HashtagHelper",Colors.Blue,Array As Char("_", "£", "$", "µ"))
HashtagHelper2.Initialize("HashtagHelper2",Colors.Black,Array As Char("_", "£", "$", "µ"))
HestEditText.Initialize("HestEditText")
HestEditText2.Initialize("HestEditText2")
Activity.AddView(HestEditText,10%x,10%y,60%x,20%y)
Activity.AddView(HestEditText2,10%x,30%y,60%x,40%y)
HashtagHelper.Handle(HestEditText)
HashtagHelper2.Handle(HestEditText2)
HestEditText.Text = Txt
HestEditText2.Text = Txt2
End Sub
Sub HashtagHelper2_onHashTagClicked(hashTag As String)
ToastMessageShow(hashTag,True)
End Sub
Sub HashtagHelper_onHashTagClicked(hashTag As String)
ToastMessageShow(hashTag,True)
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub