Commit Graph

62 Commits

Author SHA1 Message Date
sekelsenmat
125a10ca75 LCL-CustomDrawn-Android: Changes the hardcoded package name to a variable which user software can change
git-svn-id: trunk@37099 -
2012-04-30 08:36:08 +00:00
sekelsenmat
cd24e7b458 LCL-CustomDrawn: Buffers the canvas bitmap in Android which greatly diminishes the garbage collector activity and speeds drawing. Also adds a new callback routine to select forms of the project which should have the background drawing painting skipped to speed up drawing
git-svn-id: trunk@36700 -
2012-04-10 08:48:17 +00:00
sekelsenmat
980ad7d203 LCL-CustomDrawn-Android: Fixes a bug where invalidate was always called in timers and centralizes the event result processing further
git-svn-id: trunk@36586 -
2012-04-06 07:43:05 +00:00
sekelsenmat
b52ee389ac Fixes the drawing of the checkbox in Android
git-svn-id: trunk@36396 -
2012-03-28 15:30:23 +00:00
sekelsenmat
c1eb17e8e9 Finishes the basic implementation of Android native menus
git-svn-id: trunk@36394 -
2012-03-28 13:59:52 +00:00
sekelsenmat
348a233427 Initial work for Android menu support
git-svn-id: trunk@36392 -
2012-03-28 12:23:05 +00:00
sekelsenmat
6edfeb2724 Adds a filter for the special alphablending routine to filter out white pixels and makes the Android look the default in the Android example
git-svn-id: trunk@36391 -
2012-03-28 09:11:32 +00:00
sekelsenmat
89e3e0fba4 Improves the Android build batch scripts, now they really work and build a proper signed APK =)
git-svn-id: trunk@36390 -
2012-03-28 08:20:44 +00:00
sekelsenmat
63b7d2c263 Improves the APK build script
git-svn-id: trunk@36379 -
2012-03-27 09:33:09 +00:00
sekelsenmat
dbf6d2c8f6 First version of a non-ant build system for the Android APK
git-svn-id: trunk@36346 -
2012-03-26 15:47:26 +00:00
sekelsenmat
1eefe347e4 Android example: Changes the NDK v5 paths to NDK v7 paths
git-svn-id: trunk@36162 -
2012-03-19 10:24:13 +00:00
sekelsenmat
9fc9951724 Fixes the crash in the Android TComboBox dialog
git-svn-id: trunk@35653 -
2012-03-02 14:06:25 +00:00
sekelsenmat
4d20dae129 Now TComboBox is almost working in Android. It shows the item selection dialog, but it crashes when the user selects an item
git-svn-id: trunk@35652 -
2012-03-02 10:10:33 +00:00
sekelsenmat
577822049d Implements vibration in Android
git-svn-id: trunk@35293 -
2012-02-10 15:10:13 +00:00
sekelsenmat
913c5364a6 Adds a new object to lazdevicepias: Device and it starts with manufacturer and model info showing in Android and already predicts vibration capabilities. Starts opening the implementation of font enumeration in lcl-customdrawn
git-svn-id: trunk@35291 -
2012-02-10 13:39:06 +00:00
sekelsenmat
921aebcc60 Android: Implements drawing different text colors
git-svn-id: trunk@34893 -
2012-01-24 10:43:30 +00:00
sekelsenmat
f5c59f0258 Android: Implements substituting partial text with the final text selected in a longng press of a virtual keyboard key
git-svn-id: trunk@34770 -
2012-01-18 10:13:29 +00:00
sekelsenmat
cc4b062b1d Improves the Android text handling
git-svn-id: trunk@34571 -
2012-01-04 11:21:28 +00:00
sekelsenmat
b106f80cb9 Android: Starts improving the key input. Now it gets real unicode chars instead of the key name
git-svn-id: trunk@34509 -
2011-12-29 23:12:21 +00:00
sekelsenmat
728f54b6ad Various small improvements in sms and location in Android
git-svn-id: trunk@34499 -
2011-12-29 16:01:46 +00:00
sekelsenmat
b92e125ce3 Finishes basic SMS sending in Android and fixes TEdit.GetText in LCL-CustomDrawn, but in the process broke the initial text setting for TEdit
git-svn-id: trunk@34496 -
2011-12-29 13:51:45 +00:00
sekelsenmat
30e9088462 Finishes basic SMS sending in Android and fixes TEdit.GetText in LCL-CustomDrawn, but in the process broke the initial text setting for TEdit
git-svn-id: trunk@34495 -
2011-12-29 13:51:19 +00:00
sekelsenmat
7dc377cd18 Android: Fixes a bug in gettextextentexpoint which improves TEdit a lot. Starts adding Positioning support in Android
git-svn-id: trunk@34494 -
2011-12-29 10:54:14 +00:00
sekelsenmat
fdc8606135 Adds Accelerometer stopping in Android (and to the general structure) and starts implementing SMS sending
git-svn-id: trunk@34486 -
2011-12-29 00:24:15 +00:00
sekelsenmat
b360c1f433 Implements basic accelerometer support in Android and adds it to the Example
git-svn-id: trunk@34479 -
2011-12-28 23:06:17 +00:00
sekelsenmat
2838f4c9c4 Android example: Adds a build mode to build under Windows
git-svn-id: trunk@34450 -
2011-12-27 20:27:17 +00:00
sekelsenmat
c8fd1de1c8 Implements GetTextExtentExPoint in Android
git-svn-id: trunk@34402 -
2011-12-25 11:01:30 +00:00
sekelsenmat
eed671d9e8 Android: Adds a work around for the too small text measuring
git-svn-id: trunk@34401 -
2011-12-25 09:28:12 +00:00
sekelsenmat
1933e0f5ff Adds a callback for Android OnCreate and also implements TTimer in X11
git-svn-id: trunk@34350 -
2011-12-21 13:40:14 +00:00
sekelsenmat
87b8887d73 LCL Android example: Adds a Debug build mode
git-svn-id: trunk@34333 -
2011-12-20 21:41:14 +00:00
sekelsenmat
454c19a3d7 Android: Fixes screen sizing and attempts to improve timer destruction
git-svn-id: trunk@34281 -
2011-12-19 14:31:09 +00:00
sekelsenmat
001954f566 Fixes the first screen rotation in Android by migrating from SurfaceView to View
git-svn-id: trunk@34280 -
2011-12-19 14:08:01 +00:00
sekelsenmat
cc0e04b161 Finishes the basic implementation of dpi and screen rotation adjustment for Android. Not 100% perfect, but in general already functional.
git-svn-id: trunk@34279 -
2011-12-19 13:51:13 +00:00
sekelsenmat
f2254e0143 Various fixes for handling the Back key in Android and fixes OnClick in all backends
git-svn-id: trunk@34223 -
2011-12-16 15:39:33 +00:00
sekelsenmat
3270436597 Adds virtual keyboard support to LCL-CustomDrawn-Android
git-svn-id: trunk@34221 -
2011-12-16 14:31:57 +00:00
sekelsenmat
05cd46835f Advances keyboard events in Android and X11. Simple key down/up can already be received in both
git-svn-id: trunk@34207 -
2011-12-15 13:19:01 +00:00
sekelsenmat
3f621c5134 Some more small changes to decrease the file size
git-svn-id: trunk@34191 -
2011-12-14 18:52:45 +00:00
sekelsenmat
4a5b2a2815 customdrawn-android: Improves the non-native form handling and implement appropriate support for the Back hardware key
git-svn-id: trunk@34180 -
2011-12-14 13:16:24 +00:00
sekelsenmat
872dd6830b customdrawn-android: Implements TTimer and improves the key handling
git-svn-id: trunk@34179 -
2011-12-14 12:36:48 +00:00
sekelsenmat
52611f279a customdrawnws: Adds more stub code to the text metrics to prevent crashes. Updates the non-android example for the second form
git-svn-id: trunk@34174 -
2011-12-14 09:46:26 +00:00
sekelsenmat
aa5c1a901c customdrawnws: Starts implementing TEdit, Starts implementing Android key events, updates the example
git-svn-id: trunk@34167 -
2011-12-14 08:14:19 +00:00
sekelsenmat
aa6e4e422d customdrawn-android: Fixes autosizing of controls by postposing Application.Run into Activity.OnCreate
git-svn-id: trunk@34155 -
2011-12-13 12:06:53 +00:00
sekelsenmat
50dc7cf2e8 customdrawn-android: Improves the drawing of the bottom part of letters like g
git-svn-id: trunk@34152 -
2011-12-13 10:22:29 +00:00
sekelsenmat
c7d4748e81 customdrawn-android: Improves the text rendering, starts implementing text metrics. Improves the customdrawn examples.
git-svn-id: trunk@34150 -
2011-12-13 09:30:28 +00:00
sekelsenmat
446ffaa84b customdrawn-android: Finishes the initial implementation of text rendering, it works ok for a very initial support. Improves the AlphaBlend method in TLazCanvas to be more optimized and support a custom source position.
git-svn-id: trunk@34138 -
2011-12-12 21:10:18 +00:00
sekelsenmat
9c38c40343 Reworks the assyncronous modal dialogs interface and adds it to the TCustomForm too. Reimplements the Android support for modal dialogs to support 1 Java implementation for both MessageBox and PromptUser. Implements LCLIntf.PromptUser for Android
git-svn-id: trunk@34127 -
2011-12-12 07:30:55 +00:00
sekelsenmat
6646781795 Starts the support in the LCL for assyncronous modal dialogs, implements MessageBox in LCL-CustomDrawn-Android and updates the Android example to test this API
git-svn-id: trunk@34117 -
2011-12-11 20:31:09 +00:00
sekelsenmat
6a8db96405 android example: Adds some structure to debug it in windows
git-svn-id: trunk@33973 -
2011-12-05 15:03:51 +00:00
sekelsenmat
20156f2329 Android example: Adds more debug info for mouse messages
git-svn-id: trunk@33942 -
2011-12-04 11:14:49 +00:00
sekelsenmat
4e01a5e817 customdrawn-android: Advances the text drawing code
git-svn-id: trunk@33909 -
2011-12-02 17:06:32 +00:00