-
Content Count
1331 -
Joined
-
Last visited
-
Days Won
29
Posts posted by Dave Nottage
-
-
11 minutes ago, gioma said:I did the same thing, it doesn't work.
Following exactly the same steps, from scratch?
-
30 minutes ago, Sherlock said:changing the name to "Bob the developer" (blanks in the name seem to be an issue).
Changed to: Bob Is A Developer
Works OK. If it helps, my setup is:
Delphi 10.3.2
iOS 12.4 SDK
iPhone X running iOS 13.2
Xcode 11.1-
2
-
-
4 hours ago, gioma said:The problem is that on Android it works, while on iOS it doesn't.
Changing CFBundleDisplayName works OK for me. Here's my steps:
1. Create a blank FMX project
2. Save it as: Fred
3. Compile/Deploy to iOS device - it appears as "Fred"
4. Change CFBundleDisplayName from $(ModuleName) to: Bob
5. Compile/Deploy to iOS device - name changes to "Bob"
-
Looks like you'll need to file an enhancement request, at:
http://quality.embarcadero.com
The later answers at this link:
https://stackoverflow.com/questions/5907369/file-upload-in-webview
Have suggestions as to how it should be implemented; the important part being that the WebView descendant needs to implement openFileChooser.
-
Please email Calvin Tang at Embarcadero. His email address is the usual pattern, i.e. firstname.lastname@embarcadero.com
-
1
-
-
A reproducible test case might help.
-
I wouldn't rely too much on a repo that infringes Delphi source copyright
-
6 hours ago, Stefan Glienke said:TestInsight client listen to
Not entirely obvious from the FAQ etc: does TestInsight have some method of running tests on the device (or Mac machine) that are reported back to TestInsight in the IDE?
Sorry if that's a stupid question 🙂 It may also be what Darian is interested in.
-
17 minutes ago, Stefan Glienke said:(with some minor adjustments or extensions)
What might those adjustments or extensions be?
-
6 hours ago, jordi said:I must do the notification every time I modify the application?
As far as I'm aware, yes, however it seems Apple has relaxed the requirement until January:
https://www.macrumors.com/2019/09/03/apple-macos-catalina-notarization-mac-apps/
-
Without a reproducible test case, it would be hard to tell.
Some prudent adding of Log.d calls and use of the Console app (in /Applications/Utilities) might help find where it is crashing.
-
On 9/24/2019 at 2:12 AM, futuron said:That means that we won't be able to publish any app to Apple's app stores anymore until Embarcadero solved this
Incorrect: https://help.apple.com/itc/apploader/#/apdATD1E53-D1E1A1303-D1E53A1126
-
6 hours ago, ertank said:There is no code to create/free them. non visual units use them just for status update of the running thread.
Without seeing all the code, it'd be hard to determine what is causing the issue.
-
On Android, TPath.GetDocumentsPath is, and has always been, the sandboxed (i.e. app specific) documents folder. If you wish to access the shared documents folder, it is TPath.GetSharedDocumentsPath.
Prior to Delphi 10.3, the targetSdkVersion being used in the manifest was 19. In Delphi 10.3 the targetSdkVersion is now 28.
From API level 21, applications that need permission for external storage (which is what TPath.GetSharedDocumentsPath points to), need to request permission at runtime. For an example of how to do this, take a look at this demo:
Specifically in the TShareSheetForm.btnTakePhotoClick method in uMain.pas where permissions for external storage are requested.
You don't need to request permission for TPath.GetDocumentsPath, so I have no idea why that folder is not working for you. Are you attempting to access files that are being deployed there (i.e. they have entries in Deployment Manager)?
-
You're naming the labels as (for example):
'LabelTwo'+TButton(Sender).Name
but you're calling FindComponent as:
FindComponent('LabelTwo'+TButton(Sender).Tag.ToString)
When it should be:
FindComponent('LabelTwo'+TButton(Sender).Name)
-
On 10/5/2019 at 11:26 PM, ertank said:One thing which maybe relevant is that I pass some visual components (TMemo, TLabel) to a unit without form
I'd be more interested in how these are being created and free'd.
-
As long as it's just the background processes of the application you're interested in, you could use:
Since Android 2.2, you cannot close the entire application.
You would probably do something like this (untested):
uses Androidapi.JNI.JavaTypes, Androidapi.JNI.GraphicsContentViewText, Androidapi.JNI.App, Androidapi.Helpers; procedure Kill; var LService: JObject; begin LService := TAndroidHelper.Context.getSystemService(TJContext.JavaClass.ACTIVITY_SERVICE); if LService <> nil then TJActivityManager.Wrap(JObjectToID(LService)).killBackgroundProcesses(StringToJString('com.whateverpackagename.itis')); end;
-
What did you change the locations to?
-
17 minutes ago, Francisco said:android.content.ActivityNotFoundException: No activity found to handle Intent {act=android.intent.action.SEND
You need to call Intent.setType with an appropriate type for email, e.g.
plain/text
message/rfc822
application/octet-streamIf that still does not work, then there's probably no email client installed.
-
You have not added the MessageUI framework correctly, since it is appearing in "Other Paths", rather than "Frameworks". Please remove that entry and:
- Select an existing framework listed in the "Frameworks" section - this will ensure that none of the radio buttons are selected when the Add Remote Path item dialog shows
- Click the Add button
- In the Path on remote machine combo, enter: $(SDKROOT)/System/Library/Frameworks
- In Framework name, enter: MessageUI
- Click OK
- Click Update Local File Cache
- Click Save
-
You'll need to show the code that's linking to the MessageUI framework. I expect it's attempting to link to MessageUI.tbd when it should be just MessageUI (i.e. no extension), and/or you've added the framework incorrectly to the SDK.
-
5 hours ago, Serge_G said:1- using a list object (i.e the color), yes it's one
I think that may be how I did it. I was unable to locate my old code.
-
Come to think of it, I did something like this back around the XE3 era and like you had to fight with it to make it work. Sadly, I may not have the code any more, but I'll take a look later just in case.
-
10 minutes ago, Cristian Peța said:Are you using an ARM emulator?
I'm using a VirtualBox VM with Android x86 ISO installed on it, which has the ability to bridge to ARM (using libhoudini). See my earlier replies.
[iOS} SFUI-regular, anybody with font issues in iOS-13 ?
in Cross-platform
Posted
Known issue. If you imported an iOS 12.x SDK from an earlier version of Xcode, target that for now.