[codenameone-discussions] Netbeans and Maven

2021-07-19 Thread mcw
I have been away from CodenameOne for months and am just getting back. Everything has changed and I am trying to convert my projects to Maven I am running Netbeans 8.2 on Kubuntu 20.04 I have the CodenameOne plugin 7.0 I downloaded the latest version of the migration tool, 1.0.3 and converted

[codenameone-discussions] Re: App Store images again

2019-09-04 Thread mcw
Sorry but I don't get that site. I uploaded my image, all I end up with is this funky image at 1242 x 2208, but Apple now wants 1242 x 2688. I tried others but they all want you to register first. I finally got XCode 10 installed and was able to run my app in their simulator and generate a

[codenameone-discussions] Re: App Store images again

2019-09-04 Thread mcw
Thanks Dave. I did notice that the iPhone X simulator has the aspect ration so I could scale that one. I built my app on XCode but even that did not have the new device types, so now I am upgrading to XCode 10. On Wednesday, September 4, 2019 at 2:49:28 PM UTC-7, Dave Dyer wrote: > > > Upsize

[codenameone-discussions] App Store images again

2019-09-04 Thread mcw
I am trying to submit an update for my apps to the Apple App Store. They are now demanding an iPhone 6.5 inch screenshot at 1242x2688 resolution. Apparently an iPhone XS Max or iPhone XR. You don't have any skins that will generate this resolution. How are other developers coming up with these

[codenameone-discussions] Re: Cannot activate CodenameOne Build

2019-08-30 Thread mcw
OK ignore this, I missed the on your mobile device bit. This tablet did not come with an email program but I was able to save the link to a file and transfer that. Thanks, Martin On Friday, August 30, 2019 at 6:29:27 AM UTC-7, mcw wrote: > > Trying to set up a new Android tablet >

[codenameone-discussions] Cannot activate CodenameOne Build

2019-08-30 Thread mcw
Trying to set up a new Android tablet I login with my e-mail, get the e-mail, click on the link, nothing. Tried different browsers, different OS, Chrome wants to open a file type, IE says it can't display the page, Firefox does nothing. I have done this with other devices, but nothing is

[codenameone-discussions] Re: Can I display a popup on a toolbar right bar command?

2019-08-24 Thread mcw
Thanks, that worked well. I had actually looked for a get method that would return the button, I can't believe I mist the find method, it was right there :-) On Friday, August 23, 2019 at 9:35:00 PM UTC-7, Shai Almog wrote: > > Hi, > you can use toolbar.findCommandComponent(command); This will

[codenameone-discussions] Can I display a popup on a toolbar right bar command?

2019-08-23 Thread mcw
I have added a command to the toolbar: getToolbar().addCommandToRightBar(_clearCommand); The command contains an icon only. What I would like to do is handle a long press and display a popup that describes the functionaility. The problem I am running into is that the toolbar needs a command

[codenameone-discussions] Re: Layout issues

2019-08-23 Thread mcw
I set vertical scrolling on the Container and it does scroll. The problem is that as soon as there is enough data to scroll, the first component is clipped. I tried different components in the first position but they always got clipped. [image: image1.png] Image1 shows the top of the screen

[codenameone-discussions] Re: Layout issues

2019-08-21 Thread mcw
I was able to get this to work. What I ended up doing was changing the layout of my Container to BoxLayout. Most of the boxes used GridBagLayout so I was still able to get the exact format I wanted. I am still not sure why it didn't work when the whole Container used GridBagLayout. Thanks,

[codenameone-discussions] Layout issues

2019-08-21 Thread mcw
I am having layout issues. It is a complicated form so producing a test case might take a while. I was hoping you might have some ideas. I have a form which uses BorderLayout. I add the actual content to a second container which uses GridBagLayout and then add the container to the center of

[codenameone-discussions] Re: Android skins missing device buttons

2019-08-15 Thread mcw
Thanks, that works great. On Wednesday, August 14, 2019 at 7:14:30 PM UTC-7, Shai Almog wrote: > > You can simulate the hardware back button by using the ESC button in your > keyboard. This will work even for iOS devices as it's generic to the > simulator. > -- You received this message

