[Lazarus] Android and network
Benito van der Zander
benito at benibela.de
Tue May 28 01:07:11 CEST 2013
>
> I have no experience about android dev, can you describe how to add
> this, in detail?
In the LCLActivity.java there is an event onCreate.
There you can just copy it to afaik.
>
> PS about logcat I will try... I need to learn how to use it.
You really need to its on of the most important tools out there
Just start by calling
android-sdk-linux/platform-tools/adb logcat
On 05/27/2013 10:21 AM, Kjow wrote:
> 2013/5/27 Benito van der Zander <benito at benibela.de
> <mailto:benito at benibela.de>>
>
> What does the logcat say?
>
> [cut]
>
> And it has to be called in a new thread, unless you have
>
> |if (android.os.Build.VERSION.SDK_INT> 9) {
> StrictMode.ThreadPolicy policy=
> new StrictMode.ThreadPolicy.Builder().permitAll().build();
> StrictMode.setThreadPolicy(policy);
> }
>
> |
>
> in the java file
>
>
> I have no experience about android dev, can you describe how to add
> this, in detail?
>
> Thanks,
> Kjow
>
> PS about logcat I will try... I need to learn how to use it.
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130528/a890f9ad/attachment-0003.html>
More information about the Lazarus
mailing list