[codenameone-discussions] Opening New Gui Builder as described in the users guide on Page 76, generated the error message below and will not allow me to continue.

2017-06-01 Thread mark . bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA
Desktop OS
Simulator 
Device

java.lang.StringIndexOutOfBoundsException: String index out of range: -4
 at java.lang.String.substring(String.java:1931)
 at 
com.codename1.NewGuiBuilderWizardIterator.instantiate(NewGuiBuilderWizardIterator.java:95)
 at 
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:1053)
 at 
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:605)
 at 
org.openide.loaders.TemplateWizard.instantiateNewObjects(TemplateWizard.java:439)
 at 
org.openide.loaders.TemplateWizardIterImpl.instantiate(TemplateWizardIterImpl.java:248)
 at 
org.openide.loaders.TemplateWizardIteratorWrapper.instantiate(TemplateWizardIteratorWrapper.java:160)
 at 
org.openide.WizardDescriptor.callInstantiateOpen(WizardDescriptor.java:1629)
 at org.openide.WizardDescriptor.callInstantiate(WizardDescriptor.java:1570)
 at org.openide.WizardDescriptor.access$2300(WizardDescriptor.java:92)
[catch] at 
org.openide.WizardDescriptor$Listener$2$1.run(WizardDescriptor.java:2257)
 at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
 at 
org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
 at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
 at 
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)

-- 
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/532afffd-33a3-45a1-bb16-60a6a12168cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] RE: Opening New Gui Builder as described in the users guide on Page 76, generated the error message below and will not allow me to continue.

2017-06-02 Thread Mark Bolduc
Thanks.

 

Regards

Mark Bolduc

 

From: Shai Almog [mailto:shai.al...@gmail.com] 
Sent: Friday, June 02, 2017 1:43 AM
To: CodenameOne Discussions
Cc: mark.bol...@comcast.net
Subject: Re: Opening New Gui Builder as described in the users guide on Page 
76, generated the error message below and will not allow me to continue.

 

Did you create the GUI file within a package?
There is an issue with the GUI builder when working in the default package. I 
think there is a workaround in our upcoming version but generally using the 
default package is bad practice.

-- 
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/046001d2dbae%247e134430%247a39cc90%24%40comcast.net.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to play .3gpp on PC in java

2017-06-27 Thread mark . bolduc
Sorry, I did neglect to mention .MP4, However unfortunately Java 1,8 does 
not support MP4 as  far as I have found, Java 1.8 does support MP3 or WAV 
etc.
Does Codenameone have the ability to convert .MP4 to .MP3 or .WAV ?

On Sunday, June 25, 2017 at 9:56:57 AM UTC-4, shop.servic...@gmail.com 
wrote:

> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 8.2
> Desktop OS Windows 10
> Simulator 3.6
> Device Samsung 4s initially
>
> I have a Java RMI project that runs on a PS Server running Java 1.8_.0_131 
> 64bit where we store audio, video and photos.
> Using the codenameone Capture.captureAudio() class (according to 
> recommendations I have seen here) requires us to save as .3gpp file 
> extension.
>
> This all works fine to save the audio clip to my PC Server and retrieve it 
> and play back on my Galixy 4s,however I need to be able to 
> play these recordings on the Java PC. However All I have seen is that Java 
> does not support this format.
>
> Is there a codenameone method to force the Modern Mobile devices to save 
> is a more universal format?
>

-- 
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/8e438a57-1d26-46c2-ae4f-07ceb8e5a0e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: how to play .3gpp on PC in java

2017-06-28 Thread mark . bolduc
Just to provide a little more of what my environment is:
My product is hosted in a cloud on an Windows 10 Server. our Mobile client 
needs to take videos and audio recordings, send them to the Windows server 
where there stored as bytes in a postgres database. All PC java clients as 
well as mobile clients need to be able to download these files and play on 
the local device.
Unfortunately java 1.8 does not support MP4. So what I and asking is a 
method to convert these files to a format that is supported on Desktop java 
1.8

Sorry to be long winded.
Any help would be appreciated.

BTW: Codename one is a great product and you folks have done a great job! I 
love the approach to abstract the end devices from developers.
I think you will do very well. Congrats!

On Wednesday, June 28, 2017 at 9:59:02 AM UTC-4, shop.servic...@gmail.com 
wrote:

> The real question is Does Codenameone have the ability to convert .MP4 to 
> .MP3 or .WAV
> The assumption and some testing suggests that (At least on Android) that 
> The resulting audio format is MP4
>
> I'm looking to generate a MP3 or WAV file from Android VIA Codenameone so 
> that my PC clients running Java 1,8 can play
>
> Thoughts?
>
> On Wednesday, June 28, 2017 at 12:11:07 AM UTC-4, Shai Almog wrote:
>
>> Sorry I was assuming you were referring to video.
>> MP3 and WAV will work great.
>>
>

-- 
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/d8a82d6d-649d-449c-a7bb-5d46de97b249%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Get current IP address of device

2017-07-01 Thread mark . bolduc
I have run com.codename1.io.Socket.getHostOrIP() on Galaxy 4 and getting  
(localhost 127.0.0.1) back
I need the IP address assigned to my wifi connection like 192.168.1.123

Please advise.

On Tuesday, February 17, 2015 at 2:36:01 PM UTC-5, t...@pixelsedge.ca wrote:

> Awesome! Thats exactly what I needed. Thanks :)
>
> On Tuesday, February 17, 2015 at 10:41:12 AM UTC-5, t...@pixelsedge.ca 
> wrote:
>>
>> I have the need to capture the users IP address and pass that along as 
>> part of a call. What I used was
>>
>> import java.net.InetAddress;
>>
>>
>> text += ":" + InetAddress.getLocalHost().getHostAddress();
>>
>>
>> but that doesn't seem to be supported by the platform... Can someone 
>> suggest one that will 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/c5d32a5f-3546-46c9-8dbf-4491ab6c4898%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] RE: Get current IP address of device

2017-07-09 Thread Mark Bolduc
Thanks.

 

Done.

 

Regards

Mark Bolduc

 

From: Shai Almog [mailto:shai.al...@gmail.com] 
Sent: Sunday, July 09, 2017 12:46 AM
To: CodenameOne Discussions
Cc: t...@pixelsedge.ca; mark.bol...@comcast.net; 
shop.service.assist...@gmail.com
Subject: Re: Get current IP address of device

 

I guess that means the fix failed in which case we'll need to re-examine it. 
Please file an issue in git.

-- 
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/01b801d2f8c9%24e23d9f90%24a6b8deb0%24%40comcast.net.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-07 Thread Mark Bolduc
Have loaded my theme component and seems unable to add the constant 
tabsGridBool

Please see attached. When I click OK, the dialog closes and the constant is 
not added to the list (empty)

Thoughts?

On Saturday, September 7, 2019 at 12:44:57 AM UTC-4, Shai Almog wrote:

> Try setting the theme constant tabsGridBool to false.
>

-- 
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/c332a524-bebe-4336-95ad-f0ba486af271%40googlegroups.com.


[codenameone-discussions] how to scroll to selected TAB

2019-09-10 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, IOS, Android

I have 7 tabs as TOP orientation, 