[codenameone-discussions] Android skins missing device buttons

2019-08-14 Thread mcw
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans Simulator I have recently started using the toolbar and now set the back command with: *getToolbar().setBackCommand(_backCommand, Toolbar.BackCommandPolicy.ONLY_WHEN_USES_TITLE);*

[codenameone-discussions] Is there a way to detect camera access denied?

2018-10-22 Thread mcw
Today an iOS user contacted me to report that when he went to scan a barcode in my app, he got a black screen with the word Cancel in blue. He was confused. So was I for a while, until I figured out that somehow he had denied my app access to the camera. Is there any way to detect this

[codenameone-discussions] Re: iOS 12.0.1 and Barcode scanning

2018-10-18 Thread mcw
Just downgraded my iPod Touch to iOS 12.0 and barcode scanning is working again. So it looks as though the 12.0.1 update triggered this On Thursday, October 18, 2018 at 2:38:09 PM UTC-7, mcw wrote: > > My iPod Touch was just updated to 12.0.1 and now I can no longer scan a > barcode. W

[codenameone-discussions] iOS 12.0.1 and Barcode scanning

2018-10-18 Thread mcw
My iPod Touch was just updated to 12.0.1 and now I can no longer scan a barcode. When I hit my scan button, the app crashes. Is this a known issue? At least I think it is crashing, I end back on te home screen but I am not getting any log packages from you. Barcode scanning continues to work

[codenameone-discussions] Re: iOS App Store Submission problems

2018-10-01 Thread mcw
It did eventually show up. I haven't submitted to the app store for a while. iTunes Connect seems to have disappeared, I was using something called App Connect. It used to be that when you uploaded from x-code the build appeared immediately in my account and I could submit it for review. That

[codenameone-discussions] Re: RadioButton Question

2018-09-23 Thread mcw
Thanks for the info. I did set the text position and it did move the image to the right. But it was placed right after the text rather than aligned vertically on the right edge of the container. That makes sense, it is the way Label works. I couldn't find an answer for that so ended up using a

[codenameone-discussions] Re: OnOffSwitch Problems

2018-09-23 Thread mcw
I could not find an issue, so I added one here On Friday, September 21, 2018 at 9:09:58 PM UTC-7, Shai Almog wrote: > > Yes it's on our top list of components to rewrite. Feel free to file an > issue as I don't think we have an open

[codenameone-discussions] RadioButton Question

2018-09-21 Thread mcw
Are setOppositeSide and setToggle mutually exclusive? I used an example you posted on another thread to use custom images on a CheckBox here

Re: [codenameone-discussions] Converting from WebBrowser to BrowserComponent

2018-09-13 Thread mcw
Thanks Steve. Is it OK to use WebBrowser, it is not one of the classes being deleted in 5.0 right? On Thursday, September 13, 2018 at 11:14:42 AM UTC-7, Steve Hannah wrote: > > I don't think there's an equivalent. WebBrowser is simply a wrapper > around BrowserComponent that will fall back

[codenameone-discussions] Converting from WebBrowser to BrowserComponent

2018-09-13 Thread mcw
Haven't built my apps for some time and discovered a lot of deprecated classes and methods. I am trying to switch from WebBrowser to BrowserComponent. What is the BrowserComponent equivalent of WebBrowser.createDataURI(_coverImage, "image/png"); Thanks, Martin -- You received this message

[codenameone-discussions] Barcode support for Windows UWP

2017-07-25 Thread mcw
Do you have any plans for adding barcode scanning to Windows UWP? I realize that you dropped barcode scanning from CodenameOne and implemented it as a cn1lib. The problem is I am a Java developer not a Windows developer, doing it myself is not really an option. Thanks -- You received this

[codenameone-discussions] UWP Windows Store Build

2017-05-15 Thread mcw
In an earlier discussion on submitting apps to the windows store you said: I recommend doing a test with Build Type "Windows Store Build", before > submitting it. This will use their DotNet native Toolchain to compile it > down to native code using the same tools that the windows store will

Re: [codenameone-discussions] Windows UWP app rejected

