jmpessoa / lazandroidmodulewizard

LAMW: Lazarus Android Module Wizard: Form Designer and Components development model!
246 stars 82 forks source link

Can't use fpjson library in LAMW #475

Closed SiRachmad closed 2 years ago

SiRachmad commented 2 years ago

Hi, I tried to parse json result text, usually when I use it in Desktop version I'm using fpjson library and it worked perfectly as it suppose to. But when I tried it in android it crashes and Close. this is my code when button clicked procedure TAndroidModule1.Button2Click(Sender: TObject); var jsonData: TJSONData; begin jsonData:= GetJSON(AndroidModule2.EditText1.Text); if Assigned(jsonData.FindPath('Data')) then begin ShowMessage('Assign Success'); end else begin ShowMessage('Assign error'); end; end;

thank you