Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all 1888 articles
Browse latest View live

Is it possible to use opensles in rad studio

$
0
0

Hello,

Is it possible to use android opensles in rad studio? I couldn't find any samples or documents. Thanks.


Android LocationListener problem(?)

$
0
0
  1. void __fastcall TTulparForm::FormCreate(TObject *Sender)
  2. {
  3. Listener = new TListener();
  4. LocationManagerService = SharedActivityContext()->getSystemService(TJContext::JavaClass->LOCATION_SERVICE);
  5. FLocationManager = TJLocationManager::Wrap(((_di_ILocalObject)LocationManagerService)->GetObjectID());
  6. //isGPSEnabled = FLocationManager->isProviderEnabled (StringToJString("GPS_PROVIDER"));  //
  7. /*
  8.                 The following function gives this error while running.
  9.                 Can you help me. I could not understand this error ...
  10.                 "EJNIFatal with message 'Invoke error: method not found'
  11. */
  12. FLocationManager->requestLocationUpdates(StringToJString("GPS_PROVIDER"),1000,10,Listener);
  13. }
  14. ...
  15. ...
  16. ...
  17. class TListener : public TCppInterfacedObject
  18. {
  19. private:
  20. public:
  21. TListener();
  22. __fastcall ~TListener();
  23. void onLocationChanged(_di_JLocation location);
  24. void onProviderDisabled(Androidapi::Jni::Javatypes::_di_JString provider);
  25. void onProviderEnabled(Androidapi::Jni::Javatypes::_di_JString provider);
  26. void onStatusChanged(Androidapi::Jni::Javatypes::_di_JString provider, int status, Androidapi::Jni::Os::_di_JBundle extras);
  27. };
  28. TListener::TListener()
  29. {
  30. }
  31. __fastcall TListener::~TListener()
  32. {
  33. }
  34. void TListener::onLocationChanged(_di_JLocation location)
  35. {
  36. }
  37. void TListener::onProviderDisabled(Androidapi::Jni::Javatypes::_di_JString provider)
  38. {
  39. }
  40. void TListener::onProviderEnabled(Androidapi::Jni::Javatypes::_di_JString provider)
  41. {
  42. }
  43. void TListener::onStatusChanged(Androidapi::Jni::Javatypes::_di_JString provider, int status, Androidapi::Jni::Os::_di_JBundle extras)
  44. {
  45. }

TNetHttpClient cann't change Content-type

$
0
0

Dear Sir, With the new control TNETHttpClient, I am not able to change its Content-Type from the default "application/x-www-form-urlencoded" to "application/soap+xml" or others  when posting xml request and monitoring by wireshark? I tested in delphi 10.1 seattle/Berlin and 10.2.

Could you help figure it out? Thank you very  much!

Very annoying problem.

$
0
0

Dear Sir/madam ,

Currently we are using a CodeGear™ C++Builder® 2007 R2 Version 11.0.2902.10471 in our development , we experience a strange but very annoying problem.

Our application runs under Windows 7 64bit OS . The problem arises when we use a VCL's TPageControl control  (bidi mode rtl) ,in that case the panel (with all of it's controls) moves to the random location of the form, leaving behind only a semi-refreshed marks. Touching the scrollbar or moving to the other page refreshes the form ,and fixes a UI mess.

We researched this issue and found that the cause of the problem is a TeamViewer program installed on the same computer our application runs. TeamViewer appears to be extremely important program for our clients and for that they disagree to uninstall it. 

Could you please help us to overcome this serious issue? Screenshots attached:

Screen1Screen2

 

 

Thank you,

Rodniansky Victor,

www.hargal.co.il

 

 

http://oi66.tinypic.com/2eclpbd.jpg

Delphi 10.1 (BigBen) release?

$
0
0

Hi,

Any release date for Delphi 10.1 (BigBen)?

Thanks,

Asaf

My program crashes after the computer wakes from hibernation with "Exception EInvalidPointer"

$
0
0