2017-03-16 Thread mcw
Build", before > submitting it. This will use their DotNet native Toolchain to compile it > down to native code using the same tools that the windows store will use. > That will produce the closest thing to what they are testing. > > Steve > > On Thu, Mar 16, 2017 at 9:18 AM

[codenameone-discussions] Windows UWP port, arrays and collections

2017-03-09 Thread mcw
I finally figured out the issue with my app on UWP. I know there have been a lot of issues with arrays and collections in the past, things we shouldn't do. Here is the code that is causing problems: vector.addElement(new String(string)); As far as I can tell there is no exception thrown, I

Re: [codenameone-discussions] Re: Windows 10 Phone UWP Debugging

2017-03-09 Thread mcw
Thanks for the code. I tried that on my phone and it worked. Still nothing from my app. I had been building using the build hint windows.build.version to replace the current app. I decided to uninstall my app and then reinstall. Logging started working again. Looking at the log it never

[codenameone-discussions] Re: Windows 10 Phone UWP Debugging

2017-03-09 Thread mcw
until; I can fix these last couple of bugs. But there is no way to debug CodenameOne UWP builds. On Thursday, March 9, 2017 at 5:45:01 AM UTC-8, mcw wrote: > > I had been doing UWP builds most of Tuesday and Wednesday, refining the > debugging so that I could home in on the problem. The

[codenameone-discussions] Re: Windows 10 Phone UWP Debugging

2017-03-09 Thread mcw
I had been doing UWP builds most of Tuesday and Wednesday, refining the debugging so that I could home in on the problem. The last time I got a log file from the phone was Tuesday afternoon California time. On Wednesday, March 8, 2017 at 9:43:06 PM UTC-8, Shai Almog wrote: > > If this works

[codenameone-discussions] iPad Pro Screenshots

2017-02-25 Thread mcw
I am trying to submit a new version of my app to Apple. They now require a 12.9" iPad Pro screenshot. How can I create this? There is no skin listed when I click on the more skins link. I saw an old post from over a year ago that said you were going to create one but that issue was closed with

[codenameone-discussions] Re: Android Target SDK version

2017-02-20 Thread mcw
My last version had API level 9+, target SDK 14. My new version has API level 15+, target SDK 23. On Monday, February 20, 2017 at 8:21:44 AM UTC-8, mcw wrote: > > How did I get to 22/23 though? > > I did not specify a target, there are minimal changes to my app. > > Th

[codenameone-discussions] Re: Android Target SDK version

2017-02-20 Thread mcw
How did I get to 22/23 though? I did not specify a target, there are minimal changes to my app. Thanks On Sunday, February 19, 2017 at 10:03:41 PM UTC-8, Shai Almog wrote: > > It's good that you are cautious. Once you update to level 23 you can't go > back and if there is a regression you will

[codenameone-discussions] Android Target SDK version

2017-02-19 Thread mcw
I just uploaded a new version of my app to the Google Play store and got a warning message. Previous builds used Ant. This is the first build I have submitted that

[codenameone-discussions] 3.6 builds broken

2017-02-12 Thread mcw
I am trying to do a new production build of my apps. Given your warnings about the current update I decided to build at the 3.6 level. I cannot download the project libraries, build fails with java.io.FileNotFoundException: http://www.codenameone.com/files/3.6/updatedLibs.zip -- You

[codenameone-discussions] Re: android.permission.READ_PHONE_STATE

2017-02-12 Thread mcw
I have an open issue on this, might be related: Issue 1945 On Sunday, February 12, 2017 at 11:26:33 AM UTC-8, Carlos Verdier wrote: > > > This issue was solved back when we discussed it, but it's happening again. > When submitting to

[codenameone-discussions] Is CodenameOne secretly sending device data to India?

2017-02-04 Thread mcw
I received the following e-mail from one or my users: Hello, Why are u accessing my app list and sending it to India..? Why isn't that a permission option? I will also be contacting Google. I am not doing anything of the kind, are you? I have asked for more information from the user, how

[codenameone-discussions] Windows UWP Timeframe?