in this example, TAB 0 is selected, (and TABS 5,6,7) are not visible.
I execute setSelectedIndex(7, true) and The Container associated with TAB 7 
is now visible, However the TABS did not scroll to the TAB position 7.
How do I force TAB 7 to be visible ( scrollComponentToVisible(TABS) does 
not work

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/dea79d8e-20c0-406b-862a-0096f937aa1e%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-10 Thread Mark Bolduc
I understand, however in doing this, clicking OK never adds it to the list,

I click Add (See Attached AddTabsGridBool_1.JPG), it opens the dialog 
AddTabsGridBool.JPG, I set Constant to tabsGridBool and toggle the Value 
checkbox until it is set to false. as seen in attached AddTabsGridBool.JPG. 
I click on OK and expect to see this key added to the constants table seen 
in AddTabsGridBool_1.JPG, however it is empty.

Thoughts?



On Saturday, September 7, 2019 at 11:22:38 PM UTC-4, Shai Almog wrote:
>
> It's a boolean which means you need to check/uncheck the box to set it to 
> false.
>

-- 
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/20d7337c-f34d-4064-85ce-014a2291c8d1%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-11 Thread Mark Bolduc
Yes, I wanted to only affect the one image.

I see, it appears the Constants apply to  all style images.

Is this correct?

If so, whats the thinking behind this?

Regards.

On Tuesday, September 10, 2019 at 10:39:54 PM UTC-4, Shai Almog wrote:
>
> You typed mpiTabMeta in the search, could that search have hidden it?
> I only see one image here.
>

-- 
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/564825b1-39af-4c77-80e2-4c397240634c%40googlegroups.com.


[codenameone-discussions] Re: how to scroll to selected TAB

2019-09-11 Thread Mark Bolduc
When I build a stand alone model, it behaves as expected.
I have a fully enstanciated TABs component, as a result of user wanting to 
access the Tab index 7, I execute on the EDT setSelectedIndex(7, true);
So I have no clue why the Tabs fail to scroll to the selected component.

Thoughts?

On Tuesday, September 10, 2019 at 1:51:42 PM UTC-4, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC, IOS, Android
>
> I have 7 tabs as TOP orientation, 
>
> in this example, TAB 0 is selected, (and TABS 5,6,7) are not visible.
> I execute setSelectedIndex(7, true) and The Container associated with TAB 
> 7 is now visible, However the TABS did not scroll to the TAB position 7.
> How do I force TAB 7 to be visible ( scrollComponentToVisible(TABS) does 
> not work
>
> Regards.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5866df1c-86a4-42a0-990a-537b2984a6dd%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-12 Thread Mark Bolduc
Initially I filtered on th the  "mpiTabMetalSelected" Theme image See 
AddTabsGridBool_12.JPG
Then I clicked the "Constants" Tab where I attempted to add tabsGridBool to 
the filtered theme image., However when click OK, New Constant does not 
appear in the list. See AddTabsGridBool_13.JPG & AddTabsGridBool_14.JPG

Now if I remove the filter, all the theme images contain this constant. See 
AddTabsGridBool_15.JPG

So how do I set this constant for specific theme images?

Thoughts?

On Wednesday, September 11, 2019 at 11:05:49 PM UTC-4, Shai Almog wrote:

> These look like you changed the entire theme and not just that constant. 
> What did you do exactly? 

-- 
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/42cf1887-c672-4a97-b154-e94b6078fb77%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-13 Thread Mark Bolduc
Seems when I add this constant, it is applied to all images.

I deleted the constant, saved my theme. closed the Codename One Designer 
Theses Dialog
Restarted, w/o selecting any image and clicking on constants, I see the key 
tabsGridBool set.

Perhaps I am not undersytanding how to manipulate this.

In the Theme Images list, I assume I would select an image (Now 
"mpiTabMetalSelected" highlighted Unselected Tab) and click on Constants, 
then manage the keys in the Constants list.

All approaches have apparently made global changes to all images.

Thoughts?

On Thursday, September 12, 2019 at 10:37:46 PM UTC-4, Shai Almog wrote:

> That's just a bug in this old UI. Click the theme again and select the 
> constants tab it should have the right value.
>

-- 
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/8f047171-ef9a-45c1-b635-ab394c655e7e%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-13 Thread Mark Bolduc
On another note, do you think I am potentially building a UI that is too 
demanding for mobile devices?
Should I be thinking much less complex?
I like to give usere as much of a feature set that the they have in the 
Swing App.
I am acustom to Swing apps for decades.

Thoughts?

On Friday, September 13, 2019 at 12:10:16 PM UTC-4, Mark Bolduc wrote:

> Seems when I add this constant, it is applied to all images.
>
> I deleted the constant, saved my theme. closed the Codename One Designer 
> Theses Dialog
> Restarted, w/o selecting any image and clicking on constants, I see the 
> key tabsGridBool set.
>
> Perhaps I am not undersytanding how to manipulate this.
>
> In the Theme Images list, I assume I would select an image (Now 
> "mpiTabMetalSelected" highlighted Unselected Tab) and click on Constants, 
> then manage the keys in the Constants list.
>
> All approaches have apparently made global changes to all images.
>
> Thoughts?
>
> On Thursday, September 12, 2019 at 10:37:46 PM UTC-4, Shai Almog wrote:
>
>> That's just a bug in this old UI. Click the theme again and select the 
>> constants tab it should have the right value.
>>
>

-- 
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/fd1a409b-b14b-4be3-b06d-6ca7e12267e7%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-14 Thread Mark Bolduc
Thanks.
Sorry to take up so much of your time.

Do you predict in a couple of years the hardware will better support more 
complex UI's?

For me it makes sense as our product is primarily used on PC's using Swing 
and so to provide functionality in the mobile devices that are farmiluar to 
them makes it more attractive as the users do not have to learn 2 different 
apps.

The PC app is extensivly used in the office while things like greeting a 
customer or performing an extensive multipoint inspection in the shop or 
while driving a customer home and taking photos in real-time in important.

Seems like moving from form to form, looses the information from the 
previous form that I may be relevent to this form.

Then when I go back, I have to reload all the data.


Thanks for all your help.

Regards



On Saturday, September 14, 2019 at 12:44:43 AM UTC-4, Shai Almog wrote:

> They don't actually change the images, it's just a rendering bug. If you 
> click the themes again you'll see all the constants back to normal.
>
> I find that we need to take complex swing/desktop UI's and break them down 
> to more forms when moving from desktop to mobile.
>

-- 
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/96f42e71-99b1-4a36-b877-d9eb3cdfb9da%40googlegroups.com.


[codenameone-discussions] Re: How to limit the spacing between 2 or more TABS (Left Orientation)

2019-09-16 Thread Mark Bolduc
Thanks.

On Saturday, September 14, 2019 at 11:32:05 PM UTC-4, Shai Almog wrote:
>
> Hi,
> no. 
> The physical limitation is the screen size/finger size and those won't 
> change ;-)
>
> Even on Tablets which resolved some of the screen size limits the screen 
> is still smaller and the UI elements need to be "finger friendly". So you 
> should stick in more details but not nearly as much as we used to on the 
> desktop. Frankly, it's better in terms of UX and software development. We 
> work with a lot of forms but each one is smaller and simpler, that makes 
> them easier to explain, understand and develop.
>
> We worked with several companies in your position who tried moving a 
> desktop app UI "as is". The results varied. I suggest talking with the 
> users about this and letting them feel the UI. Try it on the target devices 
> early on to see how it feels even without the functionality. When you start 
> using it on a physical device you'll know if you're on the right direction.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4528ed3b-b83c-44df-bdc9-3a6f14945248%40googlegroups.com.


[codenameone-discussions] Adding SpanButton to Swipeable container Issue

2019-10-26 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 11.0
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, IOS, Android

I have 2 SpanButton components in a Swipeable container, however the swipe 
action is rarley caught.
However if I substitute SpanButton with Button, the operation behaves as 
expected.

Here is a repeatable test case.

Form hi = new Form("MpiImagesSwipeableContainer", new 
BoxLayout(BoxLayout.Y_AXIS));
Container ctr = new Container(new BoxLayout(BoxLayout.Y_AXIS));
ctr.setScrollableY(true);
for (int a = 0; a < 5; a++) {
Container TestCont = new Container(new 
com.codename1.ui.table.TableLayout(1, 2), "SchedEditContainerThickBorder");
TextArea SrvJobText = new TextArea("A-" + (a + 1) + " 
Service");
SrvJobText.setHint("Touch To Open Service Jobs Menu");
SrvJobText.setEditable(true);
TextArea SrvJobText1 = new TextArea("B-" + (a + 1) + " 
Service");
SrvJobText1.setHint("Touch To Open Service Jobs Menu");
SrvJobText1.setEditable(true);
buildConstrantsGeneric(TestCont, SrvJobText, 0, 0, 50);
buildConstrantsGeneric(TestCont, SrvJobText1, 0, 1, 50);
SrvJobText.setUIID("MpServiceField");
SpanButton menuButton = new SpanButton("Delete");
menuButton.setName("Button");
menuButton.setUIID("A3VacTableTotalHrsCellRed");
SpanButton editButton = new SpanButton("Edit");
editButton.setName("Button");
editButton.setUIID("A3VacTableTotalHrsCell");
SwipeableContainer MpiImagesSwipeableContainer = new 
SwipeableContainer(menuButton, editButton, TestCont);

MpiImagesSwipeableContainer.setUIID("SwipeableContainerRoundedBorder");
menuButton.addActionListener((evt) -> {
MpiImagesSwipeableContainer.close();
});
menuButton.addFocusListener(new FocusListener() {
@Override
public void focusGained(Component cmp) {
System.out.println("menuButton: focusGained");
}
@Override
public void focusLost(Component cmp) {
System.out.println("menuButton: focusLost");
MpiImagesSwipeableContainer.close();
}
});
editButton.addActionListener((evt) -> {
MpiImagesSwipeableContainer.close();
});
ctr.add(MpiImagesSwipeableContainer);
MpiImagesSwipeableContainer.addSwipeOpenListener(e -> {
menuButton.requestFocus();
});
}
hi.add(ctr);
hi.show();

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3fccbf27-e336-47a0-adde-d654a19c6f4a%40googlegroups.com.


[codenameone-discussions] .ipa downloadable files (What is the intended use for this file ?)

2019-10-26 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 11.0
Desktop OS Windows 10 Pro
Simulator Latest
Device IOS, Android

Revisiting this, 

What is the intended usage for this file?

I would like to make this file downloadable from my app and the user can 
elect to perform an upgrade VIA the app calling an external Display method 
that will emulate the indiginous installer.

How does this work?

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e91d37bc-4f08-444e-8ba5-426a5ac40989%40googlegroups.com.


[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue

2019-10-27 Thread Mark Bolduc
SpanButton will provide Text Wrapping.

Any alternative Button options that would allow this?

Regards

On Saturday, October 26, 2019 at 11:06:37 PM UTC-4, Shai Almog wrote:

> Can you file an issue on that?
> Why are you using a span button instead of Button here?
> Essentially lead components are a bit trickier in some edge cases such as 
> this as their event propagation is a bit more nuanced. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8fe314ea-0b96-4277-aaba-0fc379049fb0%40googlegroups.com.


[codenameone-discussions] Re: Adding SpanButton to Swipeable container Issue

2019-11-02 Thread Mark Bolduc
My Customers will be using several words that span.

Regards

On Sunday, October 27, 2019 at 11:01:21 PM UTC-4, Shai Almog wrote:
>
> Yes but under a swipeable container for words as short as "edit"?
> There's no decent alternative that will work which is why I asked for an 
> issue to track this.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/92a5c781-d222-4176-8201-1079a6b8bbd8%40googlegroups.com.


[codenameone-discussions] Rotating a Dialog (Portrait to Landscape) shown with max screen problem (dlg.show(0, 0, 0, 0);)

2019-12-14 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device PC (Simulator),  IOS 13+, Android 7+

Have a Dialog set to occupy 100% of screen.
When rotating orientation, Dialog does not fill full screen.
See Pic RotateDialog_1.JPG (Initially opened Dialog. Full Screen)
See Pic RotateDialog_2.JPG (Rotate Landscape, Dialog using 20% of screen)
See Pic RotateDialog_3.JPG (Rotate Portrait, Dialog using 20% of screen)

Code:
Dialog dlg = new Dialog("A3-Tech Customer Search");
try {
int rows = 3;
dlg.setLayout(new BorderLayout());
Container ContainerDataBaseContainer = new Container(new 
com.codename1.ui.table.TableLayout(rows, 1));
ContainerDataBaseContainer.setScrollableY(true);
for (int a = 0; a < rows; a++) {
buildConstrantsGeneric(ContainerDataBaseContainer, new 
Label("Label Row [" + (a + 1) + "]"), a, 0, 100);
}
Container OptionsContainer = new Container(new 
com.codename1.ui.table.TableLayout(1, 3));
Button CmdCancel = new Button("Cancel", "Button");
CmdCancel.addActionListener(e -> {
dlg.dispose();
System.exit(0);
});
Button ExecSearch = new Button("Execute Search", "Button");
ExecSearch.addActionListener(e -> {
dlg.dispose();
System.exit(0);
});
Button OpenRos = new Button("Load Open Invoices", "Button");
OpenRos.addActionListener(e -> {
dlg.dispose();
System.exit(0);
});
buildConstrantsGeneric(OptionsContainer, OpenRos, 0, 0, 33);
buildConstrantsGeneric(OptionsContainer, ExecSearch, 0, 1, 
33);
buildConstrantsGeneric(OptionsContainer, CmdCancel, 0, 2, 
34);
dlg.add(BorderLayout.CENTER, ContainerDataBaseContainer);
dlg.add(BorderLayout.SOUTH, OptionsContainer);
} catch (Exception e) {
e.printStackTrace();
}
dlg.show(0, 0, 0, 0);

public static TableLayout.Constraint buildConstrantsGeneric(Container 
CTR, Component comp, int row, int col, int widthPercent) {
TableLayout.Constraint ConSt = ((TableLayout) 
CTR.getLayout()).createConstraint(row, col);
ConSt.setWidthPercentage(widthPercent);
CTR.addComponent(ConSt, comp);
return ConSt;
}

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/43a21ddd-36e7-4dd8-ae33-a4af162390bb%40googlegroups.com.


[codenameone-discussions] Re: Rotating a Dialog (Portrait to Landscape) shown with max screen problem (dlg.show(0, 0, 0, 0);)

2019-12-15 Thread Mark Bolduc
Thanks.

Regards

On Saturday, December 14, 2019 at 11:21:16 AM UTC-5, Mark Bolduc wrote:

> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC (Simulator),  IOS 13+, Android 7+
>
> Have a Dialog set to occupy 100% of screen.
> When rotating orientation, Dialog does not fill full screen.
> See Pic RotateDialog_1.JPG (Initially opened Dialog. Full Screen)
> See Pic RotateDialog_2.JPG (Rotate Landscape, Dialog using 20% of screen)
> See Pic RotateDialog_3.JPG (Rotate Portrait, Dialog using 20% of screen)
>
> Code:
> Dialog dlg = new Dialog("A3-Tech Customer Search");
> try {
> int rows = 3;
> dlg.setLayout(new BorderLayout());
> Container ContainerDataBaseContainer = new Container(new 
> com.codename1.ui.table.TableLayout(rows, 1));
> ContainerDataBaseContainer.setScrollableY(true);
> for (int a = 0; a < rows; a++) {
> buildConstrantsGeneric(ContainerDataBaseContainer, new 
> Label("Label Row [" + (a + 1) + "]"), a, 0, 100);
> }
> Container OptionsContainer = new Container(new 
> com.codename1.ui.table.TableLayout(1, 3));
> Button CmdCancel = new Button("Cancel", "Button");
> CmdCancel.addActionListener(e -> {
> dlg.dispose();
> System.exit(0);
> });
> Button ExecSearch = new Button("Execute Search", "Button");
> ExecSearch.addActionListener(e -> {
> dlg.dispose();
> System.exit(0);
> });
> Button OpenRos = new Button("Load Open Invoices", 
> "Button");
> OpenRos.addActionListener(e -> {
> dlg.dispose();
> System.exit(0);
> });
> buildConstrantsGeneric(OptionsContainer, OpenRos, 0, 0, 
> 33);
> buildConstrantsGeneric(OptionsContainer, ExecSearch, 0, 1, 
> 33);
> buildConstrantsGeneric(OptionsContainer, CmdCancel, 0, 2, 
> 34);
> dlg.add(BorderLayout.CENTER, ContainerDataBaseContainer);
> dlg.add(BorderLayout.SOUTH, OptionsContainer);
> } catch (Exception e) {
> e.printStackTrace();
> }
> dlg.show(0, 0, 0, 0);
>
> public static TableLayout.Constraint buildConstrantsGeneric(Container 
> CTR, Component comp, int row, int col, int widthPercent) {
> TableLayout.Constraint ConSt = ((TableLayout) 
> CTR.getLayout()).createConstraint(row, col);
> ConSt.setWidthPercentage(widthPercent);
> CTR.addComponent(ConSt, comp);
> return ConSt;
> }
>
> Thoughts?
>
> Regards
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/bf4f2615-e4cc-4cd0-9f00-bf79790e8a33%40googlegroups.com.


[codenameone-discussions] How to get carret position from TextArea

2019-12-16 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 10
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, IOS, Android

I have a populated TextArea that contains  formatted phone numbers 
(1-888-555-)

when the user touches a phone number (longPointerPress) I want to parse the 
textArea to find the "phone number"
In order for me to do that I need to know the index on the touch or pressed 
point.

the index I refer to is as in Swing an index refers to the carret position.

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/46de35ec-4d21-4f87-a055-e9a2cc4b67c0%40googlegroups.com.


[codenameone-discussions] Re: How to get carret position from TextArea

2019-12-17 Thread Mark Bolduc
No

txt.setEditable(false);
txt.setEnabled(true);
txt.getStyle().setAlignment(LEFT);
txt.setSingleLineTextArea(false);

User chooses Edit button to change the txt.setEditable(true);

The behaviour I am looking for is when the TextArea is not editable.

I would think the behaviour I am looking would be common, other than a 
series of Buttons, is there another Object that can contain Text and 
provide me an index into the text when touched?

Thoughts?

Regards


On Monday, December 16, 2019 at 9:44:30 PM UTC-5, Shai Almog wrote:

> Is this text area editable?
> If it's editable then that's a problem. A text area is a very special 
> component that transitions between native and lightweight editing. As such 
> you would be relying on native behavior and long press is already 
> associated with functionality in native text editing.
>
> If not then why use a text area?
> Why not have multiple buttons in flow layout? 
> If you want to give users the ability to edit you can just dynamically 
> replace one of them with a text field. You can style the whole thing to 
> look like one big text area if you want to or you can create a unique UX of 
> your own. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9756dfa7-71b0-41dd-b797-84d23c9aa2af%40googlegroups.com.


[codenameone-discussions] How to add x at far right of textField that when pressed will delete all text

2019-12-27 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

Please see attached pic (*XinTextFieldDelete.JPG*)

I understand I can add a simple button at end of TextField to satisfy the 
feature I am looking for.

Wondering if you have an alternative to this approach?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a55dfedb-0552-4171-8574-942ed7d9f208%40googlegroups.com.


[codenameone-discussions] Re: How to add x at far right of textField that when pressed will delete all text

2019-12-28 Thread Mark Bolduc
Is the function of the red x to clear the text in the field?
If so it does not work (at lease on PC and IOS)

I want a simple ability to clear a field with a touch of the red x at right 
side of field VS having to tap the x in the keyboard for every character.

Thoughts?

Regards

On Friday, December 27, 2019 at 11:40:50 PM UTC-5, Shai Almog wrote:
>
> You can use validation which does that automatically based on constraints: 
> https://www.codenameone.com/javadoc/
>
> It can also adapt based on input styles/OS see: 
> https://www.codenameone.com/blog/pixel-perfect-text-input-part-2.html
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/70abbe67-31c0-4a16-afb0-48d39f3fc1e6%40googlegroups.com.


[codenameone-discussions] On Clean and Build where a form is a guibuilder form delets a single line after code changes

2020-01-01 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Gui Builder Version 6.4

When clean and build on a gui form where changes to code were made, 
Codenameone rebuilds the .java class and
adds additional comments (//) here 
: //-- 
DON'T EDIT BELOW THIS LINE!!!
VS //-- DON'T EDIT BELOW THIS LINE!!!

and (the issue) delets the line below :  //-- DON'T EDIT ABOVE THIS LINE!!! 
resulting in : //-- DON'T EDIT ABOVE THIS LINE!!!protected void 
showOtherForm(Resources res) {
new A3HomePage(res, inc).showBack();
}
where the method definition is now part of a commented line.

The immediate fix is to add the new line.
protected void showOtherForm(Resources res) {
new A3HomePage(res, inc).showBack();
}

Thoughts?
Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/258ec7d0-3c48-48f5-a37e-f01f465299c5%40googlegroups.com.


[codenameone-discussions] Display.getInstance().execute(file) on PC in Simulator does not work

2020-01-10 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device PC In Simulator

Note this did work before (poss several months ago)

Display.getInstance().execute(pdf file) on PC in Simulator does not open 
files. (pdf,lpg, etc.)

This example is PDF.

File path:  A3MpiPhotosDir + fileName = [
file://home/A3-TECH/MpiPhotos/SuggestedInventory_2020_01_10_11_57_33.pdf]
Display.getInstance().execute(A3MpiPhotosDir + fileName, e -> {
MyLog.p("viewImageFromDisk: image length = " + image.length 
+ " fileName = [" + fileName + "]");
});

Works as expected on devices.

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f39dedf4-7a0b-4c33-a4ef-7f886fd60c85%40googlegroups.com.


[codenameone-discussions] Failed to generate Gui Source with System JAXB

2020-01-10 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Gui Builder

Added a Container using Gui Builder then got following error on compile.

Attempting to generate GUI sources for 
C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui
 
with System JAXB
Failed to generate Gui Source with System JAXB.  Will attempt using bundled 
JAXB.
C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: 
java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
com/sun/xml/bind/v2/model/annotation/AnnotationReader
 at 
com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294)
 at 
com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246)
 at 
com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216)
 at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
 at jdk.internal.reflect.GeneratedMethodAccessor2230.invoke(Unknown Source)
 at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.base/java.lang.reflect.Method.invoke(Method.java:567)
 at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
 at org.apache.tools.ant.Task.perform(Task.java:350)
 at org.apache.tools.ant.Target.execute(Target.java:449)
 at org.apache.tools.ant.Target.performTasks(Target.java:470)
 at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
 at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
 at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
 at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
 at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
 at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9850a204-0a03-4269-87d3-20b52024ed48%40googlegroups.com.


[codenameone-discussions] Gui Builder adds events at end of line in source .java code

2020-01-10 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Gui Builder

Gui Builder adds events at end of line in source .java code

I have a class (class UpdateTitleClockA3HomePage extends Thread) defined at 
bottom of code

The Gui Builder appends the file with the event methods after clicking on 
event in gui builder.

This causes a build failure.

The fix is simple, move the new methods within the public class associated 
with the Gui Build.

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/20cd79e1-2eaa-49ea-bf37-af56bf947dde%40googlegroups.com.


[codenameone-discussions] Re: Display.getInstance().execute(file) on PC in Simulator does not work

2020-01-11 Thread Mark Bolduc
Understood.

Thanks.

On Friday, January 10, 2020 at 1:37:49 PM UTC-5, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device PC In Simulator
>
> Note this did work before (poss several months ago)
>
> Display.getInstance().execute(pdf file) on PC in Simulator does not open 
> files. (pdf,lpg, etc.)
>
> This example is PDF.
>
> File path:  A3MpiPhotosDir + fileName = [
> file://home/A3-TECH/MpiPhotos/SuggestedInventory_2020_01_10_11_57_33.pdf]
> Display.getInstance().execute(A3MpiPhotosDir + fileName, e -> {
> MyLog.p("viewImageFromDisk: image length = " + 
> image.length + " fileName = [" + fileName + "]");
> });
>
> Works as expected on devices.
>
> Thoughts?
>
> Regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f86e7eda-b1bb-405c-8aee-42fe001a971a%40googlegroups.com.


[codenameone-discussions] How to dispose a Form when spawned by dialog

2020-01-14 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device ALl

I have a case where I spawn a Form from a dialog (list of stuff)
When the Form finishes creating an appointment, I want to be returned to 
the Dialog.

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e5dc03d6-07d8-419c-8184-6f653dc4dbfd%40googlegroups.com.


[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-17 Thread Mark Bolduc
Thanks, Dialogs work great for my application as (for example) editing 
inventory in a form can spawn multiple dialogs.
This works especially well as when the Dialog is disposed, I am returned to 
the Form w/o having the overhead of reloading that form.

briefly, what is the the programaticall concern of using a Dialog for more 
than just a confirmation mechinism?

Thanks in advance.

Regards.

On Tuesday, January 14, 2020 at 5:23:43 PM UTC-5, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device ALl
>
> I have a case where I spawn a Form from a dialog (list of stuff)
> When the Form finishes creating an appointment, I want to be returned to 
> the Dialog.
>
> Thoughts?
>
> Regards.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7461dc7c-f72f-4c3d-9ed6-8e557be5a873%40googlegroups.com.


[codenameone-discussions] Re: How to dispose a Form when spawned by dialog

2020-01-19 Thread Mark Bolduc
Thanks.

I am comfortable witha modal Dialog being more than a confirmation 
mechinism.

For now, I will stay away from the interactive dialog for the very reasons 
stated in the  document you provided.

Thanks for the referance.

Regards.

On Saturday, January 18, 2020 at 12:46:06 AM UTC-5, Shai Almog wrote:
>
> See https://www.codenameone.com/blog/picking-dialog-type.html
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/842fe5d0-aa90-42ad-9617-cb5b27aaa76f%40googlegroups.com.


[codenameone-discussions] Picker minute intervals

2020-01-21 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEANetbeans 11
Desktop OSWindows 10 Pro
Simulator latest
Device IOS, Android

Looking to see if there are any changes to functionality of Time Picker 
where the minute intervals are set at "5" ?
I did review another post of 2014.

We have a time sheet form that users have to enter exact times which the 
minute intervals would need to be 1 minute.

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/29885b58-ded9-4df7-9dec-6769d07431e7%40googlegroups.com.


[codenameone-discussions] Re: Picker minute intervals

2020-01-22 Thread Mark Bolduc
Thanks.



On Tuesday, January 21, 2020 at 9:42:46 PM UTC-5, Shai Almog wrote:

> Did you submit an RFE for that functionality?
> A lot has changed in that class but without feature requests things get 
> lost.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f01a32a2-6a66-4aac-ac5d-da8f42070e6d%40googlegroups.com.


[codenameone-discussions] IOS and Android builds that are not published Via Apple or Google.

2020-01-25 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device IOS and Android

I was wondering if it is possible to build IOS and Android apps that are 
not public.

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/fae68ee8-e6c6-453d-a3c1-8923e8b54a37%40googlegroups.com.


[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.

2020-01-26 Thread Mark Bolduc
Thanks.

How can I install a Google APK (Codenameone creates "A3Tech-release.apk" 
that I download to my device)

Can I start a browser session with "A3Tech-release.apk" as an argument?

Thoughts?

Regards.

On Saturday, January 25, 2020 at 8:58:42 PM UTC-5, Shai Almog wrote:
>
> None of our apps are public until you publish them.
> Google APKs can be kept and installed privately.
> Apple apps can be installed via private beta or via an enterprise 
> certificate. We support all those distribution channels.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/51490453-a1f2-4f36-a63c-f1097b4cee4c%40googlegroups.com.


[codenameone-discussions] Re: IOS and Android builds that are not published Via Apple or Google.

2020-01-27 Thread Mark Bolduc
Thanks.

Is it possible to this on IOS ?

On Sunday, January 26, 2020 at 9:26:50 PM UTC-5, Shai Almog wrote:
>
> Yes, the user would need to download then select the file to install. He 
> would need to enable the "Install from outside sources" flag in the device 
> to do that.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/50037a5e-17f5-4a68-bef8-60dc62daae7d%40googlegroups.com.


[codenameone-discussions] Re: Picker minute intervals

2020-02-01 Thread Mark Bolduc
FYI

I was responding to a 2014 post where the setting of minute stepping was 
not available.

Currently the method "setMinuteStep(int X);" is valid and works.

Sorry for the false alarm.

Regards

On Wednesday, January 22, 2020 at 11:49:29 AM UTC-5, Mark Bolduc wrote:
>
> Thanks.
>
>
>
> On Tuesday, January 21, 2020 at 9:42:46 PM UTC-5, Shai Almog wrote:
>
>> Did you submit an RFE for that functionality?
>> A lot has changed in that class but without feature requests things get 
>> lost.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8132be52-716a-41fa-a044-bc190757f0ea%40googlegroups.com.


[codenameone-discussions] How to set max table row width when Table is scrollable X

2020-02-03 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device PC, Android, IOS

I have a com.codename1.ui.table.Table (AInventoryTable) of 13 columns that 
are AInventoryTable.setScrollableX(true);
Unfortunately Each column is much wider than necessary and therefore 
requires more user scrolling than I like.

Please see 2 attachments (PartTable_1.JPG is left view of row and 
PartTable_2.JPG 
is the right portion)
Each column constraint has been set 
to con.setWidthPercentage(percentages[column]);
However the total scrollable width is too great.

Is there a method to adjust this so the colums are not so padded with empty 
space?

Regards


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/5c15e184-35ef-49f1-ae85-c5ef012b5775%40googlegroups.com.


[codenameone-discussions] Re: How to set max table row width when Table is scrollable X

2020-02-04 Thread Mark Bolduc
Thanks for the hint.

@Override
protected Component createCell(Object value, final int row, 
final int column, boolean editable) {
if (row == -1) {
Component headercell = super.createCell(value, row, 
column, editable);
headercell = new TextArea((String) value);
((TextArea)headercell).setColumns(5);
((TextArea)headercell).setRows(1);
headercell.setEnabled(false);
headercell.setFlatten(false);
headercell.setUIID("CustComplaintsTableHeader");
return headercell;
}
I use TextArea as my header cell, so I can do multi line text, explicitly 
setting the colums solved the problem.

Thatns again

Regards.

On Monday, February 3, 2020 at 9:07:36 PM UTC-5, Shai Almog wrote:
>
> That's odd. Do you override createCell or the constraint method?
> Any other changes in the class?
> I'm assuming these cells are editable.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/315ad9d2-0237-4d99-8f00-d747853a6fcf%40googlegroups.com.


[codenameone-discussions] is it possible to configure multiple email addresses that can receive OTA builds

2020-02-06 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Build Server

Is there a way to send build links to multiple email addresses from the 
build Server When I click on e-mail Link ?

Regards


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/17438601-f846-40e6-a84f-262f589d5d74%40googlegroups.com.


[codenameone-discussions] Re: is it possible to configure multiple email addresses that can receive OTA builds

2020-02-07 Thread Mark Bolduc
Thanks.

On Thursday, February 6, 2020 at 9:29:00 PM UTC-5, Shai Almog wrote:
>
> No. An account is individual in Codename One. You would need to manually 
> forward it to testers etc.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4c4967f9-f7ac-4be3-96fb-cc5160189998%40googlegroups.com.


[codenameone-discussions] best practice relating to using InfiniteProgress while executing socket IO from a modal Dialog

2020-02-07 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Simulator, Android, IOS

I created a RunInfiniteDialog thread that executes:
InfiniteProgress ip  = new InfiniteProgress();
InfiniteProcDialog = ip.showInfiniteBlocking();

Have 2 methods to call:
public void showInfiniteDialog() {
showInfiniteDialog = true;
}
public void disposeInfiniteDialog() {
disposeInfiniteDialog = true;
}

This works properly (In that I get the desired blurred dialog with spinning 
object) except when I  execute a save which in turn executes socket IO

Note: This process that executes the save is a Dialog it's self.

Wondering is there another process I can use to show progress is occurring 
to the user?
Note To my knowledge, ToastBar does not work within a modal Dialog.

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e1882b67-1ce4-4995-aa65-0351b50af18a%40googlegroups.com.


[codenameone-discussions] Re: best practice relating to using InfiniteProgress while executing socket IO from a modal Dialog

2020-02-08 Thread Mark Bolduc
Sorry, The Dialog seems to be blocked and does not appear in some cases 
where my App does some socket IO tasks that block.

I see this is too ambiguous, I will try to provide more clarity.

Regards.

On Friday, February 7, 2020 at 7:20:01 PM UTC-5, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator Latest
> Device Simulator, Android, IOS
>
> I created a RunInfiniteDialog thread that executes:
> InfiniteProgress ip  = new InfiniteProgress();
> InfiniteProcDialog = ip.showInfiniteBlocking();
>
> Have 2 methods to call:
> public void showInfiniteDialog() {
> showInfiniteDialog = true;
> }
> public void disposeInfiniteDialog() {
> disposeInfiniteDialog = true;
> }
>
> This works properly (In that I get the desired blurred dialog with 
> spinning object) except when I  execute a save which in turn executes 
> socket IO
>
> Note: This process that executes the save is a Dialog it's self.
>
> Wondering is there another process I can use to show progress is occurring 
> to the user?
> Note To my knowledge, ToastBar does not work within a modal Dialog.
>
> Thoughts?
>
> Regards.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/256e7375-d59f-4c30-a4b5-b0c6ae935d61%40googlegroups.com.


[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-09 Thread Mark Bolduc
So , 1 year later, In Android 9

Can An App run an external process / app without the OS sending a suspend 
to my app?

Is there a codenameone PDF reader library?

Regards


On Sunday, February 17, 2019 at 8:12:23 AM UTC-5, Mark Bolduc wrote:
>
> Thanks.
>
> On Saturday, February 16, 2019 at 11:26:50 AM UTC-5, 
> shop.servic...@gmail.com wrote:
>>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA NetBeans 8.2
>> Desktop OS Windows 10 Pro
>> Simulator Latest
>> Device Android 7 & 8.1
>>
>> My app uses Display.getInstance().execute(file system path to PDF doc)
>>
>> On Android, my app receives a suspend signal from the OS until I close 
>> the PDF reader app.
>> Once the PDF reader app is closed, my app receives a start()
>>
>> This does not occur on IOS, 
>>
>> Curious, Is there a method that my app can envoke another process and not 
>> suspend my app?
>>
>> Thoughts?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/eacf1ad1-183c-44e4-95ba-f6713a6af84f%40googlegroups.com.


[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-11 Thread Mark Bolduc
Note that this is only on Android, IOS does not suspend my app when my app 
spawns another process like reading a PDF document.

Regards.

On Sunday, February 9, 2020 at 8:52:22 PM UTC-5, Shai Almog wrote:
>
> No. When you exit the app the process is always suspended that's how 
> mobile programming works.
> Notice the PDF reader logic works perfectly you just receive a 
> suspend/resume for the current activity.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/99d7d01e-6434-4718-be6a-a0b39f61edcb%40googlegroups.com.


[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-12 Thread Mark Bolduc
Fair enough.

thanks.

Do you think this behaviour will go away when these devices have more 
processing power?

Regards.

On Tuesday, February 11, 2020 at 9:10:26 PM UTC-5, Shai Almog wrote:
>
> iOS would do that for some processes. Android is more consistent in that 
> sense. You should code defensively regardless.
> FYI Android does that when you just rotate the device... We hide a lot of 
> these nuances from the developers but there are some things that aren't 
> abstractable. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f733b766-bf0d-42ad-a689-4ba5c20faf4b%40googlegroups.com.


[codenameone-discussions] Re: Display.getInstance().execute on android causes OS to suspend my app

2020-02-12 Thread Mark Bolduc


On Wednesday, February 12, 2020 at 7:55:46 AM UTC-5, Mark Bolduc wrote:
>
> Fair enough.
>
> thanks.
>
> Do you think this behaviour will go away when these devices have more 
> processing power?
>
> Regards.
>
> On Tuesday, February 11, 2020 at 9:10:26 PM UTC-5, Shai Almog wrote:
>>
>> iOS would do that for some processes. Android is more consistent in that 
>> sense. You should code defensively regardless.
>> FYI Android does that when you just rotate the device... We hide a lot of 
>> these nuances from the developers but there are some things that aren't 
>> abstractable. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1845a2aa-1866-4072-89e3-698c2bde701f%40googlegroups.com.


[codenameone-discussions] addMaterialCommandToRightBar does not respond in Simulator as of Today (Sat Mar 14th 2020)

2020-03-14 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Simulator

As of today, (Sat Mar 14th 2020), addMaterialCommandToRightBar and other 
Back Buttons are no longer responding to actions in the Simulator.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/51000ec0-2d27-4a2e-9597-df5682ead365%40googlegroups.com.


[codenameone-discussions] Re: addMaterialCommandToRightBar does not respond in Simulator as of Today (Sat Mar 14th 2020)

2020-03-15 Thread Mark Bolduc
Thanks, All set.

On Saturday, March 14, 2020 at 9:58:07 PM UTC-4, Shai Almog wrote:
>
> This sounds like the problematic update we had in Friday morning which we 
> fixed later on. Try updating the libraries through Codename One Settings.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/24e9eab2-11b3-4b3d-b3a0-0239213ea14f%40googlegroups.com.


[codenameone-discussions] java.util.Calendar not setting correct date using set(field,value)

2020-03-20 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeand 11
Desktop OS Windows 10 Pro
Simulator Latest
Device Simulator, possibly devices

I have a method that passed date and time integers to Calendar to sed a 
Date object.

Curious, I diod not see this before unless it just broke.
int year = 2020;
int month = 3;
int dayinmonth = 20;
int hour = 1700;
int min = 20;
int sec = 0;
java.util.Date dte1 = 
getDateObjectFrom_MM_DD_HH_MM_SS(year, month, dayinmonth, hour, min, 
sec);
System.out.println("dte1 = [" + dte1 + "]");

   Printed =  (dte1 = [Sat May 30 08:20:00 EDT 2020])

public java.util.Date getDateObjectFrom_MM_DD_HH_MM_SS(int year, 
int month, int day, int hour, int min, int sec) {
Calendar cal = Calendar.getInstance();
try {
cal.set(Calendar.YEAR, year);
cal.set(Calendar.MONTH, month-1);
cal.set(Calendar.DAY_OF_MONTH, day);
cal.set(Calendar.HOUR, hour);
cal.set(Calendar.MINUTE, min);
cal.set(Calendar.SECOND, sec);
} catch (Exception e) {
e.printStackTrace();
}
return (cal.getTime()); // Returns a java.util.Date object
}

Thoughts?

Regards




-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/267dd3df-cffa-4faf-9b85-18afb3430487%40googlegroups.com.


[codenameone-discussions] Re: java.util.Calendar not setting correct date using set(field,value)

2020-03-21 Thread Mark Bolduc
Sorry, I can't believe I did that.

Have a great week end.

On Saturday, March 21, 2020 at 1:30:01 AM UTC-4, Shai Almog wrote:
>
> You set the hour to 1700 instead of 17.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a7a142de-f9e6-4202-b81f-a02bff2107b7%40googlegroups.com.


[codenameone-discussions] is there an codename1 equivilent to java PrintFormat("%02d",value)

2020-03-21 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device All

Is there an codename1 class that can take a String format (%02d) with value 
of (int 6) and return a String "06" ?

Regards.


-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/be54675e-dfdb-42cd-b695-bec389ebaebc%40googlegroups.com.


[codenameone-discussions] Rendered RadioButton not showing a circle (0) as expected

2020-03-24 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEANetbeans 11
Desktop OS Windows 10 Pro
Simulator  Latest
Device PC, IOS, Android

RadioButton Daily = new RadioButton("Daily");
Daily.setOppositeSide(false);

Shows a Check Mark when selected.
Expecting a Radio Button rendering.

Please see attached "CodenameOne_Designer_RadioButton.JPG" as how the radio 
button is rendered in the Codenameone Designer.

However on my PC and devices, we get undesirable rendering.
Please see attached "PC and Device_RadioButton_rendering.JPG"

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f5a04108-678e-48bb-995a-b6485025a454%40googlegroups.com.


[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-25 Thread Mark Bolduc
It is not clear which constants I need to set to change the radio button 
showing a check mark to a round radio button.

I don't understand why this is not the default behaviour.

Can you please advise which constants need to be set and the values for 
them?

Attached "CurrentThemeConstantsSet_03-25-2020.JPG" are the current 
constants set.

Regards

On Tuesday, March 24, 2020 at 11:10:54 PM UTC-4, Shai Almog wrote:
>
> That's from your theme file. Check the constants tab of the designer to 
> see that.
> https://www.codenameone.com/manual/advanced-theming.html
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/9f52aacd-0639-4bee-9e9b-1e49ba6297cc%40googlegroups.com.


[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-26 Thread Mark Bolduc
Thanks.

((DefaultLookAndFeel) 
UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radio_button_on_icon,
 
radio_button_off_icon);
Solved my issue, however the "DefaultLookAndFeel" class is deprecated, 
other than using theme constants, is there another class that will 
perform the setRadioButtonImages found in "DefaultLookAndFeel" ?

Regards

On Wednesday, March 25, 2020 at 11:20:39 PM UTC-4, Shai Almog wrote:
>
> Sorry about that. On iOS there's no radio button (in the OS) so we use 
> check marks to signify radio buttons. 
> If you have images of the radio button you can use the theme constants:
> radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, 
> radioUnselectedImage,  radioSelectedDisFocusImage, radioSelectedFocusImage, 
> radioUnselectedDisFocusImage and  radioUnselectedFocusImage
>
> These are listed here: 
> https://www.codenameone.com/manual/advanced-theming.html
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c232aa10-2f6c-499c-b676-c15c8827872c%40googlegroups.com.


[codenameone-discussions] Re: Rendered RadioButton not showing a circle (0) as expected

2020-03-26 Thread Mark Bolduc
FYI, Using the theme constant does the job.

For others that are looking for a universal radio button look and feel, I 
have attached the 2 (on/off) images that provide simple on and off 
rendering.

"RadioButtonThemeConstants.JPG" shows the constants set in the designer.
"radio-button-on-icon.png" & "radio-button-off-icon.png"

Thanks.

On Thursday, March 26, 2020 at 9:23:40 AM UTC-4, Mark Bolduc wrote:
>
> Thanks.
>
> ((DefaultLookAndFeel) 
> UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radio_button_on_icon,
>  
> radio_button_off_icon);
> Solved my issue, however the "DefaultLookAndFeel" class is deprecated, 
> other than using theme constants, is there another class that will 
> perform the setRadioButtonImages found in "DefaultLookAndFeel" ?
>
> Regards
>
> On Wednesday, March 25, 2020 at 11:20:39 PM UTC-4, Shai Almog wrote:
>>
>> Sorry about that. On iOS there's no radio button (in the OS) so we use 
>> check marks to signify radio buttons. 
>> If you have images of the radio button you can use the theme constants:
>> radioSelectedDisImage, radioSelectedImage, radioUnselectedDisImage, 
>> radioUnselectedImage,  radioSelectedDisFocusImage, radioSelectedFocusImage, 
>> radioUnselectedDisFocusImage and  radioUnselectedFocusImage
>>
>> These are listed here: 
>> https://www.codenameone.com/manual/advanced-theming.html
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a35b5f65-c3a4-4131-8783-ae992dca3f9f%40googlegroups.com.


[codenameone-discussions] build web app for ios requires an Apple OS and vcode

2020-04-04 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator latest
Device IOS

Can't you publish this app on the app store?

The Android app is very nice and easy.

The process to make ths work on IOS is not within our current capabilities.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/74481f9a-d006-401c-bd31-ca8009209b5e%40googlegroups.com.


[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode

2020-04-05 Thread Mark Bolduc
Understood, however in the process of submitting the app to the app store I 
have to upload the build using tools that require install OSX Mavericks ISO 
as a virtual machine, then running altool, transporter, xcode etc.

My question is do you have an app the installs and behaves the same as on 
the Android system?

My app is ready for submission on apple store once I can upload the builds.

Regards


On Saturday, April 4, 2020 at 1:36:44 PM UTC-4, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11
> Desktop OS Windows 10 Pro
> Simulator latest
> Device IOS
>
> Can't you publish this app on the app store?
>
> The Android app is very nice and easy.
>
> The process to make ths work on IOS is not within our current capabilities.
>
> Regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1fdae2e1-741d-4497-a918-2ab359b9%40googlegroups.com.


[codenameone-discussions] Re: build web app for ios requires an Apple OS and vcode

2020-04-05 Thread Mark Bolduc
What a headache it is working with Apple.

After 3 hour of trying to run MAC OSX on a VM I have concluded Apple only 
wants you to buy their hardware.

Is ther any reason why you can't publish your Android app on IOS?

Is the an Apple constraint that you must use TestFlight?

Regards.

On Sunday, April 5, 2020 at 9:17:08 AM UTC-4, Mark Bolduc wrote:
>
> Understood, however in the process of submitting the app to the app store 
> I have to upload the build using tools that require install OSX Mavericks 
> ISO as a virtual machine, then running altool, transporter, xcode etc.
>
> My question is do you have an app the installs and behaves the same as on 
> the Android system?
>
> My app is ready for submission on apple store once I can upload the builds.
>
> Regards
>
>
> On Saturday, April 4, 2020 at 1:36:44 PM UTC-4, Mark Bolduc wrote:
>>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 11
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device IOS
>>
>> Can't you publish this app on the app store?
>>
>> The Android app is very nice and easy.
>>
>> The process to make ths work on IOS is not within our current 
>> capabilities.
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a61f4430-0973-41c0-a556-4eef81afbc0f%40googlegroups.com.


[codenameone-discussions] Deprecated Class DefaultLookAndFeel

2020-05-08 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator Latest
Device ALL

Hope all your families are safe from COVID-19 threat!

We are using ((DefaultLookAndFeel) 
UIManager.getInstance().getLookAndFeel()).setRadioButtonImages(radioFullImage, 
radioEmptyImage, radioFullImage, radioEmptyImage);
to set the theme behaviour on Radio Buttons.

Doc on this class indicates:
Deprecated.  
this class is still crucial for some features in Codename One. The 
deprecation is here to indicate our desire to reduce usage/reliance on this 
class.

Is there an alternate/prefered method to use?

Regards

Stay Safe!

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/948303fc-bc8f-4891-a070-b2ba6d0baa9d%40googlegroups.com.


[codenameone-discussions] Re: Deprecated Class DefaultLookAndFeel

2020-05-09 Thread Mark Bolduc
Thanks.

On Saturday, May 9, 2020 at 2:58:24 AM UTC-4, Shai Almog wrote:
>
> Hi,
> at this time this feature is only available via DefaultLookAndFeel. It 
> isn't likely to move though so you can rely on it being here for a while.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/21297b62-be0d-4707-a21a-6471b3985e10%40googlegroups.com.


[codenameone-discussions] how to create a unique GUID

2020-05-10 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11.3
Desktop OS Windows 10 Pro
Simulator Latest
Device ALL

How can I create a unique client identifier (GUID)
Log.getUniqueDeviceId() is deprecated and returns -1;

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/d05170ce-671f-4481-abe8-aa165b3405fe%40googlegroups.com.


[codenameone-discussions] Re: how to create a unique GUID

2020-05-10 Thread Mark Bolduc
Thanks, 

This is used to identify each client to the Server.

Regards.

On Sunday, May 10, 2020 at 10:08:55 PM UTC-4, Shai Almog wrote:
>
> The original UUID code used a server side to get a truly unique id but it 
> would be different for each install (which might be OK). Technically, this 
> is a much harder problem than one would immediately expect due to privacy 
> laws. So I suggest backtracking and thinking why you need that unique id. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e83755bd-684b-4bd1-a000-995fca29ff43%40googlegroups.com.


[codenameone-discussions] Text to speech

2020-05-28 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11
Desktop OS Windows 10 Pro
Simulator latest
Device Android / IOS latest

Are there any plans to develop a text to speech cn1 lib?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4f427396-3f32-4d0b-9f01-b71a400ed377%40googlegroups.com.


[codenameone-discussions] Re: Text to speech

2020-05-29 Thread Mark Bolduc
Thanks, I am not familiar with this demo, 

Does this mean you folks will add this to the CN1 lib?

We prefer not to write any native code.

Regards.

On Friday, May 29, 2020 at 2:44:58 AM UTC-4, Shai Almog wrote:
>
> This should be pretty trivial as the native interfaces required are 
> already a part of the Dr. Sbaitso demo. It's mostly a matter of wrapping 
> them up in a cn1lib.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/a8f121d6-3cb8-4261-be21-53e1f7120828%40googlegroups.com.


[codenameone-discussions] Re: Text to speech

2020-05-31 Thread Mark Bolduc
Thanks.

On Saturday, May 30, 2020 at 12:55:41 AM UTC-4, Shai Almog wrote:
>
> Our task list is pretty full. Notice you don't need to write any native 
> code to do that. Just copy and paste.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/95ba55ec-5080-4eb8-a8bd-a3af500018e8%40googlegroups.com.


[codenameone-discussions] generate IOS certificate multiple projects issue

2020-06-02 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA  Netbeans 11
Desktop OS Windows 10 Pro
Simulator latest
Device IOS

I have added 2 new codenameone projects and have build issues related to 
certificate generation. (Total of 3 now)

I have a paid/active apple developers account with Dev/Dist certificates 
expiring in 2021

It seems each project uses a unique certificate, however I have only one 
Itunes/Apple certificate for (Dev/Release)

If I overwrite a certificate from the Codenameone Cert Wizzard, that 
project builds correctly, however the 2 other projects no longer build due 
to mismatching certificates.

How do i assign valid Appple Development certificates to all projects using 
the codenameone cert wizzard?

Note: If i manually remove all files from project->iosCerts directory and 
re-run codenameone cert wizzard, app detects a previous certificate 
(presumably from apple) and asks to use it or re-generate, If i use 
existing from apple, then all projects build/run corectly.
Question: Shouln't the Certificate Wizzard handel this?

Thoughts?

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3dd941a0-43b6-4c41-8349-658fff0c1260%40googlegroups.com.


[codenameone-discussions] Re: generate IOS certificate multiple projects issue

2020-06-03 Thread Mark Bolduc
Thanks guys, 

I would think that the wizard would offer to use a previous certificate (as 
seen when the project has no certs at beginning) otherwise the wizzard uses 
the stored cert in the project (two choices 1) Generate New or 2) Use 
Existing from project),  Could be 3rd option to use Previously Stored 
Certificate from Apple.


On Tuesday, June 2, 2020 at 10:54:53 PM UTC-4, James Hastings wrote:
>
> I’ve had success by just copying the certificate from the project I 
> created it in to all the other projects. Then, you run the wizard on the 
> other projects and don’t generate new ones. Not too bad if you only do it 
> once a year. I’m not sure this is the easiest way.

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7c4e62fa-7d53-4dc0-9a31-60bee915dc95%40googlegroups.com.


[codenameone-discussions] New as of friday's build (Picker Component throws null pointer exception on pressed event)

2020-06-27 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 11.3
Desktop OSWindows 10
Simulator Latest
Device PC,IOS,Android

here is the reproducible code. Click on date to get exception:
Below is the stack trace.

TextModeLayout tl = new TextModeLayout(3, 2);
Form f = new Form("Pixel Perfect", tl);

TextComponent title = new 
TextComponent().label("Title").columns(5).rows(4).text("Text");
TextComponent price = new TextComponent().label("Price");
TextComponent location = new TextComponent().label("Location");
PickerComponent date = PickerComponent.createDateTime(new 
Date()).label("Date");
TextComponent description = new 
TextComponent().label("Description").multiline(true);

Validator val = new Validator();
val.addConstraint(title, new LengthConstraint(2));
val.addConstraint(price, new NumericConstraint(true));

f.add(tl.createConstraint().widthPercentage(60), title);
f.add(tl.createConstraint().widthPercentage(40), date);
f.add(location);
f.add(price);
f.add(tl.createConstraint().horizontalSpan(2), description);
f.setEditOnShow(title.getField());

f.show();

Stack Trace:
java.lang.NullPointerException
[EDT] 0:0:0,48 - Exception: java.lang.NullPointerException - null
at 
com.codename1.components.InteractionDialog.padOrientation(InteractionDialog.java:857)
at 
com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:793)
at 
com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:654)
at 
com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:629)
at com.codename1.ui.spinner.Picker$1$6.run(Picker.java:812)
at 
com.codename1.ui.AnimationManager.flushAnimation(AnimationManager.java:220)
at 
com.codename1.ui.spinner.Picker$1.showInteractionDialog(Picker.java:808)
at com.codename1.ui.spinner.Picker$1.actionPerformed(Picker.java:303)
at 
com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:349)
at com.codename1.ui.Button.fireActionEvent(Button.java:679)
at com.codename1.ui.Button.released(Button.java:720)
at com.codename1.ui.Button.pointerReleased(Button.java:827)
at com.codename1.ui.LeadUtil.pointerReleased(LeadUtil.java:153)
at com.codename1.ui.Form.pointerReleased(Form.java:3685)
at com.codename1.ui.Component.pointerReleased(Component.java:4731)
at com.codename1.ui.Display.handleEvent(Display.java:2348)
at com.codename1.ui.Display.edtLoopImpl(Display.java:1240)
at com.codename1.ui.Display.mainEDTLoop(Display.java:1158)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)

Regards:

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0e1b842f-302b-4d3b-a396-b8714a106b8ao%40googlegroups.com.


[codenameone-discussions] Re: New as of friday's build (Picker Component throws null pointer exception on pressed event)

2020-06-28 Thread Mark Bolduc
What!
You mean you are Human?
LOL

Regards

On Saturday, June 27, 2020 at 5:40:40 PM UTC-4, Mark Bolduc wrote:
>
> If you are experiencing an issue please mention the full platform your 
> issue applies to:
> IDE: NetBeans/Eclipse/IDEA Netbeans 11.3
> Desktop OSWindows 10
> Simulator Latest
> Device PC,IOS,Android
>
> here is the reproducible code. Click on date to get exception:
> Below is the stack trace.
>
> TextModeLayout tl = new TextModeLayout(3, 2);
> Form f = new Form("Pixel Perfect", tl);
>
> TextComponent title = new 
> TextComponent().label("Title").columns(5).rows(4).text("Text");
> TextComponent price = new TextComponent().label("Price");
> TextComponent location = new TextComponent().label("Location");
> PickerComponent date = PickerComponent.createDateTime(new 
> Date()).label("Date");
> TextComponent description = new 
> TextComponent().label("Description").multiline(true);
>
> Validator val = new Validator();
> val.addConstraint(title, new LengthConstraint(2));
> val.addConstraint(price, new NumericConstraint(true));
>
> f.add(tl.createConstraint().widthPercentage(60), title);
> f.add(tl.createConstraint().widthPercentage(40), date);
> f.add(location);
> f.add(price);
> f.add(tl.createConstraint().horizontalSpan(2), description);
> f.setEditOnShow(title.getField());
>
> f.show();
>
> Stack Trace:
> java.lang.NullPointerException
> [EDT] 0:0:0,48 - Exception: java.lang.NullPointerException - null
> at 
> com.codename1.components.InteractionDialog.padOrientation(InteractionDialog.java:857)
> at 
> com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:793)
> at 
> com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:654)
> at 
> com.codename1.components.InteractionDialog.showPopupDialog(InteractionDialog.java:629)
> at com.codename1.ui.spinner.Picker$1$6.run(Picker.java:812)
> at 
> com.codename1.ui.AnimationManager.flushAnimation(AnimationManager.java:220)
> at 
> com.codename1.ui.spinner.Picker$1.showInteractionDialog(Picker.java:808)
> at com.codename1.ui.spinner.Picker$1.actionPerformed(Picker.java:303)
> at 
> com.codename1.ui.util.EventDispatcher.fireActionEvent(EventDispatcher.java:349)
> at com.codename1.ui.Button.fireActionEvent(Button.java:679)
> at com.codename1.ui.Button.released(Button.java:720)
> at com.codename1.ui.Button.pointerReleased(Button.java:827)
> at com.codename1.ui.LeadUtil.pointerReleased(LeadUtil.java:153)
> at com.codename1.ui.Form.pointerReleased(Form.java:3685)
> at com.codename1.ui.Component.pointerReleased(Component.java:4731)
> at com.codename1.ui.Display.handleEvent(Display.java:2348)
> at com.codename1.ui.Display.edtLoopImpl(Display.java:1240)
> at com.codename1.ui.Display.mainEDTLoop(Display.java:1158)
> at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
> at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
>
> Regards:
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8198fed0-8033-42b7-9873-96bf3664ec42o%40googlegroups.com.


[codenameone-discussions] Re: interpret IOS native logs

2020-07-02 Thread Mark Bolduc
Thanks.

I firmly believe in try/catch ubiquity.

Stay safe!

On Wednesday, July 1, 2020 at 11:27:47 PM UTC-4, Shai Almog wrote:
>
> Hi,
> there seems to be a bug there. We'll commit a fix for the next update.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/e3ca05a2-d6e0-47aa-8bfe-b9a909c83ed4o%40googlegroups.com.


[codenameone-discussions] How to remove "next" button in favor of "Done" on IOS Virtual keyboard

2020-07-08 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA NetBeans 11.3
Desktop OS Windows 10 Pro
Simulator Latest
Device IOS

Trying to change the "Next" Button to "Done" on TextFields (ANY, DECIMAL & 
NUMERIC)

It was suggested on the github forum to set 
"Display.getInstance().setProperty("iosHideToolbar", 
"true"); "

However tried suggested options w/o success

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/baeb5e26-d677-4ec8-9af7-c2b11a57537fo%40googlegroups.com.


[codenameone-discussions] Re: How to remove "next" button in favor of "Done" on IOS Virtual keyboard

2020-07-09 Thread Mark Bolduc
All fields  I do not want the Next, rather Done.

On Wednesday, July 8, 2020 at 10:28:19 PM UTC-4, Shai Almog wrote:
>
> Hide toolbar will just hide the toolbar entirely. So you won't have a done 
> button or anything. 
> Are you trying to do this for the last field or for all fields?
>
> On Wednesday, July 8, 2020 at 11:40:27 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA NetBeans 11.3
>> Desktop OS Windows 10 Pro
>> Simulator Latest
>> Device IOS
>>
>> Trying to change the "Next" Button to "Done" on TextFields (ANY, DECIMAL 
>> & NUMERIC)
>>
>> It was suggested on the github forum to set 
>> "Display.getInstance().setProperty("iosHideToolbar", 
>> "true"); "
>>
>> However tried suggested options w/o success
>>
>> Thoughts?
>>
>> Regards
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/7d2f1558-de25-402e-b2c7-5cda469eecf3o%40googlegroups.com.


[codenameone-discussions] Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB on NetBeans 12 JDK 9

2020-07-22 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 12
Desktop OS Windows 10 Pro
Simulator Latest
Device NetBeans 12 Builds

Installing Netbeans 12 with JDK 9 is causing the following build error on 
first attempt, then when it fails, the secont buils request succeeds.

I know that you have acknowledged this and have indicated using JDK 8, 
however I would ask when do tou suspect this will be addressed?

Regards.

Attempting to generate GUI sources for 
C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui
 
with System JAXB
Failed to generate Gui Source with System JAXB.  Will attempt using bundled 
JAXB.
C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: 
java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
com/sun/xml/bind/v2/model/annotation/AnnotationReader
at 
com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294)
at 
com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246)
at 
com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at jdk.internal.reflect.GeneratedMethodAccessor265.invoke(Unknown 
Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at 
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
at 
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at 
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
at 
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
at 
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
Caused by: java.lang.NoClassDefFoundError: 
com/sun/xml/bind/v2/model/annotation/AnnotationReader
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
at 
org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128)
at 
org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1296)
at 
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1350)
at 
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313)
at 
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3172)
at java.base/java.lang.Class.getMethodsRecursive(Class.java:3313)
at java.base/java.lang.Class.getMethod0(Class.java:3299)
at java.base/java.lang.Class.getMethod(Class.java:2112)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:258)
at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:250)
at javax.xml.bind.ContextFinder.find(ContextFinder.java:447)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652)
at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
at 
com.codename1.build.client.GenerateGuiSources.generateGuiSource_(GenerateGuiSources.java:301)
at 
com.codename1.build.client.GenerateGuiSources.access$000(GenerateGuiSources.java:32)
at 
com.codename1.build.client.GenerateGuiSources$1.run(GenerateGuiSources.java:272)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.lang.ClassNotFoundException: 
com.sun.xml.bind.v2.model.annotation.AnnotationReader
at 
org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1362)
at 
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313)
at 
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 22 more

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/f833ef6d-fafe-4301-b6cd-b534247f7f10o%40googlegroups.com.


