2013/5/22 Benito van der Zander <[email protected]> > Hi, > last week I ported my Internet Tools ( > http://benibela.de/sources_en.html#internettools) to Android > e.g.: > > uses simpleinternet; > Memo2.Lines.text := retrieve(edit1.text); > > or if you need the headers: > > uses androidinternetaccess; > var internet: TAndroidInternetAccess; > begin > internet:=TAndroidInternetAccess.create; > Memo2.Lines.text := internet.get(edit1.text); > Memo1.Lines.Assign(internet.GetLastHTTPHeaders); > internet.free; > end; >
2013/5/24 Kjow <[email protected]> > > Anyway, something is broken on (my?) lazarus/fpc... when I compile for > Android it builds, but app crashes at start > > Well, now I restored lazarus/fpc and I can compile for arm-android (*) with also internettools requirement. About internettools, with only "Memo1.Lines.Text:= retrieve(Edit1.Text);" for x86_64-win64 (or i386-win32) it works, but on arm-android (Nexus 10 or Galaxy Note) the app crashes as soon as I launch the code (e.g. in buttonclick). Any ideas? Thank you, Kjow *I don't know exactly which was the problem, but now seems to be ok [I also reverted lazarus to r41240 and fpc to r24523]
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
