Jump to content

Yaroslav Brovin

Administrators
  • Posts

    2,572
  • Joined

  • Last visited

  • Days Won

    648

Everything posted by Yaroslav Brovin

  1. Речь идет о кнопке слева в TfgNavigationBar? И если да, то с какой целью нужен доступ к ней?
  2. Enabled у дровера не реализован. Сделаю в следующем релизе С ToggleControl вижу ошибку, которая не позволяет сбросить корректно обработчик. Исправлю в следующем релизе. P.S. На этой неделе будет еще один релиз.
  3. Download : The distributive is available by request only. Release d ate: 18 August 2020 Changelog: * TfgCollectionView: - The new method TfgCollectionView.IsScrollInTheEnd is added. This method checks whether the contents of the list are scrolled to the very end or not. - The new Padding property is added. It provides way for setting content padding. * TfgForm: - Now when you close the app, all forms that are not visible on the screen are forcibly disposed. * Demo: - "Push-notification" -> "Receiving Push-notification". Fixed bug of closing app. https://forum.fgx-native.com/topic/467-efgplatformservice-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-%D0%BF%D1%80%D0%B8-%D0%B7%D0%B0%D0%BA%D1%80%D1%8B%D1%82%D0%B8%D0%B8-%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F-%D1%81-push-%D1%83%D0%B2%D0%B5%D0%B4%D0%BE%D0%BC%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC/?tab=comments * Android Api: - All headers were updated up to Android 28.
  4. Скачать: Релиз доступен только по запросу. Дата релиза: 18 августа 2020 Список изменений: * TfgCollectionView: - Добавлен новый метод для проверки прокручено ли содержимое списка в самый конец или нет TfgCollectionView.IsScrollInTheEnd. - Добавлено новое свойство Padding, позволяющее указать внутренние отступы для содержимого. * TfgForm: - Теперь при закрытии приложения, все не видимые на экране формы принудительно удаляются. * Demo: - "Push-уведомления" -> "Получение Push-уведомления". Исправлена ошибка закрытия демо приложения. https://forum.fgx-native.com/topic/467-efgplatformservice-%D0%BE%D1%88%D0%B8%D0%B1%D0%BA%D0%B0-%D0%BF%D1%80%D0%B8-%D0%B7%D0%B0%D0%BA%D1%80%D1%8B%D1%82%D0%B8%D0%B8-%D0%BF%D1%80%D0%B8%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%B8%D1%8F-%D1%81-push-%D1%83%D0%B2%D0%B5%D0%B4%D0%BE%D0%BC%D0%BB%D0%B5%D0%BD%D0%B8%D0%B5%D0%BC/?tab=comments * Android Api: - Все заголовочные файлы обновлены до Android 28.
  5. Сегодня, чуть попозже. Надо сделать сборку и ее немного потестировать.
  6. Добрый день, Чтобы сделать автопоиск иконок, нужно понимать шаблон имени иконок. Чтобы уметь корректно вытаскивать иконки в нужных скейлах.
  7. Ok, finally I have looked at your demo sample. And there are issue in your demo. Problem You remove list items from the Item's event handler. So other words it means to destroy menu item from himself. It's not a right pattern. Solution You should use a delayed rebuilding process. To do this wrap your rebuild procedure into TThread.ForceQueue. It will invoke rebuilding your menu outside of menu. And everything will be ok. TThread.ForceQueue(nil, procedure begin LoadMenus; end);
  8. Hello @duhan2007, Getting new versions of the library is one of the advantages for our clients. So they get updates first. This means that the trial version will lag behind by several releases. Despite this, the current version of trial is sufficient to understand the capabilities of the library for mobile development. Also, the trial is designed only for familiarization, not for development and is valid for 1 month. If you have questions about the library's features, you can always ask them in the section for future clients. For example, as it was on April 7, when you pointed on trial problem. From the point of view of the library, it works equally on 10.3 and 10.4. If you and your company are interested in mobile development with FGX Native, we can consider selling licenses to employees of the company. In this case you and other will be able to use the latest versions of the library and get technical support on the forum, as well as all our clients during the subscription period. Thank you
  9. Great, thank you. I will have a look later today and prepare hotfix release. Thank you
  10. Ok, could you attach stack trace from IDE?
  11. Hm, I cannot reproduce this issue. Could you attach demo sample, which reproduces issue?
  12. Download : The distributive is available by request only. Release d ate: 9 August 2020 Changelog: * TfgForm: - Now CloseOnHardwareBack property works for all forms (including first). - https://forum.fgx-native.com/topic/435-tfgform-%D1%87%D1%82%D0%BE-%D0%B4%D0%B5%D0%BB%D0%B0%D0%B5%D1%82-%D0%BF%D1%83%D0%BD%D0%BA%D1%82-closeonhardwareback * TfgNavigationBar: - Fixed applying TintColor in designer. Now the tint is applied using the same algorithm as in Android SRC_IN. * TfgCollectionView: - The new overloaded version of ScrollToItem was added. Now user can specify location of item in viewport. - TfgCollectionViewStyle.OnTap was implemented. * Assets manager localization: - Assets panel with for custom file was translated. * TfgBitmap: - Added simplified access to native bitmap. To do this, you need to add FGX.Canvas in uses.Android and native bitmap can be obtained as follows: Bitmap.Handle.NativeBitmap. - Added a property that returns the logical size of the bitmap. * TfgListMenu: - Fixed an error that occurred when rebuilding the menu. * Android Api: - Added headers for working with the RingtoneManager.
  13. Скачать: Релиз доступен только по запросу. Дата релиза: 9 августа 2020 Список изменений: * TfgForm: - Теперь свойство CloseOnHardwareBack работает для всех форм, в том числе первой. Раньше оно работало только для дочерних форм. https://forum.fgx-native.com/topic/435-tfgform-%D1%87%D1%82%D0%BE-%D0%B4%D0%B5%D0%BB%D0%B0%D0%B5%D1%82-%D0%BF%D1%83%D0%BD%D0%BA%D1%82-closeonhardwareback * TfgNavigationBar: - Исправлено применение оттенка Tint в дизайнере. Теперь оттенок применяется по такому же алгоритму, как и в Андроиде SRC_IN. * TfgCollectionView: - Добавлена перегруженная версия метода ScrollToItem с возможностью указать где должен располагаться элемент после прокрутки. - Реализовано событие TfgCollectionViewStyle.OnTap. * Локализация менеджера ресурсов: - Переведена панель ресурса пользовательского файла. * TfgBitmap: - Добавлен упрощенный доступ к нативному битмапу. Для этого нужно подключить в uses FGX.Canvas.Android и нативный битмап можно получить так: Bitmap.Handle.NativeBitmap. - Добавлено свойство, возвращающее логический размер битмапа LogicalSize. * TfgListMenu: - Исправлена ошибка, которая возникала при перестроении меню. * Android Api: - Добавлены хедеры для работы с RingtoneManager.
  14. Fixed in 1.4.3.0. We are going to make release in the end of this week.
  15. Hello. I will have a look. Looks like a bug based on your description. Do you have sample? Thank you
  16. Hello Luke, I need to have a look. In General, you can use any Java classes in your app. The only thing is that not all classes have header files. But I add them on request. No at this moment. Material design library is in FGX native Java part. But all required resources are not delivered in the apk. In theory, you can use the native API in your app, but in practice, you need to know how to deliver the necessary resources to your app. This issue will be resolved later, after the iOS release. Thank you
  17. На самом деле, судя по коду. Событие OnTap в принципе не вызывалось для стиля. Специально для этой цели было сделано событие TfgCollectionView,OnTapItem. Реализовал TfgCollectionViewStyle.OnTap в 1.4.3.0.
  18. Ммм, а как вообще на TfgCollectionViewStyles работал Tap, когда контейнер физически предназначен только для хранения стилей и он в рантайме не добавляется на экран никаким образом... Может быть речь идет о TfgCollectionViewStyle?
  19. Похоже нашел причину. В демке подставляются все IME типы. Надо поправить: Заменить код: function TfgShareManager.GetMimeTypes: string; var DataType: TfgDataType; begin Result := string.Empty; for DataType in [Low(TfgDataType)..High(TfgDataType)] do Result := Result + IMEValues[DataType]; end; На: function TfgShareManager.GetMimeTypes: string; var DataType: TfgDataType; begin Result := string.Empty; for DataType in FDataTypes do Result := Result + IMEValues[DataType]; end; И все работает теперь: P.S. Демку поправил.
  20. По идеи код в демке такой же. Единственное, судя по доке, текст Instagram теперь не принимает, только изображение. Все вопросы к Instagram API: https://developers.facebook.com/docs/instagram/sharing-to-feed String type = "image/*"; String filename = "/myPhoto.jpg"; String mediaPath = Environment.getExternalStorageDirectory() + filename; createInstagramIntent(type, mediaPath); private void createInstagramIntent(String type, String mediaPath){ // Create the new Intent using the 'Send' action. Intent share = new Intent(Intent.ACTION_SEND); // Set the MIME type share.setType(type); // Create the URI from the media File media = new File(mediaPath); Uri uri = Uri.fromFile(media); // Add the URI to the Intent. share.putExtra(Intent.EXTRA_STREAM, uri); // Broadcast the Intent. startActivity(Intent.createChooser(share, "Share to")); } Так что должно все работать. Почему не работает, не знаю.
  21. Скачать: Релиз доступен только по запросу. Дата релиза: 23 июля 2020 Список изменений: * Добавлен новый сервис для осуществления телефонных звонков FGX.PhoneDialer: - Перед вызовом необходимо запросить разрешение 'android.permission.CALL_PHONE' через TfgPermissionService. - Телефонный вызов осуществляется прямым вызовом метода TfgPhoneDialer.Call('Телефонный номер'). - Добавлен демо-пример: "Системные сервисы" -> "Осуществление телефонного звонка" * Реализованы новые типы диалогов TfgDialogs: - Добавлен новый метод TfgDialogs.InputBox для ввода одного текстового значения. - Добавлен новый метод TfgDialogs.InputQuery для ввода нескольких текстовых значений. * Сервис системных разрешений: - Добавлен вспомогательный метод проверки разрешения TfgPermissionService.CheckPermissionOrRaise предназначенный для проверки инварианта. * Java-Delphi мост: - Добавлены хелперы для конвертации String <-> JUri (JUriToString, StringToJUri). - Исправлена утечка памяти при использовании Java листенеров, которая могла приводить в определенных ситуациях к падению приложения при закрытии. * TfgCamera: - Исправлена проблема получения фотографии на некоторых моделях телефонах. - [Demo] CameraPhotoDemo cannot take photo https://forum.fgx-native.com/topic/327-demo-cameraphotodemo-cannot-take-photo/ * TfgEdit: - Поправил отображение свойства Color в инспекторе объектов. Теперь оно отображает название ресурса цвета по умолчанию, если используется тема. * TfgDateEdit, TfgTimeEdit: - Поправил отступы у кнопки выбора даты в дизайнере. Теперь компонент выглядит в дизайнере так же, как и на устройстве. * TfgListMenu: - Исправлена ошибка использования TfgListMenu на 10.4, которая приводила к падению приложения. * TfgPageControl: - Не работает PageControl Swipe если.. https://forum.fgx-native.com/topic/342-%D0%BD%D0%B5-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0%D0%B5%D1%82-pagecontrol-swipe-%D0%B5%D1%81%D0%BB%D0%B8/ * Менеджер ресурсов: - Удаление менеджера ресурсов теперь выполняется безопаснее. Если пользователь забыл удалить формы при закрытии приложения, это может привести к проблемам удаления платформы FGX Native. Теперь при такой ситуации, он напечатает в лог сообщение об этом. * Новые демо проекты: - "Android Api" -> "Сервис поделиться" - "Системные сервисы" -> "Осуществление телефонного звонка"
  22. Download : The distributive is available by request only. Release d ate: 23 July 2020 Changelog: * New phone dialer services is developed FGX.PhoneDialer: - Before calling, you must request the 'android.permission.CALL_PHONE' permission via TfgPermissionService. - If you would like to make a call, just invoke TfgPhoneDialer.Call('Phone number'). - New demo sample is added: "System services" -> "Phone call" * New types of TfgDialogs were implemented: - TfgDialogs.InputBox is for inputting one text value. - TfgDialogs.InputQuery is for inputting several text values. * Java-Delphi bridge: - New methods for string conversions were added String <-> JUri (JUriToString, StringToJUri). - Fixed a memory leak when using Java listeners that could cause the application to crash when closing in certain situations. * TfgCamera: - Fixed issue with taking photo on some android devices. - [Demo] CameraPhotoDemo cannot take photo https://forum.fgx-native.com/topic/327-demo-cameraphotodemo-cannot-take-photo/ * TfgEdit: - Displaying Color value in Object Inspector is fixed, now it shows name of default theme asset. * TfgDateEdit, TfgTimeEdit: - Fixed the margins of the date selection button in the designer. Now the component looks the same in the designer as it does on the device. * TfgListMenu: - Fixed a bug using TfgListMenu on 10.4 that caused the app to crash. * TfgPageControl: - PageControl Swipe does not work if.. https://forum.fgx-native.com/topic/342-%D0%BD%D0%B5-%D1%80%D0%B0%D0%B1%D0%BE%D1%82%D0%B0%D0%B5%D1%82-pagecontrol-swipe-%D0%B5%D1%81%D0%BB%D0%B8/ * Assets manager: - Deleting the assets Manager is now safer. If the user forgot to delete forms instances when closing the app, this may cause problems deleting the FGX Native platform. Now, in this situation, it will print a message about this in the log. * New demo samples: - "Android Api" -> "Share service" - "System services" -> "Phone call" * System permissions service: - The new method TfgPermissionService.CheckPermissionOrRaise was added and designed to check the class invariant.
×
×
  • Create New...