[codenameone-discussions] How to install an .apk or .ipa file stored on my device?

2020-07-22 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 12 JDK 9
Desktop OS Windows 10 Pro
Simulator latest
Device IOS & Android

Your Codenameone build app downloads and installs apps from the codenameone 
build server.

I have downloaded the .ipa and .apk installers from the build server and 
stored them in a downloads directory for one of my apps.
I want to from the app execute the installation same as the codenameone 
build app does or store the installers in a folder that can be reached from 
the desktop and manually run.

Can you please share with me how to accomplish this?

Best Regards

Stay Safe!

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/20b4bd54-2d12-4840-bc74-4eed5d8e6773o%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-23 Thread Mark Bolduc
Thanks, I have downloaded the .apk file to the mobile device and did call:

Display.getInstance().execute(ApplicationBinariesDownloadPath + fileName, e 
-> {
System.out.println("saveAndInstallA3MobileApp Complete");
});

Can you provide the code syntax to install the .apk or .ipa file that is 
stored on the mobile device?

BTW: I have no intention of publishing my apps at this stage.

Also, Google made life a lot more complex by requiring a privacy policy be 
hosted if you access things like camera etc.

On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote:
>
> We don't download the files. We launch an external download process using 
> execute(url). We also don't point at the IPA but rather at a manifest.
> Regardless Apple won't approve your app if you do that. Which is why 
> Codename One Build only works as a web app for iOS which IMO is pretty 
> stupid.
>
> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com wrote:
>
>> It sound like you've stored them on the downloads directory of your PC.  
>> You need to download them
>> directly onto your mobile devices, which ought to trigger the 
>> installation.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1676fdc8-87eb-479a-b990-204471b0c1a7o%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-23 Thread Mark Bolduc
You mentioned pointing the execute process to a manifest, how does this 
work?

