Перейти к содержанию
Fire Monkey от А до Я

Лидеры

  1. Andrey Efimov

    Andrey Efimov

    Модераторы


    • Баллы

      6

    • Постов

      842


  2. Barbanel

    Barbanel

    Пользователи


    • Баллы

      4

    • Постов

      414


  3. Равиль Зарипов (ZuBy)

    Равиль Зарипов (ZuBy)

    Модераторы


    • Баллы

      2

    • Постов

      2 517


  4. mazayhin

    mazayhin

    Пользователи


    • Баллы

      2

    • Постов

      163


Популярный контент

Показан контент с высокой репутацией 18.06.2018 во всех областях

  1. Документация по студии. Например: Mobile Tutorial: Using Location Sensors (iOS and Android) в самом начале указано какие разрешения нужны для использования. Документация по Android: Manifest.permission; Normal permissions; Dangerous permissions and permission groups
    4 балла
  2. Barbanel

    Take photo without saving picture to gallery

    Я видел это решение, но у нас оно не заработало. Вернее, оно работало только в дебаге, стоило это же самое приложение запустить не из студии - фото не удалялось.
    1 балл
  3. ENERGY

    Take photo without saving picture to gallery

    Я давно делал похожее решение. Я подсмотрел его на Stackoverflow для Java, т.к. это проблема Android intent, а не Delphi. Заключается оно в том, что нужно находить и удалять последнюю фотку из галереи. So the idea is here https://stackoverflow.com/questions/6390163/deleting-a-gallery-image-after-camera-intent-photo-taken and for Delphi: https://stackoverflow.com/questions/43021519/how-to-delete-an-image-from-android-gallery-after-camera-intent-photo-taken-with/ Read my comments with google translate and code:
    1 балл
  4. Barbanel

    Узнать объем свободной RAM

    Ок, дабы все таки принести в тему ответ: http://fire-monkey.ru/topic/3866-статьяandroid-как-получить-информацию-о-потреблении-озу/?tab=comments#comment-24355 Гитхаб демо-проекта: https://github.com/AndrewEfimov/Memory-info
    1 балл
  5. Barbanel

    Узнать объем свободной RAM

    Пример один Пример два
    1 балл
  6. это можно поправить только если редактировать исходники fmx.jar, если я правильно помню
    1 балл
  7. mmover

    HueTrackBar

    procedure TForm2.HueTrackBar1Change(Sender: TObject); begin Rectangle1.Fill.Color := HSLtoRGB(HueTrackBar1.Value,1,0.5); end;
    1 балл
  8. There is an interesting post on Medium aiming to inspire students why to learn C++. Its main point is that learning C++ teaches fundamental computer science concepts: memory management, compile-time vs run-time, polymorphism implementation, iterators and containers, and more. Unfortunately, it phrases itself in an exclusionary manner. While C++ is not the only language where you can learn these fundamentals, it is one of the most popular. However, with dozens of coding "boot camps" popping up and charging thousands of dollars for the promise of a quick path to a software development career, why should you consider learning a complex language like C++? Here are three key reasons to learn and use C++ today: Technical Foundation It's Widely Used Support and Future Let’s look at these in order. Technical Foundation C++ is one of the most common languages used to teach strong foundational knowledge that is applicable to all other languages. There are many core concepts you can learn with C++: Memory management: Allocating and freeing; use of pointers, and very quickly why you should not manually manage memory Different memory management models: reference-counted in the form of shared_ptr; strict ownership in the form of unique_ptr Ownership and deterministic behaviour, illustrated by RAII (see C++ specifics) Polymorphism behaviours: this one is in fact illustrated by some odd behaviours of C++, such as that the type identity of an object changes throughout its construction - hint, what happens when you call a virtual method in a constructor? Fundamental containers and algorithms Optimizations: what causes fast or slow code? Functional programming: while not a pure functional language, functional style is a direction the language has been heading and is very powerful in C++ If you learn C++, you will have a solid background that will allow you to understand other languages’ designs and implementations. It’s Widely Used C++ is the most widely used language for software today, especially in areas requiring performance. The following applications are written totally or mostly in C++: Windows Explorer Photoshop Word Clang compiler Windows (key area, including the new wrappers for XAML and desktop in C++17) Amazon’s key services Large parts of Apple’s macOS Bloomberg’s financial software And many more. Why is it widely used? Because C++ is powerful, expressive, concise, and performant. When you need to write solid, fast, applications and need powerful concepts in your code, you use C++. Support and the Future Finally, one key item in learning a language is the direction it’s going in the future. C++ is an ISO standard, and is evolving rapidly. You can read an overview of the various standard versions here. It’s a language that is being kept up-to-date and extended as developers need it. That’s a language to rely on. Ready to Get Started learning or expanding your C++ knowledge? Start with our free tools and C++ Bootcamp replays. Просмотр полной статьи
    1 балл
  9. ENERGY

    Android (iOS) popup

    Use TListBox as a Popup menu. Does TPopup already work nice on mobile OS? Here is how to: https://community.embarcadero.com/blogs/sarina-dupont-senior-product-manager/entry/creating-an-overflow-menu-on-android-463
    1 балл
  10. FREEFAR

    Android (iOS) popup

    Hi there! Try catch onFromKeyUp. There write code like: if PopupComponent.Visible then begin //doSomething.... key := 0; end;
    1 балл
  11. mazayhin

    SSDP for Android

    Как вижу, тут есть 3 варианта. 1. Взять обертки над SDK от fmxexpress (или сделать самому), и самому написать по примеру выше, но уже на delphi. 2. Найти подходящее на Java, скомпилировать в jar, создать обертку для delphi (Java2Op) и использовать уже ее. 3. Наверное, самый удачный вариант, т.к. все это чудо работает по UDP, самому на основе Indy реализовать в своей программе.
    1 балл
  12. krapotkin

    Hint для Андроид

    для полноценной подсказки и на windows и на android я в критических местах добавляю малую кнопку с вопросиком ))
    1 балл
  13. mazayhin

    Log.d - что это?

    API for sending log output. Generally, you should use the Log.v(), Log.d(),Log.i(), Log.w(), and Log.e() methods to write logs. You can then view the logs in logcat. The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE. Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept. Смотреть это можно через monitor.bat идет в составе sdk, ну или abd logcat. В лог выод идет только для debug сборок, в release не выводится
    1 балл
  14. Close, Application.Terminate - я бы не советовал использовать на Android. Может оказаться такая ситуация, что часть приложения останется в памяти, а что-то уже убьется. В итоге заново запустить приложение без выкидывания из истории не получится и увидите только черный экран. Желательно обойтись без самоубийства на Android и лишь свернуть через SharedActivity.moveTaskToBack(True); Если все же самоубийство по плану, тогда лучшие средства TJProcess.JavaClass.killProcess(TJProcess.JavaClass.myPid); MainActvity.Finish; - как упомянул выше Равиль.
    1 балл
  15. Обычно достаточно Close, но можно ещё Application.Terminate, MainActivity.finish или Halt(0)
    1 балл
  16. Прочитайте эту статью: http://delphifmandroid.blogspot.com/2016/09/delphi-android.html
    1 балл
Эта таблица лидеров рассчитана в Москва/GMT+03:00
×
×
  • Создать...