So all that needed changed to get it working in Delphi 10.4 Community Edition (Though Error: Abstract Error is still there inside the TRichViewEdit component on the Android device though the other RichViewEdit renders correctly otherwise so far at least with text.)
File fmxRVEdit
1. In the first uses include System.Types in {$IFDEF FIREMONKEY}
2. In the second occurrence of implementation uses comment out System.Types around line 1310.
File ? can't remember
1. In another file There was a {$ENDIF} before an else that Delphi didn't like but I can't remember the file now. I moved it after the else
Lastly
In the android app don't set the style of the RichViewEdit in the design interface or in the FormCreate.
You can do it later via a button or something which is not ideal so I am still trying to understand what to do.
Perhaps this will give some ideas on getting going.
I am sure Sergey can explain better and has some ideas when he gets time.
TRichView in Android
-
- Posts: 2
- Joined: Sun Oct 03, 2021 2:49 pm
Re: TRichView in Android
Definitely not in 2021?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRichView in Android
I am currently working in MacOS version and it has the same problems.
So, very probably, when MacOS version will be released (in this October), it will also work on Android (but I cannot guarantee).
So, very probably, when MacOS version will be released (in this October), it will also work on Android (but I cannot guarantee).
Re: TRichView in Android
Sergey,
I see you released MacOS very nice work sir. Did that help with Android? I am trying out 20.0.1 of TRichView.
When in Android I see it can't find the FMX files. I am seeing if I can work around it. Thanks for all your hard work sir.
I see you released MacOS very nice work sir. Did that help with Android? I am trying out 20.0.1 of TRichView.
When in Android I see it can't find the FMX files. I am seeing if I can work around it. Thanks for all your hard work sir.
Re: TRichView in Android
With Delphi 11 it is much quicker to get something to work with. I see that RichView works pretty much right away. TRichViewEdit has some problems when trying to assign the RVStyle.
There seems to be some selection settings that I need to adjust when I try to scroll the app with my finger. The app is having troubles between deciding if I want select or scroll. Probably just a setting. This is getting closer Sergey. Thank you!
There seems to be some selection settings that I need to adjust when I try to scroll the app with my finger. The app is having troubles between deciding if I want select or scroll. Probably just a setting. This is getting closer Sergey. Thank you!
Re: TRichView in Android
I set the RVStyle using a button instead of on FormCreate. At least now in RichViewEdit1 I get "Error: Abscract Error" get-shareit.com get-vidmateapk.com
Last edited by dirlisroy on Mon Mar 14, 2022 6:45 am, edited 1 time in total.
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRichView in Android
Android is not supported yet, only Windows and macOS.
I planned to add Android support in this winter, but unfortunately I have to delay major releases.
Current plans:
- maintenance TRichView release with minor new features at this weekend or the beginning of the next week;
- RVMedia release (almost ready, just sound for Linux needs to be fixed)
- TRichView for Android.
I planned to add Android support in this winter, but unfortunately I have to delay major releases.
Current plans:
- maintenance TRichView release with minor new features at this weekend or the beginning of the next week;
- RVMedia release (almost ready, just sound for Linux needs to be fixed)
- TRichView for Android.
Re: TRichView in Android
Greetings Sergey, When TRichView for Android needs testing I would be interested. I have a project I would like to use it on. However, no pressure.