GodfreyF

Member since: Monday, 08 May 2017
Last login: 5 years ago
Profile viewed: 1,748 views

Your Rank: 69
Points: 25

GodfreyF posted a comment on DEMO APP MANAGEMENT POST FUEL 6 years ago

HiInteresting. I have developed a range of fuel management applications in Delphi, that communicate directly with the fuel pumps.

GodfreyF posted a comment on FireMonkey on Linux! 6 years ago

It should have been, but EMB fired the developer who made it.

Hi SarinaThanks once again for the great tutorials/videos. Where can I get the source for this app. I am particularly interested in the barcode scanning.Thanks Godfrey

HiThanks for the demo. I am glad to see the style editor is getting easier to use.How can you create a style (custom button) and reuse it in different applications without recreating the custom style in each application?Also I have a button style th

I agree with Michael this feature should have been in the product a long time ago. Anyway I am still happy to see it at last

Some interesting observations regarding beacons. I first used some cheap Chinese beacons and I was having problems with my app crashing and also the reliability of the signal was erratic, my app would not report the distance from the Beacon accurate

Can you suggest a 3rd party app.Note: My app and the example app do pick up the beacons but both just bomb out after about 2 min. It looks as though Android 4.4.2 kills the app for some reason.

I am using XE8 upd 1. I can run debug mode on my cell phone so it does not seem to be the problem with xE8 installation but rather with the tablet. It seems to clash with something on the tablet. Tablet running Android 4.4.2 and I have run the app

HiI did have the Bluetooth permissions set.Tried the RTL.BeaconsProximity sample. Also bombs out after about 2 min. How can I find out why this is happening. Also why I cannot run in debug mode. Is there an error log I can get.Thanks Godfrey

I replaced the ADB driver for my tablet with the Android composite ADB driver, but I still cannot debug my app on the tablet.I did some further testing with the Beacons. If I run the app with the Beacon component disabled then the app does not bomb

HiI have some questions about beacons. I bought some ibeacons from a Chinese site that were fairly cheap and were supposed to be 100% iBeacon compatible, but I seem to be getting unreliable results. The proximity distance seems to vary and is not v

GodfreyF replied to the topic 'Delphi XE8 android debugging stops at launch app' in the forum. 8 years ago

Hi

Thanks for the suggestions. I think that the adb driver is not correct. Tried installLocation but made no difference.
If I connect my LG phone it works fine.

Does any one know a good link for installing ADB drivers for non branded tablets. My tablet keeps coming up as an HTC
but it is not an HTC. Has a Mediatek chip MTK8127

Godfrey
Read More...

GodfreyF replied to the topic 'Delphi XE8 android debugging stops at launch app' in the forum. 8 years ago

Hi

I am also experiencing this problem in Delphi XE8. Can connect and install apps on my tablet, but cannot debug. When I run in debug it installs the app then exits debug in IDE, as if I am running in normal release mode.

Also notice app bombs out on Tablet after about 1 minute.

Godfrey
Read More...

GodfreyF created a new topic ' XE8 Beacons' in the forum. 8 years ago

I have purchased some iBeacons and have been doing some experimenting with XE8. I have been using the examples that come with XE8 but have not been too successful. I dont have a iphone or ipad, so I have been using a Andriod tablet with v4.4.2. As I understand it, the iBeacons can be used with Anroid 4.3 or later.

Some problems I have experienced are the app intermittently picks up beacon and also Android closes the app after it has been running for about 1 minute.

Anyone else had success with the Beacon component in Android?

Thanks
Godfrey
Read More...

GodfreyF created a new topic ' Orientation in XE8 IDE' in the forum. 8 years ago

Hi All

I have an Android app which I want to be limited to landscape mode. I have set the orientation of the main form to landscape and the application orientation to Landscape home left. But everytime I open the project in the ide, I have to manually change the orientation to landscape in the ide using the button "Rotate current view". It always defaults back to portrait. How do I get it to always show as landscape in the form view and Multi device view.