Curious, when an .apk file exists in the devices download directory, from a 
file browser, we can click on it and it installs.

On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote:
>
> Thanks, I have downloaded the .apk file to the mobile device and did call:
>
> Display.getInstance().execute(ApplicationBinariesDownloadPath + fileName, 
> e -> {
> System.out.println("saveAndInstallA3MobileApp Complete");
> });
>
> Can you provide the code syntax to install the .apk or .ipa file that is 
> stored on the mobile device?
>
> BTW: I have no intention of publishing my apps at this stage.
>
> Also, Google made life a lot more complex by requiring a privacy policy be 
> hosted if you access things like camera etc.
>
> On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote:
>>
>> We don't download the files. We launch an external download process using 
>> execute(url). We also don't point at the IPA but rather at a manifest.
>> Regardless Apple won't approve your app if you do that. Which is why 
>> Codename One Build only works as a web app for iOS which IMO is pretty 
>> stupid.
>>
>> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com wrote:
>>
>>> It sound like you've stored them on the downloads directory of your PC.  
>>> You need to download them
>>> directly onto your mobile devices, which ought to trigger the 
>>> installation.
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1336e918-a2b7-42c3-bb6b-bd2f7efde170o%40googlegroups.com.


[codenameone-discussions] Re: Failed to generate Gui Source with System JAXB. Will attempt using bundled JAXB on NetBeans 12 JDK 9