I have compiled my program (myprog.exe) with 64-bit Delphi 10 Seattle.  It runs fine.  However, if the computer goes to sleep and then wakes up after hibernation it crashes with an error "Exception EInvalidPointer in module myprog.exe at 000000000000008E42. Invalid pointer operation."

Any help would be appreciated.

Thanks,

Problem locating Android SDK API level

$
0
0

I'm using C++ Builder 10.2 Tokyo and I want to configure it to use Android SDK installed with Android Studio 2.3. I follow the instructions as described in the docwiki, but when it comes to select the SDK API level, I have nothing to select from.

Here is what I see in the wizard:

Android tools configuration

Then my project doesn't compile.

Is there any solution for that or should I use the old versions of the Android SDK/NDK?

Thanks in advance for any help

 

Installing new version of Indy 10 in D 2007 has issues

$
0
0

I have installed a current version of INDY 10 and everything works fine until I close and reopen Delphi.  I then tells me it cannot find the installed BPL's.  I have pointed the Library and Browsing paths to where the BPL's are located but still get the message they cannot be found.


XCode 8.3?

$
0
0

Hi,

As always, starts aligned like each previous releases... RAD Studio is out, and a few days later, the new XCode is there too.
Did anybody try XCode 8.3 with RadStudio 10.2?
Is anything broken?
Thanks for any clue.

External testing

$
0
0

Hi

I try to add my app to TestFlight -> External Testing in iTunes Connect

when I try to "Add an iOS build to test" i got this error/warning:

embarcadero External testing is not supported for builds that have been created with a beta version of Xcode or iOS.

does anybody know how to deal with it ?

does anybody has experience with External Testing ?

Lack of beacons events on Delphi Android

$
0
0

Hello,

Beacon events on Delphi Berlin Upd. 2 + Android Apps get fired occasionally. As you can see on the image, there is no activity in 22 seconds. I tried to set TBeaconManager.ScanningSleepingTime to 0 and reduce TBeaconnmanager.ScanningTime to 100 with no success. BTW, the App works nicely on Windows and iOS, the maximum inactivity I receive is 2 seconds in both cases.

In order to gain the maximum activity the event OnCalcDistances is also trapped.

It is not a device (Nexus 6p) problem since the 'Locate' App from Radius Networks also updates the beacons information on every second.

I'm really exhausted with this bug. Any help is really appreciated.

Regards,

Screenshot

Edit windows moving around when switching between "Default" and "Debug" layouts

$
0
0

When ever I use the "edit window" feature (I don't know what else to call it), I've noticed that the extra window will randomly relocate itself around my desktop when I go to debug my program.  For instance, I have two monitors, I keep RAD studio's main window open in the right screen, and I like to have a second window in the 2nd half of my left screen to view other files while working.  Most of the time (let's say 80% of the time) when I go to debug my program, this window just takes the liberty to relocate itself, often times in places where it's not being useful at all (like it'll take itself and position it over the main window of RAD studio with part of it off the screen).

Is there any way at all to lock the position of these windows?  If this is a "feature" (like clicking out in white space... who thought that was a good idea?) is there anyway to disable it?

