[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 
my project I got a Success message.

I opened my project in Netbeans, the first thing I noticed was that the 
project icon said it was a Netbeans project not a CodenameOne project. The 
CodenameOne menu item was missing. I tried to build the project but it 
failed:

cd /rware/src/rware_mobile/cn1/rwmain; JAVA_HOME=/opt/jdk1.8.0_292 
/opt/netbeans-8.2/java/maven/bin/mvn -f 
/rware/src/rware_mobile/cn1/rwmain/pom.xml install
Scanning for projects...

Some problems were encountered while building the effective model for 
com.readerware.xware.readerware:rwmain-common:jar:1.0-SNAPSHOT
'build.plugins.plugin.version' for 
org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 300, 
column 21

It is highly recommended to fix these problems because they threaten the 
stability of your build.

For this reason, future Maven versions might no longer support building 
such malformed projects.


Reactor Build Order:

rwmain
rwmain-cn1libs
cn1-codescan
rwmain-common


Building rwmain 1.0-SNAPSHOT

Downloading: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom


Reactor Summary:

rwmain  FAILURE [0.392s]
rwmain-cn1libs  SKIPPED
cn1-codescan .. SKIPPED
rwmain-common . SKIPPED

BUILD FAILURE

Total time: 0.505s
Finished at: Mon Jul 19 12:51:30 PDT 2021
Final Memory: 7M/119M

Plugin org.apache.maven.plugins:maven-install-plugin:2.3.1 or one of its 
dependencies could not be resolved: Failed to read artifact descriptor for 
org.apache.maven.plugins:maven-install-plugin:jar:2.3.1: Could not transfer 
artifact org.apache.maven.plugins:maven-install-plugin:pom:2.3.1 from/to 
central (http://repo.maven.apache.org/maven2): Failed to transfer file: 
http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.3.1/maven-install-plugin-2.3.1.pom.
 
Return code is: 501 , ReasonPhrase:HTTPS Required. -> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read 
the following articles:
[Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

Any idea what I am doing wrong?

I also used the Codename One initializr to build the Bare-bones Java App, 
same problem in Netbeans. When I tried to run it from the command line, it 
worked.

Thanks,

Martin



-- 
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/277aaa44-049a-4725-86d0-6d62f9b9a5fdn%40googlegroups.com.


[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 correct sized image. But you need a Mac to do 
that. I though with CodenameOne you didn't need a Mac.

I am so tired of this crap, every time I submit an update to the Apple App 
Store I have to go through this. I have been working on this all day. Apple 
sucks! You really need to address this issue.
On Wednesday, September 4, 2019 at 7:36:55 PM UTC-7, Shai Almog wrote:
>
> We usually just use websites like this: 
> https://www.appstorescreenshot.com/
> There are quite a few of them and they produce better looking screenshots 
> with value added details.
>

-- 
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/d57f5531-469c-43fa-80c9-b17417c25699%40googlegroups.com.


[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 and crop a smaller screen shot. 
> Apple doesn't require an actual screen shot, just a representative image.
>
>
>

-- 
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/121d5180-df3c-43cf-8d95-74534a2674b7%40googlegroups.com.


[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 screenshots?

Thanks,

Martin

-- 
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/822fd34c-a331-40aa-8408-2da5ef78df5f%40googlegroups.com.


[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
>
> 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 working right now. 
> Tried several times.
>
> What is going on?
>

-- 
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/8b898c17-8ba5-4480-b0a3-ffc7df404298%40googlegroups.com.


[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 working right now. 
Tried several times.

What is going on?

-- 
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/8081db80-ce6f-4c24-bd95-68efdcbc7bee%40googlegroups.com.


[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 return a 
> button to which you can bind a long press listener.
>

-- 
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/7cb2bbaa-4a43-4cbf-898a-b21a2f282210%40googlegroups.com.


[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 and I 
need a component to detect the long press and display the popup dialog.

How can I do this?

Thanks,

Martin

-- 
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/74c51477-b237-48e1-b568-75f543ac5164%40googlegroups.com.


[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 when there is no scrolling. 

[image: image2.png]
Image2 shows the same area after more data is added and scrolling kicks in. 

The first component has been reduced in height.

As I mentioned I have found a good workaround for this problem, so it is 
not a big deal. I used to construct the whole form with GridBagLayout, now 
it is a BoxLayout with GridBagLayout in the boxes.

Thanks,

Martin

On Wednesday, August 21, 2019 at 7:18:11 PM UTC-7, Shai Almog wrote:
>
> I don't understand the original problem. BorderLayout can't be scrollable 
> so which part was scrollable and how did it look?
>

-- 
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/8a466306-c0fe-4374-b7ec-20c9fb6c088c%40googlegroups.com.


[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,

Martin

-- 
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/81d1ea43-a1f6-41d7-9ff1-9a0a85eea6b9%40googlegroups.com.


[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 the BorderLayout. I have set vertical scrolling to true.

Variable amounts of data are displayed. As long as all the data fits on the 
screen, it works perfectly. The problem starts when scrolling takes place. 
The panel scrolls but the first component on the panel is clipped. The 
height of the first component is reduced and it is only partially visible. 
I was expecting my complete panel to be untouched and scrollable.

I have tried the various center behavior flags on the BorderLayouit but the 
problem persists.

This is happening everywhere, in the simulator, Android and iOS devices.

Do you have any idea why the first component would be clipped when 
scrolling is active?

Thanks,

Martin

-- 
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/cf392fa2-9e40-402c-806f-d4e479c934c0%40googlegroups.com.


[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 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/e9482231-c0f9-4001-a1ed-16e1128f7760%40googlegroups.com.


[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);*

This works fine on both Android and iOS devices. On Android this is no back 
button in the title bar but I can use te device button. On iOS it displays 
the left arrow and title in the title bar.

The problem is in the simulator. None of the Android skins I have tried 
have the device buttons, i.e. MotoG, SamsungGalaxyNote5 etc. Nothing is 
displayed in the titlebar either, so I can't naviagte in the simulator.

What am I missing?

Thanks,

Martin

-- 
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/a867be3a-3c41-4279-8bad-ee967507692d%40googlegroups.com.


[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 situation and display 
a better error message?

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/531907da-47aa-4c04-b777-e63fea134a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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. 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 on a device stuck at 9.3.5.
>
> Thanks
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9829b907-9585-45f5-aaf2-8ab5b0ef7734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 on a device stuck at 9.3.5.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/87111fca-e010-4645-a2a6-d0aa1b445e0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 doesn't seem to be the way it works anymore. I eventually got an 
e-mail from Apple about 10 hours after the upload telling me that the build 
was there and I could submit it for review.

So it did make it, I just need more patience:-)

It will still appear to the user as 4.00 which is what was hoping for.

One strange thing though. I updated the version to 4.01, I just double 
checked that, it is 4.01. Yet in the Apple e-mail confirming the upload 
they referred to it as 4.1. I don't know if that is Apple or CodenameOne.

Thanks

On Sunday, September 30, 2018 at 8:23:48 PM UTC-7, Shai Almog wrote:
>
> Can you include a couple of screenshots of what you see in itunes connect? 
> During the review process you can't touch some things there.
>
> It's possible the recent changes we had to make for JDK 9-10-11 support 
> caused a slowdown. I'd like to know why it's so slow too.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/069eef1c-962f-491d-98b2-ebb9ba99942a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 different approach for 
this.

Thanks

On Friday, September 21, 2018 at 9:22:52 PM UTC-7, Shai Almog wrote:
>
> setOppositeSide applies to the radio button itself. The image is placed 
> based on the setTextPosition property inherited from label.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e9e69bc2-d3af-41ad-84bf-e0ff6a337810%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 issue on 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/d4e1f6e5-78d8-436f-90b4-fdc2ae9b84ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
.
 
It worked great.

So I tried to use the same approach with a RadioButton. It worked but the 
setOppositeSide setting was ignored. It always displays my images on the 
left.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e208b51e-e7ff-4b34-a0df-3f20a0ebe823%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 to the old HTMLComponent on 
> platforms that don't support a native web view.  But all of the platforms 
> we target now, have a native webview so that class has become redundant for 
> the most part - aside from the odd useful utility method like createDataURI.
>
> We should probably make an equivalent in either BrowserComponent or 
> another one of the CN1 utility classes.
>
>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2998f1a3-60e1-4f02-a204-a4fe100028eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/593a1131-e1b8-4439-9793-e7843efff7ed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0cdd6171-f6f9-461b-82a6-26945cb93e43%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 use.  
> That will produce the closest thing to what they are testing.


I have been working on my app with Windows Mobile Debug builds and got to 
the point where I wanted to update the app in the Windows Store. I 
submitted a Windows Store Build and installed the bundle on my phone. When 
I run it I get the app icon and a blank screen. Hitting back does nothing. 
The Windows Mobile Debug builds continue to work fine.

I have Log.bindCrashProtection(true) on but have not received any e-mails.

I have not tried submitting the app yet. Any ides why the Windows Store 
Build is failing?

Do you think it is worth submitting the app to the Windows store?

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5b8be193-fb98-4337-a0b5-3bcf393bcfcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Windows UWP app rejected

2017-03-16 Thread mcw
I was wondering what that was for :-)

I tried a Windows Store Build on my phone, it ran fine.

I first submitted this app on 3/12. Microsoft rejected the app saying that 
when they hit the Scan button they got a black screen. That was because the 
scanning cn1lib is not available for Windows. The key here though is that 
it worked, they were able to run my app and find that issue.

So I updated my app to display a dialog when Scan was hit to say this 
feature was unavailable. I resubmitted the app on 3/14. This time they 
can't run it. There were no changes in the startup logic.

Unless you have any other ideas I think I will do a new build and resubmit. 
Maybe something went wrong with the build.

Thanks

On Thursday, March 16, 2017 at 9:22:12 AM UTC-7, Steve Hannah wrote:
>
> Could be a race condition.  
> 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 use.  
> That will produce the closest thing to what they are testing.
>
> Steve
>
> On Thu, Mar 16, 2017 at 9:18 AM, mcw <mwar...@readerware.com 
> > wrote:
>
>> I installed and tested my app on a Windows Phone and everything works.
>>
>> Time to submit it to the app store. I changed the build type to Windows 
>> Store Upload and submitted the build. I uploaded the resulting APPXUPLOAD 
>> file to the Microsoft store. It was validated and accepted. I submitted the 
>> app for certification.
>>
>> The Microsoft response was:
>>
>> *App Policies:* 10.3 App Is Not Testable
>>
>> *Notes To Developer*
>>
>> Unfortunately, we can’t test your app: 
>>
>> Reason:
>> The app silently terminates at launch.
>>
>> Steps to Reproduce:
>> 1. Launch the app on Windows Phone device.
>> 2. Notice that app silently terminates at launch.
>>
>> *Tested Device Families:* Windows 10 Desktop, Windows 10 Mobile
>>
>>
>> I have tested here without a problem but I tested the debug build. Is it 
>> possible there is something wrong with the APPXUPLOAD file? Is there any 
>> way I can test the actual file I send to Microsoft here on my device?
>>
>>
>> I submitted two similar apps to the store last week and they were 
>> accepted.
>>
>>
>> Any ideas?
>>
>>
>> Thanks
>>
>>
>> -- 
>> 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 
>> .
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/374b310c-9b2f-4167-99c1-1c74d4fec02a%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/374b310c-9b2f-4167-99c1-1c74d4fec02a%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/de2dfd0f-1d61-4edc-a7e7-83d8880c23d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 have 
Log.bindCrashProtection(true); and don't get any notifications. By adding 
logging around the statement it just seems to die and never returns.

The above code runs fine on Android, iOS and the simulator

Now that I know where the issue is I can easily work around it. Is this 
code suspect or should it work?

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/90e6209c-1f50-43b0-90d6-be6fa44345eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 reset. Even after exiting my app and restarting 
the log kept growing. It looks like the log is only reset when you 
uninstall the app. My guess is that the log keeps growing until it is too 
big and the sendLog starts to fail. It looks like there is a limit on the 
size of the log sendLog will send. Even before it fails it starts 
truncating the log.

Is there someway I can reset the log in my code. Right now I am having to 
uninstall each time I test my app.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/623257f4-6415-4410-aca7-e45ff5fc084f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2017-03-09 Thread mcw
I backed out my last changes but that didn't help, still no log file from 
the device, simulator still works.

showLog() is deprecated and doesn't produce any output in the simulator or 
the device, just an empty form.

I will have to give up on this. I feel I am really close but can't release 
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 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 from the simulator but not from the device it means the 
>> account should be fine and so is the server/send process.
>> So the failure is in the build. The question is when was the last good 
>> version built and when was the bad version built?
>>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0bdb26d2-9451-481c-a26d-d37499a5c986%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 from the simulator but not from the device it means the 
> account should be fine and so is the server/send process.
> So the failure is in the build. The question is when was the last good 
> version built and when was the bad version built?
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6c5133fa-f3ae-49e9-b6c7-2085baca4984%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 a pointer to a skin designer tool.

What am I missing? There has to be an easier way. Every user needs to be 
able to create a 12.9" screenshot. You can't expect us all to design our 
own skins.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4aaf6397-935c-4822-a187-f557f5f5316e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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.
>
> 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 have a major problem. I suggest 
>> using the beta channel in Google Play to properly test the app for 
>> potential regressions and verify that nothing broke with this change.
>>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5a749413-e8b2-4bbf-a15a-da2fdf0c4f74%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 have a major problem. I suggest 
> using the beta channel in Google Play to properly test the app for 
> potential regressions and verify that nothing broke with this change.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/378467e1-19a9-4839-8389-1db799afdf22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 
used Gradle.

I have set the build property android:minSdkVersion=9. I have not set the 
build property android.targetSDKVersion

I have attached a screenshot of the warning I received. Is this expected?  
I don't know where the target SDK came from. Google is saying that the new 
version will be available on fewer devices than the old version.

It sounds like on my next build I have to set android.targetSDKVersion=23. 
Make sense?

I am holding off on the release for now.

Thanks.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e297b841-df00-4822-9bda-f493143572a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/43c42cf4-4a37-400c-9f1a-3957443978e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 Google Play, a warning pops up about READ_PHONE_STATE 
> permission. 
>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e49150a0-73fc-43de-8ea5-563df3a20a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 they determined this 
etc. I will update as I get more information.



-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0ad9e9cd-2a06-4e00-a01b-03a6ea8cec53%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 


WebBrowser crashes on UWP 


With those two bugs fixed I think I would be ready for release.

At some point I would need barcode scanning support for Windows UWP but I 
could skip that in the first release.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1ff5500d-1d22-45a6-97b1-2117f6b98c7b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 build over an existing app. i have 
to delete the existing app first and then install my new build. This means 
that I lose my data and it makes testing very time consuming.

This happens with both the phone and desktop builds.

When installing a new build on a Windows 10 phone I get:

Failure reason: Failed to start deployment. Failure text: The provided 
> package is already installed, and reinstallation of the package was 
> blocked. Check the AppXDeployment-Server event log for details. (0x80073cfb)


When installing a new build on the desktop I get:

>
> At 
> C:\Temp\fbe17252-ad37-4e0b-bdfa-233debc9e17e-1479417903578-UWPApp_3.53.1.0_Test\Add-AppDevPackage.ps1:392
>  
> char:13
> + Add-AppxPackage -Path $DeveloperPackagePath.FullName -For ...
> + ~
> + CategoryInfo  : ResourceExists: 
> (C:\Temp\fbe1725..._x86.appxbundle:String) [Add-AppxPackage], PSInvalidO
>perationException
> + FullyQualifiedErrorId : 
> DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
>
> Error: Could not install the app.
> Press Enter to continue...:
>

How can I install a new build without uninstalling the app first?

Thanks 
 

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/63ded974-f5f8-481c-8761-a2271af139ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-11-15 Thread mcw
Thank you, that seems to have been it. I deleted the folder and unzipped 
the file again and followed the instructions without opening the project 
first in Netbeans and I now have a new cn1lib.



On Tuesday, November 15, 2016 at 10:46:05 AM UTC-8, Steve Hannah wrote:
>
> Sounds like you may 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 
> > wrote:
>
>> 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 successfully but dist only contained the jar file, no 
>> cn1lib
>>
>> On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:
>>>
>>> Did you follow the instructions for building from source?
>>> https://github.com/codenameone/cn1-codescan#building-from-source
>>>
>>>
>>> -- 
>> 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 
>> .
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> 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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e0135c7a-2a01-406a-a023-834cd78ecc2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 successfully but dist only contained the jar file, no 
cn1lib

On Monday, November 14, 2016 at 6:05:17 PM UTC-8, Steve Hannah wrote:
>
> Did you follow the instructions for building from source?
> https://github.com/codenameone/cn1-codescan#building-from-source
>
>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/04cba1c5-904f-4e33-ac5c-d8660c052ec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 PM UTC-8, Shai Almog wrote:
>
> It's this issue: 
> http://stackoverflow.com/questions/40546461/codename-one-uwp-build-failed
>
> Only with the code scanner cn1lib. We need to do an overhaul now.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/301750e7-ef2a-4662-9654-3d80508a7863%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/908510ea-8bb4-4782-a1c3-89ceaca7bc9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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"));
setBackCommand(_backCommand);

This adds the back button to the title bar on iOS and Android but not on 
Windows. Initially I thought that was fine because on a Windows phone you 
have the hardware back button.Unfortunately a Windows app can run in a lot 
of different modes and the hardware back button is not always there.

I am reluctant to use the Toolbar class as that does not seem like the 
native look and feel to me.




On Saturday, November 12, 2016 at 11:17:30 AM UTC-8, Bryan Buchanan wrote:
>
> I would agree with Shai - Android and iOS use a back button, and it 
> doesn't look out of place on UWP devices - in fact I think the consistency 
> that CN1 allows across platforms is a good thing.
>
> I've not experienced any problems with back button code on UWP devices.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/076de9c1-3f0c-48b5-8416-5fca351261b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 a laptop in tablet mode. i will open a bug on the back button 
not working.

The only time you would want it is when the app is running on a laptop in 
desktop mode. Then you would want it displayed in the app like Windows 10 
Settings does.

Thanks

On Thursday, November 10, 2016 at 9:36:38 PM UTC-8, Shai Almog wrote:
>
> For consistency with back navigation I suggest using the Toolbar and 
> setBackCommand on the Toolbar itself so it will exist in all platforms.
>
> The hardware button should map that's probably an issue Steve can address.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/107a634e-b682-4d80-b293-f10b8bbf7e90%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 block I have run into is that I cannot make a network connection. 

When I try and connect to another machine on my network the app displays 
the attached image.

I have remote logging on as you suggest. The exception I receive is:


[EDT] 0:0:0,15 - Codename One revisions: 
0f2d45dad0cfa03daf0554ba1d3c00aa14cb425c
> 2105
>
> [EDT] 0:0:0,31 - Log.getUniqueDeviceId()->5147588393435136
> [EDT] 0:0:0,47 - AWMain - init
> [EDT] 0:0:0,94 - RW - Music 3.53
> [EDT] 0:0:0,94 - AWMain - start
> [EDT] 0:0:0,109 - _osVer=3.53
> [EDT] 0:0:0,109 - osMajVer=3
> [EDT] 0:0:0,187 - Database open failure: AWareDB.aw3 not found
> [Thread-1] 0:0:8,772 - Connection to Hobo...
> [Thread-1] 0:0:8,772 - SENT: PING
> [Timeout Thread] 0:0:9,819 - Exception: java.lang.Error - interrupt0 
> NotImplemented
>
>at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
>at System.Environment.get_StackTrace()
>at UWPApp.IKVMReflectionHelper.getCurrentStackTrace()
>at java.lang.ThrowableHelper.getCurrentStackTrace()
>at java.lang.Throwable..ctor(String message)
>at java.lang.Error..ctor(String message)
>at java.lang.Thread.interrupt0()
>at java.lang.Thread.interrupt()
>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>at com.codename1.io.ConnectionRequest.kill()
>at com.codename1.io.NetworkManager.1.run()
>at com.codename1.impl.CodenameOneThread.run()
>at com.codename1.impl.SilverlightImplementation.CodenameOneUWPThread.run()
>at java.lang.Thread.threadProc2()
>at java.lang.Thread.threadProc()
>at java.lang.Thread.1.Invoke()
>at com.codename1.impl.NativeThreadImpl.<>c__DisplayClass6_0.b__0()
>at System.Threading.Tasks.Task.InnerInvoke()
>at System.Threading.Tasks.Task.Execute()
>at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
>at System.Threading.ExecutionContext.Run(ExecutionContext 
> executionContext, ContextCallback callback, Object state)
>at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& 
> currentTaskSlot)
>at System.Threading.Tasks.Task.ExecuteEntry(Boolean 
> bPreventDoubleExecution)
>at 
> System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object 
> obj)
>at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>at System.Threading.ExecutionContext.Run(ExecutionContext 
> executionContext, ContextCallback callback, Object state)
>at System.Threading.ThreadHelper.ThreadStart(Object obj)
> Originating from:
> Message=interrupt0 NotImplemented
>at java.lang.Thread.interrupt0()
>at java.lang.Thread.interrupt()
>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>at com.codename1.io.ConnectionRequest.kill()
>at com.codename1.io.NetworkManager.1.run()
>at com.codename1.impl.CodenameOneThread.run()n())
>
>
Here is my code:

NetworkManager networkManager = NetworkManager.getInstance
();
ConnectionRequest connectionRequest = new ConnectionRequest
();
connectionRequest.setUrl("http://; + _host + ":" + _port + 
"/Query?REQ=" + command);
connectionRequest.setPost(false);
connectionRequest.setContentType("text/html");
connectionRequest.setPriority(ConnectionRequest.
PRIORITY_HIGH);
connectionRequest.setTimeout(1);
connectionRequest.setFailSilently(false);

MLog.debug("SENT: " + command);
networkManager.setTimeout(1);
networkManager.addToQueueAndWait(connectionRequest);

 
Is this a known issue?

In order to verify network connectivity I also did a Windows Desktop build 
which ran on the same laptop without a problem.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e63fe9aa-24df-46ef-a443-0d97b83dfa57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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:
>
>
> ios.plistInject=NSAppTransportSecurityNSAllowsArbitraryLoads
> NSAllowsLocalNetworking
>
>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/91a2dd7e-ac05-44fb-bf0a-8e8ba7ccf9a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 connection from an iOS device 
to my PC over my home network. Apple recognize this condition, I think, 
NSAllowsLocalNetworking. From the Apple article you reference:

An optional Boolean value that, when set to YES, removes App Transport 
> Security protections for connections to unqualified domains and to .local 
> domains, without disabling ATS for the rest of your app. 
>
> If you set this key’s value to YES, then App Transport Security ignores 
> the value of the NSAllowsArbitraryLoads key in iOS 10 and later and in 
> macOS 10.12 and later. This behavior supports adoption of App Transport 
> Security protections while allowing embedded browsers to continue working 
> in iOS 9 and earlier and in OS X v10.11 and earlier. (To obtain this 
> behavior, set the value of this key to YES and set the value of the 
> NSAllowsArbitraryLoads key to YES as well.)
>
> Default value is NO.
>
>> Available starting in iOS 10.0 and macOS 10.12.
>>>
>>
If I read this correctly I have to set both 
NSAllowsArbitraryLoads and NSAllowsLocalNetworking to true. And therein 
lies my problem, whatever I do results in a build failure on the plist 
step. I have no idea how to format the plist entry.

I have tried things like:

NSAppTransportSecurityNSAllowsLocalNetworkingNSAllowsArbitraryLoads

NSAppTransportSecurityNSAllowsArbitraryLoads
NSAllowsLocalNetworking

but the build always fails. I obviously have no idea what I am doing here. 
How do I format the plist entry?


Thanks


-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/51d5d84a-2611-4601-912a-4746f3862ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 calls. 

Where is that coming from?

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/33388bbd-5011-4576-9a65-5eca874bcd2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 a 
ComboBox replacement

Enter code here...

String[] characters = { "Tyrion Lannister", "Jaime Lannister", "Cersei 
Lannister", "Daenerys Targaryen",
"Jon Snow" /* cropped */
};

Form hi = new Form("Picker");
AutoCompleteTextField act = new AutoCompleteTextField(characters);
act.addActionListener(e -> ToastBar.showMessage("You picked " + act.getText(), 
FontImage.MATERIAL_INFO));
Button down = new Button();
FontImage.setMaterialIcon(down, FontImage.MATERIAL_KEYBOARD_ARROW_DOWN);
hi.add(
BorderLayout.center(act).
add(BorderLayout.EAST, down));
down.addActionListener(e -> act.showPopup());
hi.show();



I get an error on act.showPopup(). According to Netbeans there is no 
showPopup() method. I have the latest plugin and project libs are up to 
date.

Thanks


-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8de94e81-81f3-4f78-81c8-395667f1e63d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 app signed with one certificate with an app signed with 
> another
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f2aea5d2-dcc2-405c-b733-ca496bc75e25%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 the OTA install and it worked.

Back to my iPod 5G. I installed another one of my apps from the app store. 
Tried to do an OTA install, same problem, I click Install and nothing 
happens.

After playing around some more with this it seems that I cannot OTA install 
over my app store app. I must delete the app first then the OTA install 
will work. Once I have an OTA install I can update it with new builds 
without a problem. But I cannot install a development build over an app 
store install. There is no error displayed, I click on the Install button 
and nothing happens.

is this new? is it a known issue?

I can probably live with this, I can now get the OTA install to work but I 
never had this problem before.

Thanks.

On Saturday, October 15, 2016 at 7:46:23 PM UTC-7, Shai Almog wrote:
>
> I had this for a device that I let my kids play with where I turned on the 
> parental lock.
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ee04fee6-9e03-4132-ba8b-1ba27c641a4c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 things since 2012 but I 
> can't think of anything that would impact this. Are you using any cn1libs?
>

No, this is my first cn1lib
 

>
> After using refresh libs is the cn1lib expanded under the lib/impl 
> hierarchy?
>

Yes
 

> Is that hierarchy in the classpath for compilation?
>

No
 

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/67eed644-a988-441e-9589-28eff11933c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 it?
>

The only time I have ever been prompted to update build.xml is when 
updating the plugin. I always do it. I do not get prompted to update 
build.xml when installing an extension. My build.xml file was updated 
earlier this week when I updated to the latest plugin. My 
project.properties file was last updated an the end of September. 

While I was looking in the nbproject folder I noticed that build-impl.xml 
was dated from 2012. It doesn't look like it was ever updated. Will this be 
a problem?

>
> If this is a really old project then just create a new project and look at 
> the classpath in the project preferences for the new project. Make sure it 
> matches the classpath of the old project.
>

I did that, see above, I was able to fix the classpath problem but I still 
could not run the app in the simulator. I get class not found errors. I was 
hoping there was a way to force an update.  I will go back and compare the 
two and see if I can get everything working.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6bb47bce-86d0-46b4-9962-99dc767709b7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 application is able to 
find it. 

So it is not just the class path that is messed up. I backed ot my changes 
and will wait until I hear from you.

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ed3d58c0-2b75-4b03-95ca-134a8c4bcfdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 MyApplication.java and the project compiled 
without a problem.

So it looks like it is something about my projects that is causing this. 
Any ideas?


The build is failing in the pre-compile target.. I added 
CP=${javac.classpath}  to the build.xml file and built my app:

CP=lib/CLDC11.jar:lib/CodenameOne.jar:lib/CodenameOne_SRC.zip:override

Made the same change to the new project build.xml:

CP=lib/CLDC11.jar:lib/CodenameOne.jar:lib/CodenameOne_SRC.zip:override:lib/impl/cls:lib/impl/stubs

So it looks like ${javac.classpath} is the problem, where is that getting 
set?

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f0d68fff-acf6-4a90-8c90-45a210c9f7da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 still worked... 


> Is it possible you downloaded the HTML link to the file and not the 
> library binary?
> Delete that file.
>

It looks like a binary file, 2,626,544 bytes long. libs/impl starts out as 
just empty folders and after the refresh has all the code including  
lib\impl\cls\com\codename1\ext\codescan\ScanResult.class


Make sure your plugin is updated.
>

I have the latest, 3.5.5
 

> Right click the project select "Codename One -> Codename One Settings -> 
> Extensions" type scan and install.
>

I did this and Update was displayed next to the scanner library, I updated 
and refreshed but no difference.

I have three CodenameOne apps so far I had only added the scanner library 
to 1. I now added it to the other two by downloading from extensions and 
refreshing, same problem.

The compiler cannot find the includes, yet the class files are there under 
libs/impl with the correct package name. Is there some change I need to 
make to the build file
 
 

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/127fbb79-47af-49ce-bc5f-f83cf2927601%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 scanning implementation.

So I am trying to switch to the cn1lib version. I went to 
https://github.com/codenameone/cn1-codescan  downloaded 
cn1-codescan.cn1lib  and put it in my libs folder. I then selected Codename 
One->Refresh cn1lib files.

The new file does not appear under Libraries in my project, should it?

The libs/impl folder seems to contain the scanner library.

I replaced the old includes with:

import  com.codename1.ext.codescan.CodeScanner;
import  com.codename1.ext.codescan.ScanResult;

Now my project won't compile:

R:\rware_mobile\cn1\RW\src\com\readerware\xware\readerware\RWMain.java:11: 
error: package com.codename1.ext.codescan does not exist
import  com.codename1.ext.codescan.CodeScanner;
R:\rware_mobile\cn1\RW\src\com\readerware\xware\readerware\RWMain.java:12: 
error: package com.codename1.ext.codescan does not exist
import  com.codename1.ext.codescan.ScanResult;

I think I am missing something obvious here but have no idea what.

Thanks



-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6fee1671-bbb0-4d15-ab27-0d4a86164a63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 give it another shot.
>
> Steve
>
>
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c255d767-b0cd-4a9a-8be7-d81948b9169d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] iOS Certificate Wizard Error

2016-09-20 Thread mcw







When I run the iOS Certificate Wizard and enter my login info I get image1 
and image 2


When I click OK and login to the Apple web site I get image 3.

Any ideas?

Thanks




-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7db89a11-11a4-4539-8dfd-433b64ede11c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 removed the Android skin and we were told to use the Nexus skin. This 
has never really worked for me. Here is the problem the Nexus skin is huge. 
I use a laptop and have a screen resolution of 1920 x 1080. When the Nexus 
simulator window opens I can see the top third of the window. I have to 
scale the simulator to 25% to see the entire simulated screen.

You don't remember the zoom settings when starting the simulator. So I have 
to scale the window every time I test my app.

What I desperately need is an Android simulator that fits on a 1920 x 1080 
screen or a way to set the default scaling for each skin.

Putting the Android skin back would be great. It may be outdated but the 
size was perfect which makes it much easier to test Android apps in the 
simulator.

Any ideas?

Thanks,

Martin


Found the problem with the More Skins window not opening. The window seems 
to be a child of the simulator window, i.e. there is no entry for it in the 
Windows task bar. The Window opens towards the bottom of the simulator 
window. Because the Nexus skin is so big only the top third of the 
simulator window appears on my screen, the rest drops off the bottom of the 
screen. The Skins window opens modal and off the screen so the simulator is 
locked and useless. If I scale the simulator window first or move it so 
that the top of the window is off the screen and the bottom of the window 
is visible, I can access the skins window.

Still desperately need a smaller Android skin.
 

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/98477231-4710-4dae-8a67-53166581e3a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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
[javac] 
/tmp/build7034578418479870721xxx/AWMain/src/com/codename1/location/CodenameOneBackgroundLocationActivity.java:41:
 error: cannot find symbol
[javac] 
l.locationUpdated(AndroidLocationPlayServiceManager.convert(location));
[javac]   ^
[javac]   symbol:   variable AndroidLocationPlayServiceManager
[javac]   location: class CodenameOneBackgroundLocationActivity
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error

BUILD FAILED
/home/ec2-user/android-sdk/tools/ant/build.xml:716: The following error 
occurred while executing this line:
/home/ec2-user/android-sdk/tools/ant/build.xml:730: Compile failed; see the 
compiler error output for details.



On Sunday, June 19, 2016 at 8:40:32 PM UTC-7, Shai Almog wrote:
>
> Google effectively dropped support for these phones with Google play and 
> gradle. There are workarounds I highlighted here: 
> http://stackoverflow.com/a/34281264/756809
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/07161e2e-277b-4497-b286-2db20db3e454%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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 should be supported.

Also the original poster said using a min sdk version of 7 got the build to 
install. That did not work for me.

I am already excluding Google Play from the build because of an earlier 
issue

This situation does seem different.

On Sunday, June 19, 2016 at 8:40:32 PM UTC-7, Shai Almog wrote:
>
> Google effectively dropped support for these phones with Google play and 
> gradle. There are workarounds I highlighted here: 
> http://stackoverflow.com/a/34281264/756809
>

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/26ac2f31-ba2d-4321-8754-855186377c0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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.

Something changed between 3.1 and 3.2 that prevents installing an app on 
Android 2.3.5.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/27db484c-5435-46bb-8988-c69b8620fa8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[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, mapping.txt.

Thanks

-- 
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.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/629a98a9-c2c5-49ff-bc3b-8e419d38d954%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.