Jump to content

erwin

Members
  • Content Count

    12
  • Joined

  • Last visited

  1. erwin

    Datasnap connector tip

    There was no DataSnapProxyGenerator.dll on my whole machine in the first place. I have put yours besides SmartMS.exe located in C:\Program Files (x86)\Smart Mobile Studio\ directory. To be clear: it was not a replacement. Now it works :-)
  2. erwin

    Datasnap connector tip

    Thanks. I assume your DataSnapProxyGenerator.dll is ISAPI dll. Configuration of IIS is not that simple. Could you provide stand-alone executable of your default DataSnap http server please? Listening on port 12345 for example, or default value 8080? I want to exclude configuration issues with IIS.
  3. erwin

    Datasnap connector tip

    Hi Andre, Thanks for response. I get error message: Failed to import Datasnap connector. Error[50] not supported In Delphi New DataSnap Server wizard I checked HTTP and JavaScript files, and started application of course (can indeed easily be overlooked!). I can connect with other Delphi VCL client application to running DataSnap server: no firewall problems. I use Delphi XE6 though. Best regards, Erwin
  4. erwin

    Datasnap connector tip

    I am also curious how Smart Mobile Studio can connect to DataSnap server. The DataSnap connector wizard in SMS Enterprise edition (Tools | Import DataSnap connector) asks for DataSnap service URL. Which value to fill in? http://localhost:8080 or http://localhost:8080/datasnap/rest or perhaps path to ServerFunctions.js? ServerFunctions.js is JavaScript proxy generated by DataSnap server. Anyway, DataSnap server is running on same machine with just default sample server methods, but DataSnap connector wizard fails. I use Delphi XE6 and SMS 2.1. Is tutorial available somewhere or blogpost how to use DataSnap connector wizard?
  5. erwin

    KInvey

    In addition: are there other ways to receive push-notifications in Smart Mobile Studio project? Delphi XE6 include components for Kinvey out of the box. Tutorials are also available. For business applications the ability to receive remote push-notifications is very desirable I think. May I suggest to include in SMS Enterprise edition wrapper classes for Kinvey JavaScript SDK. Best regards, Erwin
  6. erwin

    Page Control or Tabbed Notebook control

    In Delphi I often use a PageControl where at runtime on TabSheet a Frame component is placed. This way all functionality of the different frames is spread out in their different units. Instead of all functionality located in one big unit. It would be nice if SMS would support PageControl and Frame components.
  7. erwin

    KInvey

    Hi, Kinvey is a popular Backend-as-a-Service provider. Also push notifications for mobile devices are supported. Is there an example somewhere how to integrate Kinvey in Smart Mobile Studio project? Anyone has experience with Kinvey? A Kinvey JavaScript SDK is available. http://devcenter.kinvey.com/html5/downloads Also REST API is possible. http://devcenter.kinvey.com/rest/guides/getting-started A blog post how to setup push notifications with Kinvey and SMS would be much appreciated! Best regards, Erwin
  8. erwin

    Page Control or Tabbed Notebook control

    Agreed! A PageControl component included in SMS would be nice addition. In fact it is a basic requirement for most users I think.
  9. erwin

    duplicate project types

    SMS was started automatically right from installation, and then all project types appear twice when creating a new project. After closing SMS and launch again, all possible project types to choose from appear just once like it should. I remember now I did not uninstall SMS before installing a new version. Maybe something to do with it. Thanks for response!
  10. erwin

    duplicate project types

    After selecting File | New | New project... in the resulting dialog all available project types appear twice. SMS 2.0.2.743
  11. erwin

    Trying Remobjects with 1.0.1 beta

    Everything works fine here, but not with internal SMS browser though. If you open your Smart app with other browser like FireFox or with Chrome for example, it should work with both type of channels. Event support only works with TBINMessage though, and not with TJSONMessage, as it is also the case in RO for Delphi. But I believe people at RO are working on event support for TJSONMessage in RO for Delphi. When ready SMS can also profit of event support for TJSONMessage type.
  12. erwin

    DateTime To String

    In unit RemObjectsSDK a type DateTime is defined, and also unit w3systyem contains definition for type TDateTime. Confusing indeed. The standard built-in function DateTimeToStr() can only be applied to parameters of latter type. In unit w3system we have: type TDateTime = Float; And in unit RemObjectsSDK: type JDate = class external 'Date' constructor Create(); function toUTCString: string; function toDateString: string; end; DateTime = JDate; The automatically generated file with the RemObjects wizard contains for example the following callback definition: TBasicService_GetServerTime_Result = procedure(aResult: DateTime); In the result callback aResult.toUTCString can be used to obtain string representation. Or you have to augment the class JDate with a toString function yourself.
×