Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
Crash app camera demo in android 9
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Warning: Source OS Redefi...
by
Key-Real
[
Today
at 10:34:21 am]
Text orientation in TMemo...
by
wp
[
Today
at 10:27:54 am]
InstallAware Using Lazaru...
by
marcov
[
Today
at 10:05:26 am]
Slow copying of small str...
by
Nitorami
[
Today
at 09:43:56 am]
How to: create DLL file f...
by
paule32
[
Today
at 09:27:34 am]
Assign (textfile) not com...
by
dsiders
[
Today
at 08:51:13 am]
Linux Workspaces -- StayO...
by
AmatCoder
[
Today
at 08:21:27 am]
Demoscene The Champs Crac...
by
Lulu
[
Today
at 08:15:12 am]
Azure sql database will n...
by
paweld
[
Today
at 07:24:47 am]
Find child controls by na...
by
Handoko
[
Today
at 04:17:05 am]
location of non visual co...
by
VisualLab
[April 17, 2024, 11:58:55 pm]
For-in loop over constant...
by
Joanna
[April 17, 2024, 11:57:15 pm]
Lazarus editor feature re...
by
440bx
[April 17, 2024, 11:49:08 pm]
How would you define a fi...
by
wp
[April 17, 2024, 11:04:00 pm]
Directx9 with mylogo insi...
by
KodeZwerg
[April 17, 2024, 11:03:54 pm]
Lazarus for Windows on aa...
by
Wallaby
[April 17, 2024, 10:25:46 pm]
[SOLVED] TDbf table, Leve...
by
1HuntnMan
[April 17, 2024, 10:03:16 pm]
Doomed name
by
Martin_fr
[April 17, 2024, 09:09:52 pm]
lazarus-project_3.2.0-0_a...
by
midigark
[April 17, 2024, 06:09:40 pm]
TBGRABitmap.TextSize retu...
by
circular
[April 17, 2024, 05:24:04 pm]
BUG REPORT: Unable to gen...
by
gasensor
[April 17, 2024, 05:10:20 pm]
[solved]FP IDE(FP.exe) fa...
by
gasensor
[April 17, 2024, 04:45:40 pm]
Inherits forms and releas...
by
ASerge
[April 17, 2024, 03:37:45 pm]
The weird Rewrite bug
by
Kays
[April 17, 2024, 01:23:40 pm]
FpDebug unexpected Assemb...
by
440bx
[April 17, 2024, 12:54:43 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Crash app camera demo in android 9 (Read 1328 times)
juank1971
Full Member
Posts: 112
Crash app camera demo in android 9
«
on:
September 19, 2020, 11:54:52 pm »
AppCameraDemo2 crash in android 9 and do no see error
Any coment .
Soorry again for for asking so many questions
Logged
jmpessoa
Hero Member
Posts: 2301
Re: Crash app camera demo in android 9
«
Reply #1 on:
September 20, 2020, 02:42:23 am »
Are you using "Ant" build system?
some info here: [need Gradle]
https://forum.lazarus.freepascal.org/index.php/topic,51361.0.html
EDITED:
Can you put some log?
(Lazarus menu "Tools" ---> "LAMW..." --> "ADB Logcat")
What about "AppCameraDemo1"? it work?
«
Last Edit: September 20, 2020, 05:43:42 am by jmpessoa
»
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
juank1971
Full Member
Posts: 112
Re: Crash app camera demo in android 9
«
Reply #2 on:
September 21, 2020, 03:33:34 pm »
no AppCameraDemo1
no AppCameraDemo2 work in android 9
i will try gradle now
Logged
juank1971
Full Member
Posts: 112
Re: Crash app camera demo in android 9
«
Reply #3 on:
September 21, 2020, 05:44:56 pm »
Could you summarize for me please what really needs to be done
to get the camerademos on android 9.
because I'm a bit confused with the ideas of the user Guser979 and your contributions, suport I do not get it
Thanks for your time
Logged
juank1971
Full Member
Posts: 112
Re: Crash app camera demo in android 9
«
Reply #4 on:
September 21, 2020, 07:41:47 pm »
there are correct???????
In Controls.java add
android.os.StrictMode;
and ...
this 2 lines
StrictMode.VmPolicy.Builder builder = new StrictMode.VmPolicy.Builder();
StrictMode.setVmPolicy(builder.build());
in public String jCamera_takePhoto .
Change to Gradle.
its all or
or i nedd more changes in the project
«
Last Edit: September 21, 2020, 09:43:43 pm by juank1971
»
Logged
jmpessoa
Hero Member
Posts: 2301
Re: Crash app camera demo in android 9
«
Reply #5 on:
September 21, 2020, 09:00:50 pm »
First try only changing to "Gradle" ...
[if it work I wiil try find "Ant" bug.....]
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
juank1971
Full Member
Posts: 112
Re: Crash app camera demo in android 9
«
Reply #6 on:
September 21, 2020, 10:11:56 pm »
only changing to "Gradle" camerademo yess worked
camerademo2 no work crass app
tested android 9 lazarus 2.1 fpc 3.2.0 and lamw
«
Last Edit: September 21, 2020, 10:35:10 pm by juank1971
»
Logged
jmpessoa
Hero Member
Posts: 2301
Re: Crash app camera demo in android 9
«
Reply #7 on:
September 22, 2020, 01:15:33 am »
Quote
camerademo2 no work crass app...
Can you put some log for the error?
(Lazarus menu "Tools" ---> "LAMW..." --> "ADB Logcat")
Logged
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Android
»
Crash app camera demo in android 9
TinyPortal
© 2005-2018