2020-07-23 Thread Mark Bolduc
JDK 11 will work fine.

Thanks

Regards.

On Wednesday, July 22, 2020 at 10:50:37 PM UTC-4, Shai Almog wrote:
>
> Hi,
> we only support JDK 11 or 8 at this time. Try using ZuluFX 11 and NetBeans 
> 11. 
> We hope to fix this and remove the final dependencies on JDK 8 in the next 
> few months.
>
> On Wednesday, July 22, 2020 at 5:02:38 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>> Desktop OS Windows 10 Pro
>> Simulator Latest
>> Device NetBeans 12 Builds
>>
>> Installing Netbeans 12 with JDK 9 is causing the following build error on 
>> first attempt, then when it fails, the secont buils request succeeds.
>>
>> I know that you have acknowledged this and have indicated using JDK 8, 
>> however I would ask when do tou suspect this will be addressed?
>>
>> Regards.
>>
>> Attempting to generate GUI sources for 
>> C:\Src1\ShopServiceAsst\AstcTechMobileApp\res\guibuilder\com\astc\a3tech\A3HomePage.gui
>>  
>> with System JAXB
>> Failed to generate Gui Source with System JAXB.  Will attempt using 
>> bundled JAXB.
>> C:\Src1\ShopServiceAsst\AstcTechMobileApp\build.xml:523: 
>> java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
>> com/sun/xml/bind/v2/model/annotation/AnnotationReader
>> at 
>> com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:294)
>> at 
>> com.codename1.build.client.GenerateGuiSources.generateGuiSource(GenerateGuiSources.java:246)
>> at 
>> com.codename1.build.client.GenerateGuiSources.execute(GenerateGuiSources.java:216)
>> at 
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>> at jdk.internal.reflect.GeneratedMethodAccessor265.invoke(Unknown 
>> Source)
>> at 
>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.base/java.lang.reflect.Method.invoke(Method.java:567)
>> at 
>> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
>> at org.apache.tools.ant.Task.perform(Task.java:350)
>> at org.apache.tools.ant.Target.execute(Target.java:449)
>> at org.apache.tools.ant.Target.performTasks(Target.java:470)
>> at 
>> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
>> at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
>> at 
>> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>> at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
>> at 
>> org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:261)
>> at 
>> org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:574)
>> at 
>> org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:128)
>> Caused by: java.lang.NoClassDefFoundError: 
>> com/sun/xml/bind/v2/model/annotation/AnnotationReader
>> at java.base/java.lang.ClassLoader.defineClass1(Native Method)
>> at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016)
>> at 
>> org.apache.tools.ant.AntClassLoader.defineClassFromData(AntClassLoader.java:1128)
>> at 
>> org.apache.tools.ant.AntClassLoader.getClassFromStream(AntClassLoader.java:1296)
>> at 
>> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1350)
>> at 
>> org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1313)
>> at 
>> org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1068)
>> at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
>> at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
>> at 
>> java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3172)
>> at java.base/java.lang.Class.getMethodsRecursive(Class.java:3313)
>> at java.base/java.lang.Class.getMethod0(Class.java:3299)
>> at java.base/java.lang.Class.getMethod(Class.java:2112)
>> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:258)
>> at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:250)
>> at javax.xml.bind.ContextFinder.find(ContextFinder.java:447)
>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652)
>> at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:599)
>> at 
>> com.codename1.build.client.GenerateGuiSources.generateGuiSource_(GenerateGuiSources.java:301)
>> at 
>> com.codename1.build.client.GenerateGuiSources.access$000(GenerateGuiSources.java:32)
>> at 
>> com.codename1.build.client.GenerateGuiSources$1.run(GenerateGuiSources.java:272)
>> at java.base/java.lang.Thread.run(Thread.java:835)
>> Caused by: java.lang.ClassNotFoundException: 
>> com.sun.xml.bind.v2.model.annotation.AnnotationReader
>> at 
>> org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1362)
>> at 
>> org.apache.tools.ant.AntClassLoader.

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-24 Thread Mark Bolduc
There has to be a way to trigger an install from the .apk and .ipa files 
within codenameone.