2016-12-22 Thread mcw
Do you have a timeframe for the release of the Windows UWP version of CodenameOne? I was presently surprised how well my apps worked on Windows but I did end up with 2 showstopper bugs which don't seem to be going anywhere. Trying to display keyboard on Windows UWP device crashes app

[codenameone-discussions] Windows UWP Deployment

2016-11-17 Thread mcw
I have been following the instructions in the developer guide for the deployment of Windows UWP app. I have deployed my app on both a Windows 10 Phone and Desktop with the appropriate builds. You don't mention anything about installing a new build. I am finding that I cannot install a new

Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread mcw
y have overwritten the build.xml file which had some > modifications. Re-copy the build.xml file from github into your project's > build.xml, and go through the build steps again. > > Steve > > On Tue, Nov 15, 2016 at 10:42 AM, mcw <mwar...@readerware.com > >

Re: [codenameone-discussions] Re: Windows UWP builds failing

2016-11-15 Thread mcw
I went to that page and clicked the Clone or Download button and chose the Download Zip option. I then unzipped the file and was able to open it in Netbeans and build. >From the Windows command line I did: $ cd cn1-codescan-master $ ant -f configure.xml $ ant jar All steps completed

[codenameone-discussions] Re: Windows UWP builds failing

2016-11-14 Thread mcw
I am trying to follow the instructions you gave for rebuilding the library. I made the changes and did a clean build. The dist folder contained cn1-codescan.jar but there was no new cn1-codescan.cn1lib created. How do I install the new library? Thanks On Saturday, November 12, 2016 at 7:30:03

[codenameone-discussions] Re: Windows UWP builds failing

2016-11-12 Thread mcw
Just tried a Mobile Debug build, same problem. -- 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] Re: Windows UWP navigation

2016-11-12 Thread mcw
I vote for native look and feel versus consistency across platforms. I understand the point but I would rather my app looked like a real Windows Mobile app. I do actually add the back button on Windows but on the form level: _backCommand = new Command(Prefs.getMsg("rw.msg.nv.lst"));

[codenameone-discussions] Re: Windows UWP navigation

2016-11-11 Thread mcw
I have never been a fan of the Toolbar, it never looks quite right to me, especially on older devices. I don't think you always want the back button displayed, it should only be displayed when appropriate. On a Windows Mobile Phone with a hardware back button, you would not want it. Same with

[codenameone-discussions] WindowsUWP Status

2016-11-09 Thread mcw
Just started testing my apps with the Windows UWP port. Right now the only device I have for testing is a Windows 10 laptop. I do plan on getting a phone. The road

[codenameone-discussions] Re: iOS Build Error - plist Insertion

2016-11-08 Thread mcw
Thanks, that fixes the problem. The build works and I am able to connect. According to the docs this does not require an app store review, so hopefully it will be a smooth upgrade. On Friday, November 4, 2016 at 10:16:50 PM UTC-7, Shai Almog wrote: > > I think this should work: > > >

[codenameone-discussions] iOS Build Error - plist Insertion

2016-11-04 Thread mcw
I am trying to insert code into my plist for the Apple ATS changes. If I use the example you gave to disable it: ios.plistInject=NSAppTransportSecurityNSAllowsArbitraryLoads Everything works fine and I can make the connection. But obviously I don't want to do this. I am trying to make a local

[codenameone-discussions] Playing a sound on Android

2016-10-27 Thread mcw
I just added Media & MediaManager to play sound in my app. I did not change my android.xpermissions as there does not seem to be one related to sound. Am I missing something? When I run my app on an Android 6 device and go to play a sound I am asked if I want to allow the app to place phone

[codenameone-discussions] Using AutoCompleteTextField as ComboBox replacement

2016-10-22 Thread mcw
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans Plugin 3.5.6 Couldn't figure how to login to whatever you are using for blogs these days so figured I would post here. I cannot compile your sample code for using an AutoCompleteTextField as

[codenameone-discussions] Re: iOS OTA Install

2016-10-17 Thread mcw
Thank you. Is this new? I don't ever remember running into this before. On Sunday, October 16, 2016 at 6:20:38 PM UTC-7, Shai Almog wrote: > > I must be tired... I should have suggested that first. > > The app from the store is signed by the official Apple certificate. You > can't replace an

