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

Ingalime

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

    354
  • Зарегистрирован

  • Посещение

  • Победитель дней

    5

Активность репутации

  1. Like
    Ingalime отреагировална Brovin Yaroslav в C++’s Strengths Keep it Relevant in an Age of Code Bootcamps   
    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.
     
    Просмотр полной статьи
  2. Like
    Ingalime отреагировална Andrey Efimov в Описание Permissions   
    Документация по студии. Например: Mobile Tutorial: Using Location Sensors (iOS and Android) в самом начале указано какие разрешения нужны для использования.
    Документация по Android: Manifest.permission; Normal permissions; Dangerous permissions and permission groups
  3. Like
    Ingalime отреагировална Barbanel в Узнать объем свободной RAM   
    Ок, дабы все таки принести в тему ответ:
    http://fire-monkey.ru/topic/3866-статьяandroid-как-получить-информацию-о-потреблении-озу/?tab=comments#comment-24355
    Гитхаб демо-проекта: https://github.com/AndrewEfimov/Memory-info
  4. Like
    Ingalime отреагировална Pax Beach в Определение включена ли на устройстве возможность применять mock location   
    Просто не давать права на mock location. В новых версиях Android mock можно использовать только для приложения, у которого такое разрешение включено.
  5. Like
    Ingalime отреагировална Barbanel в XCode версия   
    С последним апдейтом (10.2.3) самые критичные насколько мне известно пофикшены.
    Как минимум, я критичных глюков не замечаю, есть мелочи разумеется, но к я ним привык и называю их по именам)))
    А до фиксов да, было прикольно: иос собирали в Токио, андроид - в берлине)))
  6. Like
    Ingalime отреагировална gonzales в Пуши в IOS   
    Так а в чем конкретно проблема?
    В коде есть OnReceiveNotificationEvent - вызывается когда придет пуш. Соответственно вместо ShowMessage(aText); пишите вызов новой формы. Если она уже создана, то просто FormB.visible:=true;, если не создана, то вызов конструктора, (примерно так FormB:=TForm.Create;, соответственно конструктор должен быть описан) 
  7. Like
    Ingalime отреагировална IVGSoft в Обработка анимированных GIF по рецепту китайского коллеги   
    В этом участке кода есть одна маленькая ошибка. Иногда это приводит к тому, что на некоторых кадрах теряется прозрачность.
    Я заменил на вот такое :
    GIF_DISPOSAL_BACKGROUND: begin LFrame.FDisbitmap.Clear(LLocalPalette[LGraphicsCtrlExt.ColorIndex].Color); MergeBitmap(tmp, LFrame.FDisbitmap, Bounds(0, 0, LFrameWidth, LFrameHeight), LFrame.FPos.x, LFrame.FPos.Y); end;  
  8. Like
    Ingalime отреагировална Brovin Yaroslav в BVS Solitaire Collections is Embarcadero Cool App Winner for May   
    Anyone who loves playing with deck of cards knows solitaire. And no matter how advanced the technology is, it will always be played. That is why I’m thrilled to see BVS Solitaire Collection by BVS Development as our May 2018 cool app winner. It is an award-winning multi-featured collection of solitaire card games that includes over 510 variations.
    It features both old-time favorites (like Spider Solitaire, FreeCell and Pyramid) and original variations not found elsewhere. You can modify rules of any game, thus easily creating your own unique variations. Attractive smoothly scalable playing cards, completely customizable game appearance and comprehensive set of statistics to measure your performance. Its Windows version gained popularity and was even featured in a movie "The Girl with the Dragon Tattoo" (2011).

       
    BVS Solitaire Collection is built with Delphi along with Firemonkey. It runs on iOS, MacOS and Windows. Boris of BVS Development Corporation shared his experience on Delphi, he said: 
    "Delphi was chosen due to the flexibility of Object Pascal and both powerful and convenient development environment. I like the aesthetics of the Object Pascal code and its high readability. When I'm in an edit-compile- debug cycle I want it to be as fast as possible. Delphi compiler is extremely quick. That accelerates my development efforts and greatly improve my productivity. Besides, Object Pascal is much simpler and safer than C++ which further improves productivity and code maintainability. Embarcadero keeps adding new features continuously. Actually Delphi is one of the best IDEs on the market, that can be used to create cross platform applications."
     
    Watch BVS Solitaire Collections video in action here: 
     
    Interested in submitting for the Embarcadero’s Cool App contest? It’s open to any business or consumer application built with RAD Studio, Delphi or C++Builder. Embarcadero awards Cool App contest winners a $500 Amazon gift card and winning submissions are also highlighted on the company’s YouTube channel. For more information on the contest and a link to the submission form, click here.
    Просмотр полной статьи
  9. Like
    Ingalime отреагировална ENERGY в XCode версия   
    По умолчанию Берлин не может работать с Xcode 9x. Будет ошибка о том что не хватает какого то файла. Это можно пофиксить, скопировав на мак один файл. Это для компиляции с SDK iOS < 11 и это тоже будет работать на Берлине втч. отладка на живой iOS 11+.
    Но, для того чтобы откомпилировать программу с SDK iOS 11+ (а это нужно по условию Apple, иначе не пропустят) с Берлином - тут уже будет Linker Error 1 и ничего не поделать, нужна Токио последней версии.
    Насчет обновления Xcode не знаю,т.к. я просто обновлял Xcode до 9.2. Рекомендую поставить Sierra  и  Xcode 9.2. Т.к. для 9,3 нужна High Sierra, а она через раз загружается на виртуалке. Плюс я помню была проблема с 9.3, хотя может это уже пофиксили в Токио 10.2.3
  10. Like
    Ingalime отреагировална krapotkin в Пуши в IOS   
    не могу  с ходу найти пример в доках, с которого все начинают делать Notifications. Сам уже давно не касался этой темы...
    там где-то при старте программы вроде сначала можно получить через NotificationCenter все notification для этой программы, которые система изготовила из пришедших пушей
    ну а у Notification должен быть Message, где хранится JSON
    стоит поспрашивать у коллег в чатике. кто помнит
     
     
  11. Like
    Ingalime отреагировална ENERGY в XCode версия   
    Лучше использовть Tokyo 10.2.3 чтобы избежать танцев с бубном. 
    А для Android имхо лучше оставить Берлин. Тем более они нормально соседствуют.
    А так пойдет Xcode 9.2, его можно ставить на Sierra 10.12.6. 
    А для 9.3 уже нужен High Sierra (а с ней у меня были проблемы на VMWare - грузилась через раз) и помню там были проблемы с Xcode 9.3 с Delphi. 
     
  12. Like
  13. Like
    Ingalime отреагировална ENERGY в Как убрать черту под TSpinBox?   
    Зайти в Background SourceLInk и сдвинуть нижнюю границу чуть повыше, т.к. видимо захватывает прозрачную часть, отсюда и артефакт.
  14. Like
    Ingalime отреагировална krapotkin в Пуши в IOS   
    конечно. мы же читаем json пуша в программе самостоятельно
    соответственно, можем разобрать и делать что-нибудь свое
  15. Like
    Ingalime отреагировална rareMax в Функция возвращает разное значение на andoroid и win   
    {$ZEROBASEDSTRING ON} и работай с учётом что строка с 0 начинается.
     
    Либо юзай хелперы
  16. Like
    Ingalime отреагировална Равиль Зарипов (ZuBy) в Есть ли аналог FMX.Android Download Service для iOS?   
    не совсем понятно чем обычный THTTPClient не угодил?
  17. Like
    Ingalime отреагировална Равиль Зарипов (ZuBy) в Нажать и удерживать кнокпу на планшете (windows)   
    На сенсорном экране нужно обрабатывать тап, в Делфи есть компонент для жестов. Копай в эту сторону
  18. Like
    Ingalime отреагировална Sashar333 в На андроиде приложение вылетает при вызове IdIMAP4.Connect()   
    ВСЕ ЗАРАБОТАЛО!!!!
    файлы libcrypto.so и libssl добавил не в тот deployment
    вариант:
    рабочий!
    Всем большое спасибо!
  19. Like
    Ingalime отреагировална Barbanel в На андроиде приложение вылетает при вызове IdIMAP4.Connect()   
    И да и нет.
    SSL который шел в комплекте с Indi - не работает под Android (под iOS если не ошибаюсь тоже, но не уверен).
    Решение для андроида - добавить в проект перекомпилированные библиотеки (libcrypto.so и libssl.so)
    После этого ssl работает.
    Мы пошли другим путем - перешли на использование TNet* компонентов.
    SSL работает из коробки под Android и iOS.
  20. Like
    Ingalime отреагировална Alex7wrt в Не выбирается цвет кнопки   
    Кидаете на форму панель, нажимаете на нее правой кнопкой - > Edit Custom Style - > И там в стиле меняете свойство Fill
  21. Like
    Ingalime отреагировална ENERGY в Детский вопрос про область видимости переменной   
    @estra Так лучше не делать, т.к. решение не кроссплатформенное.  Не пойму что мешает автору завести отдельный pas модуль, например GlobalConst.pas и там объявить эту глобальную переменную и затем подключать этот модуль куда угодно. Это надуманная проблема. 
  22. Like
    Ingalime отреагировална Barbanel в Программирование на Delphi для Web (RADical WEB) от TMS   
    Спасибо, этот продукт тоже попробуем.
  23. Like
    Ingalime получил реакцию от Barbanel в Программирование на Delphi для Web (RADical WEB) от TMS   
    Для WEB и студии судя по их форуму, очень хорош этот продукт: http://www.unigui.com/
    Форум пользователей сковзит позитивом.
  24. Like
    Ingalime отреагировална Евгений Корепов в AndroidTV   
    Тогда посмотрите какие разрешения вы устанавливаете приложению (Your app uses hardware features (such as a touchscreen or camera) that are not available on TV)  . Может вы требуете что то, что нет физически на приставке.
  25. Like
    Ingalime отреагировална ENERGY в AndroidTV   
    Captain here!
    Соберите пустое приложение, где отключены все разрешения. Если установится, значит проблема в разрешениях.
    Captain flies away
     
×
×
  • Создать...