Using Display.getInstance().execute(???) what process or browser or app can 
I execute and have it point to the .apk or .ipa file?

The devices download the app and store them in the downloads directory, If 
I browse that directory I can tap the .apk or .iap file and it will install.

I want to do this programmatically.

How can my app save a file on the devices downloads directory?

Regards.


On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote:
>
> As I said we don't download. We call the URL on the web and the native 
> download sequence performs the actual download process. The execute method 
> accepts an https URL in our servers. 
>
> Look at the result of our iOS builds in the browser and inspect the code. 
> It's an HTML page that points at an XML file that's the manifest.
>
> On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> You mentioned pointing the execute process to a manifest, how does this 
>> work?
>>
>> Curious, when an .apk file exists in the devices download directory, from 
>> a file browser, we can click on it and it installs.
>>
>> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote:
>>>
>>> Thanks, I have downloaded the .apk file to the mobile device and did 
>>> call:
>>>
>>> Display.getInstance().execute(ApplicationBinariesDownloadPath + 
>>> fileName, e -> {
>>> System.out.println("saveAndInstallA3MobileApp Complete");
>>> });
>>>
>>> Can you provide the code syntax to install the .apk or .ipa file that is 
>>> stored on the mobile device?
>>>
>>> BTW: I have no intention of publishing my apps at this stage.
>>>
>>> Also, Google made life a lot more complex by requiring a privacy policy 
>>> be hosted if you access things like camera etc.
>>>
>>> On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote:
>>>>
>>>> We don't download the files. We launch an external download process 
>>>> using execute(url). We also don't point at the IPA but rather at a 
>>>> manifest.
>>>> Regardless Apple won't approve your app if you do that. Which is why 
>>>> Codename One Build only works as a web app for iOS which IMO is pretty 
>>>> stupid.
>>>>
>>>> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com 
>>>> wrote:
>>>>
>>>>> It sound like you've stored them on the downloads directory of your 
>>>>> PC.  You need to download them
>>>>> directly onto your mobile devices, which ought to trigger the 
>>>>> installation.
>>>>>
>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/748329d4-d1a5-4f28-85f0-e6cb51451799o%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-24 Thread Mark Bolduc
Alternatively I found this for Android:
https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854

public String getDownloadPath() {
return 
Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath()
 + File.separator + "myfolder";}

How do I programmatically access (for read & write) the downloads directory?