[codenameone-discussions] Re: iOS OTA Install

2016-10-16 Thread mcw
Not sure what you meant by parental lock. I ended up doing a factory reset of my iPod 5G and had no trouble doing an OTA install. Back to my new iPod 6G, still could not install. This is a new device so doing a factory reset probably won't help. Decided to delete my existing app, then tried

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-15 Thread mcw
On Friday, October 14, 2016 at 7:41:24 PM UTC-7, Shai Almog wrote: > > Sorry I misunderstood this as a change to the build.xml. > > The impl file is an internal part of NetBeans so it's hard to tell what > sort of effect this would have. > I'm a bit stumped with this as we changed a lot of

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-14 Thread mcw
On Wednesday, October 12, 2016 at 6:48:58 PM UTC-7, Shai Almog wrote: > > We didn't have a choice to remove it once we came out with xcode 7.x > support. It was problematic there. > > Did you when you save in Codename One Settings does it prompt you to > update the build.xml? > Did you update

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-12 Thread mcw
OK, so ${javac.classpath} is defined in nbprojects/project.properties. Mine was last updated about a month ago. I manually changed the classpath settings and I can now compile. However when I run my app in the simulator I get a class not found exception for the barcode scanner whereas the new

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-12 Thread mcw
My CodenameOne Netbeans projects date back to 2012 and I began to think that might be the problem. I created a new CodenameOne project in Netbeans, just the basic Hello World. I used CodenameOne settings to install the scanner cn1lib and refreshed. I added the imports to the

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-12 Thread mcw
On Tuesday, October 11, 2016 at 6:26:39 PM UTC-7, Shai Almog wrote: > > This was announced quite a while back (3.3 release if I remember > correctly). We need to to do it to increase iOS portability as the scanning > lib had bitcode issues. > I knew it was coming but as your implementation

[codenameone-discussions] iOS barcode scanning issue

2016-10-11 Thread mcw
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans Device I submitted a new iOS build today and found that scanning no longer works. When I click on my Scan button absolutely nothing happens. I presume you pulled the CodenameOne barcode

Re: [codenameone-discussions] iOS Certificate Wizard Error

2016-09-20 Thread mcw
That fixed it! Thank you On Tuesday, September 20, 2016 at 5:09:49 PM UTC-7, Steve Hannah wrote: > > I found an error in the logs that hint at a problem, but I haven't been > able to reproduce this with any of the apple IDs I have access to. I made > a change that might fix the issue. Please

[codenameone-discussions] iOS Certificate Wizard Error

2016-09-20 Thread mcw

[codenameone-discussions] Skin Problems

2016-09-09 Thread mcw
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans Desktop Windows 7 Simulator Plugin version 3.5.2 When I click on More Skins the simulator hangs, no window opens I have to kill the simulator. Tried turn off firewall, did not help. You

[codenameone-discussions] Re: Cannot install new build on older Android device

2016-06-20 Thread mcw
Another suggestion in the referenced article was to build with android gradle=false but that generated a build error. I built with android.grade=false and android.includeGPlayServices=false -compile: [javac] Compiling 536 source files to /tmp/build7034578418479870721xxx/AWMain/bin/classes

[codenameone-discussions] Re: Cannot install new build on older Android device

2016-06-20 Thread mcw
The referenced article says: We transitioned the Google Play Services support to be on by default as that is the common use case and makes API's like the location API far more usable. As a result 2.3.1 became the minimum OS version as imposed by Google. This device is running 2.3.5 so it

[codenameone-discussions] Re: Cannot install new build on older Android device

2016-06-19 Thread mcw
I went back through previous versions of CodenameOne version by version. When I got back to version 3.1 I was able to install the build on my Android 2.3.5 device. Unfortunately along the way I had to comment out a new CodenameOne API calls I was using, so this is not really a solution for me.

[codenameone-discussions] What happened to mapping.txt

2016-06-16 Thread mcw
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans Haven't done an Android build in a while. Submitted a release build today, the only files available for download are the release.apk and sources.zip. What happened to the Proguard log file,