I love Delphi, but there are a handful of things with the IDE itself that drive me nuts (like the screen-flickering-refresh that takes 15-30 seconds while I'm in the middle of a thought).

Any support for Fast Reports?

$
0
0

Fast Reports is missing from GetiT.

Download from Fast Reports itself will not install in Rad Studio 10.2

Drag, Click and DblClick.

$
0
0

Why doesn't work OnDblClick and OnClick if control is in DragMode := dmAutomatic in FMX

I'm doing simple editor of graphs using FMX. I need graphics element to drag for changing its place and double click for open the window with properties. How to obtain it?

Hpw can I create a SOAP server applications with existing XSD for request and response?

$
0
0

Hello!

I have to create a SOAP web service base on existing XSD schemas witch will be used as Request and Response.

I build two units based on my xsd schemas.

And have a new units with interfaces IXMLBatchUpdateCardDataRequest and IXMLBatchUpdateCardDataResponse.

And I need to create something like that for SOAP request,

 


   
   
            
            ....
            
   

 

and I have to create a something like that


   
   
            
            ....
            
   

for response!

 

What I have to do?

How I can define "tns" namespace?

How My TRemotable class will looks like to realize all tags from Request and Response xsd?

Thank you very much!

 

 


Lack of beacons events on Delphi Android

$
0
0

Hello, 

Beacon events in Delphi Berlin Upd. 2 and Delphi Tokyo with Android apps get fired occasionally. As you can see on the image, there is no activity in 22 seconds

Android Screenshot

In order to gain the maximum activity the OnCalcDistances event is also trapped.

I tried to set TBeaconManager.ScanningSleepingTime to 0 and reduce TBeaconnmanager.ScanningTimeto 100 with no success. BTW, the app works nicely on Windows and iOS, the maximum inactivity I receive is 2 seconds in both cases.

It is not a device problem since the 'Locate' app from Radius Networks also updates the beacons information every second.

Yo can download a small and simple demo that shows the bug (10.5 kb) from this link: https://www.dropbox.com/s/vijghdlillp5nj7/TestBeacons.zip?dl=0

I'm really exhausted with this bug. Any help is really appreciated.

Ignacio Ortiz

ISAPI DLL stops working in 10.1 Berlin

$
0
0

Hi!
I upgraded to Delphi 10.1 Update 2 and now I get an error:

"Received content of invalid Content-Type setting: text/html - SOAP expects "text/xml"

when calling just ANY method of my existing ISAPI DLL. Everything worked fine in 10 Seattle with an x64 build target and IIS 8.5 that comes with MS Windows Server 2012.

To get an idea og whats going wrong a created a new ISAPI DLL with 10.1 from scratch, including the echoXY example methods. I called them by a very simple VCL Forms client that just contains a Button and the HTTPRIO component. The error stays the same. So ISAPI seems to be broken in 10.1. I did not change any single setting on the server.

Is there any workaryound? I spent many hours googling and found a number of solutions that did not work like skipping the ISAPThreadPool unit and so on.

Thanks, Reg

FMX Android apps do not draw some forms after Tokyo update

$
0
0

I have a number of FMX based programs that do not draw there forms correctly when built for the Android platform under Tokyo. The programs work fine on Berlin update 1 and 2. The same programs complied for Win64 or Win32 under Tokyo seam to work fine.

I have only had time to test the android apps on a Samsung S5 (6.01), S6 (6.01) and a Samsung TabS (6.01).

Each of the programs has 8 to 10 forms. When a form is shown it does not always display but the controls on the form are active.

The programs use a local SQLite database using FireDac and live bindings to display data. All of the forms which use live bindings from the FireDac database to one or more ListViews in a MultiView  will not draw at all. While you can not see the form all of the forms controls are active.

I have one application form that uses live bindings but has no MultiView.  The form has a hidden panel (visible=false). When the panel is made visible the form does not update to show the panel but the controls on the panel are active.

In the IDE I can not show the contents of a MultiView when the "Master" form layout is selected. If I select the "Windows" or "Android" layouts the show command displays the MultiView.

 

project apk never stops installing to google Android emulator

$
0
0

D10.2 - IDE displaying target android devices with red (x) tags,

 

Is it possible to change the version of MSBuild used to build Delphi projects

$
0
0

When building a Delphi project, it appears that the project file is being built with MSBuild 2.0 underneath.

I have some external .targets files that will only work with MSBuild 4.0 or newer. Right now, I can call these only by externally invoking $(windir)\Microsoft.NET\Framework\v4.0.30319\MsBuild.exe through an Exec task. But that means having to pass a load of parameters to the external process and doesn't really plug in to my project very well.

I cannot seem to find anywhere in the IDE (currently Delphi 10.0) where I can select the MSBuild version to use. Is it at all possible to change?

Viewing all 1888 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>