Posts

Showing posts with the label codenameone

Use native password manager

Image
Use native password manager Is it possible to use (with Codename One) the native password manager to store or to get the user password? My use case: see this screenshot of the iOS Teachable app, in the virtual keyboard there is a key icon to access the iPhone password manager (that uses the FaceID in the case of iPhone X). I know how to do a login form using a TextModeLayout, but I don’t know how to get this navite password management functionality. Why the massive screenshot? – Joakim Danielson Jun 30 at 7:24 Why the two downvotes? I see the screenshot fits in the device screen. I’m using the StackOverflow app on iPhone and the screenshot is taken in the same device. It looks fine on the device, I’ll resize it (if it’s appear too big) when I will have access to my computer. – Francesco Galgan...

stop() method will be called when App crashes in CN1

stop() method will be called when App crashes in CN1 I would like to close the threads or clear cache if the App crashes or Phone switch off or some other abrupt actions. Please advise if this method only gets called when the user kill the App or Signout from the App. 1 Answer 1 I'm pretty sure stop() gets called when you force kill the app, switch apps, lock the screen, phone auto locks, or anything really where the app is no longer visible. You can also check edge cases by connecting your Android (in dev mode) to your laptop, downloading platform-tools (logcat), adding a print statement inside the stop() function and using the following command "./adb logcat -s "System.out" inside the platform-tools directory. Not sure how to do it on iOS. Thanks Nick. But I would like to know will this gets called mainly when App Crash for any reason. I will not be a...