-
Content Count
1336 -
Joined
-
Last visited
-
Days Won
29
Posts posted by Dave Nottage
-
-
8 minutes ago, kabiri said:Line frmDataModule:=TfrmDataModule.Create(self); I deleted
Now it displays the main formSo the problem is with the datamodule.
8 minutes ago, kabiri said:but breakpoints are still disabled.
Still? The screenshot you showed in an earlier message indicates they were not. Are you compiling for Debug?
-
It's not advisable to have conditionals in your .dpr because the IDE can be prone to mess it up. In this case, the conditional for the Android unit is pointless anyway, since nothing from it is being referenced in the .dpr. This would not be the cause of your issue, but it's still something to consider.
As @programmerdelphi2k inferred, it may be being caused by something happening in untDataModule. You could use the debugger to see what is executed there when it is created.
Has it ever run OK on iOS? Either way, you could remove parts of the application that were previously added, to help isolate what is causing the lockup.
-
7 hours ago, kabiri said:I found the solution (Download manual provisioning profiles)
You would have needed to have downloaded your developer profile, so I was assuming you knew how already.
-
59 minutes ago, kabiri said:Where am I wrong?
You need to create an Application ID (on the Apple Developer site, this is Identifiers),
In general, you won't need to select any entitlements unless you plan on having Push Notifications in your app, in which case select that entitlement from the list
For Description, use a description about your application (e.g. just the name), and for Bundle ID, the convention is to use a domain you have, in reverse, then the name of the application. The Description and Bundle ID pictured are just examples.You will also need a Provisioning Profile (in Profiles) for App Store:
-
52 minutes ago, William23668 said:I provided original link on embarcadero or it can be found in samples folder
This demo starts/works OK on my Pixel 6 Pro, which has Android 13. I'm using Delphi 11.2 with Patch 1 installed.
-
1
-
-
16 minutes ago, William23668 said:The contact sample app is here but I dont know why it does not want to work on my device
Which version of Delphi are you using? Which version of Android is on the device? Have you tried running the app via the debugger to check whether there's any errors?
-
1
-
-
8 hours ago, William23668 said:How I execute shell adb commands on my android device ?
You execute them from the machine that is connected to the device. adb is in the platform-tools folder of the Android SDK
-
1
-
-
Just now, William23668 said:Thanks I am reinstalling Delphi again now and will try
There's no instruction there to reinstall Delphi.
-
-
6 hours ago, kabiri said:But i can compile app for Development configuration (not for Application store or Ad Hoc).
Do you have a Provisioning Profile for App Store?
-
6 hours ago, Cesar Barbuda said:Java Type JFileProvider could not be found...
See:
-
7 hours ago, kabiri said:But I don't know what certificate I should use to build the program for Application store mode.
I think you mean Provisioning Profile, but given your comment here, you have resolved that now?
-
3 hours ago, kabiri said:But when the compilation is finished in Delphi, Delphi gives a message that the device was not found.
Have you installed PAServer? Please refer to: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Installing_the_Platform_Assistant_on_a_Mac
..and: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/IOS_Mobile_Application_Development
-
2 hours ago, kabiri said:how can i test on iphone 6 (ios v12.4)?
One way would be to have a real device. What is the reason for wanting to test specifically on that?
2 hours ago, kabiri said:how can i add IOS SDK 12 to Delphi?(now i have SDK15.5)
You should not need to.
-
1
-
-
1 hour ago, alogrep said:A to send more code, it is not feasible because is too long and nobody would take the time or have the patience to read it.
You could at least post the code for whatever the method is that starts with "ProcessH", as per my earlier comment. You provided a screenshot and said that is where the problem occurs.
-
17 minutes ago, alogrep said:However the call stack doesn't go inside the procedure where the problem actually happes.
Then the problem is not actually happening inside that procedure (though the root cause may be there). The problem is occurring in a method in the Http unit, in a class called TTCPHttpThrd in a method with a name starting with "ProcessH", but the rest of the callstack window is cut off in your screenshot
-
5 minutes ago, at3s said:Is it possible to access remotely to the Mac device where PAServer is running?
Or should this Mac be in the same LAN network where is the Delphi machine rather?
As long as the PAServer is exposed to the "outside world" (perhaps by port forwarding), yes.. that is possible. Bear in mind however that if you're deploying to a device, the machine that has PAServer on it needs to be able to access the device, either by being connected directly to that machine, or possibly using something like this: https://www.net-usb.com/
-
1
-
-
14 hours ago, saeedbay said:an error message as follows. :
I doubt that error message (platform architecture issue) is related to the API level issue. It's possible that you're compiling for 64-bit and the installed OS is 32-bit. Be aware that some devices have a 64-bit CPU, but have a 32-bit Android OS installed.
-
1
-
-
It may help to delete everything in the output folder(s) in question - by default they're Android/Debug (or Release) and Android64/Debug (or Release), then rebuild
-
The error message:
java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider"
Usually means that the jar that contains the class androidx.core.content.FileProvider was not included in your app. This class is in core-1.5.0-rc02.dex.jar, and should appear in the Libraries node, as per the instructions in my earlier reply. This is an example of what it should look like:
i.e. the package in question does not have a red "x" in the icon
-
1 hour ago, KMarb said:java.lang.RuntimeException: Unable to get provider androidx.core.content.FileProvider: java.lang.ClassNotFoundException: Didn't find class "androidx.core.content.FileProvider"
It's odd that you would receive that error on one device and not another. Regardless, please see this: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidLibraries
-
19 minutes ago, saeedbay said:I updated the SDK from the command line and defined the path of platform 33 in the sdkmanager of Delphi editor, but in theAndroidmanifest.xml file, the "targetSdkVersion" is still on the number 30, which means the previous platform.The targetSdkVersion value is whichever target API level Delphi currently supports, i.e. it is not determined by which API level you have selected. It should allow you to set this (see https://quality.embarcadero.com/browse/RSP-38976), however if you want it to be something different you'll need to change it in the AndroidManifest.template.xml file.
-
5 hours ago, microtronx said:I'm searching for a way, having multiple forms with different MainThreads in runtime instead of having multiple application-instances (exe files) started.
What is it that you think this will achieve?
-
9 minutes ago, at3s said:Can someone explain what exactly I have to do?
I suggest start reading, here: https://docwiki.embarcadero.com/RADStudio/Alexandria/en/IOS_Mobile_Application_Development
-
1
-
The problem of running the app on IOS
in FMX
Posted
There's a difference between a breakpoint being disabled (which is indicated visually), versus one where the debugger does not stop. The latter can happen because the code where you have the breakpoint is never reached and/or you have a unit with the same name, and you're looking at the wrong one.
Something specific to the platform. Detailing what you have in your datamodule might help (eg. data components used, what type of connection e.g SQLite, etc)