buttoncodenameonehomescreenhome-screen-widget

How to add a shortcut to a button in the homescreen of the phone using Codename One?


I am trying to develop an application in Codename One where I have built a form to accept name, phone number, address and save all these information to the persistent storage using a submit button. Now the problem is to save all these details the user has to open the application and press the "add new details" button, only then the user can enter the values. Is it possible to add a shortcut of the "add new details" button on the homescreen so that the user don't need to open the application every time he/she tries to add a new entry? The user will just click on the "add new details" button present on the homescreen of his/her phone.

I am trying to develop this application for android, iOS and windows platforms.


Solution

  • iOS doesn't have a "home screen" and shows the apps directly. Windows has a more unique tile approach where it isn't quite shortcuts.

    You can use native interfaces to do this on the various OS's but the gist of this is that this isn't portable functionality so it's outside the domain of Codename One.