Thanks
Read More...

GodfreyF created a new topic ' Orientation of form in XE8 IDE' in the forum. 8 years ago

Hi All

I have an Android app which I want to be limited to landscape mode. I have set the orientation of the form to landscape and the application orientation to Landscape home left. But everytime I open the
project, I have to manually change the orientation to landscape in the ide using the button "Rotate current view". It always defaults back to portrait. How do I get it to always show as landscape in the IDE.

Thanks
Read More...

GodfreyF created a new topic ' New HTTP library in XE8' in the forum. 8 years ago

Hi

I would like to start using the new http library in XE8. Below is some code I use to send a push message that uses Indy. Can someone with experience with the new library assist me. I am interested in converting from Indy to the new library.

idHTTP := TIDHTTP.Create(nil);
ARegisterIds := TJSONArray.Create();
AJson := TJSONObject.Create();
try
SslIOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil);
idHTTP.IOHandler := SSLIOHandler;
idHTTP.HTTPOptions := [];
//Set device token
ARegisterIds.Add(DeviceToken);
//Create json to send
AJsonData := TJSONObject.Create();
AJsonData.AddPair('id', '12345678');
AJsonData.AddPair('message', PushMessage);
//add info to send to GCM server
AJsonData.AddPair('registration_ids', ARegisterIds);
AJsonData.AddPair('data', AJsonData);
//Set Header
IdHTTP.Request.ContentType := 'application/json';
//Set key for server application
IdHTTP.Request.CustomHeaders.AddValue('Authorization',
'key=' + cGCMServerKey);
AData := TStringStream.Create(AJson.ToString);
AData.Position := 0;
AResponseContent := TStringStream.Create();
//Send notification
IdHTTP.Post('android.googleapis.com/gcm/send', AData,
AResponseContent);
AResponseContent.Position := 0;
mmResponse.Lines.Add(AResponseContent.DataString);
finally
AData.Free;
AResponseContent.Free;
FreeAndNil(idHTTP);

Thanks
Godfrey
Read More...

Hi PawelWhere can I find the replay fro this webinar?Thanks

GodfreyF replied to the topic 'Datasnap in XE7' in the forum. 9 years ago

Hi Bernt

Thanks for the info. What is worrying me is Datasnap is a core component of the Enterprise or higher editions, it has been around for a long time and needs updating. When I listen to the response from Emb personnel(XE7 webinar) as listed above and also it was said "use the standalone server to do all your development then convert to isapi", I dont find it very encouraging. Why sell a product with a standalone server, if it has performance problems. I am have been a loyal Delphi supporter and have kept up with the current releases, but I am not happy with the way Emb is going with Datasnap. As far as I am concerned EMS is just another way for EMB to try and squeeze more money out of us.

Godfrey
Read More...

GodfreyF created a new topic ' Datasnap in XE7' in the forum. 9 years ago

Hi All

Just watched XE7 launch webinar. I must start by saying there are some great new features.
I was hoping Datasnap would get some well deserved attention, but nothing was said about
it at all. There were some questions regarding Datasnap after the Webinar and the answers were " There have been improvements but there is no real documentation" and "don't use the standalone server". What kind of answers are these.

I upgraded to the Enterprise version of Delphi last year and the main reasons were Firedac and Datasnap. There were know performance and scalabilty issues with datasnap but EMB said they were working on it. Now two versions later it appears that not much has been done. Emb's answer is to launch there new EMS services which sounded great, but
is charged per user(this gets expensive when developing for mobile which can have thousands of users). EMB should have used the EMS development time to rather revamp Datasnap(which is a core product of the Enterprise package, to make it a modern, fast scalable product.

It seems that I will have to look at third party tools like TMS Remote data. My maintenance will be coming up for renewal soon and I will definitely have a look at downgrading back to the Pro version because the value of the enterprise version is doubtful.

Please correct me if I am wrong, I will be happy, if there have indeed some significant improvements to Datasnap..

Godfrey
Read More...