-
Notifications
You must be signed in to change notification settings - Fork 82
/
LAMW_History_and_Change_Log.txt
2273 lines (1501 loc) · 66.5 KB
/
LAMW_History_and_Change_Log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
LAMW: Lazarus Android Module Wizard:
:: RAD Android! Form Designer and Components Development Model!
"A wizard to create JNI Android loadable module (.so) and Android Apk
using Lazarus/Free Pascal"
Authors:
Jose Marques Pessoa
jmpessoa@hotmail dot com
https://github.com/jmpessoa/lazandroidmodulewizard
http://forum.lazarus.freepascal.org/index.php/topic,21919.0.html
Simon,Choi / Choi,Won-sik
simonsayz@naver dot com
http://blog.naver.com/simonsayz
Anton A. Panferov [@A.S.]
ast.a_s@mail dot ru
https://github.com/odisey1245
Acknowledgements:
-Eny and Phil for the Project Wizard hints...
http://forum.lazarus.freepascal.org/index.php/topic,20763.msg120823.html#msg120823
-Felipemdc [Android support...]
-TrueTom [Laz4Android Package]
-Simonsayz [great work on Android [GUI] Controls!]
Simon,Choi / Choi,Won-sik
http://blog.naver.com/simonsayz
http://blog.naver.com/simonsayz/220216715675
http://forum.lazarus.freepascal.org/index.php/topic,22079.0.html
-warning:
.We use a modified and expanded version of Simonsayz's java templates.
-Leledumbo - Many collaborations and suggestions!
-Stephano - Many collaborations and suggestions!
-x2nie [Lazarus 1.3 patch for non LCL form designer!]
https://github.com/x2nie/LiteZarus
-Fatih KILIÇ - How To Install!
http://www.youtube.com/watch?v=sQnFYJyltwY&list=UUkQrLhaIXrKY4eq9zTymxpQ
-Thierry Dijoux - Late: Apk Expert Tools [Build, Install, ...]
-Anton [at github/odisey1245] - many many contributions!
-JC99 - The Wiki-Page - Tutorial
Ref. http://wiki.freepascal.org/Talk:Android_tutorial
-tintinux and Dieselnutjob - The Wiki-Page Tutorial
ref. http://wiki.freepascal.org/LAMW
-Dio Affriza - Tutorial [https://afuriza.wordpress.com/]
ref. https://afuriza.wordpress.com/2016/10/28/koding-pascal-untuk-android-menggunakan-lazarus/#more-705
ref. https://www.youtube.com/watch?v=1BH460c9_Aw&feature=youtu.be
-m4u_hoahoctro - Tutorial
https://vozforums.com/showthread.php?p=77539041
-Cong Tuan Hoang - Tutorial
https://www.youtube.com/watch?v=O7JO6HAfgZ4
-Renabor - Linux - Tutorial
https://github.com/jmpessoa/lazandroidmodulewizard/tree/master/docs/linux
-xinyiman - Linux - Tutorial
http://www.lazaruspascal.it/index.php?topic=1583.0
-tendra tendra - Tutorial
https://www.youtube.com/watch?v=Tqp7vU9vPVs
-Ali Abidin - Tutorial
http://xperia-mewah.blogspot.com.br/2017/02/lazarus-for-android-laz4android.html
http://xperia-mewah.blogspot.com.br/2017/02/laz4android-lazandroidmodulewizard-lamw.html
-Frederico Marques - Tutorial in Portuguese
https://www.linkedin.com/pulse/lazarus-android-module-wizard-lamw-gere-seu-apk-usando-marques/
-ADiV [a.k.a TR3E] - many, many contributions!!!!
tr3esoftware dot gmail com
-Lazarus forum community!
***************************************************************************************************
* How To Start:
*
* "LAMW_Getting_Started.txt"
* https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/docs/LAMW_Getting_Started.txt
***************************************************************************************************
Version 0.8 - rev 06 - 30 - October - 2020
Migrate Material Theme/AppCompat to AndroidX [by @ADiV]
Requires Android SDK 29 or higher
and
Gradle 6.6.1
(downloaded from: https://gradle.org/releases/)
Thanks to @ADiV!! [a.k.a TR3E]
Version 0.8 - rev 05 - 13 - August - 2019
NEW! jForm/jPanel/jImageView [effect] Animation Trasition!!!
Added properties:
Animation {Fade, RightToLeft, LeftToRight)
AnimationDuration
how it works:
jForm {InitShowing, Show}
jPanel/jImageView {BringToFront}
NEW! demo "AppAnimationDemo1" -> jForm/jPanel/jImageView Animation
MEW! demo "AppImageViewListDemo1" --> jImageView Animation
UPDATED! demo "AppCompatNavigationDrawerDemo1" -> jPanel Animation
NEW! Compoments!
jSoundPool componet and "AppSoundPoolDemo" [thanks to @TR3E!]
jMidiManager componet and "AppMidiManagerDemo1" [thanks to Marco Bramardi]
jWifiManager componet and "AppWifiManagerDemo1"
jExpression componet and "AppExpressionDemo1" [link to a local "jar" file...]
jZBarcodeScannerView componet and "AppZBarcodeScannerViewDemo1"
jsContinuousScrollableImageView component and "AppCompatContinuousScrollableImageViewDemo1"
NEW! Palette "JCenter" <-- Link to external java libraries, need "Gradle"
jcSignaturePad componet and "AppJCenterSignaturePadDemo1"
jcOpenStreetMap componet and "AppJCenterOpenStreetMapDemo2"
jcMikrotikRouterOS componet and "AppJCenterMikrotikRouterOSDemo1"
jcLantern componet and "AppJCenterLanternDemo1"
jcScreenShot componet and "AppJCenterScreenShotDemo1"
CHANGED!
ref. https://forum.lazarus.freepascal.org/index.php/topic,46340.0.html
"Init" no longer show the form....Some old code can be easily fixed:
example:
procedure TAndroidModule1.jButton1Click(Sender: TObject);
begin
if AndroidModule2 = nil then
begin
gApp.CreateForm(TAndroidModule2, AndroidModule2);
AndroidModule2.InitShowing(gApp); // <-- Fixed!!!
end
else
begin
AndroidModule2.Show();
end;
end;
REQUIREMENTS:
1. Java JDK 1.8
2. Gradle 4.4.1 [or up] + Internet Connection!
3. Android SDK "plataforms" 28 + "build-tools" 28.0.3 [Min "target" need by Google Play Store]
4. Android SDK/Extra "Support Repository"
5. Android SDK/Extra "Support Library"
6. Android SDK/Extra "Google Repository"
7. Android SDK/Extra "Google Play Services"
Version 0.8 - rev 04 - 12 - March - 2019
NEW! Added "aarch64" support!!
ref. https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases
Version 0.8 - rev 03 - 26 - January- 2019
NEW "jXLSWriter" component
NEW demo "AppXLSWriterDemo1"
Changed [intern] folder estructure!
Version 0.8 - rev 02 - 21 - August - 2018
NEW! jsAdMob component [thanks to TR3E]
NOTE: Need "AppCompat" theme...
NEW demo "AppCompatAdMobDemo1"
NEW! Added support to App "Runtime Permission" [Required by "target" Api >= 23]
UPDATED!! demo "AppCameraDemo" ["Runtime Permission" example...]
Version 0.8 - rev 01 - 12 - May- 2018
IMPROVED/FIXED support/install to MacOs
Warning: X11 [libGL.dylib] is no longer bundled with Mountain Lion (and later!)
[This prevents/drops some LAMW features,
including the use of OpenGL components "jCanvasES1" and "jCanvasES2"]
Version 0.8 - 31 - March- 2018
NEW! "AppCompat" material theme support!
NEW! "Android Bridges Support" component palete to support "AppCompat" material theme!
NEW! jsDrawerLayout component
NEW! jsNavigationView component
NEW! jsCoordinatorLayout component
NEW! jsAppBarLayout component
NEW! jsCollapsingToolbarLayout component
NEW! jsToolbar component
NEW! jsTabLayout component
NEW! jsNestedScrollView component
NEW! jsRecyclerView component
NEW! jsViewPager component
NEW! jsCardView component
NEW! jsFloatingButton component
NEW! jsBottomNavigationView component
NEW! jsTextInput component
NEW! demo AppCompatFloatingButtonDemo1
NEW! demo AppCompatViewPagerDemo1
NEW! demo AppCompatNavigationDrawerDemo1
NEW! demo AppCompatCollapsingToolbarDemo1
NEW! demo AppCompatTabLayoutDemo1
NEW! demo AppCompatTabLayoutDemo2
NEW! jDBListView component by Martin Lowry [Thanks!]
NEW! demo AppDBGridViewDemo1 by Martin Lowry [Thanks!]
REQUIREMENTS: [EDITED!]
[LAMW 0.8.4] "AppCompat" [material] theme need:
1. Java JDK 1.8
2. Gradle 4.4.1 + Internet Connection!
3. Android SDK "plataforms" 26 + "build-tools" 26.0.2 [or]
4. Android SDK/Extra "Support Repository"
5. Android SDK/Extra "Support Library"
Hint. If your connection has a proxy, edit the "gradle.properties" file content. Example:
systemProp.http.proxyHost=10.0.16.1
systemProp.http.proxyPort=3128
systemProp.https.proxyHost=10.0.16.1
systemProp.https.proxyPort=3128
Version 0.7 - rev. 22 - 21 - October - 2017
NEW! jExpandableListView component
NEW! demo AppExpandableListViewDemo1
IMPROVED! jTextToSpeech
Added method "SpeakOnline" [Thanks to @Freris]
Version 0.7 - rev. 21 - 14 - October - 2017
NEW! jToolbar component [to use only with "minSkd=21" and "targetSdk >= 21"] <<--- a request from @Tomash
NEW! demo AppToolbarDemo1 [generic use of jToolbar as a specialized panel/visualContainer]
NEW! demo AppToolbarDemo2 [use Toolbar as "Actionbar": configured theme/style as "android:Theme.Material.Light.NoActionBar"
in "...res\values-21\style.xml"]
HINT 1: Configure your project colors:
Go to project folder "....res/values/colors.xml" <----- change [only content, NOT the file name] to configure colors
Reference is here:
http://www.vogella.com/tutorials/AndroidStylesThemes/article.html#styling-the-color-palette
HINT 2: if you change default ["colbrRoyalBlue"] jToolbar background color in design time,
You should change "primary_dark" in "color.xml" according "material" guideline
[a little more darker than the toolbar color]
Reference is here: https://www.materialpalette.com/
Version 0.7 - rev. 20 - 06 - October - 2017
NEW! jIncomingCallWidgetProvider component
NEW! demo AppIncomingCallWidgetProviderDemo1
HINT 1: How to install widget:
a)Run/Install the App
b) Use BackButton to leave/close the App
c) long press the home screen and select "widgets"
d) loook for "AppIncomingCallWidgetProviderDemo1 4x1"
f) long press "AppIncomingCallWidgetProviderDemo1 4x1" to install it
g) keep waiting for an "Incoming Call"
h) has Incoming Call? click the widget to re-open and handle the caller number from your App!
HINT 2: Configure your project:
res/layout
jincomingcallwidgetprovider_layout.xml <<-- change [only content, NOT the file name] to configure
res/drawable-xxxx
jincomingcallwidgetprovider_image.jpg <<-- change [only content, NOT the file name] to configure
res/xml
jincomingcallwidgetprovider_info.xml <<-- change [only content, NOT the file name] to configure
NEW! demo AppBroadcastReceiverDemo2 [how to handle incoming call directly ...]
NEW! Goodies! by Ibragimov M. aka maxx [Thanks!!]
demo AppBluetoothClientSocketHC0506Terminal1
demo Bluetooth_Arduino_GPIO_v1
demo ColorPicker
version 0.7 - rev. 19 - 16 June - 2017
NEW! jComboEditText component ["ComboBox"]
NEW! demo AppComboEditTextDemo1
Improved!
jEditText
jAutoTextView
jListView
jSpinner
NEW!
IDE Tools: Added new option "ADB Logcat"
version 0.7 - rev. 18 - 20 May - 2017
NEW! jModalDialog component //<--- a suggestion by Anton (aka A.S.)!
.ShowMessage
.InputForActivityResult
.QuestionForActivityResult
NEW! demo AppModalDialogDemo1
Improved!
jListView
New event "OnScrollStateChanged" //<--- a suggestion by Anton!
Updated
jListViewDemo
version 0.7 - rev. 17 - 14 May - 2017
NEW! jSpeechToText component
NEW! demo AppSpeechToTextDemo1
Improved!
jListView
property "TextAlign" now works for "only text" items
jSpinner: Added methods to support "hidden" tag by item
SetItem(_index: integer; _item: string; _strTag: string)
Add(_item: string; _strTag: string);
GetItemTagString(_index: integer): string
SetItemTagString(_index: integer; _strTag: string);
Fixed!
jTextView/jEditText
property "Alignment" now works for "LParamWidth = lpMatchParent"
Version 0.7 - rev. 16 - 29 - April - 2017
NEW! jSMSWidgetProvider component
NEW! demo AppSMSWidgetProviderDemo1
HINT 1: How to install widget:
a)Run/Install the App
b) Use BackButton to leave the App
c) long press the home screen and select "widgets"
d) loook for "AppSMSWidgetProviderDemo1 4x1"
f) long press "AppSMSWidgetProviderDemo1 4x1" to install
g) keep waiting for a "sms"
h) has sms arrived? click the widget to re-open and hanlde the message from your App!
HINT 2: Configure your project:
res/layout
jsmswigetprovider_layout.xml <<-- change [only content, NOT the file name] to configure
res/drawable-xxxx
jsmswigetprovider_image.jpg <<-- change [only content, NOT the file name] to configure
res/xml
jsmswigetprovider_info.xml <<-- change [only content, NOT the file name] to configure
IMPROVED! jSqliteDataAccess ["java" template all rewrited by Renabor!]
NEW! support to pack [and automatic handle] database in "assets" folder
NEW! support to database version-control
NEW! demo AppSQliteDemo3 <<--- demo for "assets" support... [thanks to Renabor!]
NOTE: how to store your pre-build database:
..../assets <<--- put your database file here [default]
/databases <<--- OR put your file here [default, too!]
/myCustomFolderName <<-- ????? OR put your file here [not default!]
if you prefere "myCustomFolderName" as folder name then call:
jSqliteDataAccess1.SetAssetsSearchFolder("myCustomFolderName");
in "OnJNIPrompt" event.
UPDATED! demo AppSQliteDemo1
UPDATED! demo AppSQliteDemo2
Version 0.7.15 - 29 - March - 2017
NEW! jTextToSpeech component
NEW! demo AppTextToSpeechDemo1
UPDATED! demo AppCustomFontDemo1 --- Added Font Awesome Icons example
Version 0.7.14 - 24 - March - 2017
NEW! jVideoView component
NEW! demo AppVideoViewDemo1
IMPROVED!
jNotificationManager --- thanks to majid.ebru!
NEW! demo AppNotificationManagerDemo2
UPDATED! demo AppNotificationManagerDemo1 --- thanks to majid.ebru!
IMPROVED!
jTextView: news methods
SetFontFromAssets --- thanks to majid.ebru!
SetTextIsSelectable
SetScrollingText
SetTextAsLink
jEditText:: new method
SetFontFromAssets
jButton: new method
SetFontFromAssets
jCheckBox: new method
SetFontFromAssets
jRadioButton: new method
SetFontFromAssets
NEW! demo AppCustomFontDemo1 --- thanks to majid.ebru!
Version 0.7.13 - 27 - Feb - 2017
NEW! jMaps component [A wrapper to run google app "Maps"]
NEW! demo AppMapsDemo1
REFACTORING!
All java tamplates are now in compliance with @DonAlfredo's "jCommons.java"
and [try] SDK API >= 13 compatible [thanks to @tk]
Version 0.7.12 - 22 - Feb - 2017
IMPROVED!
jTextView: news methods
SetShadowLayer
SetShaderLinearGradient
SetShaderRadialGradient
SetShaderSweepGradient
SetTextDirection //thanks to @majid.ebru
new event
OnLayouting
jEditText: new method
SetTextDirection //thanks to @majid.ebru
[warning: added android:supportsRtl="true" to the <application> element in manifest file. ]
new event
OnLayouting
NEW! demo AppTextViewShaderAndShadowDemo1
NEW! demo AppEditTextSetTextDirectionRTLDemo1 //thanks to @majid.ebru
Version 0.7.11 - 17 - Feb - 2017
NEW! jWindowManager component
NEW! demo AppWindowManagerDemo1
[floating and draggable View!]
IMPROVED!
jForm: news methods:
Minimize
Restart
jButton: news methods
SetCompoundDrawables
SetRoundCorner
SetRadiusRoundCorner
jTextView: news methods
SetCompoundDrawables
SetRoundCorner
SetRadiusRoundCorner
jRadioGroup: news methods
SetRoundCorner
SetRadiusRoundCorner
jPanel:: news methods
SetRoundCorner
SetRadiusRoundCorner
jImageView: news methods
SetRoundCorner
SetRadiusRoundCorner
jEditText: news method
SetCompoundDrawables
jCheckBox: news method
SetCompoundDrawables
jRadioButton: news method
SetCompoundDrawables
Version 0.7.10 - 02 - Feb - 2017
NEW! jViewFlipper component
NEW! demo AppViewFlipperDemo1
IMPROVED! jForm: added news methods:
FileExists
DirectoryExists
IMPROVED! jSqliteDataAccess: added new method:
DatabaseExists
Version 0.7.9 - 28 - January - 2017
NEW! jOpenDialog component [thanks to @majid.ebru's suggestion!]
NEW! demo AppOpenFileDialogDemo1
IMPROVED! jForm: added news methods: [thanks to @Fatih !]
GetAssetContentList
GetDriverList
GetFolderList
GetFileList
Version 0.7.8 - 25 - January - 2017
NEW! jFileProvider component
NEW! demo AppFileProviderDemo1 <-- Run First!!
NEW! demo AppFileProviderClientDemo1
Version 0.7.7 - 13 November - 2016
Added support to load custom lubrary
Version 0.7.6 - 31 October - 2016
New! LoadFromAssetsTextContent [jForm]
Fixed! [removed "import android.R" from jControls.java]
Version 0.7.5 - 04 October - 2016
Minor Changed: jControls.java [Added "import android.R']
Version 0.7.4 - 28 September - 2016
NEW! jUDPSocket component // <<--- rime's suggestion!
IMPROVED! jForm: added news methods:
GetNetworkStatus
GetDeviceWifiIPAddress
GetDeviceDataMobileIPAddress
GetWifiBroadcastIPAddress
NEW! demo AppUDPSocketDemo1
NEW! demo AppNumberPickerDemo1
Version 0.7.3 - 21 September - 2016
NEW! jComponent jNumberPickerDialog
IMPROVED! jVisualControl: added events "OnBeforeDispatchDraw" and "OnAfterDispatchDraw"
Implemented in:
jListView
jTextView
jEditText
jButton
Version 0.7.2 - 12 September - 2016
IMPROVED! jListView
Expanded Property WidgetItem: Added "wgEditText"
Added event property [not plublished] "OnWidgeItemLostFocus"
use:
procedure TAndroidModule1.AndroidModule1Create(Sender: TObject);
begin
jListView2.OnWidgeItemLostFocus:= MyWidgeItemLostFocus; //handle by AndroidModule1's method
end;
IMPROVED! jScrollView
Added method SetFillViewport // <--- thanks to DonAlfredo
IMPROVED! jEditText
Added event "OnLostFocus"
Version 0.7.1 - 03 September - 2016
NEW! Added Support to java code/stuff reuse [ide_tools]
IDE menu "Tools" --> "[Lamw] Android Module Wizard" --> "Use/Import Java Stuff..."
NEW! jActivityLauncher component [support to native android "Activity" code reuse]
NEW! AppActivityLauncherDemo1
Note/hint: "AndroidManifest.xml" requires:
<activity
android:name="com.example.appactivitylauncherdemo1.MyActivity1"
android:label="@string/app_name"
android:launchMode="standard" android:enabled="true">
</activity>
<activity
android:name="com.example.appactivitylauncherdemo1.MyActivity2"
android:label="@string/app_name"
android:launchMode="standard" android:enabled="true">
</activity>
Version 0.7 - 11 July 2016
WARNING!
.Uninstall all LAMW package before install the new version 0.7
.uninstall [amw_ide_tools.lpk]
.uninstall [lazandroidwizardpack.lpk]
.uninstall [tfpandroidbridge_pack.lpk] // <--- uninstall at last!
IMPROVEMENTS!
.Smart code composition/generation
.Smart "Demos" perception/detection and [ndk/sdk] paths auto-fixed
.Automatic java templates update/synchronization
CLEANUP! [new folders organization]
.android_bridges [tfpandroidbridge_pack.lpk] // <<-- install first
.android_wizard [lazandroidwizardpack.lpk]
.ide_tools [amw_ide_tools.lpk]
.java
.lamwdesigner
.docs
.linux
CLEANUP!
.Component tabs organization
WARNING!
.Please, whenever a dialog prompt, select "Reload from disk"
NEW! jChronometer component
NEW! jMediaRecorder component //thanks to Mario H. D. suggestion!
NEW! AppChronometerDemo1
NEW! AppMediaRecorderDemo1 //thanks to Mario H. D. suggestion!
Version 0.6 - rev. 47 - 11 June 2016 -
NEW! jDownloadService component
NEW! jDownloadManager component
NEW! AppDownloadServiceDemo1
NEW! AppDownloadManagerDemo1
IMPROVED!
jGridView // <<---- thanks to tintinux suggestions
New methods:
SetHorizontalSpacing
SetVerticalSpacing
SetSelection
SetStretchMode
jDrawingView // <<---- thanks to tintinux suggestions
New events:
OnFlingGesture
OnPinchZoomGesture
Changed:
OnDraw signature
UPDATE:
AppGridViewDemo1
AppDrawingViewDemo1
Version 0.6 - rev. 46 - 24 May 2016 -
NEW! jAlarmManager component
NEW! AppAlarmManagerDemo1
Version 0.6 - rev. 45 - 21 May 2016 -
NEW! jForm methods:
SetKeepScreenOn //thanks to noyse
SetTurnScreenOn
SetAllowLockWhileScreenOn
SetShowWhenLocked
Version 0.6 - rev. 44 - 21 May 2016 -
NEW! jNotificationManager methods:
SetLightsColorAndTime,
SetLightsEnable // <<--- thanks to freris
NEW! jDrawingView component // <<---- thanks to tintinux
NEW! AppDrawingViewDemo1
UPDATED! AppDemo1
UPDATED! AppNotificationManagerDemo1
FIXED! jForm property set "ActivityMode:= actRecyclable" as from the second form... //<<---- thanks to tintinux
Version 0.6 - rev. 43 - 13 May 2016 -
NEW! jForm methods:
GetDeviceModel,
GetDeviceManufacturer // <<--- thanks to Mladen
NEW! AppTFPNoGUIGraphicsBridgeDemo8 // <<--- thanks to Profo Welligton Pinheiro Santos!
Version 0.6 - rev. 42 - 10 May 2016 -
UPDATE! AppMenuDemo // <<--- thanks to Freris!
FIXED! OnKyDown [App.java] // <<--- thanks to Freris!
Version 0.6 - rev. 41 - 07 May 2016 -
IMPROVED! jBitmap: added method GetByteBufferFromBitmap
NEW! AppTFPNoGUIGraphicsBridgeDemo7
Version 0.6 - rev. 40 - 01 May 2016 -
FIXED! AppCameraDemo //thanks to tintinux!
Version 0.6 - rev. 38.9 - 30 April 2016 -
NEW! Component jAutoTextView
NEW! jForm propertie and Event:
ActionBarTitle = (abtDefault,
abtTextAsTitle, // Get Text property content as Title!
abtTextAsTitleHideLogo,
abtHideLogo,
abtHide) //<<-- Thanks to Handoko's bug
OnSpecialKeyDown // <<---- Thanks to Handoko's suggestion [but, not for Home and Overview, yet. Sorry...]
NEW! Demo AppAutoCompleteTextViewDemo1
Version 0.6 - rev. 38.8 - 17 April 2016 -
IMPROVEMENT jSqliteDataAccess
Version 0.6 - rev. 38.7 - 13 April 2016 -
FIXED jListView1.FontFace
Version 0.6 - rev. 38.6 - 12 April 2016 -
UPDATED! jHttpClient has been updated to use HttpURLConnection [We can Target API >= 21 !!] // <<-----Thanks to @Renabor!
NEW! Added demo AppHttpClientDemo2
NEW! jListView property "FontFace" // <<---@Mladen suggestion
Version 0.6 - rev. 38.5 - 02 April 2016 -
FIXED! jDialogProgress SetCancelable [Controls.java] // <--- thanks to @Mladen
NEW!
Version 0.6 - rev. 38.4 - 24 March 2016 -
NEW! Added jEditText methods:
SetSelectAllOnFocus // <<---@Mladen suggestion
SelectAll // <<---@Mladen suggestion
NEW! Tools --> [Lamw] Android Module Wizard --> Build FPC Cross Android
Version 0.6 - rev. 38.3 - 07 January 2016 -
NEW! Added jForm method ToggleSoftInput
Show/Hide Soft Keyboard ...
Version 0.6 - rev. 38.2 - 06 January 2016 -
IMPROVEMENT! Better support for device screen rotation!
CHANGED! Changed OnRotate event signature [sorry...] //@Euller and @Leledumbo suggestion ...
NEW! AppTFPNoGUIGraphicsBridgeDemo6 [ref. https://github.com/jmpessoa/tfpnoguigraphicsbridge]
Projectile Motion Graphicis Demo [parameterized function] and device screen rotation!
Screenshots Ref:
https://app.box.com/s/kpeuxb8p33m6rkg42bg1d0g2p2i7pkhd
https://app.box.com/s/l2ncravxk1mvlahvoyoup4lxyk0sh2ro
https://app.box.com/s/2e6xpm0wwhaus0xdw7x7ufc08atlewh4
Please, read the "readme.txt" in project folder "../jni"
Version 0.6 - rev. 38.1 - 30 December 2015 -
NEW! Executable native console application support.
NEW! LamwConsoleAppDemo1 [../demos/Console]
please, read:
"readme_How_To_Run_AVD_Emulator.txt"
"readme_How_To_Run_AVD_Emulator.txt"
Version 0.6 - rev. 38 - 26 December 2015 -
NEW! jRadioGroup component
NEW! AppRadioGroupDemo1
Version 0.6 - rev. 37 - 23 December 2015 -
NEW! jRatingBar component
NEW! AppRatingBar Demo1
Version 0.6 - rev. 36 - 03 August 2015 -
IMPROVEMENT!
Wizard forms usability [and code] redesigned!
Eclipe/Ant project [finally] unified!
Fixed [Lamw NoGUI] project //<<----Thanks to @leledumbo!
IMPROVEMENT!
jBluetooth
News methods:
PairDeviceByAddress
UnpairDeviceByAddress
FIXED!
jImageBtn //<<----Thanks to @renabor!
jSqliteDataAccess.Select //<<----Thanks to @renabor!
NEW!
"GET START" The Wiki-Page //<<----Thanks to @jc99!
Ref. http://wiki.freepascal.org/Talk:Android_tutorial
HINT 1: Old Projects: Please, upgrade your project code templates !
Lazarus IDE --> menu Tools --> [Lamw] Android Module Wizard --> Upgrade code Templates [*.lpr, *.java]
HINT 2: When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
[After any form/component/property changed and saved.... Problem solved!]
Version 0.6 - rev. 35 - 28 July 2015 -
IMPROVEMENT/FIXED!
jBluetoothClientSocket component <<--- @Euller and @osvaldotcf request!
jBluetoothServerSocket component <<--- @Euller and @osvaldotcf request!
NEW Demos!
AppBluetoothServerSocketDemo1 <---> AppBluetoothClientSocketDemo1 //<<--- No header
AppBluetoothServerSocketDemo2 <---> AppBluetoothClientSocketDemo2 //<<--- header support
Technical Notes [header support]:
.Set property "DataHeaderReceiveEnable = True" for both [client/server]
.Internal Format [yes, you can use without knowing this information!]:
first two bytes: size of "header"
following four bytes: size of "content"
following bytes "dataHeader"
following bytes "dataContent"
FIXED! Target x86 [AndroidWizard_intf.pas]//<---- thanks to Takeda Matsuki.
HINT 1: Old Projects: Please, upgrade your project code templates !
Lazarus IDE --> menu Tools --> [Lamw] Android Module Wizard --> Upgrade code Templates [*.lpr, *.java]
HINT 2: When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
[After any form/component/property changed and saved.... Problem solved!]
Version 0.6 - rev. 34 - 14 July 2015 -
IMPROVEMENTS!
jHttpClient component:
New! Added Cookie Support [need tests !!]: // <<--- @Leledumbo's request and suggestion!
NEW!
AppHttpClientCookiesDemo1
LOST! [sorry ..]
FontSizeByComplexUnitPixel component property was lost! //<<--many problems caused to @rx3.fireproof!
NEW!
FontSizeUnit component property [ unitDefault <--> unitScaledPixel ]
Hint: try FontSizeUnit=unitPixel [jListView and jSpinner more responsive] and better developer experience!
HINT 1: Old Projects: upgrade your projects code templates !
Lazarus IDE --> menu Tools --> [Lamw] Android Module Wizard --> Upgrade code Templates [*.lpr, *.java]
HINT 2: When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
[After any form/component/property changed and saved the problem gets solved!]
Version 0.6 - rev. 33 - 09 July 2015 -
NEW! jSeekBar component
IMPROVEMENTS!
jForm
New!
properties: // <<--- @rx3.fireproof's request and suggestion!
PromptOnBackKey [default=True]
TryBacktrackOnClose [default=False]
The form now know your [own] base... so,
if you close it, you will return to the form where it was created
[or "showed"!]. But you can try return to "main form" form using the new
property "TryBacktrackOnClose:= True" in all [forms] chains ...
[warnig]the process will stop [before main from] if some form [in the way]
was not set "TryBacktrackOnClose:= True"
NEW! AppSeekBarDemo1 [multiples forms demos, too]
UPDATED: Demo AppTest1 [multiples forms demos]
HINT 1: Old Projects: upgrade your projects code templates !
Lazarus IDE --> menu Tools --> [Lamw] Android Module Wizard --> Upgrade code Templates [*.lpr, *.java]
HINT 2: When prompt "Read error" [Unknown Property] just choice "Continue Loading"!
Version 0.6 - rev. 32 - 05 July 2015 -
IMPROVEMENTS!
jListView component:
New! event/properties:
OnDrawItemBitmap
OnDrawItemTextColor
OnLongClick <<--- @renabor's request and suggestion!
warning/changed: "OnClickItemCaption" was lost [sorry ...], please, copy your code to "new" OnClickItem
jGridView component:
New! Event/properties:
OnDrawItemBitmap
OnDrawItemTextColor
OnLongClick
jDigitalClock component:
New! properties:
FontColor
FontSize
jSqliteCursor
New! method:
GetValueAsString(rowPosition, columnName) <<--- @renabor's suggestion [GetLastID]!
rowPosition = -1 --> move to last!
jHttpClient
New! synchronous methods: // <<---- by Fatih KILIÇ
Get(url): string
AddNameValueData(name,value)
Post(url)