Page 1 of 1

[Android]FMX.PhoneDialer kills application

PostPosted: Fri Oct 21, 2016 1:18 am
by Lena
Hi.
When I add this line in the code #include <FMX.PhoneDialer.hpp>, the application is no longer run on the device. If I remove this line everything works fine.
How to resolve the issue with android?
Code: Select all
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.ExtCtrls.hpp>
#include <FMX.Layouts.hpp>
#include <FMX.Types.hpp>
#include <FMX.Controls.Presentation.hpp>
#include <FMX.Memo.hpp>
#include <FMX.ScrollBox.hpp>
#include <FMX.StdCtrls.hpp>
#include <FMX.Objects.hpp>
#include <System.Beacon.Components.hpp>
#include <System.Beacon.hpp>
#include <System.Bluetooth.hpp>
#include <System.Notification.hpp>

#include <FMX.Platform.hpp>
//#include <FMX.PhoneDialer.hpp> //if remove the comment, the app immediately falls

//---------------------------------------------------------------------------
class TForm1 : public TForm
{
  //***


ะก++ Builder 10.1 Up.1

Re: [Android]FMX.PhoneDialer kills application

PostPosted: Sat Oct 22, 2016 6:32 am
by HsiaLin
I dont code for devices, but i do know sometimes the order of the .hpp files can cause issues.
Have you tried adding those .hpp files at top of the list?

Re: [Android]FMX.PhoneDialer kills application

PostPosted: Sun Oct 30, 2016 1:19 am
by Lena
Hi.
After selected in the the project target iOS 64 bit everything becomes normal.