[codenameone-discussions] Capture.capturePhoto galaxy tab orientation
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 12 Desktop OS Windows 10 Pro Simulator latest Device Samsung Galaxy Tab S5e Taking a picture and saving to disk, then reloading is in portrait, likewise if I take a picture and hold the tablet in landscape (horizontal) and save, the retrieved photo is portrait. I did not find a build hint that addresses Photo orientation for android Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/ee8a2d9c-fba1-42bb-8ccb-06c8af6b0a1do%40googlegroups.com.
[codenameone-discussions] Re: How To specify the path for Storage.getInstance().writeObject(filePath, data);
Understood, However can I control what folder this object is written? On Sunday, October 25, 2020 at 11:46:23 PM UTC-4, Shai Almog wrote: > > Storage is a flat space that's cross platform. Don't confuse it with > FileSystemStorage. On the simulator (and some devices) they map to similar > locations but not on all. > > FileSystemStorage is a hierarchy system but it has portability > complexities. Storage is always flat. > > On Sunday, October 25, 2020 at 6:21:55 PM UTC+2 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device All >> >> I am using Storage.getInstance().writeObject(filePath, data); and want to >> specify the folder to persist the data. >> >> I don't see any methods exposed that allow this. >> >> Thoughts? >> >> regards. >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8aa50ee0-e9c4-4599-acd7-104112d62590o%40googlegroups.com.
[codenameone-discussions] How To specify the path for Storage.getInstance().writeObject(filePath, data);
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 Desktop OS Windows 10 Pro Simulator latest Device All I am using Storage.getInstance().writeObject(filePath, data); and want to specify the folder to persist the data. I don't see any methods exposed that allow this. Thoughts? regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4dcdca83-7397-4b02-be0f-d161487567e8o%40googlegroups.com.
[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs on Ipad IOS 13.3
Please advise where this log can be found. and how to access it on IPAD. On Wednesday, October 14, 2020 at 12:39:08 PM UTC-4, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 > Desktop OS Windows 10 Pro > Simulator latest > Device IPAD IOS 13.3 > > Accessing https://cloud.codenameone.com/buildapp/index.html hangs using > Safari > See attached pic "Codename One Build_loginFailure_Ios_Safati.png" > > Accessing https://cloud.codenameone.com/buildapp/index.html hangs using > MsEdge > > Accessing https://cloud.codenameone.com/buildapp/index.html works as > expected using Google Chrome > > Regards > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/28ed9424-5208-407b-8cc9-35301fc3283co%40googlegroups.com.
[codenameone-discussions] https://cloud.codenameone.com/buildapp/index.html hangs on Ipad IOS 13.3
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 Desktop OS Windows 10 Pro Simulator latest Device IPAD IOS 13.3 Accessing https://cloud.codenameone.com/buildapp/index.html hangs using Safari See attached pic "Codename One Build_loginFailure_Ios_Safati.png" Accessing https://cloud.codenameone.com/buildapp/index.html hangs using MsEdge Accessing https://cloud.codenameone.com/buildapp/index.html works as expected using Google Chrome Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a0606853-0fa3-4a05-93c9-60af20dcbfb4o%40googlegroups.com.
[codenameone-discussions] Provisioning Error
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 Desktop OS Windows 10 Pro Simulator latest Device IOS Last lines of the server debug error file: note: Constructing build description error: Provisioning profile "DeviceTester IOS_DEVELOPMENT Profile" doesn't support the iCloud capability. (in target 'DeviceTester' from project 'DeviceTester') error: Provisioning profile "DeviceTester IOS_DEVELOPMENT Profile" doesn't include the com.apple.developer.icloud-services entitlement. (in target 'DeviceTester' from project 'DeviceTester') ** ARCHIVE FAILED ** Any thoughts on what this is? "com.apple.developer.icloud-services" Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/2d884172-14fd-481f-b763-bf3052f3dc64o%40googlegroups.com.
[codenameone-discussions] Re: Center Align Text in TextField
That works Seems like it would be same code to center TextField as TextArea, Odd. Regards On Friday, October 9, 2020 at 12:00:40 AM UTC-4, Shai Almog wrote: > We don't support centering a text field at this time. Only a text area > (multiline) and even then not when editing. So when you move to editing > mode it will jump to the left/right respectively. > > Center text field has a bit of a nuanced behavior and it's hard to > replicate it when going back and forth between native editing and > lightweight. > > On Thursday, October 8, 2020 at 7:20:43 PM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device simulator IOS, Android >> >> Please suggest how to center align a textField with params as below. >> Always justifies to RIGHT. LEFT works correctly >> >> Form hi = new Form("Center Text in TextField", BoxLayout.y()); >> TextField txt = new TextField("55565"); >> txt.setEditable(true); >> txt.getAllStyles().setAlignment(TextField.CENTER); >> txt.setSingleLineTextArea(true); >> txt.setConstraint(TextField.DECIMAL); >> hi.add(txt); >> hi.show(); >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8a11af10-319a-4207-bad4-c359109aa238o%40googlegroups.com.
[codenameone-discussions] Center Align Text in TextField
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 Desktop OS Windows 10 Pro Simulator latest Device simulator IOS, Android Please suggest how to center align a textField with params as below. Always justifies to RIGHT. LEFT works correctly Form hi = new Form("Center Text in TextField", BoxLayout.y()); TextField txt = new TextField("55565"); txt.setEditable(true); txt.getAllStyles().setAlignment(TextField.CENTER); txt.setSingleLineTextArea(true); txt.setConstraint(TextField.DECIMAL); hi.add(txt); hi.show(); Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/851d187e-6f82-4333-9c69-d96518cffc01o%40googlegroups.com.
[codenameone-discussions] Server Error Connecting to Apple Deelopers Site
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12.2 Desktop OS Windows 10 Pro Simulator latest Device IOS Trying to provision a new app, using the Preferences dialog, trying to connect to the Itunes Server, I get the attached error message. I have verified my account is active and there are no outstanding todo's. Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/57ef8477-dd23-4f52-b26c-2cb044d59804o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Thanks, Stay Safe! On Saturday, August 8, 2020 at 12:20:13 AM UTC-4, Shai Almog wrote: > > I'm sorry, I don't use activities all that much and don't really remember > all the nuances and oddities of the Android activity stack. It's a pain for > sure. > I think the reason back misbehaves is because we explicitly programmed > back to exit the app in Codename One apps by default. This is easily fixed > in a Codename One app but obviously you can't do that to Codename One build. > Just use the URL association instructions I showed to you previously and > set the back command behavior to go back to the previous app. > > On Friday, August 7, 2020 at 4:00:09 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Touch back button (Running Codename1Build App Showing My App Icon_3.jpg) >> brings me to the Android main apps screen (Running Codename1Build App >> Showing My App Icon_4.jpg), >> Tap on "|||" to show previous running apps shows(Running Codename1Build >> App Showing My App Icon_5.jpg) >> Note: The (Running Codename1Build App Showing My App Icon_5.jpg) pic you >> will see the Codename1 Build app with My Apps Icon top middle. >> Now, from the main apps screen, I tap on my apps icon (Running >> Codename1Build App Showing My App Icon_6.jpg) >> And the Codename1 Build app opens. >> >> I don't want to beet a dead horse, however would be interested in your >> thoughts. >> >> Regards. >> >> On Thursday, August 6, 2020 at 10:55:21 PM UTC-4, Shai Almog wrote: >>> >>> That's Android Intents. You can use the back button to return to the >>> previous app >>> >>> On Thursday, August 6, 2020 at 4:14:08 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> Interesting, running this: Display.getInstance().execute("intent:#Intent;scheme=cn1bldapp;package=com.codename1.build.app;end"); Opened the expected app, however it appears to have displaced my app instance. (In that when I tap the ||| on the tablet to show all running apps, I only;y see my app, yet ith is actually the build app.) See attached pic. "Running Codename1Build App Showing My App Icon_1.jpg" minimizing the build app and then tapping on my app icon, reopens the build app. From a users perspective, My app is now linked to the build app in memory. until i kill the app and all is normal. Curious, Is this the expected behavior? I was expecting to have spawned the codename1 build app, where my app would be minimized. If not, is there a way to spawn this so my app is in background and reachable or is this illegal in the Android world? Thoughts? Rgards On Wednesday, August 5, 2020 at 9:53:30 PM UTC-4, Shai Almog wrote: > > Sorry got this wrong again, the right scheme for the builder app is > "cn1bldapp". > See this for more details: > https://www.codenameone.com/blog/tip-activate-via-url-send-arguments.html > On Wednesday, August 5, 2020 at 2:38:39 PM UTC+3 > shop.servic...@gmail.com wrote: > >> Thanks, >> >> Ran with "" and got error: >> D AstcTechMobileApp: [invokeAndBlock2] 0:2:20,93 - Exception: >> android.content.ActivityNotFoundException - No Activity found to handle >> Intent { act=android.intent.action.VIEW dat=CodenameOneBuildApp: >> pkg=com.codename1.build.app } >> 08-05 07:27:01.660 21429 21610 W System.err: >> android.content.ActivityNotFoundException: No Activity found to handle >> Intent { act=android.intent.action.VIEW dat=CodenameOneBuildApp: >> pkg=com.codename1.build.app } >> >> Please see attached log. "*Codename1_1Log.txt*" >> >> Please see screen shot of execute argument in attached pic >> "AndroidGalaxy5S2ExecuteIntentErrors_2.jpg" >> >> Thoughts? >> >> Regards >> >> On Monday, August 3, 2020 at 10:50:31 PM UTC-4, Shai Almog wrote: >>> >>> You also need to change "customapp" to CodenameOneBuildApp. Sorry >>> missed that. >>> >>> On Monday, August 3, 2020 at 2:35:39 PM UTC+3 >>> shop.servic...@gmail.com wrote: >>> Seems like the syntax of this call is suspicious. Display.getInstance().execute("intent:#Intent;scheme=customapp;package=com.codename1.build.app;end"); Getting Thoughts? regards "08-03 07:27:13.129 25211 25240 D AstcTechMobileApp: [invokeAndBlock1] 0:0:12,923 - Exception: android.content.ActivityNotFoundException - No Activity found to handle Intent { act=android.intent.action.VIEW dat=customapp: pkg=com.codename1.build.app } 08-03 07:27:13.129 25211 25240 W System.err: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=customapp: pkg=com.codename1.build.app
Re: [codenameone-discussions] Fingerprint dialog not shoing cancel button on Android 7+
Thanks Steve, I have emulated the IOS Dialog for Android. I have downloaded the Fingerprint class and modified the showDialogOnAndroid method. See Pic attached "TouchIdDialogAndroid.jpg" Do you think this is safe for me to use a local copy of the Fingerprint class regarding future product builds? Thoughts? Regards. On Monday, August 3, 2020 at 9:45:15 AM UTC-4, Steve Hannah wrote: > > Here is the source for the dialog that is shown. > > https://github.com/codenameone/FingerprintScanner/blob/master/src/com/codename1/fingerprint/Fingerprint.java#L332 > > On Fri, Jul 31, 2020 at 2:48 PM Mark Bolduc > wrote: > >> For consistency, can you either add one of send me the link to the source >> and I will add a cancel button. >> >> Thoughts? >> >> Regards. >> >> On Thursday, July 30, 2020 at 9:44:38 AM UTC-4, Steve Hannah wrote: >>> >>> Some things to note: >>> >>> 1. iOS uses a native dialog (we have no control over it). >>> 2. Android (<10) uses a prompt that we provide (optionally). It never >>> included a cancel button. >>> >>> >>> >>> On Thu, Jul 30, 2020 at 6:38 AM Mark Bolduc >>> wrote: >>> >>>> If you are experiencing an issue please mention the full platform your >>>> issue applies to: >>>> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >>>> Desktop OS Windows 10 Pro >>>> Simulator latest >>>> Device Android >>>> >>>> Not able to cancel request for scan as Cancel Button not visible. See >>>> pic "AndroidGalaxy5S2FingerPrintScannerIssue_1.jpg" >>>> Ok on IOS see pic "AndroidGalaxy5S2FingerPrintScannerIssue_2.png" >>>> >>>> Regards >>>> >>>> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "CodenameOne Discussions" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to codenameone-discussions+unsubscr...@googlegroups.com. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> Steve Hannah >>> Software Developer >>> Codename One >>> http://www.codenameone.com >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "CodenameOne Discussions" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to codenameone-discussions+unsubscr...@googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/codenameone-discussions/4d0a01fa-ed67-48f1-8370-862c97717150o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/codenameone-discussions/4d0a01fa-ed67-48f1-8370-862c97717150o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Steve Hannah > Software Developer > Codename One > http://www.codenameone.com > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fb8f2a75-b746-4f58-bc7f-a5df54f4c37fo%40googlegroups.com.
[codenameone-discussions] How to retrieve codename1 app Title defined in preferences
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 Desktop OS Windows 10 Pro Simulator Latest Device Android How can I retrieve the app title defined in preferences? Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/0556f092-7ab3-4684-ac2e-84a87454f371o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Seems like the syntax of this call is suspicious. Display.getInstance().execute("intent:#Intent;scheme=customapp;package=com.codename1.build.app;end"); Getting Thoughts? regards "08-03 07:27:13.129 25211 25240 D AstcTechMobileApp: [invokeAndBlock1] 0:0:12,923 - Exception: android.content.ActivityNotFoundException - No Activity found to handle Intent { act=android.intent.action.VIEW dat=customapp: pkg=com.codename1.build.app } 08-03 07:27:13.129 25211 25240 W System.err: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=customapp: pkg=com.codename1.build.app } On Sunday, August 2, 2020 at 11:29:44 PM UTC-4, Shai Almog wrote: > It should launch for "com.codename1.build.app" although I haven't tried > that. > > On Sunday, August 2, 2020 at 2:08:54 PM UTC+3 shop.servic...@gmail.com > wrote: > >> I don't know. >> >> can you provide the codenameone build app string >> ?Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path >> >> to codenameone build app*];end"); (Android Only) >> >> On Saturday, August 1, 2020 at 11:05:28 PM UTC-4, Shai Almog wrote: >>> >>> It looks that it works but the file manager in question doesn't seem to >>> support that for some reason. Can you open other apps with this intent? >>> >>> On Saturday, August 1, 2020 at 4:40:57 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> Yes, See attached "AndroidGalaxy5S2com.diamond.apps.filemanager_1ErrorLog.txt" Additionally, can you provide the codenameone build app string ? Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path to codenameone build app*];end"); (Android Only) On Friday, July 31, 2020 at 10:53:29 PM UTC-4, Shai Almog wrote: > > I don't see anything in the logs here can you place them as text > somewhere? > > On Friday, July 31, 2020 at 10:43:09 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Thanks Guys. >> >> I think to put this issue to bed, I would like to get this working: >> >> >> >> Display.getInstance().execute("intent:#Intent;scheme=customapp;package=com.diamond.apps.filemanager;end"); >> However it generates the error attached >> "AndroidGalaxy5S2ExecuteIntentErrors_1.jpg" >> >> See pic "AndroidGalaxy5S2com.diamond.apps.filemanager_2.jpg" for >> class path from Filemanager app. >> >> Thoughts? >> >> Regards >> >> On Friday, July 31, 2020 at 1:00:08 PM UTC-4, Dave Dyer wrote: >>> >>> If you've got a dozen little apps that act as modules and cooperate >>> with each other, I would think >>> long and hard about just bundling them into a single app. There are >>> so many ways a gaggle >>> of apps can become out of sync and fail to work together, and >>> coordinating changes among them >>> is a pain. Not to mention that you have to keep building and >>> distributing them all. >>> >>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d2f35935-e884-4036-aeb0-5244c4b654a1o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
I don't know. can you provide the codenameone build app string ?Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path to codenameone build app*];end"); (Android Only) On Saturday, August 1, 2020 at 11:05:28 PM UTC-4, Shai Almog wrote: > > It looks that it works but the file manager in question doesn't seem to > support that for some reason. Can you open other apps with this intent? > > On Saturday, August 1, 2020 at 4:40:57 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Yes, >> >> See attached "AndroidGalaxy5S2com.diamond.apps.filemanager_1ErrorLog.txt" >> >> Additionally, can you provide the codenameone build app string ? >> Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path >> >> to codenameone build app*];end"); (Android Only) >> >> On Friday, July 31, 2020 at 10:53:29 PM UTC-4, Shai Almog wrote: >>> >>> I don't see anything in the logs here can you place them as text >>> somewhere? >>> >>> On Friday, July 31, 2020 at 10:43:09 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> Thanks Guys. I think to put this issue to bed, I would like to get this working: Display.getInstance().execute("intent:#Intent;scheme=customapp;package=com.diamond.apps.filemanager;end"); However it generates the error attached "AndroidGalaxy5S2ExecuteIntentErrors_1.jpg" See pic "AndroidGalaxy5S2com.diamond.apps.filemanager_2.jpg" for class path from Filemanager app. Thoughts? Regards On Friday, July 31, 2020 at 1:00:08 PM UTC-4, Dave Dyer wrote: > > If you've got a dozen little apps that act as modules and cooperate > with each other, I would think > long and hard about just bundling them into a single app. There are > so many ways a gaggle > of apps can become out of sync and fail to work together, and > coordinating changes among them > is a pain. Not to mention that you have to keep building and > distributing them all. > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8610c207-c811-4846-8c0e-5d8b15c969f0o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Yes, See attached "AndroidGalaxy5S2com.diamond.apps.filemanager_1ErrorLog.txt" Additionally, can you provide the codenameone build app string ? Display.getInstance().execute("intent:#Intent;scheme=customapp;package=[*path to codenameone build app*];end"); (Android Only) On Friday, July 31, 2020 at 10:53:29 PM UTC-4, Shai Almog wrote: > > I don't see anything in the logs here can you place them as text somewhere? > > On Friday, July 31, 2020 at 10:43:09 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Thanks Guys. >> >> I think to put this issue to bed, I would like to get this working: >> >> >> >> Display.getInstance().execute("intent:#Intent;scheme=customapp;package=com.diamond.apps.filemanager;end"); >> However it generates the error attached >> "AndroidGalaxy5S2ExecuteIntentErrors_1.jpg" >> >> See pic "AndroidGalaxy5S2com.diamond.apps.filemanager_2.jpg" for class >> path from Filemanager app. >> >> Thoughts? >> >> Regards >> >> On Friday, July 31, 2020 at 1:00:08 PM UTC-4, Dave Dyer wrote: >>> >>> If you've got a dozen little apps that act as modules and cooperate with >>> each other, I would think >>> long and hard about just bundling them into a single app. There are >>> so many ways a gaggle >>> of apps can become out of sync and fail to work together, and >>> coordinating changes among them >>> is a pain. Not to mention that you have to keep building and >>> distributing them all. >>> >>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/180fa4a9-38c0-45e7-a99c-8bc90c8050f0o%40googlegroups.com. - beginning of main 08-01 09:25:22.689 7331 7331 I com.astc.a3tec: report jit thread pid = 7336 08-01 09:25:22.690 7331 7331 E com.astc.a3tec: Not starting debugger since process cannot load the jdwp agent. 08-01 09:25:22.725 7331 7331 I com.astc.a3tec: The ClassLoaderContext is a special shared library. 08-01 09:25:22.775 7331 7331 I DecorView: createDecorCaptionView >> DecorView@43d6a64[], isFloating: false, isApplication: true, hasWindowDecorCaption: false, hasWindowControllerCallback: true 08-01 09:25:22.785 7331 7331 D OpenGLRenderer: Skia GL Pipeline 08-01 09:25:22.818 7331 7331 D EmergencyMode: [EmergencyManager] android createPackageContext successful 08-01 09:25:22.831 7331 7348 D AstcTechMobileApp: [EDT] 0:0:0,1 - Codename One revisions: 7dd4e7d08b3442d90959477ee52a5ae8c4361b29 08-01 09:25:22.834 7331 7348 D AstcTechMobileApp: [EDT] 0:0:0,4 - Native Logs Reader initialized correctly 08-01 09:25:22.847 7331 7331 D InputTransport: Input channel constructed: fd=66 08-01 09:25:22.847 7331 7331 D ViewRootImpl@984ddad[A3TechStub]: setView = DecorView@43d6a64[A3TechStub] TM=true MM=false 08-01 09:25:22.849 7331 7331 V InputMethodManager: Not IME target window, ignoring 08-01 09:25:22.858 7331 7348 I System.out: CodeName1LogFileName = [file:///data/user/0/com.astc.a3tech/files/A3-TECH/SystemLogs/CN1Log__$.txt] 08-01 09:25:22.861 7331 7331 D ViewRootImpl@984ddad[A3TechStub]: Relayout returned: old=[0,0][1600,2560] new=[0,0][1600,2560] result=0x7 surface={true 514364411904} changed=true 08-01 09:25:22.861 7331 7349 I Adreno : QUALCOMM build : 7ff4f54, I4460aa6217 08-01 09:25:22.861 7331 7349 I Adreno : Build Date : 12/30/18 08-01 09:25:22.861 7331 7349 I Adreno : OpenGL ES Shader Compiler Version: EV031.25.03.02 08-01 09:25:22.861 7331 7349 I Adreno : Local Branch : 08-01 09:25:22.861 7331 7349 I Adreno : Remote Branch : 08-01 09:25:22.861 7331 7349 I Adreno : Remote Branch : 08-01 09:25:22.861 7331 7349 I Adreno : Reconstruct Branch : 08-01 09:25:22.861 7331 7349 I Adreno : Build Config : S P 6.0.7 AArch64 08-01 09:25:22.879 7331 7349 I Adreno : PFP: 0x016ee176, ME: 0x 08-01 09:25:22.886 7331 7349 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0 08-01 09:25:22.887 7331 7349 I ConfigStore: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasHDRDisplay retrieved: 0 08-01 09:25:22.887 7331 7349 I OpenGLRenderer: Initialized EGL, version 1.4 08-01 09:25:22.887 7331 7349 D OpenGLRenderer: Swap behavior 2 08-01 09:25:22.898 7331 7349 D OpenGLRenderer: eglCreateWindowSurface = 0x77af3f7f80, 0x77c2821010 08-01 09:25:22.941 7331 7331 D ViewRootImpl@984ddad[A3TechStub]: MSG_RESIZED: frame=[0,0][1600,2560] ci=[0,48][0,96] vi=[0,48][0,96] or=1 08-01 09:25:22.941 7331 7331 D ViewRootImpl@984ddad[A3TechStub]: MSG_WINDOW_FOCUS_CHANGED 1 1 08-01 09:25:22.948 7331 7331 D InputMethodManager: prepareNav
[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login
Your time investment shows, It's a nice app. Regards. On Friday, July 31, 2020 at 10:45:31 PM UTC-4, Shai Almog wrote: > > That's for this forum, right? > It's embedded as an iframe so edge might have a problem. Yes, we'd really > like to fix that and use a proper forum instead of a google group. We might > do that. > I think there might be a few edge cases with the build app and its > websocket connection reliability. I've spent a lot of time on this recently > and think we can improve this. > > Thanks! > > On Friday, July 31, 2020 at 5:58:16 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Microsoft Edge: Partial screen loads, however issues not displayed >> >> Please see pic "CodeNameOneWebAppHangsAtLogin_3.JPG" >> >> Regarding the Build App, I would request you look at the refreshing as in >> some occasions the app shows biulding, however after it appears to be >> taking too long, I swipe down and the app is ready. >> Seems like the message of completion from the build server is missed in >> the app. >> I would say this occurs 10 - 15% of the time. >> >> Certainly not a show stopper. >> >> Regards. >> >> On Thursday, July 30, 2020 at 10:46:48 PM UTC-4, Shai Almog wrote: >>> >>> Do you see anything in the browser console in that case? >>> Can you also file an issue on that? >>> We're about to overhaul the app and I'd like to take a look at some of >>> those things. >>> >>> On Thursday, July 30, 2020 at 3:58:04 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> The app performs correctly, only the web app on android does not. Turns out "https://cloud.codenameone.com/buildapp/index.html"; on Microsoft Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG" Microsoft Explorer & Firefox opens the web app w/o requesting login. Interesting. Thoughts? Regards. On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote: > > Is this happening only on this specific device? > Did it work in the past? > Is the native app working for you? > > On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 > shop.servic...@gmail.com wrote: > >> If you are experiencing an issue please mention the full platform >> your issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12.0 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device Android Tablet Galaxy Tab S5E >> >> Display.getInstance().execute(" >> https://cloud.codenameone.com/buildapp/index.html";); >> loads the builds form, goes immediately to login form. >> >> Enter the username and password, tap login and it hangs forever. >> >> Please see attached screen shot. >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/ab953e1b-7442-4844-89c4-982442aeo%40googlegroups.com.
Re: [codenameone-discussions] Fingerprint dialog not shoing cancel button on Android 7+
For consistency, can you either add one of send me the link to the source and I will add a cancel button. Thoughts? Regards. On Thursday, July 30, 2020 at 9:44:38 AM UTC-4, Steve Hannah wrote: > > Some things to note: > > 1. iOS uses a native dialog (we have no control over it). > 2. Android (<10) uses a prompt that we provide (optionally). It never > included a cancel button. > > > > On Thu, Jul 30, 2020 at 6:38 AM Mark Bolduc > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device Android >> >> Not able to cancel request for scan as Cancel Button not visible. See pic >> "AndroidGalaxy5S2FingerPrintScannerIssue_1.jpg" >> Ok on IOS see pic "AndroidGalaxy5S2FingerPrintScannerIssue_2.png" >> >> Regards >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "CodenameOne Discussions" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to codenameone-discussions+unsubscr...@googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com >> >> <https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Steve Hannah > Software Developer > Codename One > http://www.codenameone.com > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4d0a01fa-ed67-48f1-8370-862c97717150o%40googlegroups.com.
[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login
Microsoft Edge: Partial screen loads, however issues not displayed Please see pic "CodeNameOneWebAppHangsAtLogin_3.JPG" Regarding the Build App, I would request you look at the refreshing as in some occasions the app shows biulding, however after it appears to be taking too long, I swipe down and the app is ready. Seems like the message of completion from the build server is missed in the app. I would say this occurs 10 - 15% of the time. Certainly not a show stopper. Regards. On Thursday, July 30, 2020 at 10:46:48 PM UTC-4, Shai Almog wrote: > > Do you see anything in the browser console in that case? > Can you also file an issue on that? > We're about to overhaul the app and I'd like to take a look at some of > those things. > > On Thursday, July 30, 2020 at 3:58:04 PM UTC+3 shop.servic...@gmail.com > wrote: > >> The app performs correctly, only the web app on android does not. >> >> Turns out "https://cloud.codenameone.com/buildapp/index.html"; on >> Microsoft Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG" >> Microsoft Explorer & Firefox opens the web app w/o requesting login. >> Interesting. >> >> Thoughts? >> Regards. >> >> On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote: >>> >>> Is this happening only on this specific device? >>> Did it work in the past? >>> Is the native app working for you? >>> >>> On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 shop.servic...@gmail.com >>> wrote: >>> If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12.0 Desktop OS Windows 10 Pro Simulator latest Device Android Tablet Galaxy Tab S5E Display.getInstance().execute(" https://cloud.codenameone.com/buildapp/index.html";); loads the builds form, goes immediately to login form. Enter the username and password, tap login and it hangs forever. Please see attached screen shot. Regards >>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/6430f41b-a381-4ec2-90a0-1ddbe1a9e7c7o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Good Question Dave, On the contrary, we do not publish a web site, we are developing for a closed network of Automotive Shop Owners. I am emulating how our java Swing application administration management suite works and operates on a completely private network. Our Shop Apps are above board and operate in a closed local network. We require access to Camera, Local Storage (persist properties etc.) Phone dialing. It will be required in the future that a Customer (Auto Shops Customer) would have a mobile app that would require internet access to a published Server, however that is planned for Q1 of 2021. Not being able to auto install (user interactive of course) is not a show stopper, just want to simplify the application administration for our auto shop users. Hope this puts your mind at ease regarding the integrity of our apps. Thoughts? Regards. On Thursday, July 30, 2020 at 12:51:36 AM UTC-4, Dave Dyer wrote: > > why are you so fixated on getting the app to auto-install? It suggests > you are > trying to accomplish something underhanded, when there are simple and > customary ways to install apps. > > > > s. > > On Wednesday, July 29, 2020 at 7:04:27 PM UTC-7, Shai Almog wrote: >> >> There's no path to app. Apps work in isolation in devices. So one app >> can't see the files of another app. On Android they have different user IDs >> for each app to keep them completely isolated in the kernel level. >> Something like this should (probably) work: >> >> execute("intent:#Intent;scheme=customapp;package=com.my_package.name >> ;end"); >> >> Where you need to set "com.my_package.name" to the package of the app >> you want to launch. >> On Wednesday, July 29, 2020 at 11:19:44 PM UTC+3 shop.servic...@gmail.com >> wrote: >> >>> Can you please advise how I can open an app that is installed on my >>> device i assume using Display.getInstance().execute(path to app) or is >>> there another preferred method to do this? >>> >>> Is there documentation regarding this? >>> >>> On Wednesday, July 29, 2020 at 7:37:18 AM UTC-4, Mark Bolduc wrote: >>>> >>>> Thanks. >>>> >>>> On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote: >>>>> >>>>> If you provide a standard https URL the default browser will launch. >>>>> As a sidenote you can provide URLs such as "fb:" to launch facebook and >>>>> other apps. >>>>> So standard URLs use Chrome/Safari or whatever you have defined. >>>>> >>>>> file:/// won't work. That's not an Android URI. You need to look for >>>>> the intent you want. Alternatively you can use a native interface for >>>>> this >>>>> which might be simpler since you're doing something that's very platform >>>>> specific. >>>>> >>>>> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com >>>>> wrote: >>>>> >>>>>> Ok, I have successfully stored my .apk file in the public >>>>>> /storage/emulated/0/Download/ directory, I can then open a FileManager, >>>>>> tap >>>>>> downloads, Tam my app and it installs correctly. >>>>>> >>>>>> So the question is how can I envoke this "File Manager" app installed >>>>>> on my device. >>>>>> I can't find its location. >>>>>> >>>>>> Once I have its location, can I use >>>>>> "Display.getInstance().execute("file:///[path to file manager app]")" to >>>>>> open the FileManager app? >>>>>> >>>>>> Thoughts? >>>>>> >>>>>> Regards >>>>>> >>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/aae95f7b-6703-434e-a957-6e99014a3999o%40googlegroups.com.
[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login
The app performs correctly, only the web app on android does not. Turns out "https://cloud.codenameone.com/buildapp/index.html"; on Microsoft Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG" Microsoft Explorer & Firefox opens the web app w/o requesting login. Interesting. Thoughts? Regards. On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote: > > Is this happening only on this specific device? > Did it work in the past? > Is the native app working for you? > > On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12.0 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device Android Tablet Galaxy Tab S5E >> >> Display.getInstance().execute(" >> https://cloud.codenameone.com/buildapp/index.html";); >> loads the builds form, goes immediately to login form. >> >> Enter the username and password, tap login and it hangs forever. >> >> Please see attached screen shot. >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/41c47aca-e462-4082-ac9e-658a717e2d1ao%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Can you please advise how I can open an app that is installed on my device i assume using Display.getInstance().execute(path to app) or is there another preferred method to do this? Is there documentation regarding this? On Wednesday, July 29, 2020 at 7:37:18 AM UTC-4, Mark Bolduc wrote: > > Thanks. > > On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote: >> >> If you provide a standard https URL the default browser will launch. As a >> sidenote you can provide URLs such as "fb:" to launch facebook and other >> apps. >> So standard URLs use Chrome/Safari or whatever you have defined. >> >> file:/// won't work. That's not an Android URI. You need to look for the >> intent you want. Alternatively you can use a native interface for this >> which might be simpler since you're doing something that's very platform >> specific. >> >> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com >> wrote: >> >>> Ok, I have successfully stored my .apk file in the public >>> /storage/emulated/0/Download/ directory, I can then open a FileManager, tap >>> downloads, Tam my app and it installs correctly. >>> >>> So the question is how can I envoke this "File Manager" app installed on >>> my device. >>> I can't find its location. >>> >>> Once I have its location, can I use >>> "Display.getInstance().execute("file:///[path to file manager app]")" to >>> open the FileManager app? >>> >>> Thoughts? >>> >>> Regards >>> >> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4a12f8f9-9c8a-4d32-8291-e06422615199o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Thanks. On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote: > > If you provide a standard https URL the default browser will launch. As a > sidenote you can provide URLs such as "fb:" to launch facebook and other > apps. > So standard URLs use Chrome/Safari or whatever you have defined. > > file:/// won't work. That's not an Android URI. You need to look for the > intent you want. Alternatively you can use a native interface for this > which might be simpler since you're doing something that's very platform > specific. > > On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Ok, I have successfully stored my .apk file in the public >> /storage/emulated/0/Download/ directory, I can then open a FileManager, tap >> downloads, Tam my app and it installs correctly. >> >> So the question is how can I envoke this "File Manager" app installed on >> my device. >> I can't find its location. >> >> Once I have its location, can I use >> "Display.getInstance().execute("file:///[path to file manager app]")" to >> open the FileManager app? >> >> Thoughts? >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/0f257445-4b0b-429d-9fd9-5b55538713c2o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Ok, I have successfully stored my .apk file in the public /storage/emulated/0/Download/ directory, I can then open a FileManager, tap downloads, Tam my app and it installs correctly. So the question is how can I envoke this "File Manager" app installed on my device. I can't find its location. Once I have its location, can I use "Display.getInstance().execute("file:///[path to file manager app]")" to open the FileManager app? Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/705000a3-7113-48e9-822a-e219b302d1cao%40googlegroups.com.
Re: [codenameone-discussions] Re: newly updated (today) fingerprintscanner.cn.lib causing failed compile on build server for Android
Thanks Steve, adding the hints resolved the build issue. Regards. On Tuesday, July 28, 2020 at 9:22:43 AM UTC-4, Steve Hannah wrote: > > The fingerprint scanner lib now requires build tools 29 or higher. See > the installation instructions here: > https://github.com/codenameone/FingerprintScanner#installation > > On Tue, Jul 28, 2020 at 6:20 AM Mark Bolduc > wrote: > >> Do we have an estimate to when this will be resolved. >> >> I am unable to build on android currently. >> >> Thoughts? >> >> Regards >> >> On Saturday, July 25, 2020 at 10:16:47 PM UTC-4, Shai Almog wrote: >>> >>> Thanks for the headsup. Posted this to the issue here: >>> https://github.com/codenameone/CodenameOne/issues/3045 >>> >>> On Sunday, July 26, 2020 at 1:19:04 AM UTC+3 shop.servic...@gmail.com >>> wrote: >>> >>>> If you are experiencing an issue please mention the full platform your >>>> issue applies to: >>>> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >>>> Desktop OS Windows 10 Pro >>>> Simulator latest >>>> Device Android >>>> >>>> netbeans reports (IOS and ANDROID) warning: >>>> \lib\impl\native\javase\com\codename1\fingerprint\impl\InternalFingerprintImpl.java >>>> >>>> uses or overrides a deprecated API. >>>> >>>> Build Server produces this error report (Please see >>>> "CodenameoneBuildError_Android_.txt") only on Android build >>>> >>>> Regards >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "CodenameOne Discussions" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to codenameone-discussions+unsubscr...@googlegroups.com >> . >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com >> >> <https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Steve Hannah > Software Developer > Codename One > http://www.codenameone.com > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1b7411c9-0b6e-457a-90b5-61bdfc082f3fo%40googlegroups.com.
[codenameone-discussions] Re: newly updated (today) fingerprintscanner.cn.lib causing failed compile on build server for Android
Do we have an estimate to when this will be resolved. I am unable to build on android currently. Thoughts? Regards On Saturday, July 25, 2020 at 10:16:47 PM UTC-4, Shai Almog wrote: > > Thanks for the headsup. Posted this to the issue here: > https://github.com/codenameone/CodenameOne/issues/3045 > > On Sunday, July 26, 2020 at 1:19:04 AM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device Android >> >> netbeans reports (IOS and ANDROID) warning: >> \lib\impl\native\javase\com\codename1\fingerprint\impl\InternalFingerprintImpl.java >> >> uses or overrides a deprecated API. >> >> Build Server produces this error report (Please see >> "CodenameoneBuildError_Android_.txt") only on Android build >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
I want to open a browser with an .apk argument from Display.getInstance().execute([default browser]) I don't have a clue how to execute the default browser, what text do I substitute "[default browser]" with? Can I open the default browser in my app? If so can I pass the browser a local .apk file for it to open? Will this work? Regards; On Monday, July 27, 2020 at 10:43:23 PM UTC-4, Shai Almog wrote: > > Execute opens a URI using the platform native system. We didn't use it for > a locally downloaded file only for a web link so in this case it literally > opens the browser and lets it deal with the permissions and related > complexities. > If you want to do the download yourself this is something we didn't do in > Codename One Build. I'm guessing the native Android code you have should > work within a native interface. You might need to add some permissions and > declare them in the XML using the xpermissions build hint. > > On Monday, July 27, 2020 at 3:57:20 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Ok, I would like to focus on Android build only. >> >> In another Post (titled lunch browser) it was suggested to use >> Display.execute() to open native browser. >> >> Can you please complete the code to point to and execute the native >> browser with argument to open .apk? >> Display.getInstance().execute(); where is native browser and 1 >> argument i assume would be a URI >> Please fill in the >> >> Regards >> >> On Sunday, July 26, 2020 at 10:15:11 PM UTC-4, Shai Almog wrote: >>> >>> It's a bit more complex than that. In iOS you can't physically install >>> apps without a certificate. You have two options here: >>> >>> - Development certificate - works on 100 devices which you have to add >>> personally to a provisioning profile. Or on 1000 devices via itunes >>> - Enterprise certificate - works on devices within your organization. >>> This means the device needs to be a part of your org. If it belongs to a >>> different org this won't work. >>> This is something some developers "abused" to create 3rd party appstores >>> which Apple shut down by revoking the certificate for ToS violation. >>> >>> We don't have any such classes for the public download directory. >>> Codename One build just uses execute(URL) and launches your native web >>> browser on every OS. We don't download any file. >>> >>> FYI AFAIK you are allowed to link to itunes/play listings and if you >>> open the browser to the listing and let the user install the app through >>> there that's 100% "legal" and doesn't require any complexity. This will let >>> you install dependencies easily on all OSs. >>> On Sunday, July 26, 2020 at 2:26:34 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> >>>> Agreed regarding "explicitly ennumerated in the provisioning of the >>>> app" I do this. These apps will not be published VIA Apple for our current >>>> business model. >>>> >>>> Please advise the classes needed to save a file in the android public >>>> downloads directory. >>>> >>>> Regards. >>>> >>>> On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote: >>>>> >>>>> We literally use CN.execute(url_of_app). Where the URL is an HTTP URL >>>>> that contains the application. >>>>> No magic, no native code. >>>>> >>>>> The one thing you might have gotten wrong is the HTTP hosting. You >>>>> need to make sure your server is HTTPS and that it has the right mime >>>>> types >>>>> for the links. >>>>> >>>>> But again, you'll only be able to do this on Android. On iOS you can't >>>>> even distribute an app without going through the store. >>>>> >>>>> On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 >>>>> shop.servic...@gmail.com wrote: >>>>> >>>>>> Using codenameone build app, I can download the .apk file to the >>>>>> public downloads directory. >>>>>> Then using file manager can open the downloads directory, tap the >>>>>> .apk file and install it. >>>>>> >>>>>> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg" >>>>>> >>>>>> I want to r
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Ok, I would like to focus on Android build only. In another Post (titled lunch browser) it was suggested to use Display.execute() to open native browser. Can you please complete the code to point to and execute the native browser with argument to open .apk? Display.getInstance().execute(); where is native browser and 1 argument i assume would be a URI Please fill in the Regards On Sunday, July 26, 2020 at 10:15:11 PM UTC-4, Shai Almog wrote: > > It's a bit more complex than that. In iOS you can't physically install > apps without a certificate. You have two options here: > > - Development certificate - works on 100 devices which you have to add > personally to a provisioning profile. Or on 1000 devices via itunes > - Enterprise certificate - works on devices within your organization. This > means the device needs to be a part of your org. If it belongs to a > different org this won't work. > This is something some developers "abused" to create 3rd party appstores > which Apple shut down by revoking the certificate for ToS violation. > > We don't have any such classes for the public download directory. Codename > One build just uses execute(URL) and launches your native web browser on > every OS. We don't download any file. > > FYI AFAIK you are allowed to link to itunes/play listings and if you open > the browser to the listing and let the user install the app through there > that's 100% "legal" and doesn't require any complexity. This will let you > install dependencies easily on all OSs. > On Sunday, July 26, 2020 at 2:26:34 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Agreed regarding "explicitly ennumerated in the provisioning of the app" >> I do this. These apps will not be published VIA Apple for our current >> business model. >> >> Please advise the classes needed to save a file in the android public >> downloads directory. >> >> Regards. >> >> On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote: >>> >>> We literally use CN.execute(url_of_app). Where the URL is an HTTP URL >>> that contains the application. >>> No magic, no native code. >>> >>> The one thing you might have gotten wrong is the HTTP hosting. You need >>> to make sure your server is HTTPS and that it has the right mime types for >>> the links. >>> >>> But again, you'll only be able to do this on Android. On iOS you can't >>> even distribute an app without going through the store. >>> >>> On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 shop.servic...@gmail.com >>> wrote: >>> >>>> Using codenameone build app, I can download the .apk file to the public >>>> downloads directory. >>>> Then using file manager can open the downloads directory, tap the .apk >>>> file and install it. >>>> >>>> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg" >>>> >>>> I want to replicate this. >>>> >>>> Please advise >>>> >>>> Regards. >>>> >>>> On Saturday, July 25, 2020 at 8:03:44 AM UTC-4, Mark Bolduc wrote: >>>>> >>>>> Thanks, perhaps I can make this request simpler. (I don't have any >>>>> near future requirements of publishing my apps with google or apple) >>>>> So with all due respect to Apple, I am not interested in what apple >>>>> will accept. >>>>> >>>>> I have it stuck in my head that an .apk & .ipa file is an installer >>>>> and executing it (from what ever means is needed) will be verbose and >>>>> open >>>>> up dialogs to ask user for needed permissions to access photos, caners, >>>>> audio etc. >>>>> >>>>> I believe if I can save an .apk (Android) file in the (android native >>>>> method: "ExternalStoragePublicDirectory(Environment. >>>>> DIRECTORY_DOWNLOADS)"), I can then open a browser pointed to the >>>>> downloads directory and execute the installer for that app. This should >>>>> work for .ipa & .apk files. >>>>> >>>>> Or just dialog the user with instructions. >>>>> >>>>> So in codenameone, how do I access the public downloads directory for >>>>> read & write? >>>>> My App already downloads the .apk & .iap files and saves it in the >>>>> "FileSy
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Agreed regarding "explicitly ennumerated in the provisioning of the app" I do this. These apps will not be published VIA Apple for our current business model. Please advise the classes needed to save a file in the android public downloads directory. Regards. On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote: > > We literally use CN.execute(url_of_app). Where the URL is an HTTP URL that > contains the application. > No magic, no native code. > > The one thing you might have gotten wrong is the HTTP hosting. You need to > make sure your server is HTTPS and that it has the right mime types for the > links. > > But again, you'll only be able to do this on Android. On iOS you can't > even distribute an app without going through the store. > > On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Using codenameone build app, I can download the .apk file to the public >> downloads directory. >> Then using file manager can open the downloads directory, tap the .apk >> file and install it. >> >> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg" >> >> I want to replicate this. >> >> Please advise >> >> Regards. >> >> On Saturday, July 25, 2020 at 8:03:44 AM UTC-4, Mark Bolduc wrote: >>> >>> Thanks, perhaps I can make this request simpler. (I don't have any near >>> future requirements of publishing my apps with google or apple) >>> So with all due respect to Apple, I am not interested in what apple will >>> accept. >>> >>> I have it stuck in my head that an .apk & .ipa file is an installer and >>> executing it (from what ever means is needed) will be verbose and open up >>> dialogs to ask user for needed permissions to access photos, caners, audio >>> etc. >>> >>> I believe if I can save an .apk (Android) file in the (android native >>> method: "ExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)"), >>> I can then open a browser pointed to the downloads directory and execute >>> the installer for that app. This should work for .ipa & .apk files. >>> >>> Or just dialog the user with instructions. >>> >>> So in codenameone, how do I access the public downloads directory for read >>> & write? >>> My App already downloads the .apk & .iap files and saves it in the >>> "FileSystemStorage.getInstance().getAppHomePath() + >>> "A3-TECH/A3-TechAppDownloads/" >>> So I don't see how to access the public downloads directory. >>> >>> Best Regards. >>> >>> >>> On Saturday, July 25, 2020 at 1:42:07 AM UTC-4, Shai Almog wrote: >>>> >>>> You can't do that on iOS. Codename One build which just uses a web >>>> download URL was rejected by appstore review so iOS won't let you do that >>>> at all. >>>> On Android you can do that but it would require a lot of permissions >>>> you honestly don't want to ask for. You're better off letting the default >>>> app walk the user through those things. >>>> >>>> On Friday, July 24, 2020 at 4:45:31 PM UTC+3 shop.servic...@gmail.com >>>> wrote: >>>> >>>>> Alternatively I found this for Android: >>>>> >>>>> https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854 >>>>> >>>>> public String getDownloadPath() { >>>>> return >>>>> Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() >>>>> + File.separator + "myfolder";} >>>>> >>>>> How do I programmatically access (for read & write) the downloads >>>>> directory? >>>>> >>>>> On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote: >>>>>> >>>>>> There has to be a way to trigger an install from the .apk and .ipa >>>>>> files within codenameone. >>>>>> >>>>>> Using Display.getInstance().execute(???) what process or browser or >>>>>> app can I execute and have it point to the .apk or .ipa file? >>>>>> >>>>>> The devices download the app and store them in the downloads >>>>>> directory, If I browse that directory I can tap the .apk or .iap file
[codenameone-discussions] Re: new Codenameone settings app does not recognize a save
1) I am not logged in. 2) I make a change to version under basic, goto the menu top right and click save. Then when I click the X in the top right of the form, a dialog pops-up and it states there is unsaved changes. see image "CodenameoneSettingsSaveNotRecognized_07-25-2020.JPG" However tapping the Close (x) from the overflow menu, does exit the application. Just and FYI: On Saturday, July 25, 2020 at 10:13:20 PM UTC-4, Shai Almog wrote: > > That's odd. > And login works with the old UI? > It should be roughly the same code. > > What do you mean by doesn't recognize a save? > > On Sunday, July 26, 2020 at 12:43:06 AM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device Codenameone App >> >> The new settings app does not allow login, however using my codenameone >> user and password, the app can't find me. >> Please see pic "CodenameoneSettingsSaveNotRecognized_1__07-25-2020.JPG" >> Is there a separate user name and password to access the Settings? >> >> Have selected old UI for now. >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/04f0f95a-8ed6-4a7d-afc2-7442845ca1cco%40googlegroups.com.
[codenameone-discussions] new Codenameone settings app does not recognize a save
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 Desktop OS Windows 10 Pro Simulator latest Device Codenameone App The new settings app does not allow login, however using my codenameone user and password, the app can't find me. Please see pic "CodenameoneSettingsSaveNotRecognized_1__07-25-2020.JPG" Is there a separate user name and password to access the Settings? Have selected old UI for now. Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/93a2b7a0-9a52-4215-9843-92c77cf8fc0eo%40googlegroups.com.
[codenameone-discussions] implementing freshdesk produces errors on build
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 Desktop OS Windows 10 Pro Simulator latest Device Android IOS Getting build errors implementing freshdesk See attached error log. Note IOS log was too big to attach here. if (Mobihelp.isSupported()) { MobihelpConfig config = new MobihelpConfig(); if (Display.getInstance().getPlatformName().compareTo("ios") == 0) { // Initialize iOS. config.setAppSecret("3536335f585d53e285a572304c1a781ca690750b"); config.setAppId("freshdeskdemo-2-32960149eb708717db9fb8db9fcdaeb3"); config.setDomain("codenameonetest1.freshdesk.com"); Mobihelp.initIOS(config); } else { // Initialize Android config.setAppSecret("328f6ee77c646cef2eccb6ce4c1aa49b62fddc88"); config.setAppId("freshdeskdemo-1-966a571049d063582333478fc40355b0"); config.setDomain("https://codenameonetest1.freshdesk.com";); Mobihelp.initAndroid(config); } Button showSupport = new Button(new Command("Show Support") { public void actionPerformed(ActionEvent evt) { if (Mobihelp.isSupported()) { Mobihelp.showSupport(); } else { Dialog.show("Unsupported", "Fresh Desk is not supported on this platform", "OK", null); } } }); Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/534a8257-a185-4931-ae14-d64dace6d023o%40googlegroups.com. User-level: 9000 Request Args: - android.proguardKeep= -keep class net.sourceforge.zbar.** {*;} -keep class android.support.v4.** { *; } -keep class android.support.v7.** { *; } -keep public class * extends android.app.Service -keep public class * extends android.content.BroadcastReceiver -keep public class * extends android.app.Activity -keep public class * extends android.preference.Preference -keep public class com.freshdesk.mobihelp.exception.MobihelpComponentNotFoundException -keepclassmembers class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; } ios.project_type=ios win.ver=10 android.xpermissions= ios.dsym=false ios.keyboardOpen=false android.xapplication= ios.plistInject=UIViewControllerBasedStatusBarAppearance ios.application_exits=false ios.statusbar_hidden=false ios.add_libs=CFNetwork.framework;LocalAuthentication.frameworkCoreData.framework;CoreTelephony.framework ios.themeMode=auto ios.includePush=true ios.NSFaceIDUsageDescription=Some functionality of the application requires FaceID functionality ios.NSCameraUsageDescription=true android.messagingService=fcm j2me.nativeThemeConst=0 ios.multitasking=true java.version=8 ios.pods=,Cordova ios.testFlight=false ios.NSMicrophoneUsageDescription=true ios.prerendered_icon=false ios.debug.archs=arm64 rim.obfuscation=false gradleDependencies=compile 'com.android.support:appcompact-v7:19.1.0' ios.interface_orientation=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight ios.newStorageLocation=true android.release=true android.debug=false --- Effective build tools version = 27 Executing: /home/ec2-user/android-sdk/tools/android create project --target android-28 --name A3Tech --path /tmp/build7457538547722102471xxx/A3Tech --activity A3TechStub --package com.astc.a3tech --gradle --gradle-version 3.0.1 Created directory /tmp/build7457538547722102471xxx/A3Tech/src/main/java Created directory /tmp/build7457538547722102471xxx/A3Tech/src/main/java/com/astc/a3tech Added file /tmp/build7457538547722102471xxx/A3Tech/src/main/java/com/astc/a3tech/A3TechStub.java Created directory /tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java Created directory /tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java/com/astc/a3tech Added file /tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java/com/astc/a3tech/A3TechStubTest.java Created directory /tmp/build745753854772210247
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Thanks, perhaps I can make this request simpler. (I don't have any near future requirements of publishing my apps with google or apple) So with all due respect to Apple, I am not interested in what apple will accept. I have it stuck in my head that an .apk & .ipa file is an installer and executing it (from what ever means is needed) will be verbose and open up dialogs to ask user for needed permissions to access photos, caners, audio etc. I believe if I can save an .apk (Android) file in the (android native method: "ExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)"), I can then open a browser pointed to the downloads directory and execute the installer for that app. This should work for .ipa & .apk files. Or just dialog the user with instructions. So in codenameone, how do I access the public downloads directory for read & write? My App already downloads the .apk & .iap files and saves it in the "FileSystemStorage.getInstance().getAppHomePath() + "A3-TECH/A3-TechAppDownloads/" So I don't see how to access the public downloads directory. Best Regards. On Saturday, July 25, 2020 at 1:42:07 AM UTC-4, Shai Almog wrote: > > You can't do that on iOS. Codename One build which just uses a web > download URL was rejected by appstore review so iOS won't let you do that > at all. > On Android you can do that but it would require a lot of permissions you > honestly don't want to ask for. You're better off letting the default app > walk the user through those things. > > On Friday, July 24, 2020 at 4:45:31 PM UTC+3 shop.servic...@gmail.com > wrote: > >> Alternatively I found this for Android: >> >> https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854 >> >> public String getDownloadPath() { >> return >> Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() >> + File.separator + "myfolder";} >> >> How do I programmatically access (for read & write) the downloads directory? >> >> On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote: >>> >>> There has to be a way to trigger an install from the .apk and .ipa files >>> within codenameone. >>> >>> Using Display.getInstance().execute(???) what process or browser or app >>> can I execute and have it point to the .apk or .ipa file? >>> >>> The devices download the app and store them in the downloads directory, >>> If I browse that directory I can tap the .apk or .iap file and it will >>> install. >>> >>> I want to do this programmatically. >>> >>> How can my app save a file on the devices downloads directory? >>> >>> Regards. >>> >>> >>> On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote: >>>> >>>> As I said we don't download. We call the URL on the web and the native >>>> download sequence performs the actual download process. The execute method >>>> accepts an https URL in our servers. >>>> >>>> Look at the result of our iOS builds in the browser and inspect the >>>> code. It's an HTML page that points at an XML file that's the manifest. >>>> >>>> On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com >>>> wrote: >>>> >>>>> You mentioned pointing the execute process to a manifest, how does >>>>> this work? >>>>> >>>>> Curious, when an .apk file exists in the devices download directory, >>>>> from a file browser, we can click on it and it installs. >>>>> >>>>> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote: >>>>>> >>>>>> Thanks, I have downloaded the .apk file to the mobile device and did >>>>>> call: >>>>>> >>>>>> Display.getInstance().execute(ApplicationBinariesDownloadPath + >>>>>> fileName, e -> { >>>>>> System.out.println("saveAndInstallA3MobileApp >>>>>> Complete"); >>>>>> }); >>>>>> >>>>>> Can you provide the code syntax to install the .apk or .ipa file that >>>>>> is stored on the mobile device? >>>>>> >>>>>> BTW: I have no intention of publishing my apps at this stage. >>>>>> >>>>>> Also, Google made life a lot
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Alternatively I found this for Android: https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854 public String getDownloadPath() { return Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath() + File.separator + "myfolder";} How do I programmatically access (for read & write) the downloads directory? On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote: > > There has to be a way to trigger an install from the .apk and .ipa files > within codenameone. > > Using Display.getInstance().execute(???) what process or browser or app > can I execute and have it point to the .apk or .ipa file? > > The devices download the app and store them in the downloads directory, If > I browse that directory I can tap the .apk or .iap file and it will install. > > I want to do this programmatically. > > How can my app save a file on the devices downloads directory? > > Regards. > > > On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote: >> >> As I said we don't download. We call the URL on the web and the native >> download sequence performs the actual download process. The execute method >> accepts an https URL in our servers. >> >> Look at the result of our iOS builds in the browser and inspect the code. >> It's an HTML page that points at an XML file that's the manifest. >> >> On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com >> wrote: >> >>> You mentioned pointing the execute process to a manifest, how does this >>> work? >>> >>> Curious, when an .apk file exists in the devices download directory, >>> from a file browser, we can click on it and it installs. >>> >>> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote: >>>> >>>> Thanks, I have downloaded the .apk file to the mobile device and did >>>> call: >>>> >>>> Display.getInstance().execute(ApplicationBinariesDownloadPath + >>>> fileName, e -> { >>>> System.out.println("saveAndInstallA3MobileApp >>>> Complete"); >>>> }); >>>> >>>> Can you provide the code syntax to install the .apk or .ipa file that >>>> is stored on the mobile device? >>>> >>>> BTW: I have no intention of publishing my apps at this stage. >>>> >>>> Also, Google made life a lot more complex by requiring a privacy policy >>>> be hosted if you access things like camera etc. >>>> >>>> On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote: >>>>> >>>>> We don't download the files. We launch an external download process >>>>> using execute(url). We also don't point at the IPA but rather at a >>>>> manifest. >>>>> Regardless Apple won't approve your app if you do that. Which is why >>>>> Codename One Build only works as a web app for iOS which IMO is pretty >>>>> stupid. >>>>> >>>>> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com >>>>> wrote: >>>>> >>>>>> It sound like you've stored them on the downloads directory of your >>>>>> PC. You need to download them >>>>>> directly onto your mobile devices, which ought to trigger the >>>>>> installation. >>>>>> >>>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/61d31558-2f9d-4ad2-82bf-318bff4eea36o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
There has to be a way to trigger an install from the .apk and .ipa files within codenameone. Using Display.getInstance().execute(???) what process or browser or app can I execute and have it point to the .apk or .ipa file? The devices download the app and store them in the downloads directory, If I browse that directory I can tap the .apk or .iap file and it will install. I want to do this programmatically. How can my app save a file on the devices downloads directory? Regards. On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote: > > As I said we don't download. We call the URL on the web and the native > download sequence performs the actual download process. The execute method > accepts an https URL in our servers. > > Look at the result of our iOS builds in the browser and inspect the code. > It's an HTML page that points at an XML file that's the manifest. > > On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com > wrote: > >> You mentioned pointing the execute process to a manifest, how does this >> work? >> >> Curious, when an .apk file exists in the devices download directory, from >> a file browser, we can click on it and it installs. >> >> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote: >>> >>> Thanks, I have downloaded the .apk file to the mobile device and did >>> call: >>> >>> Display.getInstance().execute(ApplicationBinariesDownloadPath + >>> fileName, e -> { >>> System.out.println("saveAndInstallA3MobileApp Complete"); >>> }); >>> >>> Can you provide the code syntax to install the .apk or .ipa file that is >>> stored on the mobile device? >>> >>> BTW: I have no intention of publishing my apps at this stage. >>> >>> Also, Google made life a lot more complex by requiring a privacy policy >>> be hosted if you access things like camera etc. >>> >>> On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote: >>>> >>>> We don't download the files. We launch an external download process >>>> using execute(url). We also don't point at the IPA but rather at a >>>> manifest. >>>> Regardless Apple won't approve your app if you do that. Which is why >>>> Codename One Build only works as a web app for iOS which IMO is pretty >>>> stupid. >>>> >>>> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com >>>> wrote: >>>> >>>>> It sound like you've stored them on the downloads directory of your >>>>> PC. You need to download them >>>>> directly onto your mobile devices, which ought to trigger the >>>>> installation. >>>>> >>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/748329d4-d1a5-4f28-85f0-e6cb51451799o%40googlegroups.com.
[codenameone-discussions] Re: Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB on NetBeans 12 JDK 9
JDK 11 will work fine. Thanks Regards. On Wednesday, July 22, 2020 at 10:50:37 PM UTC-4, Shai Almog wrote: > > Hi, > we only support JDK 11 or 8 at this time. Try using ZuluFX 11 and NetBeans > 11. > We hope to fix this and remove the final dependencies on JDK 8 in the next > few months. > > On Wednesday, July 22, 2020 at 5:02:38 PM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 12 >> Desktop OS Windows 10 Pro >> Simulator Latest >> Device NetBeans 12 Builds >> >> Installing Netbeans 12 with JDK 9 is causing the following build error on >> first attempt, then when it fails, the secont buils request succeeds. >> >> I know that you have acknowledged this and have indicated using JDK 8, >> however I would ask when do tou suspect this will be addressed? >> >> Regards. >> >> Attempting to generate GUI sources for >> C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui >> >> with System JAXB >> Failed to generate Gui Source with System JAXB. Will attempt using >> bundled JAXB. >> C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: >> java.lang.RuntimeException: java.lang.NoClassDefFoundError: >> com/sun/xml/bind/v2/model/annotation/AnnotationReader >> at >> com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294) >> at >> com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246) >> at >> com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216) >> at >> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) >> at jdk.internal.reflect.GeneratedMethodAccessor265.invoke(Unknown >> Source) >> at >> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> at java.base/java.lang.reflect.Method.invoke(Method.java:567) >> at >> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) >> at org.apache.tools.ant.Task.perform(Task.java:350) >> at org.apache.tools.ant.Target.execute(Target.java:449) >> at org.apache.tools.ant.Target.performTasks(Target.java:470) >> at >> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) >> at org.apache.tools.ant.Project.executeTarget(Project.java:1361) >> at >> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) >> at org.apache.tools.ant.Project.executeTargets(Project.java:1251) >> at >> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) >> at >> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574) >> at >> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128) >> Caused by: java.lang.NoClassDefFoundError: >> com/sun/xml/bind/v2/model/annotation/AnnotationReader >> at java.base/java.lang.ClassLoader.defineClass1(Native Method) >> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) >> at >> org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128) >> at >> org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1296) >> at >> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1350) >> at >> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313) >> at >> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) >> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) >> at java.base/java.lang.Class.getDeclaredMethods0(Native Method) >> at >> java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3172) >> at java.base/java.lang.Class.getMethodsRecursive(Class.java:3313) >> at java.base/java.lang.Class.getMethod0(Class.java:3299) >> at java.base/java.lang.Class.getMethod(Class.java:2112) >> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:258) >> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:250) >> at javax.xml.bind.ContextFinder.find(ContextFinder.java:447) >> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652) >> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599) >> at >> com.codename1.build.client.GenerateGuiSources.generateGuiSource_(GenerateGuiSources.java:301) >> at >> com.codename1.build.client.GenerateGuiSources.access$000(GenerateGuiSources.java:32) >> at >> com.codename1.build.client.GenerateGuiSources$1.run(GenerateGuiSources.java:272) >> at java.base/java.lang.Thread.run(Thread.java:835) >> Caused by: java.lang.ClassNotFoundException: >> com.sun.xml.bind.v2.model.annotation.AnnotationReader >> at >> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1362) >> at >> org.apache.tools.ant.AntClassLoader.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
You mentioned pointing the execute process to a manifest, how does this work? Curious, when an .apk file exists in the devices download directory, from a file browser, we can click on it and it installs. On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote: > > Thanks, I have downloaded the .apk file to the mobile device and did call: > > Display.getInstance().execute(ApplicationBinariesDownloadPath + fileName, > e -> { > System.out.println("saveAndInstallA3MobileApp Complete"); > }); > > Can you provide the code syntax to install the .apk or .ipa file that is > stored on the mobile device? > > BTW: I have no intention of publishing my apps at this stage. > > Also, Google made life a lot more complex by requiring a privacy policy be > hosted if you access things like camera etc. > > On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote: >> >> We don't download the files. We launch an external download process using >> execute(url). We also don't point at the IPA but rather at a manifest. >> Regardless Apple won't approve your app if you do that. Which is why >> Codename One Build only works as a web app for iOS which IMO is pretty >> stupid. >> >> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com wrote: >> >>> It sound like you've stored them on the downloads directory of your PC. >>> You need to download them >>> directly onto your mobile devices, which ought to trigger the >>> installation. >>> >>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1336e918-a2b7-42c3-bb6b-bd2f7efde170o%40googlegroups.com.
[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?
Thanks, I have downloaded the .apk file to the mobile device and did call: Display.getInstance().execute(ApplicationBinariesDownloadPath + fileName, e -> { System.out.println("saveAndInstallA3MobileApp Complete"); }); Can you provide the code syntax to install the .apk or .ipa file that is stored on the mobile device? BTW: I have no intention of publishing my apps at this stage. Also, Google made life a lot more complex by requiring a privacy policy be hosted if you access things like camera etc. On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote: > > We don't download the files. We launch an external download process using > execute(url). We also don't point at the IPA but rather at a manifest. > Regardless Apple won't approve your app if you do that. Which is why > Codename One Build only works as a web app for iOS which IMO is pretty > stupid. > > On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com wrote: > >> It sound like you've stored them on the downloads directory of your PC. >> You need to download them >> directly onto your mobile devices, which ought to trigger the >> installation. >> >> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1676fdc8-87eb-479a-b990-204471b0c1a7o%40googlegroups.com.
[codenameone-discussions] How to install an .apk or .ipa file stored on my device?
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 JDK 9 Desktop OS Windows 10 Pro Simulator latest Device IOS & Android Your Codenameone build app downloads and installs apps from the codenameone build server. I have downloaded the .ipa and .apk installers from the build server and stored them in a downloads directory for one of my apps. I want to from the app execute the installation same as the codenameone build app does or store the installers in a folder that can be reached from the desktop and manually run. Can you please share with me how to accomplish this? Best Regards Stay Safe! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/20b4bd54-2d12-4840-bc74-4eed5d8e6773o%40googlegroups.com.
[codenameone-discussions] Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB on NetBeans 12 JDK 9
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 12 Desktop OS Windows 10 Pro Simulator Latest Device NetBeans 12 Builds Installing Netbeans 12 with JDK 9 is causing the following build error on first attempt, then when it fails, the secont buils request succeeds. I know that you have acknowledged this and have indicated using JDK 8, however I would ask when do tou suspect this will be addressed? Regards. Attempting to generate GUI sources for C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui with System JAXB Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB. C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294) at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246) at com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at jdk.internal.reflect.GeneratedMethodAccessor265.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) at org.apache.tools.ant.Project.executeTarget(Project.java:1361) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128) Caused by: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader at java.base/java.lang.ClassLoader.defineClass1(Native Method) at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) at org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128) at org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1296) at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1350) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) at java.base/java.lang.Class.getDeclaredMethods0(Native Method) at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3172) at java.base/java.lang.Class.getMethodsRecursive(Class.java:3313) at java.base/java.lang.Class.getMethod0(Class.java:3299) at java.base/java.lang.Class.getMethod(Class.java:2112) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:258) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:250) at javax.xml.bind.ContextFinder.find(ContextFinder.java:447) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599) at com.codename1.build.client.GenerateGuiSources.generateGuiSource_(GenerateGuiSources.java:301) at com.codename1.build.client.GenerateGuiSources.access$000(GenerateGuiSources.java:32) at com.codename1.build.client.GenerateGuiSources$1.run(GenerateGuiSources.java:272) at java.base/java.lang.Thread.run(Thread.java:835) Caused by: java.lang.ClassNotFoundException: com.sun.xml.bind.v2.model.annotation.AnnotationReader at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1362) at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313) at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521) ... 22 more -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f833ef6d-fafe-4301-b6cd-b534247f7f10o%40googlegroups.com.
[codenameone-discussions] Re: How to remove "next" button in favor of "Done" on IOS Virtual keyboard
All fields I do not want the Next, rather Done. On Wednesday, July 8, 2020 at 10:28:19 PM UTC-4, Shai Almog wrote: > > Hide toolbar will just hide the toolbar entirely. So you won't have a done > button or anything. > Are you trying to do this for the last field or for all fields? > > On Wednesday, July 8, 2020 at 11:40:27 PM UTC+3 shop.servic...@gmail.com > wrote: > >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA NetBeans 11.3 >> Desktop OS Windows 10 Pro >> Simulator Latest >> Device IOS >> >> Trying to change the "Next" Button to "Done" on TextFields (ANY, DECIMAL >> & NUMERIC) >> >> It was suggested on the github forum to set >> "Display.getInstance().setProperty("iosHideToolbar", >> "true"); " >> >> However tried suggested options w/o success >> >> Thoughts? >> >> Regards >> >> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7d2f1558-de25-402e-b2c7-5cda469eecf3o%40googlegroups.com.
[codenameone-discussions] How to remove "next" button in favor of "Done" on IOS Virtual keyboard
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 11.3 Desktop OS Windows 10 Pro Simulator Latest Device IOS Trying to change the "Next" Button to "Done" on TextFields (ANY, DECIMAL & NUMERIC) It was suggested on the github forum to set "Display.getInstance().setProperty("iosHideToolbar", "true"); " However tried suggested options w/o success Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/baeb5e26-d677-4ec8-9af7-c2b11a57537fo%40googlegroups.com.
[codenameone-discussions] Re: interpret IOS native logs
Thanks. I firmly believe in try/catch ubiquity. Stay safe! On Wednesday, July 1, 2020 at 11:27:47 PM UTC-4, Shai Almog wrote: > > Hi, > there seems to be a bug there. We'll commit a fix for the next update. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e3ca05a2-d6e0-47aa-8bfe-b9a909c83ed4o%40googlegroups.com.
[codenameone-discussions] Re: New as of friday's build (Picker Component throws null pointer exception on pressed event)
What! You mean you are Human? LOL Regards On Saturday, June 27, 2020 at 5:40:40 PM UTC-4, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11.3 > Desktop OSWindows 10 > Simulator Latest > Device PC,IOS,Android > > here is the reproducible code. Click on date to get exception: > Below is the stack trace. > > TextModeLayout tl = new TextModeLayout(3, 2); > Form f = new Form("Pixel Perfect", tl); > > TextComponent title = new > TextComponent().label("Title").columns(5).rows(4).text("Text"); > TextComponent price = new TextComponent().label("Price"); > TextComponent location = new TextComponent().label("Location"); > PickerComponent date = PickerComponent.createDateTime(new > Date()).label("Date"); > TextComponent description = new > TextComponent().label("Description").multiline(true); > > Validator val = new Validator(); > val.addConstraint(title, new LengthConstraint(2)); > val.addConstraint(price, new NumericConstraint(true)); > > f.add(tl.createConstraint().widthPercentage(60), title); > f.add(tl.createConstraint().widthPercentage(40), date); > f.add(location); > f.add(price); > f.add(tl.createConstraint().horizontalSpan(2), description); > f.setEditOnShow(title.getField()); > > f.show(); > > Stack Trace: > java.lang.NullPointerException > [EDT] 0:0:0,48 - Exception: java.lang.NullPointerException - null > at > com.codename1.components.InteractionDialog.padOrientation(InteractionDialog.java:857) > at > com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:793) > at > com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:654) > at > com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:629) > at com.codename1.ui.spinner.Picker$1$6.run(Picker.java:812) > at > com.codename1.ui.AnimationManager.flushAnimation(AnimationManager.java:220) > at > com.codename1.ui.spinner.Picker$1.showInteractionDialog(Picker.java:808) > at com.codename1.ui.spinner.Picker$1.actionPerformed(Picker.java:303) > at > com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:349) > at com.codename1.ui.Button.fireActionEvent(Button.java:679) > at com.codename1.ui.Button.released(Button.java:720) > at com.codename1.ui.Button.pointerReleased(Button.java:827) > at com.codename1.ui.LeadUtil.pointerReleased(LeadUtil.java:153) > at com.codename1.ui.Form.pointerReleased(Form.java:3685) > at com.codename1.ui.Component.pointerReleased(Component.java:4731) > at com.codename1.ui.Display.handleEvent(Display.java:2348) > at com.codename1.ui.Display.edtLoopImpl(Display.java:1240) > at com.codename1.ui.Display.mainEDTLoop(Display.java:1158) > at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) > at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) > > Regards: > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8198fed0-8033-42b7-9873-96bf3664ec42o%40googlegroups.com.
[codenameone-discussions] New as of friday's build (Picker Component throws null pointer exception on pressed event)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11.3 Desktop OSWindows 10 Simulator Latest Device PC,IOS,Android here is the reproducible code. Click on date to get exception: Below is the stack trace. TextModeLayout tl = new TextModeLayout(3, 2); Form f = new Form("Pixel Perfect", tl); TextComponent title = new TextComponent().label("Title").columns(5).rows(4).text("Text"); TextComponent price = new TextComponent().label("Price"); TextComponent location = new TextComponent().label("Location"); PickerComponent date = PickerComponent.createDateTime(new Date()).label("Date"); TextComponent description = new TextComponent().label("Description").multiline(true); Validator val = new Validator(); val.addConstraint(title, new LengthConstraint(2)); val.addConstraint(price, new NumericConstraint(true)); f.add(tl.createConstraint().widthPercentage(60), title); f.add(tl.createConstraint().widthPercentage(40), date); f.add(location); f.add(price); f.add(tl.createConstraint().horizontalSpan(2), description); f.setEditOnShow(title.getField()); f.show(); Stack Trace: java.lang.NullPointerException [EDT] 0:0:0,48 - Exception: java.lang.NullPointerException - null at com.codename1.components.InteractionDialog.padOrientation(InteractionDialog.java:857) at com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:793) at com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:654) at com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:629) at com.codename1.ui.spinner.Picker$1$6.run(Picker.java:812) at com.codename1.ui.AnimationManager.flushAnimation(AnimationManager.java:220) at com.codename1.ui.spinner.Picker$1.showInteractionDialog(Picker.java:808) at com.codename1.ui.spinner.Picker$1.actionPerformed(Picker.java:303) at com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:349) at com.codename1.ui.Button.fireActionEvent(Button.java:679) at com.codename1.ui.Button.released(Button.java:720) at com.codename1.ui.Button.pointerReleased(Button.java:827) at com.codename1.ui.LeadUtil.pointerReleased(LeadUtil.java:153) at com.codename1.ui.Form.pointerReleased(Form.java:3685) at com.codename1.ui.Component.pointerReleased(Component.java:4731) at com.codename1.ui.Display.handleEvent(Display.java:2348) at com.codename1.ui.Display.edtLoopImpl(Display.java:1240) at com.codename1.ui.Display.mainEDTLoop(Display.java:1158) at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120) at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176) Regards: -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/0e1b842f-302b-4d3b-a396-b8714a106b8ao%40googlegroups.com.
[codenameone-discussions] Re: generate IOS certificate multiple projects issue
Thanks guys, I would think that the wizard would offer to use a previous certificate (as seen when the project has no certs at beginning) otherwise the wizzard uses the stored cert in the project (two choices 1) Generate New or 2) Use Existing from project), Could be 3rd option to use Previously Stored Certificate from Apple. On Tuesday, June 2, 2020 at 10:54:53 PM UTC-4, James Hastings wrote: > > I’ve had success by just copying the certificate from the project I > created it in to all the other projects. Then, you run the wizard on the > other projects and don’t generate new ones. Not too bad if you only do it > once a year. I’m not sure this is the easiest way. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7c4e62fa-7d53-4dc0-9a31-60bee915dc95%40googlegroups.com.
[codenameone-discussions] generate IOS certificate multiple projects issue
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator latest Device IOS I have added 2 new codenameone projects and have build issues related to certificate generation. (Total of 3 now) I have a paid/active apple developers account with Dev/Dist certificates expiring in 2021 It seems each project uses a unique certificate, however I have only one Itunes/Apple certificate for (Dev/Release) If I overwrite a certificate from the Codenameone Cert Wizzard, that project builds correctly, however the 2 other projects no longer build due to mismatching certificates. How do i assign valid Appple Development certificates to all projects using the codenameone cert wizzard? Note: If i manually remove all files from project->iosCerts directory and re-run codenameone cert wizzard, app detects a previous certificate (presumably from apple) and asks to use it or re-generate, If i use existing from apple, then all projects build/run corectly. Question: Shouln't the Certificate Wizzard handel this? Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3dd941a0-43b6-4c41-8349-658fff0c1260%40googlegroups.com.
[codenameone-discussions] Re: Text to speech
Thanks. On Saturday, May 30, 2020 at 12:55:41 AM UTC-4, Shai Almog wrote: > > Our task list is pretty full. Notice you don't need to write any native > code to do that. Just copy and paste. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/95ba55ec-5080-4eb8-a8bd-a3af500018e8%40googlegroups.com.
[codenameone-discussions] Re: Text to speech
Thanks, I am not familiar with this demo, Does this mean you folks will add this to the CN1 lib? We prefer not to write any native code. Regards. On Friday, May 29, 2020 at 2:44:58 AM UTC-4, Shai Almog wrote: > > This should be pretty trivial as the native interfaces required are > already a part of the Dr. Sbaitso demo. It's mostly a matter of wrapping > them up in a cn1lib. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a8f121d6-3cb8-4261-be21-53e1f7120828%40googlegroups.com.
[codenameone-discussions] Text to speech
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator latest Device Android / IOS latest Are there any plans to develop a text to speech cn1 lib? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4f427396-3f32-4d0b-9f01-b71a400ed377%40googlegroups.com.
[codenameone-discussions] Re: how to create a unique GUID
Thanks, This is used to identify each client to the Server. Regards. On Sunday, May 10, 2020 at 10:08:55 PM UTC-4, Shai Almog wrote: > > The original UUID code used a server side to get a truly unique id but it > would be different for each install (which might be OK). Technically, this > is a much harder problem than one would immediately expect due to privacy > laws. So I suggest backtracking and thinking why you need that unique id. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e83755bd-684b-4bd1-a000-995fca29ff43%40googlegroups.com.
[codenameone-discussions] how to create a unique GUID
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11.3 Desktop OS Windows 10 Pro Simulator Latest Device ALL How can I create a unique client identifier (GUID) Log.getUniqueDeviceId() is deprecated and returns -1; Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d05170ce-671f-4481-abe8-aa165b3405fe%40googlegroups.com.
[codenameone-discussions] Re: Deprecated Class DefaultLookAndFeel
Thanks. On Saturday, May 9, 2020 at 2:58:24 AM UTC-4, Shai Almog wrote: > > Hi, > at this time this feature is only available via DefaultLookAndFeel. It > isn't likely to move though so you can rely on it being here for a while. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/21297b62-be0d-4707-a21a-6471b3985e10%40googlegroups.com.
[codenameone-discussions] Deprecated Class DefaultLookAndFeel
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device ALL Hope all your families are safe from COVID-19 threat! We are using ((DefaultLookAndFeel) UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radioFullImage, radioEmptyImage, radioFullImage, radioEmptyImage); to set the theme behaviour on Radio Buttons. Doc on this class indicates: Deprecated. this class is still crucial for some features in Codename One. The deprecation is here to indicate our desire to reduce usage/reliance on this class. Is there an alternate/prefered method to use? Regards Stay Safe! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/948303fc-bc8f-4891-a070-b2ba6d0baa9d%40googlegroups.com.
[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode
What a headache it is working with Apple. After 3 hour of trying to run MAC OSX on a VM I have concluded Apple only wants you to buy their hardware. Is ther any reason why you can't publish your Android app on IOS? Is the an Apple constraint that you must use TestFlight? Regards. On Sunday, April 5, 2020 at 9:17:08 AM UTC-4, Mark Bolduc wrote: > > Understood, however in the process of submitting the app to the app store > I have to upload the build using tools that require install OSX Mavericks > ISO as a virtual machine, then running altool, transporter, xcode etc. > > My question is do you have an app the installs and behaves the same as on > the Android system? > > My app is ready for submission on apple store once I can upload the builds. > > Regards > > > On Saturday, April 4, 2020 at 1:36:44 PM UTC-4, Mark Bolduc wrote: >> >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA Netbeans 11 >> Desktop OS Windows 10 Pro >> Simulator latest >> Device IOS >> >> Can't you publish this app on the app store? >> >> The Android app is very nice and easy. >> >> The process to make ths work on IOS is not within our current >> capabilities. >> >> Regards >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a61f4430-0973-41c0-a556-4eef81afbc0f%40googlegroups.com.
[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode
Understood, however in the process of submitting the app to the app store I have to upload the build using tools that require install OSX Mavericks ISO as a virtual machine, then running altool, transporter, xcode etc. My question is do you have an app the installs and behaves the same as on the Android system? My app is ready for submission on apple store once I can upload the builds. Regards On Saturday, April 4, 2020 at 1:36:44 PM UTC-4, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11 > Desktop OS Windows 10 Pro > Simulator latest > Device IOS > > Can't you publish this app on the app store? > > The Android app is very nice and easy. > > The process to make ths work on IOS is not within our current capabilities. > > Regards > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1fdae2e1-741d-4497-a918-2ab359b9%40googlegroups.com.
[codenameone-discussions] build web app for ios requires an Apple OS and vcode
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator latest Device IOS Can't you publish this app on the app store? The Android app is very nice and easy. The process to make ths work on IOS is not within our current capabilities. Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/74481f9a-d006-401c-bd31-ca8009209b5e%40googlegroups.com.
[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected
FYI, Using the theme constant does the job. For others that are looking for a universal radio button look and feel, I have attached the 2 (on/off) images that provide simple on and off rendering. "RadioButtonThemeConstants.JPG" shows the constants set in the designer. "radio-button-on-icon.png" & "radio-button-off-icon.png" Thanks. On Thursday, March 26, 2020 at 9:23:40 AM UTC-4, Mark Bolduc wrote: > > Thanks. > > ((DefaultLookAndFeel) > UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radio_button_on_icon, > > radio_button_off_icon); > Solved my issue, however the "DefaultLookAndFeel" class is deprecated, > other than using theme constants, is there another class that will > perform the setRadioButtonImages found in "DefaultLookAndFeel" ? > > Regards > > On Wednesday, March 25, 2020 at 11:20:39 PM UTC-4, Shai Almog wrote: >> >> Sorry about that. On iOS there's no radio button (in the OS) so we use >> check marks to signify radio buttons. >> If you have images of the radio button you can use the theme constants: >> radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, >> radioUnselectedImage, radioSelectedDisFocusImage, radioSelectedFocusImage, >> radioUnselectedDisFocusImage and radioUnselectedFocusImage >> >> These are listed here: >> https://www.codenameone.com/manual/advanced-theming.html >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a35b5f65-c3a4-4131-8783-ae992dca3f9f%40googlegroups.com.
[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected
Thanks. ((DefaultLookAndFeel) UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radio_button_on_icon, radio_button_off_icon); Solved my issue, however the "DefaultLookAndFeel" class is deprecated, other than using theme constants, is there another class that will perform the setRadioButtonImages found in "DefaultLookAndFeel" ? Regards On Wednesday, March 25, 2020 at 11:20:39 PM UTC-4, Shai Almog wrote: > > Sorry about that. On iOS there's no radio button (in the OS) so we use > check marks to signify radio buttons. > If you have images of the radio button you can use the theme constants: > radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, > radioUnselectedImage, radioSelectedDisFocusImage, radioSelectedFocusImage, > radioUnselectedDisFocusImage and radioUnselectedFocusImage > > These are listed here: > https://www.codenameone.com/manual/advanced-theming.html > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/c232aa10-2f6c-499c-b676-c15c8827872c%40googlegroups.com.
[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected
It is not clear which constants I need to set to change the radio button showing a check mark to a round radio button. I don't understand why this is not the default behaviour. Can you please advise which constants need to be set and the values for them? Attached "CurrentThemeConstantsSet_03-25-2020.JPG" are the current constants set. Regards On Tuesday, March 24, 2020 at 11:10:54 PM UTC-4, Shai Almog wrote: > > That's from your theme file. Check the constants tab of the designer to > see that. > https://www.codenameone.com/manual/advanced-theming.html > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9f52aacd-0639-4bee-9e9b-1e49ba6297cc%40googlegroups.com.
[codenameone-discussions] Rendered RadioButton not showing a circle (0) as expected
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEANetbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device PC, IOS, Android RadioButton Daily = new RadioButton("Daily"); Daily.setOppositeSide(false); Shows a Check Mark when selected. Expecting a Radio Button rendering. Please see attached "CodenameOne_Designer_RadioButton.JPG" as how the radio button is rendered in the Codenameone Designer. However on my PC and devices, we get undesirable rendering. Please see attached "PC and Device_RadioButton_rendering.JPG" Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f5a04108-678e-48bb-995a-b6485025a454%40googlegroups.com.
[codenameone-discussions] is there an codename1 equivilent to java PrintFormat("%02d",value)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 11 Desktop OS Windows 10 Pro Simulator Latest Device All Is there an codename1 class that can take a String format (%02d) with value of (int 6) and return a String "06" ? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/be54675e-dfdb-42cd-b695-bec389ebaebc%40googlegroups.com.
[codenameone-discussions] Re: java.util.Calendar not setting correct date using set(field,value)
Sorry, I can't believe I did that. Have a great week end. On Saturday, March 21, 2020 at 1:30:01 AM UTC-4, Shai Almog wrote: > > You set the hour to 1700 instead of 17. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a7a142de-f9e6-4202-b81f-a02bff2107b7%40googlegroups.com.
[codenameone-discussions] java.util.Calendar not setting correct date using set(field,value)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeand 11 Desktop OS Windows 10 Pro Simulator Latest Device Simulator, possibly devices I have a method that passed date and time integers to Calendar to sed a Date object. Curious, I diod not see this before unless it just broke. int year = 2020; int month = 3; int dayinmonth = 20; int hour = 1700; int min = 20; int sec = 0; java.util.Date dte1 = getDateObjectFrom_MM_DD_HH_MM_SS(year, month, dayinmonth, hour, min, sec); System.out.println("dte1 = [" + dte1 + "]"); Printed = (dte1 = [Sat May 30 08:20:00 EDT 2020]) public java.util.Date getDateObjectFrom_MM_DD_HH_MM_SS(int year, int month, int day, int hour, int min, int sec) { Calendar cal = Calendar.getInstance(); try { cal.set(Calendar.YEAR, year); cal.set(Calendar.MONTH, month-1); cal.set(Calendar.DAY_OF_MONTH, day); cal.set(Calendar.HOUR, hour); cal.set(Calendar.MINUTE, min); cal.set(Calendar.SECOND, sec); } catch (Exception e) { e.printStackTrace(); } return (cal.getTime()); // Returns a java.util.Date object } Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/267dd3df-cffa-4faf-9b85-18afb3430487%40googlegroups.com.
[codenameone-discussions] Re: addMaterialCommandToRightBar does not respond in Simulator as of Today (Sat Mar 14th 2020)
Thanks, All set. On Saturday, March 14, 2020 at 9:58:07 PM UTC-4, Shai Almog wrote: > > This sounds like the problematic update we had in Friday morning which we > fixed later on. Try updating the libraries through Codename One Settings. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/24e9eab2-11b3-4b3d-b3a0-0239213ea14f%40googlegroups.com.
[codenameone-discussions] addMaterialCommandToRightBar does not respond in Simulator as of Today (Sat Mar 14th 2020)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Simulator As of today, (Sat Mar 14th 2020), addMaterialCommandToRightBar and other Back Buttons are no longer responding to actions in the Simulator. Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/51000ec0-2d27-4a2e-9597-df5682ead365%40googlegroups.com.
[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app
On Wednesday, February 12, 2020 at 7:55:46 AM UTC-5, Mark Bolduc wrote: > > Fair enough. > > thanks. > > Do you think this behaviour will go away when these devices have more > processing power? > > Regards. > > On Tuesday, February 11, 2020 at 9:10:26 PM UTC-5, Shai Almog wrote: >> >> iOS would do that for some processes. Android is more consistent in that >> sense. You should code defensively regardless. >> FYI Android does that when you just rotate the device... We hide a lot of >> these nuances from the developers but there are some things that aren't >> abstractable. >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1845a2aa-1866-4072-89e3-698c2bde701f%40googlegroups.com.
[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app
Fair enough. thanks. Do you think this behaviour will go away when these devices have more processing power? Regards. On Tuesday, February 11, 2020 at 9:10:26 PM UTC-5, Shai Almog wrote: > > iOS would do that for some processes. Android is more consistent in that > sense. You should code defensively regardless. > FYI Android does that when you just rotate the device... We hide a lot of > these nuances from the developers but there are some things that aren't > abstractable. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f733b766-bf0d-42ad-a689-4ba5c20faf4b%40googlegroups.com.
[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app
Note that this is only on Android, IOS does not suspend my app when my app spawns another process like reading a PDF document. Regards. On Sunday, February 9, 2020 at 8:52:22 PM UTC-5, Shai Almog wrote: > > No. When you exit the app the process is always suspended that's how > mobile programming works. > Notice the PDF reader logic works perfectly you just receive a > suspend/resume for the current activity. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/99d7d01e-6434-4718-be6a-a0b39f61edcb%40googlegroups.com.
[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app
So , 1 year later, In Android 9 Can An App run an external process / app without the OS sending a suspend to my app? Is there a codenameone PDF reader library? Regards On Sunday, February 17, 2019 at 8:12:23 AM UTC-5, Mark Bolduc wrote: > > Thanks. > > On Saturday, February 16, 2019 at 11:26:50 AM UTC-5, > shop.servic...@gmail.com wrote: >> >> If you are experiencing an issue please mention the full platform your >> issue applies to: >> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2 >> Desktop OS Windows 10 Pro >> Simulator Latest >> Device Android 7 & 8.1 >> >> My app uses Display.getInstance().execute(file system path to PDF doc) >> >> On Android, my app receives a suspend signal from the OS until I close >> the PDF reader app. >> Once the PDF reader app is closed, my app receives a start() >> >> This does not occur on IOS, >> >> Curious, Is there a method that my app can envoke another process and not >> suspend my app? >> >> Thoughts? >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/eacf1ad1-183c-44e4-95ba-f6713a6af84f%40googlegroups.com.
[codenameone-discussions] Re: best practice relating to using InfiniteProgress while executing socket IO from a modal Dialog
Sorry, The Dialog seems to be blocked and does not appear in some cases where my App does some socket IO tasks that block. I see this is too ambiguous, I will try to provide more clarity. Regards. On Friday, February 7, 2020 at 7:20:01 PM UTC-5, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11 > Desktop OS Windows 10 Pro > Simulator Latest > Device Simulator, Android, IOS > > I created a RunInfiniteDialog thread that executes: > InfiniteProgress ip = new InfiniteProgress(); > InfiniteProcDialog = ip.showInfiniteBlocking(); > > Have 2 methods to call: > public void showInfiniteDialog() { > showInfiniteDialog = true; > } > public void disposeInfiniteDialog() { > disposeInfiniteDialog = true; > } > > This works properly (In that I get the desired blurred dialog with > spinning object) except when I execute a save which in turn executes > socket IO > > Note: This process that executes the save is a Dialog it's self. > > Wondering is there another process I can use to show progress is occurring > to the user? > Note To my knowledge, ToastBar does not work within a modal Dialog. > > Thoughts? > > Regards. > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/256e7375-d59f-4c30-a4b5-b0c6ae935d61%40googlegroups.com.
[codenameone-discussions] best practice relating to using InfiniteProgress while executing socket IO from a modal Dialog
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Simulator, Android, IOS I created a RunInfiniteDialog thread that executes: InfiniteProgress ip = new InfiniteProgress(); InfiniteProcDialog = ip.showInfiniteBlocking(); Have 2 methods to call: public void showInfiniteDialog() { showInfiniteDialog = true; } public void disposeInfiniteDialog() { disposeInfiniteDialog = true; } This works properly (In that I get the desired blurred dialog with spinning object) except when I execute a save which in turn executes socket IO Note: This process that executes the save is a Dialog it's self. Wondering is there another process I can use to show progress is occurring to the user? Note To my knowledge, ToastBar does not work within a modal Dialog. Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e1882b67-1ce4-4995-aa65-0351b50af18a%40googlegroups.com.
[codenameone-discussions] Re: is it possible to configure multiple email addresses that can receive OTA builds
Thanks. On Thursday, February 6, 2020 at 9:29:00 PM UTC-5, Shai Almog wrote: > > No. An account is individual in Codename One. You would need to manually > forward it to testers etc. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4c4967f9-f7ac-4be3-96fb-cc5160189998%40googlegroups.com.
[codenameone-discussions] is it possible to configure multiple email addresses that can receive OTA builds
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Build Server Is there a way to send build links to multiple email addresses from the build Server When I click on e-mail Link ? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/17438601-f846-40e6-a84f-262f589d5d74%40googlegroups.com.
[codenameone-discussions] Re: How to set max table row width when Table is scrollable X
Thanks for the hint. @Override protected Component createCell(Object value, final int row, final int column, boolean editable) { if (row == -1) { Component headercell = super.createCell(value, row, column, editable); headercell = new TextArea((String) value); ((TextArea)headercell).setColumns(5); ((TextArea)headercell).setRows(1); headercell.setEnabled(false); headercell.setFlatten(false); headercell.setUIID("CustComplaintsTableHeader"); return headercell; } I use TextArea as my header cell, so I can do multi line text, explicitly setting the colums solved the problem. Thatns again Regards. On Monday, February 3, 2020 at 9:07:36 PM UTC-5, Shai Almog wrote: > > That's odd. Do you override createCell or the constraint method? > Any other changes in the class? > I'm assuming these cells are editable. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/315ad9d2-0237-4d99-8f00-d747853a6fcf%40googlegroups.com.
[codenameone-discussions] How to set max table row width when Table is scrollable X
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device PC, Android, IOS I have a com.codename1.ui.table.Table (AInventoryTable) of 13 columns that are AInventoryTable.setScrollableX(true); Unfortunately Each column is much wider than necessary and therefore requires more user scrolling than I like. Please see 2 attachments (PartTable_1.JPG is left view of row and PartTable_2.JPG is the right portion) Each column constraint has been set to con.setWidthPercentage(percentages[column]); However the total scrollable width is too great. Is there a method to adjust this so the colums are not so padded with empty space? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/5c15e184-35ef-49f1-ae85-c5ef012b5775%40googlegroups.com.
[codenameone-discussions] Re: Picker minute intervals
FYI I was responding to a 2014 post where the setting of minute stepping was not available. Currently the method "setMinuteStep(int X);" is valid and works. Sorry for the false alarm. Regards On Wednesday, January 22, 2020 at 11:49:29 AM UTC-5, Mark Bolduc wrote: > > Thanks. > > > > On Tuesday, January 21, 2020 at 9:42:46 PM UTC-5, Shai Almog wrote: > >> Did you submit an RFE for that functionality? >> A lot has changed in that class but without feature requests things get >> lost. >> > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8132be52-716a-41fa-a044-bc190757f0ea%40googlegroups.com.
[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.
Thanks. Is it possible to this on IOS ? On Sunday, January 26, 2020 at 9:26:50 PM UTC-5, Shai Almog wrote: > > Yes, the user would need to download then select the file to install. He > would need to enable the "Install from outside sources" flag in the device > to do that. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/50037a5e-17f5-4a68-bef8-60dc62daae7d%40googlegroups.com.
[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.
Thanks. How can I install a Google APK (Codenameone creates "A3Tech-release.apk" that I download to my device) Can I start a browser session with "A3Tech-release.apk" as an argument? Thoughts? Regards. On Saturday, January 25, 2020 at 8:58:42 PM UTC-5, Shai Almog wrote: > > None of our apps are public until you publish them. > Google APKs can be kept and installed privately. > Apple apps can be installed via private beta or via an enterprise > certificate. We support all those distribution channels. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/51490453-a1f2-4f36-a63c-f1097b4cee4c%40googlegroups.com.
[codenameone-discussions] IOS and Android builds that are not published Via Apple or Google.
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device IOS and Android I was wondering if it is possible to build IOS and Android apps that are not public. Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/fae68ee8-e6c6-453d-a3c1-8923e8b54a37%40googlegroups.com.
[codenameone-discussions] Re: Picker minute intervals
Thanks. On Tuesday, January 21, 2020 at 9:42:46 PM UTC-5, Shai Almog wrote: > Did you submit an RFE for that functionality? > A lot has changed in that class but without feature requests things get > lost. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f01a32a2-6a66-4aac-ac5d-da8f42070e6d%40googlegroups.com.
[codenameone-discussions] Picker minute intervals
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEANetbeans 11 Desktop OSWindows 10 Pro Simulator latest Device IOS, Android Looking to see if there are any changes to functionality of Time Picker where the minute intervals are set at "5" ? I did review another post of 2014. We have a time sheet form that users have to enter exact times which the minute intervals would need to be 1 minute. Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/29885b58-ded9-4df7-9dec-6769d07431e7%40googlegroups.com.
[codenameone-discussions] Re: How to dispose a Form when spawned by dialog
Thanks. I am comfortable witha modal Dialog being more than a confirmation mechinism. For now, I will stay away from the interactive dialog for the very reasons stated in the document you provided. Thanks for the referance. Regards. On Saturday, January 18, 2020 at 12:46:06 AM UTC-5, Shai Almog wrote: > > See https://www.codenameone.com/blog/picking-dialog-type.html > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/842fe5d0-aa90-42ad-9617-cb5b27aaa76f%40googlegroups.com.
[codenameone-discussions] Re: How to dispose a Form when spawned by dialog
Thanks, Dialogs work great for my application as (for example) editing inventory in a form can spawn multiple dialogs. This works especially well as when the Dialog is disposed, I am returned to the Form w/o having the overhead of reloading that form. briefly, what is the the programaticall concern of using a Dialog for more than just a confirmation mechinism? Thanks in advance. Regards. On Tuesday, January 14, 2020 at 5:23:43 PM UTC-5, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11 > Desktop OS Windows 10 Pro > Simulator Latest > Device ALl > > I have a case where I spawn a Form from a dialog (list of stuff) > When the Form finishes creating an appointment, I want to be returned to > the Dialog. > > Thoughts? > > Regards. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/7461dc7c-f72f-4c3d-9ed6-8e557be5a873%40googlegroups.com.
[codenameone-discussions] How to dispose a Form when spawned by dialog
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device ALl I have a case where I spawn a Form from a dialog (list of stuff) When the Form finishes creating an appointment, I want to be returned to the Dialog. Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e5dc03d6-07d8-419c-8184-6f653dc4dbfd%40googlegroups.com.
[codenameone-discussions] Re: Display.getInstance().execute(file) on PC in Simulator does not work
Understood. Thanks. On Friday, January 10, 2020 at 1:37:49 PM UTC-5, Mark Bolduc wrote: > > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11 > Desktop OS Windows 10 Pro > Simulator Latest > Device PC In Simulator > > Note this did work before (poss several months ago) > > Display.getInstance().execute(pdf file) on PC in Simulator does not open > files. (pdf,lpg, etc.) > > This example is PDF. > > File path: A3MpiPhotosDir + fileName = [ > file://home/A3-TECH/MpiPhotos/SuggestedInventory_2020_01_10_11_57_33.pdf] > Display.getInstance().execute(A3MpiPhotosDir + fileName, e -> { > MyLog.p("viewImageFromDisk: image length = " + > image.length + " fileName = [" + fileName + "]"); > }); > > Works as expected on devices. > > Thoughts? > > Regards > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f86e7eda-b1bb-405c-8aee-42fe001a971a%40googlegroups.com.
[codenameone-discussions] Gui Builder adds events at end of line in source .java code
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Gui Builder Gui Builder adds events at end of line in source .java code I have a class (class UpdateTitleClockA3HomePage extends Thread) defined at bottom of code The Gui Builder appends the file with the event methods after clicking on event in gui builder. This causes a build failure. The fix is simple, move the new methods within the public class associated with the Gui Build. Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/20cd79e1-2eaa-49ea-bf37-af56bf947dde%40googlegroups.com.
[codenameone-discussions] Failed to generate Gui Source with System JAXB
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Gui Builder Added a Container using Gui Builder then got following error on compile. Attempting to generate GUI sources for C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui with System JAXB Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB. C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/sun/xml/bind/v2/model/annotation/AnnotationReader at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294) at com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246) at com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) at jdk.internal.reflect.GeneratedMethodAccessor2230.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:567) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99) at org.apache.tools.ant.Task.perform(Task.java:350) at org.apache.tools.ant.Target.execute(Target.java:449) at org.apache.tools.ant.Target.performTasks(Target.java:470) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388) at org.apache.tools.ant.Project.executeTarget(Project.java:1361) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128) Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9850a204-0a03-4269-87d3-20b52024ed48%40googlegroups.com.
[codenameone-discussions] Display.getInstance().execute(file) on PC in Simulator does not work
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device PC In Simulator Note this did work before (poss several months ago) Display.getInstance().execute(pdf file) on PC in Simulator does not open files. (pdf,lpg, etc.) This example is PDF. File path: A3MpiPhotosDir + fileName = [ file://home/A3-TECH/MpiPhotos/SuggestedInventory_2020_01_10_11_57_33.pdf] Display.getInstance().execute(A3MpiPhotosDir + fileName, e -> { MyLog.p("viewImageFromDisk: image length = " + image.length + " fileName = [" + fileName + "]"); }); Works as expected on devices. Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f39dedf4-7a0b-4c33-a4ef-7f886fd60c85%40googlegroups.com.
[codenameone-discussions] On Clean and Build where a form is a guibuilder form delets a single line after code changes
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device Gui Builder Version 6.4 When clean and build on a gui form where changes to code were made, Codenameone rebuilds the .java class and adds additional comments (//) here : //-- DON'T EDIT BELOW THIS LINE!!! VS //-- DON'T EDIT BELOW THIS LINE!!! and (the issue) delets the line below : //-- DON'T EDIT ABOVE THIS LINE!!! resulting in : //-- DON'T EDIT ABOVE THIS LINE!!!protected void showOtherForm(Resources res) { new A3HomePage(res, inc).showBack(); } where the method definition is now part of a commented line. The immediate fix is to add the new line. protected void showOtherForm(Resources res) { new A3HomePage(res, inc).showBack(); } Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/258ec7d0-3c48-48f5-a37e-f01f465299c5%40googlegroups.com.
[codenameone-discussions] Re: How to add x at far right of textField that when pressed will delete all text
Is the function of the red x to clear the text in the field? If so it does not work (at lease on PC and IOS) I want a simple ability to clear a field with a touch of the red x at right side of field VS having to tap the x in the keyboard for every character. Thoughts? Regards On Friday, December 27, 2019 at 11:40:50 PM UTC-5, Shai Almog wrote: > > You can use validation which does that automatically based on constraints: > https://www.codenameone.com/javadoc/ > > It can also adapt based on input styles/OS see: > https://www.codenameone.com/blog/pixel-perfect-text-input-part-2.html > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/70abbe67-31c0-4a16-afb0-48d39f3fc1e6%40googlegroups.com.
[codenameone-discussions] How to add x at far right of textField that when pressed will delete all text
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device PC, Android, IOS Please see attached pic (*XinTextFieldDelete.JPG*) I understand I can add a simple button at end of TextField to satisfy the feature I am looking for. Wondering if you have an alternative to this approach? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a55dfedb-0552-4171-8574-942ed7d9f208%40googlegroups.com.
[codenameone-discussions] Re: How to get carret position from TextArea
No txt.setEditable(false); txt.setEnabled(true); txt.getStyle().setAlignment(LEFT); txt.setSingleLineTextArea(false); User chooses Edit button to change the txt.setEditable(true); The behaviour I am looking for is when the TextArea is not editable. I would think the behaviour I am looking would be common, other than a series of Buttons, is there another Object that can contain Text and provide me an index into the text when touched? Thoughts? Regards On Monday, December 16, 2019 at 9:44:30 PM UTC-5, Shai Almog wrote: > Is this text area editable? > If it's editable then that's a problem. A text area is a very special > component that transitions between native and lightweight editing. As such > you would be relying on native behavior and long press is already > associated with functionality in native text editing. > > If not then why use a text area? > Why not have multiple buttons in flow layout? > If you want to give users the ability to edit you can just dynamically > replace one of them with a text field. You can style the whole thing to > look like one big text area if you want to or you can create a unique UX of > your own. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9756dfa7-71b0-41dd-b797-84d23c9aa2af%40googlegroups.com.
[codenameone-discussions] How to get carret position from TextArea
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 10 Desktop OS Windows 10 Pro Simulator Latest Device PC, IOS, Android I have a populated TextArea that contains formatted phone numbers (1-888-555-) when the user touches a phone number (longPointerPress) I want to parse the textArea to find the "phone number" In order for me to do that I need to know the index on the touch or pressed point. the index I refer to is as in Swing an index refers to the carret position. Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/46de35ec-4d21-4f87-a055-e9a2cc4b67c0%40googlegroups.com.
[codenameone-discussions] Re: Rotating a Dialog (Portrait to Landscape) shown with max screen problem (dlg.show(0, 0, 0, 0);)
Thanks. Regards On Saturday, December 14, 2019 at 11:21:16 AM UTC-5, Mark Bolduc wrote: > If you are experiencing an issue please mention the full platform your > issue applies to: > IDE: NetBeans/Eclipse/IDEA Netbeans 11 > Desktop OS Windows 10 Pro > Simulator Latest > Device PC (Simulator), IOS 13+, Android 7+ > > Have a Dialog set to occupy 100% of screen. > When rotating orientation, Dialog does not fill full screen. > See Pic RotateDialog_1.JPG (Initially opened Dialog. Full Screen) > See Pic RotateDialog_2.JPG (Rotate Landscape, Dialog using 20% of screen) > See Pic RotateDialog_3.JPG (Rotate Portrait, Dialog using 20% of screen) > > Code: > Dialog dlg = new Dialog("A3-Tech Customer Search"); > try { > int rows = 3; > dlg.setLayout(new BorderLayout()); > Container ContainerDataBaseContainer = new Container(new > com.codename1.ui.table.TableLayout(rows, 1)); > ContainerDataBaseContainer.setScrollableY(true); > for (int a = 0; a < rows; a++) { > buildConstrantsGeneric(ContainerDataBaseContainer, new > Label("Label Row [" + (a + 1) + "]"), a, 0, 100); > } > Container OptionsContainer = new Container(new > com.codename1.ui.table.TableLayout(1, 3)); > Button CmdCancel = new Button("Cancel", "Button"); > CmdCancel.addActionListener(e -> { > dlg.dispose(); > System.exit(0); > }); > Button ExecSearch = new Button("Execute Search", "Button"); > ExecSearch.addActionListener(e -> { > dlg.dispose(); > System.exit(0); > }); > Button OpenRos = new Button("Load Open Invoices", > "Button"); > OpenRos.addActionListener(e -> { > dlg.dispose(); > System.exit(0); > }); > buildConstrantsGeneric(OptionsContainer, OpenRos, 0, 0, > 33); > buildConstrantsGeneric(OptionsContainer, ExecSearch, 0, 1, > 33); > buildConstrantsGeneric(OptionsContainer, CmdCancel, 0, 2, > 34); > dlg.add(BorderLayout.CENTER, ContainerDataBaseContainer); > dlg.add(BorderLayout.SOUTH, OptionsContainer); > } catch (Exception e) { > e.printStackTrace(); > } > dlg.show(0, 0, 0, 0); > > public static TableLayout.Constraint buildConstrantsGeneric(Container > CTR, Component comp, int row, int col, int widthPercent) { > TableLayout.Constraint ConSt = ((TableLayout) > CTR.getLayout()).createConstraint(row, col); > ConSt.setWidthPercentage(widthPercent); > CTR.addComponent(ConSt, comp); > return ConSt; > } > > Thoughts? > > Regards > > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/bf4f2615-e4cc-4cd0-9f00-bf79790e8a33%40googlegroups.com.
[codenameone-discussions] Rotating a Dialog (Portrait to Landscape) shown with max screen problem (dlg.show(0, 0, 0, 0);)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Netbeans 11 Desktop OS Windows 10 Pro Simulator Latest Device PC (Simulator), IOS 13+, Android 7+ Have a Dialog set to occupy 100% of screen. When rotating orientation, Dialog does not fill full screen. See Pic RotateDialog_1.JPG (Initially opened Dialog. Full Screen) See Pic RotateDialog_2.JPG (Rotate Landscape, Dialog using 20% of screen) See Pic RotateDialog_3.JPG (Rotate Portrait, Dialog using 20% of screen) Code: Dialog dlg = new Dialog("A3-Tech Customer Search"); try { int rows = 3; dlg.setLayout(new BorderLayout()); Container ContainerDataBaseContainer = new Container(new com.codename1.ui.table.TableLayout(rows, 1)); ContainerDataBaseContainer.setScrollableY(true); for (int a = 0; a < rows; a++) { buildConstrantsGeneric(ContainerDataBaseContainer, new Label("Label Row [" + (a + 1) + "]"), a, 0, 100); } Container OptionsContainer = new Container(new com.codename1.ui.table.TableLayout(1, 3)); Button CmdCancel = new Button("Cancel", "Button"); CmdCancel.addActionListener(e -> { dlg.dispose(); System.exit(0); }); Button ExecSearch = new Button("Execute Search", "Button"); ExecSearch.addActionListener(e -> { dlg.dispose(); System.exit(0); }); Button OpenRos = new Button("Load Open Invoices", "Button"); OpenRos.addActionListener(e -> { dlg.dispose(); System.exit(0); }); buildConstrantsGeneric(OptionsContainer, OpenRos, 0, 0, 33); buildConstrantsGeneric(OptionsContainer, ExecSearch, 0, 1, 33); buildConstrantsGeneric(OptionsContainer, CmdCancel, 0, 2, 34); dlg.add(BorderLayout.CENTER, ContainerDataBaseContainer); dlg.add(BorderLayout.SOUTH, OptionsContainer); } catch (Exception e) { e.printStackTrace(); } dlg.show(0, 0, 0, 0); public static TableLayout.Constraint buildConstrantsGeneric(Container CTR, Component comp, int row, int col, int widthPercent) { TableLayout.Constraint ConSt = ((TableLayout) CTR.getLayout()).createConstraint(row, col); ConSt.setWidthPercentage(widthPercent); CTR.addComponent(ConSt, comp); return ConSt; } Thoughts? Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/43a21ddd-36e7-4dd8-ae33-a4af162390bb%40googlegroups.com.
[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue
My Customers will be using several words that span. Regards On Sunday, October 27, 2019 at 11:01:21 PM UTC-4, Shai Almog wrote: > > Yes but under a swipeable container for words as short as "edit"? > There's no decent alternative that will work which is why I asked for an > issue to track this. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/92a5c781-d222-4176-8201-1079a6b8bbd8%40googlegroups.com.
[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue
SpanButton will provide Text Wrapping. Any alternative Button options that would allow this? Regards On Saturday, October 26, 2019 at 11:06:37 PM UTC-4, Shai Almog wrote: > Can you file an issue on that? > Why are you using a span button instead of Button here? > Essentially lead components are a bit trickier in some edge cases such as > this as their event propagation is a bit more nuanced. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/8fe314ea-0b96-4277-aaba-0fc379049fb0%40googlegroups.com.
[codenameone-discussions] .ipa downloadable files (What is the intended use for this file ?)
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 11.0 Desktop OS Windows 10 Pro Simulator Latest Device IOS, Android Revisiting this, What is the intended usage for this file? I would like to make this file downloadable from my app and the user can elect to perform an upgrade VIA the app calling an external Display method that will emulate the indiginous installer. How does this work? Thoughts? Regards. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/e91d37bc-4f08-444e-8ba5-426a5ac40989%40googlegroups.com.
[codenameone-discussions] Adding SpanButton to Swipeable container Issue
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA NetBeans 11.0 Desktop OS Windows 10 Pro Simulator Latest Device PC, IOS, Android I have 2 SpanButton components in a Swipeable container, however the swipe action is rarley caught. However if I substitute SpanButton with Button, the operation behaves as expected. Here is a repeatable test case. Form hi = new Form("MpiImagesSwipeableContainer", new BoxLayout(BoxLayout.Y_AXIS)); Container ctr = new Container(new BoxLayout(BoxLayout.Y_AXIS)); ctr.setScrollableY(true); for (int a = 0; a < 5; a++) { Container TestCont = new Container(new com.codename1.ui.table.TableLayout(1, 2), "SchedEditContainerThickBorder"); TextArea SrvJobText = new TextArea("A-" + (a + 1) + " Service"); SrvJobText.setHint("Touch To Open Service Jobs Menu"); SrvJobText.setEditable(true); TextArea SrvJobText1 = new TextArea("B-" + (a + 1) + " Service"); SrvJobText1.setHint("Touch To Open Service Jobs Menu"); SrvJobText1.setEditable(true); buildConstrantsGeneric(TestCont, SrvJobText, 0, 0, 50); buildConstrantsGeneric(TestCont, SrvJobText1, 0, 1, 50); SrvJobText.setUIID("MpServiceField"); SpanButton menuButton = new SpanButton("Delete"); menuButton.setName("Button"); menuButton.setUIID("A3VacTableTotalHrsCellRed"); SpanButton editButton = new SpanButton("Edit"); editButton.setName("Button"); editButton.setUIID("A3VacTableTotalHrsCell"); SwipeableContainer MpiImagesSwipeableContainer = new SwipeableContainer(menuButton, editButton, TestCont); MpiImagesSwipeableContainer.setUIID("SwipeableContainerRoundedBorder"); menuButton.addActionListener((evt) -> { MpiImagesSwipeableContainer.close(); }); menuButton.addFocusListener(new FocusListener() { @Override public void focusGained(Component cmp) { System.out.println("menuButton: focusGained"); } @Override public void focusLost(Component cmp) { System.out.println("menuButton: focusLost"); MpiImagesSwipeableContainer.close(); } }); editButton.addActionListener((evt) -> { MpiImagesSwipeableContainer.close(); }); ctr.add(MpiImagesSwipeableContainer); MpiImagesSwipeableContainer.addSwipeOpenListener(e -> { menuButton.requestFocus(); }); } hi.add(ctr); hi.show(); Regards -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3fccbf27-e336-47a0-adde-d654a19c6f4a%40googlegroups.com.
[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)
Thanks. On Saturday, September 14, 2019 at 11:32:05 PM UTC-4, Shai Almog wrote: > > Hi, > no. > The physical limitation is the screen size/finger size and those won't > change ;-) > > Even on Tablets which resolved some of the screen size limits the screen > is still smaller and the UI elements need to be "finger friendly". So you > should stick in more details but not nearly as much as we used to on the > desktop. Frankly, it's better in terms of UX and software development. We > work with a lot of forms but each one is smaller and simpler, that makes > them easier to explain, understand and develop. > > We worked with several companies in your position who tried moving a > desktop app UI "as is". The results varied. I suggest talking with the > users about this and letting them feel the UI. Try it on the target devices > early on to see how it feels even without the functionality. When you start > using it on a physical device you'll know if you're on the right direction. > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4528ed3b-b83c-44df-bdc9-3a6f14945248%40googlegroups.com.