[Android]FMX.PhoneDialer kills application

This is the forum for miscellaneous technical/programming questions.

Moderator: 2ffat

[Android]FMX.PhoneDialer kills application

Postby Lena » Fri Oct 21, 2016 1:18 am

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
Lena
BCBJ Master
BCBJ Master
 
Posts: 428
Joined: Sun Feb 06, 2011 1:28 pm

Re: [Android]FMX.PhoneDialer kills application

Postby HsiaLin » Sat Oct 22, 2016 6:32 am

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?
HsiaLin
BCBJ Master
BCBJ Master
 
Posts: 279
Joined: Sun Jul 08, 2007 6:29 pm

Re: [Android]FMX.PhoneDialer kills application

Postby Lena » Sun Oct 30, 2016 1:19 am

Hi.
After selected in the the project target iOS 64 bit everything becomes normal.
Lena
BCBJ Master
BCBJ Master
 
Posts: 428
Joined: Sun Feb 06, 2011 1:28 pm


Return to Technical

Who is online

Users browsing this forum: Google [Bot] and 4 guests

cron