cu.InsertContact("name" , "1234567890")
An error has occurred in sub: contactsutils_ww3(java line:574) java.Lang.NullPointerException. Continue?
_vvvvv2.Insert(_vvvvv3,(android.content.ContentValues)(_values.getObject()));
'from ObfuscatorMap.txt
vvvvv2=cr
vvvvv3=datauri
#Region Project Attributes
#ApplicationLabel: HTCRhymeTS
#VersionCode: 1
#VersionName:
'SupportedOrientations possible values: unspecified, landscape or portrait.
#SupportedOrientations: portrait
#CanInstallToExternalStorage: False
#End Region
#Region Activity Attributes
#FullScreen: False
#IncludeTitle: False
#End Region
Sub Process_Globals
Dim cu As ContactsUtils
cu.Initialize
End Sub
Sub Globals
Dim Button1 As Button
End Sub
Sub Activity_Create(FirstTime As Boolean)
Activity.LoadLayout("HTCRhymeTS")
End Sub
Sub Activity_Resume
End Sub
Sub Activity_Pause (UserClosed As Boolean)
End Sub
Sub Button1_Click
'contact's name starts with AA and ends with a timestamp
'contact's phone number is "5551234567"
cu.InsertContact("AA" & DateTime.Now, "5551234567")
End Sub
cu.Initialize
values.Initialize
values.PutLong("raw_contact_id", rawContactId)
values.PutString("mimetype", "vnd.android.cursor.item/phone_v2")
values.PutInteger("data2", 12) 'phone type main <---- this line was missing
values.PutString("data1", Phone)
cr.Insert(dataUri, values)
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?