Jump to content

Francisco

Members
  • Content Count

    21
  • Joined

  • Last visited

Community Reputation

1 Neutral

Technical Information

  • Delphi-Version
    Delphi 10.4 Sydney
  1. Francisco

    AV with InApp purchase on MacOS

    Hi: Any news from this idea? It is a pity not to have the inAap for MacOs
  2. Francisco

    StoryBoard launch screen - Delphi 10.4

    I still have a blank screen. Let me show you my resolutions, may be this is the problem: Iphone 2x: 750x1134 Iphone 3x: 1125x2436 iPad 2x: 1536x2048 All portrait, because the App only works in portrait
  3. Francisco

    StoryBoard launch screen - Delphi 10.4

    More news: I sent an ipa file to TestFlight, and when it was available I installed it in my iPad. Aafter removing previous version, rebooting , and installing from TestFlight, still with no splash screen. So probably my final version will be rejected. 😞
  4. Francisco

    Big problem with info.plist iOS

    SO SORRY. It was my fault. Not all the files where selected in the Deployment window.
  5. Francisco

    Big problem with info.plist iOS

    Version 10.4.1 with the last patch. Suddenly I cannot obtain the ipa file. During "Compiling Asset catalogue" this error is shown: [PAClient Error] Error: E6665 Cannot open file "/Users/faparisi/PAServer/scratch-dir/Paco-miniMac/XXXXCX.app/Info.plist". No such file or directory This happens some times, and I have to use a previous backup, loosing my last work. I did nothing special, just writing some new code. Going back to a previous back solves the problem. But I cannot use my last work. Why this happens? Is this related to the problem of the splash scree (blank screen)? How to solve it? Please, help. This is very frustrating.
  6. Francisco

    StoryBoard launch screen - Delphi 10.4

    unistalling the app and restarting the iOS device is not working for me. This seems an Embarcadero bug
  7. Francisco

    Migrating to Sydney AndroidManifest error

    Hi: I am compiling a project that works perfectly in Delphi 10.3.2. When I compile it in 10.4 I have to remove the following lines of the AndroidManifast.templete: <provider android:name="android.support.v4.content.FileProvider" android:authorities="com.FJAG.XXXXX.fileprovider" android:grantUriPermissions="true" android:exported="false"> <meta-data android:name="android.support.FILE_PROVIDER_PATHS" android:resource="@xml/filepaths" /> </provider> To be honest I remember that I had to include that code some long time ago, but I d not remember the reason to add it. And if I do not remove it, IDE shows an error at: @xml/filepaths. After removing that code then I can obtain the apk. But the app cannot finish the start, splash image is there forever. But probably this is due to another problem. Any help? Thanks in advance.
  8. Francisco

    TComboBox selector size problem in iOS

    I found the solution. Itemwidth only works in Windows, if you do not change DropDownKind . For the other platforms you have to change DropDownKind to Custom
  9. Francisco

    TComboBox selector size problem in iOS

    I am attaching a picture to show the problem:
  10. Francisco

    Arab in iOS

    Yes... good idea. I will try different fonts. What I am doing is using google translator. I just copy the translation from the google page and I paste in the label text. It seems to work...
  11. Francisco

    Arab in iOS

    to be more clear, in iOS no text in shown in the app when runnning. in Android and Window the text is shown correctly. I think it is related to iOS, no to FMX. Ir is only showing text, no text input needed.
  12. Francisco

    Arab in iOS

    As I commented, it works in Android and Windows. Only problems in iOS
  13. Francisco

    Arab in iOS

    Hi: I am translating my app to several languages. Arab works in Android and Windows. However, it is not possible to see any Arab text in iOS. Any idea? Thanks in advance.
  14. Francisco

    TComboBox selector size problem in iOS

    Hi: My App has a very wide TComboBox, because the text in the Items' String is large. In Android and Windows this is not a problem when the user select one of the Items. The user can see all the text of the Items. However, in iOS the selector, the windows to select the Item, is narrow, and many text is not visible. Is there any way to increase the width of this selector windows in iOS? Thanks in advance.
  15. Francisco

    Android. FileUriExposedException: file:///

    It works now!!! Tested in Android 7 and 9 I added: Intent.setType(StringToJString('vnd.android.cursor.dir/email')); Therefore, I would like to share a procedure that permits to send an email with attachment (any type of file) in Android. Do not forget to modify the AndroidManifest file and to create the xml file, as commented before. procedure CreateEmail(const Recipient, Subject, Content, Attachment: string); var JRecipient: TJavaObjectArray<JString>; Intent: JIntent; Uri, data: Jnet_Uri; AttachmentFile: JFile; begin JRecipient := TJavaObjectArray<JString>.Create(1); JRecipient.Items[0] := StringToJString(Recipient); Intent := TJIntent.Create; Intent.setAction(TJIntent.JavaClass.ACTION_SEND); Intent.setFlags(TJIntent.JavaClass.FLAG_ACTIVITY_NEW_TASK); Intent.putExtra(TJIntent.JavaClass.EXTRA_EMAIL, JRecipient); Intent.putExtra(TJIntent.JavaClass.EXTRA_SUBJECT, StringToJString(Subject)); Intent.putExtra(TJIntent.JavaClass.EXTRA_TEXT, StringToJString(Content)); if TJBuild_VERSION.JavaClass.SDK_INT >= TJBuild_VERSION_CODES.JavaClass.N then begin AttachmentFile := TJFile.JavaClass.init(StringToJString(Attachment)); Intent.addFlags(TJIntent.JavaClass.FLAG_GRANT_READ_URI_PERMISSION); Data := TJFileProvider.JavaClass.getUriForFile(TAndroidHelper.Context, StringToJString('com.FJAG.StatSuite.fileprovider'), AttachmentFile); end else Data := TJnet_Uri.JavaClass.parse(StringToJString('file://' + Attachment)); Intent.putExtra(TJIntent.JavaClass.EXTRA_STREAM, TJParcelable.Wrap((Data as ILocalObject).GetObjectID)); Intent.setType(StringToJString('vnd.android.cursor.dir/email')); TAndroidHelper.Activity.startActivity(Intent); end; Thanks a lot to Remy and Dave!!
×