Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| 3400_how_to:1000_mobile_applications [2026/08/13 07:33] – Imported by DokuWiki Advanced Plugin aware_support3 | 3400_how_to:1000_mobile_applications [2026/08/13 07:43] (current) – Imported by DokuWiki Advanced Plugin aware_support3 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Starting from version 7.0 all features available for desktop applications are available for mobile applications as well and the other way around. However, because real estate on mobile platforms is severely limited you may want to create a special version for mobile phones and/or tablets that will use slightly different features compared to the desktop application. | Starting from version 7.0 all features available for desktop applications are available for mobile applications as well and the other way around. However, because real estate on mobile platforms is severely limited you may want to create a special version for mobile phones and/or tablets that will use slightly different features compared to the desktop application. | ||
| Line 11: | Line 11: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| This feature is very often used in mobile applications. To create a thumbnail view use a custom presentation of query results. See the “[[2500_config_apps: | This feature is very often used in mobile applications. To create a thumbnail view use a custom presentation of query results. See the “[[2500_config_apps: | ||
| If you use the “custom template” you will be able to use a “scroll view”, which is very popular for mobile applications – it displays one image at a time and users can swipe to the next or previous image.</ | If you use the “custom template” you will be able to use a “scroll view”, which is very popular for mobile applications – it displays one image at a time and users can swipe to the next or previous image.</ | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Use regular grids (Queries with standard presentation). If your query uses inline editing or filtering make sure you tick the “Mobile rendering” option for the query (available through the More button)</ | Use regular grids (Queries with standard presentation). If your query uses inline editing or filtering make sure you tick the “Mobile rendering” option for the query (available through the More button)</ | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Usually for a mobile application running on a phone you would define two menus – the top toolbar and the slide-out menu (of course, both are optional). Defining the toolbar is simple – you just define a menu of the Toolbar type in the Top Bar frame of your visual perspective. Most likely you will place at least two buttons on this toolbar – the button that slides out the main menu and the button that implements the “Go back” functionality. | Usually for a mobile application running on a phone you would define two menus – the top toolbar and the slide-out menu (of course, both are optional). Defining the toolbar is simple – you just define a menu of the Toolbar type in the Top Bar frame of your visual perspective. Most likely you will place at least two buttons on this toolbar – the button that slides out the main menu and the button that implements the “Go back” functionality. | ||
| Line 29: | Line 29: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Use regular forms for business objects. Some of the features of business object forms that you may find useful on mobile devices are listed below: | Use regular forms for business objects. Some of the features of business object forms that you may find useful on mobile devices are listed below: | ||
| Line 41: | Line 41: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| | | ||
| A popular feature on mobile devices is to show one image at a time with the user being able to swipe back and forth to display the next or previous image. To implement this feature use [[2000_concepts: | A popular feature on mobile devices is to show one image at a time with the user being able to swipe back and forth to display the next or previous image. To implement this feature use [[2000_concepts: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| One approach is to define an attribute of the Picture type for one of your forms. // | One approach is to define an attribute of the Picture type for one of your forms. // | ||
| Line 60: | Line 60: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| The quickest way is to define an attribute of the Picture type in some object and then define a special form with one form section and one cell showing the Picture attribute. For more details see the [[3300_mobile_apps: | The quickest way is to define an attribute of the Picture type in some object and then define a special form with one form section and one cell showing the Picture attribute. For more details see the [[3300_mobile_apps: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Just define an attribute of the Document type to store your PDF document. // | Just define an attribute of the Document type to store your PDF document. // | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| It may be necessary for your application to determine the location of the current user – for example, if it needs to calculate users or places of interest closest to the current user. | It may be necessary for your application to determine the location of the current user – for example, if it needs to calculate users or places of interest closest to the current user. | ||
| Line 92: | Line 92: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| This is explained in the “[[3300_mobile_apps: | This is explained in the “[[3300_mobile_apps: | ||
| Line 101: | Line 101: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| On mobile phones a user may want to login only the first time he/she accesses an application and then the application should remember the user credentials, | On mobile phones a user may want to login only the first time he/she accesses an application and then the application should remember the user credentials, | ||
| Line 112: | Line 112: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Sending push notifications to mobile phones is only supported for native mobile applications. If you want to send push notifications to mobile phones in your native mobile applications there are several major steps involved. Most of them need only to be done once. | Sending push notifications to mobile phones is only supported for native mobile applications. If you want to send push notifications to mobile phones in your native mobile applications there are several major steps involved. Most of them need only to be done once. | ||
| Line 157: | Line 157: | ||
| <anchor id=" | <anchor id=" | ||
| - | < | + | < |
| Cordova plugins are components that provide access to some built-in features of mobile phones, (such as camera or contacts), for which there is no Javascript access. When components are integrated into the system these features become available through some special Javascript functions that the plugin makes available to the developer. Cordova plugins can only be used in native mobile applications. | Cordova plugins are components that provide access to some built-in features of mobile phones, (such as camera or contacts), for which there is no Javascript access. When components are integrated into the system these features become available through some special Javascript functions that the plugin makes available to the developer. Cordova plugins can only be used in native mobile applications. | ||