On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote:
>
> There has to be a way to trigger an install from the .apk and .ipa files 
> within codenameone.
>
> Using Display.getInstance().execute(???) what process or browser or app 
> can I execute and have it point to the .apk or .ipa file?
>
> The devices download the app and store them in the downloads directory, If 
> I browse that directory I can tap the .apk or .iap file and it will install.
>
> I want to do this programmatically.
>
> How can my app save a file on the devices downloads directory?
>
> Regards.
>
>
> On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote:
>>
>> As I said we don't download. We call the URL on the web and the native 
>> download sequence performs the actual download process. The execute method 
>> accepts an https URL in our servers. 
>>
>> Look at the result of our iOS builds in the browser and inspect the code. 
>> It's an HTML page that points at an XML file that's the manifest.
>>
>> On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com 
>> wrote:
>>
>>> You mentioned pointing the execute process to a manifest, how does this 
>>> work?
>>>
>>> Curious, when an .apk file exists in the devices download directory, 
>>> from a file browser, we can click on it and it installs.
>>>
>>> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote:
>>>>
>>>> Thanks, I have downloaded the .apk file to the mobile device and did 
>>>> call:
>>>>
>>>> Display.getInstance().execute(ApplicationBinariesDownloadPath + 
>>>> fileName, e -> {
>>>> System.out.println("saveAndInstallA3MobileApp 
>>>> Complete");
>>>> });
>>>>
>>>> Can you provide the code syntax to install the .apk or .ipa file that 
>>>> is stored on the mobile device?
>>>>
>>>> BTW: I have no intention of publishing my apps at this stage.
>>>>
>>>> Also, Google made life a lot more complex by requiring a privacy policy 
>>>> be hosted if you access things like camera etc.
>>>>
>>>> On Wednesday, July 22, 2020 at 10:53:59 PM UTC-4, Shai Almog wrote:
>>>>>
>>>>> We don't download the files. We launch an external download process 
>>>>> using execute(url). We also don't point at the IPA but rather at a 
>>>>> manifest.
>>>>> Regardless Apple won't approve your app if you do that. Which is why 
>>>>> Codename One Build only works as a web app for iOS which IMO is pretty 
>>>>> stupid.
>>>>>
>>>>> On Wednesday, July 22, 2020 at 8:27:27 PM UTC+3 daved...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> It sound like you've stored them on the downloads directory of your 
>>>>>> PC.  You need to download them
>>>>>> directly onto your mobile devices, which ought to trigger the 
>>>>>> installation.
>>>>>>
>>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/61d31558-2f9d-4ad2-82bf-318bff4eea36o%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-25 Thread Mark Bolduc
Thanks, perhaps I can make this request simpler. (I don't have any near 
future requirements of publishing my apps with google or apple)
So with all due respect to Apple, I am not interested in what apple will 
accept.

I have it stuck in my head that an .apk & .ipa file is an installer and 
executing it (from what ever means is needed) will be verbose and open up 
dialogs to ask user for needed permissions to access photos, caners, audio 
etc.

I believe if I can save an .apk (Android) file in the (android native 
method: "ExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)"), 
I can then open a browser pointed to the downloads directory and execute 
the installer for that app. This should work for .ipa & .apk files.

Or just dialog the user with instructions.

So in codenameone, how do I access the public downloads directory for read & 
write?
My App already downloads the .apk & .iap files and saves it in the 
"FileSystemStorage.getInstance().getAppHomePath() + 
"A3-TECH/A3-TechAppDownloads/"
So I don't see how to access the public downloads directory.

Best Regards.


On Saturday, July 25, 2020 at 1:42:07 AM UTC-4, Shai Almog wrote:
>
> You can't do that on iOS. Codename One build which just uses a web 
> download URL was rejected by appstore review so iOS won't let you do that 
> at all.
> On Android you can do that but it would require a lot of permissions you 
> honestly don't want to ask for. You're better off letting the default app 
> walk the user through those things.
>
> On Friday, July 24, 2020 at 4:45:31 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Alternatively I found this for Android:
>>
>> https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854
>>
>> public String getDownloadPath() {
>> return 
>> Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath()
>>  + File.separator + "myfolder";}
>>
>> How do I programmatically access (for read & write) the downloads directory?
>>
>> On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote:
>>>
>>> There has to be a way to trigger an install from the .apk and .ipa files 
>>> within codenameone.
>>>
>>> Using Display.getInstance().execute(???) what process or browser or app 
>>> can I execute and have it point to the .apk or .ipa file?
>>>
>>> The devices download the app and store them in the downloads directory, 
>>> If I browse that directory I can tap the .apk or .iap file and it will 
>>> install.
>>>
>>> I want to do this programmatically.
>>>
>>> How can my app save a file on the devices downloads directory?
>>>
>>> Regards.
>>>
>>>
>>> On Friday, July 24, 2020 at 12:59:57 AM UTC-4, Shai Almog wrote:
>>>>
>>>> As I said we don't download. We call the URL on the web and the native 
>>>> download sequence performs the actual download process. The execute method 
>>>> accepts an https URL in our servers. 
>>>>
>>>> Look at the result of our iOS builds in the browser and inspect the 
>>>> code. It's an HTML page that points at an XML file that's the manifest.
>>>>
>>>> On Thursday, July 23, 2020 at 3:09:37 PM UTC+3 shop.servic...@gmail.com 
>>>> wrote:
>>>>
>>>>> You mentioned pointing the execute process to a manifest, how does 
>>>>> this work?
>>>>>
>>>>> Curious, when an .apk file exists in the devices download directory, 
>>>>> from a file browser, we can click on it and it installs.
>>>>>
>>>>> On Thursday, July 23, 2020 at 7:06:15 AM UTC-4, Mark Bolduc wrote:
>>>>>>
>>>>>> Thanks, I have downloaded the .apk file to the mobile device and did 
>>>>>> call:
>>>>>>
>>>>>> Display.getInstance().execute(ApplicationBinariesDownloadPath + 
>>>>>> fileName, e -> {
>>>>>> System.out.println("saveAndInstallA3MobileApp 
>>>>>> Complete");
>>>>>> });
>>>>>>
>>>>>> Can you provide the code syntax to install the .apk or .ipa file that 
>>>>>> is stored on the mobile device?
>>>>>>
>>>>>> BTW: I have no intention of publishing my apps at this stage.
>>>>>>
>>>>>> Also, Google made life a lot 

[codenameone-discussions] implementing freshdesk produces errors on build

2020-07-25 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 12
Desktop OS Windows 10 Pro
Simulator latest
Device Android IOS

Getting build errors implementing freshdesk

See attached error log. Note IOS log was too big to attach here.

if (Mobihelp.isSupported()) {
MobihelpConfig config = new MobihelpConfig();
if 
(Display.getInstance().getPlatformName().compareTo("ios") == 0) {
// Initialize iOS.

config.setAppSecret("3536335f585d53e285a572304c1a781ca690750b");

config.setAppId("freshdeskdemo-2-32960149eb708717db9fb8db9fcdaeb3");
config.setDomain("codenameonetest1.freshdesk.com");
Mobihelp.initIOS(config);
} else {

// Initialize Android

config.setAppSecret("328f6ee77c646cef2eccb6ce4c1aa49b62fddc88");

config.setAppId("freshdeskdemo-1-966a571049d063582333478fc40355b0");

config.setDomain("https://codenameonetest1.freshdesk.com";);
Mobihelp.initAndroid(config);
}
Button showSupport = new Button(new Command("Show Support") 
{
public void actionPerformed(ActionEvent evt) {
if (Mobihelp.isSupported()) {
Mobihelp.showSupport();
} else {
Dialog.show("Unsupported", "Fresh Desk is not 
supported on this platform", "OK", null);
}
}
});


Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/534a8257-a185-4931-ae14-d64dace6d023o%40googlegroups.com.
User-level: 9000
Request Args: 
-
android.proguardKeep=  -keep class net.sourceforge.zbar.** {*;} -keep class 
android.support.v4.** { *; }  -keep class android.support.v7.** { *; } -keep 
public class * extends android.app.Service -keep public class * extends 
android.content.BroadcastReceiver -keep public class * extends 
android.app.Activity -keep public class * extends android.preference.Preference 
-keep public class 
com.freshdesk.mobihelp.exception.MobihelpComponentNotFoundException  
-keepclassmembers class * implements android.os.Parcelable {   public static 
final android.os.Parcelable$Creator *; }
ios.project_type=ios
win.ver=10
android.xpermissions=
ios.dsym=false
ios.keyboardOpen=false
android.xapplication=  
  
 

   
  
 
 
   
 
  
 
ios.plistInject=UIViewControllerBasedStatusBarAppearance
ios.application_exits=false
ios.statusbar_hidden=false
ios.add_libs=CFNetwork.framework;LocalAuthentication.frameworkCoreData.framework;CoreTelephony.framework
ios.themeMode=auto
ios.includePush=true
ios.NSFaceIDUsageDescription=Some functionality of the application requires 
FaceID functionality
ios.NSCameraUsageDescription=true
android.messagingService=fcm
j2me.nativeThemeConst=0
ios.multitasking=true
java.version=8
ios.pods=,Cordova
ios.testFlight=false
ios.NSMicrophoneUsageDescription=true
ios.prerendered_icon=false
ios.debug.archs=arm64
rim.obfuscation=false
gradleDependencies=compile 'com.android.support:appcompact-v7:19.1.0' 

ios.interface_orientation=UIInterfaceOrientationPortrait:UIInterfaceOrientationPortraitUpsideDown:UIInterfaceOrientationLandscapeLeft:UIInterfaceOrientationLandscapeRight
ios.newStorageLocation=true
android.release=true
android.debug=false
---
Effective build tools version = 27
Executing: /home/ec2-user/android-sdk/tools/android create project --target 
android-28 --name A3Tech --path /tmp/build7457538547722102471xxx/A3Tech 
--activity A3TechStub --package com.astc.a3tech --gradle --gradle-version 3.0.1 
Created directory /tmp/build7457538547722102471xxx/A3Tech/src/main/java
Created directory 
/tmp/build7457538547722102471xxx/A3Tech/src/main/java/com/astc/a3tech
Added file 
/tmp/build7457538547722102471xxx/A3Tech/src/main/java/com/astc/a3tech/A3TechStub.java
Created directory /tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java
Created directory 
/tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java/com/astc/a3tech
Added file 
/tmp/build7457538547722102471xxx/A3Tech/src/androidTest/java/com/astc/a3tech/A3TechStubTest.java
Created directory /tmp/build745753854772210247

[codenameone-discussions] new Codenameone settings app does not recognize a save

2020-07-25 Thread Mark Bolduc
If you are experiencing an issue please mention the full platform your 
issue applies to:
IDE: NetBeans/Eclipse/IDEA Netbeans 12
Desktop OS Windows 10 Pro
Simulator latest
Device Codenameone App

The new settings app does not allow login, however using my codenameone 
user and password, the app can't find me.
Please see pic "CodenameoneSettingsSaveNotRecognized_1__07-25-2020.JPG"
Is there a separate user name and password to access the Settings?

Have selected old UI for now.

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/93a2b7a0-9a52-4215-9843-92c77cf8fc0eo%40googlegroups.com.


[codenameone-discussions] Re: new Codenameone settings app does not recognize a save

2020-07-26 Thread Mark Bolduc
1) I am not logged in.
2) I make a change to version under basic, goto the menu top right and 
click save.
Then when I click the X in the top right of the form, a dialog pops-up and 
it states there is unsaved changes.
see image "CodenameoneSettingsSaveNotRecognized_07-25-2020.JPG"
However tapping the Close (x) from the overflow menu, does exit the 
application.

Just and FYI:


On Saturday, July 25, 2020 at 10:13:20 PM UTC-4, Shai Almog wrote:
>
> That's odd. 
> And login works with the old UI?
> It should be roughly the same code.
>
> What do you mean by doesn't recognize a save?
>
> On Sunday, July 26, 2020 at 12:43:06 AM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device Codenameone App
>>
>> The new settings app does not allow login, however using my codenameone 
>> user and password, the app can't find me.
>> Please see pic "CodenameoneSettingsSaveNotRecognized_1__07-25-2020.JPG"
>> Is there a separate user name and password to access the Settings?
>>
>> Have selected old UI for now.
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/04f0f95a-8ed6-4a7d-afc2-7442845ca1cco%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-26 Thread Mark Bolduc
Agreed regarding "explicitly ennumerated in the provisioning of the app" I 
do this. These apps will not be published VIA Apple for our current 
business model.

Please advise the classes needed to save a file in the android public 
downloads directory.

Regards.

On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote:
>
> We literally use CN.execute(url_of_app). Where the URL is an HTTP URL that 
> contains the application. 
> No magic, no native code. 
>
> The one thing you might have gotten wrong is the HTTP hosting. You need to 
> make sure your server is HTTPS and that it has the right mime types for the 
> links.
>
> But again, you'll only be able to do this on Android. On iOS you can't 
> even distribute an app without going through the store.
>
> On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Using codenameone build app, I can download the .apk file to the public 
>> downloads directory.
>> Then using file manager can open the downloads directory, tap the .apk 
>> file and install it.
>>
>> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg"
>>
>> I want to replicate this.
>>
>> Please advise
>>
>> Regards.
>>
>> On Saturday, July 25, 2020 at 8:03:44 AM UTC-4, Mark Bolduc wrote:
>>>
>>> Thanks, perhaps I can make this request simpler. (I don't have any near 
>>> future requirements of publishing my apps with google or apple)
>>> So with all due respect to Apple, I am not interested in what apple will 
>>> accept.
>>>
>>> I have it stuck in my head that an .apk & .ipa file is an installer and 
>>> executing it (from what ever means is needed) will be verbose and open up 
>>> dialogs to ask user for needed permissions to access photos, caners, audio 
>>> etc.
>>>
>>> I believe if I can save an .apk (Android) file in the (android native 
>>> method: "ExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS)"), 
>>> I can then open a browser pointed to the downloads directory and execute 
>>> the installer for that app. This should work for .ipa & .apk files.
>>>
>>> Or just dialog the user with instructions.
>>>
>>> So in codenameone, how do I access the public downloads directory for read 
>>> & write?
>>> My App already downloads the .apk & .iap files and saves it in the 
>>> "FileSystemStorage.getInstance().getAppHomePath() + 
>>> "A3-TECH/A3-TechAppDownloads/"
>>> So I don't see how to access the public downloads directory.
>>>
>>> Best Regards.
>>>
>>>
>>> On Saturday, July 25, 2020 at 1:42:07 AM UTC-4, Shai Almog wrote:
>>>>
>>>> You can't do that on iOS. Codename One build which just uses a web 
>>>> download URL was rejected by appstore review so iOS won't let you do that 
>>>> at all.
>>>> On Android you can do that but it would require a lot of permissions 
>>>> you honestly don't want to ask for. You're better off letting the default 
>>>> app walk the user through those things.
>>>>
>>>> On Friday, July 24, 2020 at 4:45:31 PM UTC+3 shop.servic...@gmail.com 
>>>> wrote:
>>>>
>>>>> Alternatively I found this for Android:
>>>>>
>>>>> https://stackoverflow.com/questions/35799567/activity-not-found-using-codename-one-native-code-for-android/35809854#35809854
>>>>>
>>>>> public String getDownloadPath() {
>>>>> return 
>>>>> Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOWNLOADS).getAbsolutePath()
>>>>>  + File.separator + "myfolder";}
>>>>>
>>>>> How do I programmatically access (for read & write) the downloads 
>>>>> directory?
>>>>>
>>>>> On Friday, July 24, 2020 at 9:08:02 AM UTC-4, Mark Bolduc wrote:
>>>>>>
>>>>>> There has to be a way to trigger an install from the .apk and .ipa 
>>>>>> files within codenameone.
>>>>>>
>>>>>> Using Display.getInstance().execute(???) what process or browser or 
>>>>>> app can I execute and have it point to the .apk or .ipa file?
>>>>>>
>>>>>> The devices download the app and store them in the downloads 
>>>>>> directory, If I browse that directory I can tap the .apk or .iap file 

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-27 Thread Mark Bolduc
Ok, I would like to focus on Android build only.

In another Post (titled lunch browser) it was suggested to use 
Display.execute() to open native browser.

Can you please complete the code to point to and execute the native browser 
with argument to open .apk?
Display.getInstance().execute(); where  is native browser and 1 
argument i assume would be a URI
Please fill in the  

Regards

On Sunday, July 26, 2020 at 10:15:11 PM UTC-4, Shai Almog wrote:
>
> It's a bit more complex than that. In iOS you can't physically install 
> apps without a certificate. You have two options here:
>
> - Development certificate - works on 100 devices which you have to add 
> personally to a provisioning profile. Or on 1000 devices via itunes
> - Enterprise certificate - works on devices within your organization. This 
> means the device needs to be a part of your org. If it belongs to a 
> different org this won't work. 
> This is something some developers "abused" to create 3rd party appstores 
> which Apple shut down by revoking the certificate for ToS violation.
>
> We don't have any such classes for the public download directory. Codename 
> One build just uses execute(URL) and launches your native web browser on 
> every OS. We don't download any file.
>
> FYI AFAIK you are allowed to link to itunes/play listings and if you open 
> the browser to the listing and let the user install the app through there 
> that's 100% "legal" and doesn't require any complexity. This will let you 
> install dependencies easily on all OSs. 
> On Sunday, July 26, 2020 at 2:26:34 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Agreed regarding "explicitly ennumerated in the provisioning of the app" 
>> I do this. These apps will not be published VIA Apple for our current 
>> business model.
>>
>> Please advise the classes needed to save a file in the android public 
>> downloads directory.
>>
>> Regards.
>>
>> On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote:
>>>
>>> We literally use CN.execute(url_of_app). Where the URL is an HTTP URL 
>>> that contains the application. 
>>> No magic, no native code. 
>>>
>>> The one thing you might have gotten wrong is the HTTP hosting. You need 
>>> to make sure your server is HTTPS and that it has the right mime types for 
>>> the links.
>>>
>>> But again, you'll only be able to do this on Android. On iOS you can't 
>>> even distribute an app without going through the store.
>>>
>>> On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 shop.servic...@gmail.com 
>>> wrote:
>>>
>>>> Using codenameone build app, I can download the .apk file to the public 
>>>> downloads directory.
>>>> Then using file manager can open the downloads directory, tap the .apk 
>>>> file and install it.
>>>>
>>>> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg"
>>>>
>>>> I want to replicate this.
>>>>
>>>> Please advise
>>>>
>>>> Regards.
>>>>
>>>> On Saturday, July 25, 2020 at 8:03:44 AM UTC-4, Mark Bolduc wrote:
>>>>>
>>>>> Thanks, perhaps I can make this request simpler. (I don't have any 
>>>>> near future requirements of publishing my apps with google or apple)
>>>>> So with all due respect to Apple, I am not interested in what apple 
>>>>> will accept.
>>>>>
>>>>> I have it stuck in my head that an .apk & .ipa file is an installer 
>>>>> and executing it (from what ever means is needed) will be verbose and 
>>>>> open 
>>>>> up dialogs to ask user for needed permissions to access photos, caners, 
>>>>> audio etc.
>>>>>
>>>>> I believe if I can save an .apk (Android) file in the (android native 
>>>>> method: "ExternalStoragePublicDirectory(Environment.
>>>>> DIRECTORY_DOWNLOADS)"), I can then open a browser pointed to the 
>>>>> downloads directory and execute the installer for that app. This should 
>>>>> work for .ipa & .apk files.
>>>>>
>>>>> Or just dialog the user with instructions.
>>>>>
>>>>> So in codenameone, how do I access the public downloads directory for 
>>>>> read & write?
>>>>> My App already downloads the .apk & .iap files and saves it in the 
>>>>> "FileSy

[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-28 Thread Mark Bolduc
I want to open a browser with an .apk argument from 
Display.getInstance().execute([default browser])
I don't have a clue how to execute the default browser, what text do I 
substitute "[default browser]" with?

Can I open the default browser in my app?
If so can I pass the browser a local .apk file for it to open?
Will this work?

Regards;


On Monday, July 27, 2020 at 10:43:23 PM UTC-4, Shai Almog wrote:
>
> Execute opens a URI using the platform native system. We didn't use it for 
> a locally downloaded file only for a web link so in this case it literally 
> opens the browser and lets it deal with the permissions and related 
> complexities.
> If you want to do the download yourself this is something we didn't do in 
> Codename One Build. I'm guessing the native Android code you have should 
> work within a native interface. You might need to add some permissions and 
> declare them in the XML using the xpermissions build hint.
>
> On Monday, July 27, 2020 at 3:57:20 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Ok, I would like to focus on Android build only.
>>
>> In another Post (titled lunch browser) it was suggested to use 
>> Display.execute() to open native browser.
>>
>> Can you please complete the code to point to and execute the native 
>> browser with argument to open .apk?
>> Display.getInstance().execute(); where  is native browser and 1 
>> argument i assume would be a URI
>> Please fill in the  
>>
>> Regards
>>
>> On Sunday, July 26, 2020 at 10:15:11 PM UTC-4, Shai Almog wrote:
>>>
>>> It's a bit more complex than that. In iOS you can't physically install 
>>> apps without a certificate. You have two options here:
>>>
>>> - Development certificate - works on 100 devices which you have to add 
>>> personally to a provisioning profile. Or on 1000 devices via itunes
>>> - Enterprise certificate - works on devices within your organization. 
>>> This means the device needs to be a part of your org. If it belongs to a 
>>> different org this won't work. 
>>> This is something some developers "abused" to create 3rd party appstores 
>>> which Apple shut down by revoking the certificate for ToS violation.
>>>
>>> We don't have any such classes for the public download directory. 
>>> Codename One build just uses execute(URL) and launches your native web 
>>> browser on every OS. We don't download any file.
>>>
>>> FYI AFAIK you are allowed to link to itunes/play listings and if you 
>>> open the browser to the listing and let the user install the app through 
>>> there that's 100% "legal" and doesn't require any complexity. This will let 
>>> you install dependencies easily on all OSs. 
>>> On Sunday, July 26, 2020 at 2:26:34 PM UTC+3 shop.servic...@gmail.com 
>>> wrote:
>>>
>>>> Agreed regarding "explicitly ennumerated in the provisioning of the 
>>>> app" I do this. These apps will not be published VIA Apple for our current 
>>>> business model.
>>>>
>>>> Please advise the classes needed to save a file in the android public 
>>>> downloads directory.
>>>>
>>>> Regards.
>>>>
>>>> On Saturday, July 25, 2020 at 10:10:27 PM UTC-4, Shai Almog wrote:
>>>>>
>>>>> We literally use CN.execute(url_of_app). Where the URL is an HTTP URL 
>>>>> that contains the application. 
>>>>> No magic, no native code. 
>>>>>
>>>>> The one thing you might have gotten wrong is the HTTP hosting. You 
>>>>> need to make sure your server is HTTPS and that it has the right mime 
>>>>> types 
>>>>> for the links.
>>>>>
>>>>> But again, you'll only be able to do this on Android. On iOS you can't 
>>>>> even distribute an app without going through the store.
>>>>>
>>>>> On Saturday, July 25, 2020 at 3:21:42 PM UTC+3 
>>>>> shop.servic...@gmail.com wrote:
>>>>>
>>>>>> Using codenameone build app, I can download the .apk file to the 
>>>>>> public downloads directory.
>>>>>> Then using file manager can open the downloads directory, tap the 
>>>>>> .apk file and install it.
>>>>>>
>>>>>> Please see attached pic "Screenshot_20200725-081618_File Manager.jpg"
>>>>>>
>>>>>> I want to r

[codenameone-discussions] Re: newly updated (today) fingerprintscanner.cn.lib causing failed compile on build server for Android

2020-07-28 Thread Mark Bolduc
Do we have an estimate to when this will be resolved.

I am unable to build on android currently.

Thoughts?

Regards

On Saturday, July 25, 2020 at 10:16:47 PM UTC-4, Shai Almog wrote:
>
> Thanks for the headsup. Posted this to the issue here: 
> https://github.com/codenameone/CodenameOne/issues/3045
>
> On Sunday, July 26, 2020 at 1:19:04 AM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device Android 
>>
>> netbeans reports (IOS and ANDROID) warning: 
>> \lib\impl\native\javase\com\codename1\fingerprint\impl\InternalFingerprintImpl.java
>>  
>> uses or overrides a deprecated API.
>>
>> Build Server produces this error report (Please see 
>> "CodenameoneBuildError_Android_.txt") only on Android build
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com.


Re: [codenameone-discussions] Re: newly updated (today) fingerprintscanner.cn.lib causing failed compile on build server for Android

2020-07-28 Thread Mark Bolduc
Thanks Steve, 

adding the hints resolved the build issue.

Regards.

On Tuesday, July 28, 2020 at 9:22:43 AM UTC-4, Steve Hannah wrote:
>
> The fingerprint scanner lib now requires build tools 29 or higher.  See 
> the installation instructions here:
> https://github.com/codenameone/FingerprintScanner#installation
>
> On Tue, Jul 28, 2020 at 6:20 AM Mark Bolduc  > wrote:
>
>> Do we have an estimate to when this will be resolved.
>>
>> I am unable to build on android currently.
>>
>> Thoughts?
>>
>> Regards
>>
>> On Saturday, July 25, 2020 at 10:16:47 PM UTC-4, Shai Almog wrote:
>>>
>>> Thanks for the headsup. Posted this to the issue here: 
>>> https://github.com/codenameone/CodenameOne/issues/3045
>>>
>>> On Sunday, July 26, 2020 at 1:19:04 AM UTC+3 shop.servic...@gmail.com 
>>> wrote:
>>>
>>>> If you are experiencing an issue please mention the full platform your 
>>>> issue applies to:
>>>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>>>> Desktop OS Windows 10 Pro
>>>> Simulator latest
>>>> Device Android 
>>>>
>>>> netbeans reports (IOS and ANDROID) warning: 
>>>> \lib\impl\native\javase\com\codename1\fingerprint\impl\InternalFingerprintImpl.java
>>>>  
>>>> uses or overrides a deprecated API.
>>>>
>>>> Build Server produces this error report (Please see 
>>>> "CodenameoneBuildError_Android_.txt") only on Android build
>>>>
>>>> Regards
>>>>
>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to codenameone-discussions+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/41f9b086-ae4f-4f29-8381-ec9126c36d9fo%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/1b7411c9-0b6e-457a-90b5-61bdfc082f3fo%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-28 Thread Mark Bolduc
Ok, I have successfully stored my .apk file in the  public 
/storage/emulated/0/Download/ directory, I can then open a FileManager, tap 
downloads, Tam my app and it installs correctly.

So the question is how can I envoke this "File Manager" app installed on my 
device.
I can't find its location.

Once I have its location, can I use 
"Display.getInstance().execute("file:///[path to file manager app]")" to 
open the FileManager app?

Thoughts?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/705000a3-7113-48e9-822a-e219b302d1cao%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-29 Thread Mark Bolduc
Thanks.

On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote:
>
> If you provide a standard https URL the default browser will launch. As a 
> sidenote you can provide URLs such as "fb:" to launch facebook and other 
> apps.
> So standard URLs use Chrome/Safari or whatever you have defined.
>
> file:/// won't work. That's not an Android URI. You need to look for the 
> intent you want. Alternatively you can use a native interface for this 
> which might be simpler since you're doing something that's very platform 
> specific.
>
> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Ok, I have successfully stored my .apk file in the  public 
>> /storage/emulated/0/Download/ directory, I can then open a FileManager, tap 
>> downloads, Tam my app and it installs correctly.
>>
>> So the question is how can I envoke this "File Manager" app installed on 
>> my device.
>> I can't find its location.
>>
>> Once I have its location, can I use 
>> "Display.getInstance().execute("file:///[path to file manager app]")" to 
>> open the FileManager app?
>>
>> Thoughts?
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0f257445-4b0b-429d-9fd9-5b55538713c2o%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-29 Thread Mark Bolduc
Can you please advise how I can open an app that is installed on my device 
i assume using Display.getInstance().execute(path to app) or is there 
another preferred method to do this?

Is there documentation regarding this?

On Wednesday, July 29, 2020 at 7:37:18 AM UTC-4, Mark Bolduc wrote:
>
> Thanks.
>
> On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote:
>>
>> If you provide a standard https URL the default browser will launch. As a 
>> sidenote you can provide URLs such as "fb:" to launch facebook and other 
>> apps.
>> So standard URLs use Chrome/Safari or whatever you have defined.
>>
>> file:/// won't work. That's not an Android URI. You need to look for the 
>> intent you want. Alternatively you can use a native interface for this 
>> which might be simpler since you're doing something that's very platform 
>> specific.
>>
>> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com 
>> wrote:
>>
>>> Ok, I have successfully stored my .apk file in the  public 
>>> /storage/emulated/0/Download/ directory, I can then open a FileManager, tap 
>>> downloads, Tam my app and it installs correctly.
>>>
>>> So the question is how can I envoke this "File Manager" app installed on 
>>> my device.
>>> I can't find its location.
>>>
>>> Once I have its location, can I use 
>>> "Display.getInstance().execute("file:///[path to file manager app]")" to 
>>> open the FileManager app?
>>>
>>> Thoughts?
>>>
>>> Regards
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4a12f8f9-9c8a-4d32-8291-e06422615199o%40googlegroups.com.


[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login

2020-07-30 Thread Mark Bolduc
The app performs correctly, only the web app on android does not.

Turns out "https://cloud.codenameone.com/buildapp/index.html"; on Microsoft 
Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG"
Microsoft Explorer & Firefox opens the web app w/o requesting login.
Interesting.

Thoughts?
Regards.

On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote:
>
> Is this happening only on this specific device?
> Did it work in the past?
> Is the native app working for you?
>
> On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12.0
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device Android Tablet  Galaxy Tab S5E
>>
>> Display.getInstance().execute("
>> https://cloud.codenameone.com/buildapp/index.html";); 
>> loads the builds form, goes immediately to login form.
>>
>> Enter the username and password, tap login and it hangs forever.
>>
>> Please see attached screen shot.
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/41c47aca-e462-4082-ac9e-658a717e2d1ao%40googlegroups.com.


[codenameone-discussions] Re: How to install an .apk or .ipa file stored on my device?

2020-07-30 Thread Mark Bolduc
Good Question Dave, 


On the contrary, we do not publish a web site, we are developing for a 
closed network of Automotive Shop Owners.
I am emulating how our java Swing application administration management 
suite works and operates on a  completely private network.


Our Shop Apps are above board and operate in a closed local network.
We require access to Camera, Local Storage (persist properties etc.) Phone 
dialing.

It will be required in the future that a Customer (Auto Shops Customer) 
would have a mobile app that would require internet access to a published 
Server, however that is planned for Q1 of 2021.

Not being able to auto install (user interactive of course) is not a show 
stopper, just want to simplify the application administration for our auto 
shop users.

Hope this puts your mind at ease regarding the integrity of our apps.

Thoughts?

Regards.

On Thursday, July 30, 2020 at 12:51:36 AM UTC-4, Dave Dyer wrote:
>
> why are you so fixated on getting the app to auto-install?  It suggests 
> you are
> trying to accomplish something underhanded, when there are simple and
> customary ways to install apps.
>
>
>
> s.  
>
> On Wednesday, July 29, 2020 at 7:04:27 PM UTC-7, Shai Almog wrote:
>>
>> There's no path to app. Apps work in isolation in devices. So one app 
>> can't see the files of another app. On Android they have different user IDs 
>> for each app to keep them completely isolated in the kernel level.
>> Something like this should (probably) work:
>>
>> execute("intent:#Intent;scheme=customapp;package=com.my_package.name
>> ;end");
>>
>> Where you need to set "com.my_package.name" to the package of the app 
>> you want to launch.
>> On Wednesday, July 29, 2020 at 11:19:44 PM UTC+3 shop.servic...@gmail.com 
>> wrote:
>>
>>> Can you please advise how I can open an app that is installed on my 
>>> device i assume using Display.getInstance().execute(path to app) or is 
>>> there another preferred method to do this?
>>>
>>> Is there documentation regarding this?
>>>
>>> On Wednesday, July 29, 2020 at 7:37:18 AM UTC-4, Mark Bolduc wrote:
>>>>
>>>> Thanks.
>>>>
>>>> On Tuesday, July 28, 2020 at 10:34:58 PM UTC-4, Shai Almog wrote:
>>>>>
>>>>> If you provide a standard https URL the default browser will launch. 
>>>>> As a sidenote you can provide URLs such as "fb:" to launch facebook and 
>>>>> other apps.
>>>>> So standard URLs use Chrome/Safari or whatever you have defined.
>>>>>
>>>>> file:/// won't work. That's not an Android URI. You need to look for 
>>>>> the intent you want. Alternatively you can use a native interface for 
>>>>> this 
>>>>> which might be simpler since you're doing something that's very platform 
>>>>> specific.
>>>>>
>>>>> On Tuesday, July 28, 2020 at 8:04:43 PM UTC+3 shop.servic...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> Ok, I have successfully stored my .apk file in the  public 
>>>>>> /storage/emulated/0/Download/ directory, I can then open a FileManager, 
>>>>>> tap 
>>>>>> downloads, Tam my app and it installs correctly.
>>>>>>
>>>>>> So the question is how can I envoke this "File Manager" app installed 
>>>>>> on my device.
>>>>>> I can't find its location.
>>>>>>
>>>>>> Once I have its location, can I use 
>>>>>> "Display.getInstance().execute("file:///[path to file manager app]")" to 
>>>>>> open the FileManager app?
>>>>>>
>>>>>> Thoughts?
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/aae95f7b-6703-434e-a957-6e99014a3999o%40googlegroups.com.


[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login

2020-07-31 Thread Mark Bolduc
Microsoft Edge: Partial screen loads, however issues not displayed

Please see pic "CodeNameOneWebAppHangsAtLogin_3.JPG"

Regarding the Build App, I would request you look at the refreshing as in 
some occasions the app shows biulding, however after it appears to be 
taking too long, I swipe down and the app is ready.
Seems like the message of completion from the build server is missed in the 
app.
I would say this occurs 10 - 15% of the time.

Certainly not a show stopper.

Regards.

On Thursday, July 30, 2020 at 10:46:48 PM UTC-4, Shai Almog wrote:
>
> Do you see anything in the browser console in that case?
> Can you also file an issue on that? 
> We're about to overhaul the app and I'd like to take a look at some of 
> those things.
>
> On Thursday, July 30, 2020 at 3:58:04 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> The app performs correctly, only the web app on android does not.
>>
>> Turns out "https://cloud.codenameone.com/buildapp/index.html"; on 
>> Microsoft Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG"
>> Microsoft Explorer & Firefox opens the web app w/o requesting login.
>> Interesting.
>>
>> Thoughts?
>> Regards.
>>
>> On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote:
>>>
>>> Is this happening only on this specific device?
>>> Did it work in the past?
>>> Is the native app working for you?
>>>
>>> On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 shop.servic...@gmail.com 
>>> wrote:
>>>
 If you are experiencing an issue please mention the full platform your 
 issue applies to:
 IDE: NetBeans/Eclipse/IDEA Netbeans 12.0
 Desktop OS Windows 10 Pro
 Simulator latest
 Device Android Tablet  Galaxy Tab S5E

 Display.getInstance().execute("
 https://cloud.codenameone.com/buildapp/index.html";); 
 loads the builds form, goes immediately to login form.

 Enter the username and password, tap login and it hangs forever.

 Please see attached screen shot.

 Regards

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/6430f41b-a381-4ec2-90a0-1ddbe1a9e7c7o%40googlegroups.com.


Re: [codenameone-discussions] Fingerprint dialog not shoing cancel button on Android 7+

2020-07-31 Thread Mark Bolduc
For consistency, can you either add one of send me the link to the source 
and I will add a cancel button.

Thoughts?

Regards.

On Thursday, July 30, 2020 at 9:44:38 AM UTC-4, Steve Hannah wrote:
>
> Some things to note:
>
> 1. iOS uses a native dialog (we have no control over it).
> 2. Android (<10) uses a prompt that we provide (optionally).  It never 
> included a cancel button.
>
>
>
> On Thu, Jul 30, 2020 at 6:38 AM Mark Bolduc  > wrote:
>
>> If you are experiencing an issue please mention the full platform your 
>> issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device Android 
>>
>> Not able to cancel request for scan as Cancel Button not visible. See pic 
>> "AndroidGalaxy5S2FingerPrintScannerIssue_1.jpg"
>> Ok on IOS see pic "AndroidGalaxy5S2FingerPrintScannerIssue_2.png"
>>
>> Regards
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to codenameone-discussions+unsubscr...@googlegroups.com 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/c1500c66-bf24-4b03-ba17-4fc7abed0899o%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/4d0a01fa-ed67-48f1-8370-862c97717150o%40googlegroups.com.


[codenameone-discussions] Re: https://cloud.codenameone.com/buildapp/index.html hangs when tap on login

2020-08-01 Thread Mark Bolduc
Your time investment shows, It's a nice app.

Regards.

On Friday, July 31, 2020 at 10:45:31 PM UTC-4, Shai Almog wrote:
>
> That's for this forum, right?
> It's embedded as an iframe so edge might have a problem. Yes, we'd really 
> like to fix that and use a proper forum instead of a google group. We might 
> do that.
> I think there might be a few edge cases with the build app and its 
> websocket connection reliability. I've spent a lot of time on this recently 
> and think we can improve this.
>
> Thanks!
>
> On Friday, July 31, 2020 at 5:58:16 PM UTC+3 shop.servic...@gmail.com 
> wrote:
>
>> Microsoft Edge: Partial screen loads, however issues not displayed
>>
>> Please see pic "CodeNameOneWebAppHangsAtLogin_3.JPG"
>>
>> Regarding the Build App, I would request you look at the refreshing as in 
>> some occasions the app shows biulding, however after it appears to be 
>> taking too long, I swipe down and the app is ready.
>> Seems like the message of completion from the build server is missed in 
>> the app.
>> I would say this occurs 10 - 15% of the time.
>>
>> Certainly not a show stopper.
>>
>> Regards.
>>
>> On Thursday, July 30, 2020 at 10:46:48 PM UTC-4, Shai Almog wrote:
>>>
>>> Do you see anything in the browser console in that case?
>>> Can you also file an issue on that? 
>>> We're about to overhaul the app and I'd like to take a look at some of 
>>> those things.
>>>
>>> On Thursday, July 30, 2020 at 3:58:04 PM UTC+3 shop.servic...@gmail.com 
>>> wrote:
>>>
 The app performs correctly, only the web app on android does not.

 Turns out "https://cloud.codenameone.com/buildapp/index.html"; on 
 Microsoft Edge Hangs also. See Pic "CodeNameOneWebAppHangsAtLogin_1.JPG"
 Microsoft Explorer & Firefox opens the web app w/o requesting login.
 Interesting.

 Thoughts?
 Regards.

 On Wednesday, July 29, 2020 at 10:06:19 PM UTC-4, Shai Almog wrote:
>
> Is this happening only on this specific device?
> Did it work in the past?
> Is the native app working for you?
>
> On Thursday, July 30, 2020 at 12:03:38 AM UTC+3 
> shop.servic...@gmail.com wrote:
>
>> If you are experiencing an issue please mention the full platform 
>> your issue applies to:
>> IDE: NetBeans/Eclipse/IDEA Netbeans 12.0
>> Desktop OS Windows 10 Pro
>> Simulator latest
>> Device Android Tablet  Galaxy Tab S5E
>>
>> Display.getInstance().execute("
>> https://cloud.codenameone.com/buildapp/index.html";); 
>> loads the builds form, goes immediately to login form.
>>
>> Enter the username and password, tap login and it hangs forever.
>>
>> Please see attached screen shot.
>>
>> Regards
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ab953e1b-7442-4844-89c4-982442aeo%40googlegroups.com.


  1   2   >