Current filter:
                                You should refresh the page.
                                  • Hi Guys,

                                    i am wondering how one would modify the mobile application - for example to add plugins and access the device? will you provide an seperate solution later for the mobile application part?

                                    Another question is how you have planned to customize the xaf data service url? i guess if a customer downloads the app from an store . the first thing would be to authenticate via username/password (as currently with the authentication detailview) - but also to enter the correct service url?

                                    thx
                                    Noxe

                                Show all comments
                                • Vladimir L (DevExpress) 04.26.2016

                                  Hi Martin,

                                  When you click 'Build application for mobile' in the Simulator, DeployService builds & packs mobile applications for the PhoneGap build service. We plan to introduce extension points for controls, where you can specify JavaScript code accessing phonegap plugins. Required plugins will be specified through .config.

                                  In the preview version, XAF data service url is specified through the URL parameter dataServiceUrl. In the following simulator URL:
                                  http://maindemo.cloudapp.net/Simulator/?appPage=/player.cshtml?app=http://localhost:62695/MetadataService.svc/AppConfig?dataServiceUrl=http://localhost:62695/DataService.svc,
                                  the data service URL is http://localhost:62695/DataService.svc.
                                  You need to publish your XAF Data Service on the Internet, change the dataServiceUrl parameter so that it points to the published service, and then build a mobile application. A customer doesn't need to enter the data service url, it is already packed in the mobile application.
                                  Further we plan to specify this URL through .config.

                                  Thanks,
                                  Vladimir

                                • Martin Praxmarer - DevExpress MVP 04.26.2016

                                  Hi Vladimir,

                                  thx - but i cannot follow. for example i build a mobile app - and want to publish it to all my customers - every customer hosts its own data service. so each customer need to enter the service URL on the mobile device as first step?

                                • Vladimir L (DevExpress) 04.26.2016

                                  Yes, in this case, you need to enter the service URL at the first step.

                                  Also, we are considering to place our own mobile application (AppPlayer) in the mobile application's stores. This application will be able to open such a URL:
                                  http://maindemo.cloudapp.net/Simulator/?appPage=/player.cshtml?app=http://localhost:62695/MetadataService.svc/AppConfig?dataServiceUrl=http://localhost:62695/DataService.svc
                                  In this case. you will be able to distribute different URLs to your customers. Does this approach meet your needs?

                                  Thanks,
                                  Vladimir

                                • Martin Praxmarer - DevExpress MVP 04.26.2016

                                  HI Vladimir,

                                  i dont know if i understand your vision/strategy about an xaf mobile app? i mean i guess most of your customers will have an product where the database is hosted on promise by the customer inhouse. so also the xaf dataservice - so it is a must have to configure

                                  servername
                                  username
                                  password

                                  for the first login? so i dont know what i will do with an AppPlayer as i would want to publish our own branded application in the stores?

                                  that should be something which is available out of the box?

                                • Vladimir L (DevExpress) 04.27.2016

                                  Hi Martin,

                                  Yes, you are right. If you want to publish your own branded application in the stores for all customers, each customer will need to configure the server name at mobile application strartup.

                                  I've just tried to describe another distribution strategy - without your application. In this case, you would be able to configure servername through a URL.

                                  Thanks,
                                  Vladimir

                                • Martin Praxmarer - DevExpress MVP 04.27.2016

                                  Ok Vladimir - thx. So will you implement this for the Default XAF Solution? Or can you describe how to solve this?

                                  thx

                                • Vladimir L (DevExpress) 04.27.2016

                                  >>So will you implement this for the Default XAF Solution?
                                  Thanks for your suggestion. Our team will take it into account, though I cannot promise any time frame at this stage.

                                  >>Or can you describe how to solve this?
                                  I am afraid we do not have a good solution at the moment so I cannot describe it right now. For now, we are thinking of the following way to solve this in the future:

                                  1. you can create a custom logon parameters class with a server name property. 2. a user selects a required server from the drop-down list and then the app connects to the required URL internally.
                                  What do you think of this solution?

                                  Thanks,
                                  Vladimir

                                • Martin Praxmarer - DevExpress MVP 04.27.2016
                                  1. you can create a custom logon parameters class with a server name property.
                                   -> makes sense for me - i wonder how you would query the  logon parameters for the first login without server connection :) or would this screen be hardcoded on the app?

                                  2. a user selects a required server from the drop-down list and then the app connects to the required URL internally
                                   -> makes no sense for me - one cannot expose all Server URLs to all customers...

                                • Vladimir L (DevExpress) 04.29.2016

                                  In our mobile applications, all screens are hard-coded, since only data is transferred through the network. The application does not need to connect to a server to show the logon window. So, I believe that it will be possible to implement this functionality using a text box or combo box for entering the server name. We will take this scenario into account in the future. If you have any other ideas or comments, feel free to post them here.

                                  Thanks,
                                  Vladimir

                                • Dennis (DevExpress) 07.19.2016

                                  [DevExpress Support Team: CLONED FROM [https://community.devexpress.com/blogs/eaf/archive/2016/07/13/xaf-mobile-platform-ctp-updates-shipping-now-in-v16-1.aspx]](DevExpress Support Team: CLONED FROM [https://community.devexpress.com/blogs/eaf/archive/2016/07/13/xaf-mobile-platform-ctp-updates-shipping-now-in-v16-1.aspx])
                                  "1) It is still not clear to me how you handle logon / connection settings on the device. Currently the server is backed into the mobile application - while in the real world the user has to enter the server address? The current solution only makes sense in an hosted application scenario?"

                                1 Solution

                                Creation Date Importance Sort by

                                Hi Martin,

                                UPDATE
                                We published a Knowledge Base article demonstrating how to update the ServiceUrl option after a Mobile application starts: How to change the default data service URL in XAF Mobile applications at runtime. This solution is available starting from version 17.1.5.
                                My team and I would greatly appreciate your thoughts on this mobile feature once you've had the opportunity to review it. Thanks in advance.

                                OLD ANSWER
                                The solution to enter the server address isn't implemented yet. I suppose it will be a view with a text or drop down box for choosing the server name (not its URL) which will be shown before the logon view or on the logon view. Does this meet your requirements? Please describe what result you expect.

                                Thanks,
                                Vladimir

                                • Martin Praxmarer - DevExpress MVP 07.20.2016

                                  Hi Vlad,

                                  the logon view should show

                                  UserName:
                                  Password:
                                  Server:

                                  Optionaly the logon screen should first show ServerName - then click next - and then show UserName / Password - the ServerName should be stored on the device - the user should only enter it once - but optionaly change it later.

                                  I guess this should be a out of the box feature - without an mobile application does not make much sense for me?

                                • Vladimir L (DevExpress) 07.20.2016

                                  Thank you for the detailed answer. We'll take your feedback into account for the future.

                                  Thanks,
                                  Vladimir

                                • Evgeniy Meyke 07.21.2016

                                  To add on Martin's scenario:
                                  Our mobile app would need to add a server name (a token essentially) and the connection string information will be either automatically assembled during login (hard coded db server) or taken for a separate connection strings database for the token. Token will be stored on device and offered as drop down as drop down. So a very close scenario.
                                  The important bit is that we would not need to compile different app store apps for different clients using same product.

                                • Dennis (DevExpress) 07.21.2016

                                  Thanks, Evgeniy