[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-15 Thread Dennis Rogers
Since I added the generated the native interface I can no longer do cloud builds. Is there a way I can remove the native interface I created for the moment? On Monday, June 14, 2021 at 10:09:56 PM UTC-4 Shai Almog wrote: > That sounds like a bug in the maven project. Let me check. > > On

[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-14 Thread Dennis Rogers
Sorry but I'm a little confused. I created a file, MyNative.java, in the common folder along with my other code: package com.symdesign.shoppinggenie; import com.codename1.system.NativeInterface; public interface MyNative extends NativeInterface { String helloWorld(String hi); } When I run

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-16 Thread Dennis Rogers
.codenameone > codenameone-core > provided > > > > That should fix the issue. (Mind you you haven't shared any error messages > so it's hard to say what your specific problem is). > > > Steve > > > On Tue, Jun 15, 2021 at 9:30 PM Dennis Rogers

[codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-08 Thread Dennis Rogers
Tried that but no joy. Any other suggestions? On Monday, June 7, 2021 at 9:20:59 PM UTC-4 Shai Almog wrote: > Try killing Java processes and see if it solves the issue. > > On Tuesday, June 8, 2021 at 1:05:53 AM UTC+3 a2nd...@gmail.com wrote: > >> Suddenly I've not been able to send builds to

[codenameone-discussions] Unable to restart the IEHS App

2021-06-07 Thread Dennis Rogers
Suddenly I've not been able to send builds to the cloud. Nothings changed in the code and I get the error : Failed to execute goal com.codenameone:codenameone-maven-plugin:7.0.26:build (build-android) on project shoppinggenie-android: Execution build-android of goal

Re: [codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-11 Thread Dennis Rogers
ecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build >> >> (SingleThreadedBuilder.java:56) >> at org.apache.maven.lifecycle.internal.LifecycleStarter.execute >> (LifecycleStarter.java:128) >> at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:

Re: [codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-10 Thread Dennis Rogers
9 PM UTC-4 Steve Hannah wrote: > What IDE ate you using? you may need to enable error reporting (-e) in > the maven command to see the full stack trace of the error. > > On Tue, Jun 8, 2021 at 11:11 AM Dennis Rogers wrote: > >> Tried that but no joy. Any other suggestions? >

Re: [codenameone-discussions] Re: Unable to restart the IEHS App

2021-06-10 Thread Dennis Rogers
Then select the build target in the left column, and add "-e" to the > "Command line:" field on the right. > > [image: image.png] > > You should then see more error details. > > > > On Thu, Jun 10, 2021 at 9:48 AM Dennis

[codenameone-discussions] Native interfaces in Intellij

2021-06-12 Thread Dennis Rogers
I'm trying to create a native interface to access android's SpeechRecognitionHelper. Following the manual I created andinterface that extends NativeInterface i.e. import com.codename1.system.NativeInterface; public interface MyNative extends NativeInterface { String getSpeech(String hi); }

[codenameone-discussions] Re: Native interfaces in Intellij

2021-06-13 Thread Dennis Rogers
I generated the native interface but when I try to build it, it says it can't find com.codename1.system.NativeInterface. On Saturday, June 12, 2021 at 9:41:08 PM UTC-4 Shai Almog wrote: > The plugin is only applicable to Ant projects not to maven projects. > For maven Generate Native

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-23 Thread Dennis Rogers
I forgot to add the code used to test it: if(cn != null && cn.isSupported()) { rv = cn.doInNative("string"); Log.p(rv); } which returns "Dummy" as expected. --- On Wednesday, June 23, 2021 at 6:15:12 PM UTC-4 Dennis Rogers wrote: > I'm at

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-23 Thread Dennis Rogers
on=7.0.26 android.release=false android.debug=true --- . . On Wednesday, June 16, 2021 at 12:18:48 PM UTC-4 Dennis Rogers wrote: > Thanks, but that didn't seem to help. I don't get any errors when building > the app. I get these errors when trying to load it onto the phone: > > $ adb insta

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-17 Thread Dennis Rogers
to zero. Is that normal? -Dennis On Saturday, May 15, 2021 at 4:58:41 PM UTC-4 Dennis Rogers wrote: > Never mind the last post. I think I've resolved it :-| > > On Saturday, May 15, 2021 at 11:37:29 AM UTC-4 Dennis Rogers wrote: > >> I built the project for the device and it sa

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-15 Thread Dennis Rogers
Never mind the last post. I think I've resolved it :-| On Saturday, May 15, 2021 at 11:37:29 AM UTC-4 Dennis Rogers wrote: > I built the project for the device and it said I needed to run the > project, ~/IdeaProject/MyProject/android/target/ > When I do that, using android-stud

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-15 Thread Dennis Rogers
I built the project for the device and it said I needed to run the project, ~/IdeaProject/MyProject/android/target/ When I do that, using android-studio, I get the error: Error: Cause

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-19 Thread Dennis Rogers
into my build.gradle file and see compileSdkVersion and >> targetSdkVersion set to zero. Is that normal? -Dennis >> >> On Saturday, May 15, 2021 at 4:58:41 PM UTC-4 Dennis Rogers wrote: >> >>> Never mind the last post. I think I've resolved it :-| >>> >>

[codenameone-discussions] Re: Android debug with android studio 4

2021-05-10 Thread Dennis Rogers
I've migrated to maven and am able to run the project on the simulator. When I try to run it on a device, however, I can't access the "Codename one" menu. How do I build to a device ? On Wednesday, April 28, 2021 at 9:56:23 PM UTC-4 Shai Almog wrote: > Yes. What matters is the gradle version.

[codenameone-discussions] Can't get ios certificate after maven

2021-05-21 Thread Dennis Rogers
I've migrated to maven and have been able to do android device installs but when I try to do a IOS install it says I need a certificate. I had generated a certificate before I moved to maven. Unfortunately I can't find the certificate wizard I used before. Has it moved ? -Dennis -- You

Re: [codenameone-discussions] Can't get ios certificate after maven

2021-05-21 Thread Dennis Rogers
te wizard through codename one settings > still. See https://shannah.github.io/codenameone-maven-manual/#settings > > On Fri, May 21, 2021 at 11:39 AM Dennis Rogers wrote: > >> I've migrated to maven and have been able to do android device installs >> but when I try t

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-30 Thread Dennis Rogers
idn't include the error file from the cloud build because it was >>>>>>>> so long but nevertheless I've attached it below. >>>>>>>> >>>>>>>> >>>>>>>> On Wednesday, June 23, 2021 at 9:50:50 PM UTC-4 Shai

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-28 Thread Dennis Rogers
file and so would iOS. >>>>> Did you look at the How Do I video tutorial for native interfaces? >>>>> It's pre-maven but should cover all of this. >>>>> >>>>> On Thursday, June 24, 2021 at 1:19:17 AM UTC+3 a2nd...@gmail.com &g

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-06-26 Thread Dennis Rogers
e used to test it: >>>> >>>> if(cn != null && cn.isSupported()) { >>>> rv = cn.doInNative("string"); >>>> Log.p(rv); >>>> } >>>> >>>> which returns "Dummy" as expected. >>>> --- >&

[codenameone-discussions] Preferences

2021-06-26 Thread Dennis Rogers
Since I switched to maven the "codename one" button is disabled. Because of this I haven't been able to find the codename one preferences menu in intellij. How can I do this? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] Re: Preferences

2021-06-27 Thread Dennis Rogers
Thanks! On Saturday, June 26, 2021 at 9:48:49 PM UTC-4 Shai Almog wrote: > Expand the maven toolwindow on the right. Then: > [image: Screen Shot 2021-06-27 at 4.48.08.png] > > On Sunday, June 27, 2021 at 2:50:10 AM UTC+3 a2nd...@gmail.com wrote: > >> Since I switched to maven the "codename one"

Re: [codenameone-discussions] Re: Native interfaces in Intellij

2021-07-05 Thread Dennis Rogers
;>>> What's the cn1.plugin.version in the pom.xml? >>>>>>>>>> On Sunday, June 27, 2021 at 1:21:03 AM UTC+3 a2nd...@gmail.com >>>>>>>>>> wrote: >>>>>>>>>> >>>>>>>>>>> Do yo

[codenameone-discussions] Button padding

2021-04-22 Thread Dennis Rogers
In creating a button I find I can only reduce the padding to a certain point. The code I'm using is: Button btnname = new Button(itm.name); Style nameStyle = btnname.getAllStyles(); RoundRectBorder roundBorder = RoundRectBorder.create().cornerRadius((float) 2); nameStyle.setBorder(roundBorder);

[codenameone-discussions] Android debug with android studio 4

2021-04-28 Thread Dennis Rogers
Can I debug on an android device with android studio 4+? If not which version should I use? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-12 Thread Dennis Rogers
ccess it with the https:// prefix. >>>>>> >>>>>> --Dennis >>>>>> On Sunday, March 7, 2021 at 9:42:05 PM UTC-5 Shai Almog wrote: >>>>>> >>>>>>> I meant the Rest class. >>>>>>> >>&g

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-13 Thread Dennis Rogers
;> Is it a publicly visible IP accessible from the device? >>>>>>> >>>>>>> On Monday, March 8, 2021 at 8:35:52 PM UTC+2 a2nd...@gmail.com >>>>>>> wrote: >>>>>>> >>>>>>>> Yes, the site is https. To make s

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-14 Thread Dennis Rogers
I forgot to tell you. The password "pw2" is hashed to "f47ba92cf7". On Sunday, March 14, 2021 at 11:12:37 AM UTC-4 Dennis Rogers wrote: > Sure, You can use "te...@x.com" for the email (user id) and "pw2" as the > password. > > On Saturday,

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-14 Thread Dennis Rogers
;>> I'm able to access all the websites on that IP from the device. I >>>>>>>> also tried accessing the reply from the server without the >>>>>>>> BufferedInputStream with no luck. >>>>>>>> >>>>>>>> The certificate

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-15 Thread Dennis Rogers
.com wrote: > >> I forgot to tell you. The password "pw2" is hashed to "f47ba92cf7". >> >> On Sunday, March 14, 2021 at 11:12:37 AM UTC-4 Dennis Rogers wrote: >> >>> Sure, You can use "te...@x.com" for the email (user id) and "pw2&

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-16 Thread Dennis Rogers
at 11:37:29 PM UTC+2 a2nd...@gmail.com wrote: > >> >> BTW, It seems to work ok on the android device. >> On Tuesday, March 16, 2021 at 5:13:30 PM UTC-4 Dennis Rogers wrote: >> >>> The URL is wrong. It should be: "https://symdesigns.com/php/export.php >

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-18 Thread Dennis Rogers
le of days to >>> reproduce it on a device. >>> >>> On Tuesday, March 16, 2021 at 11:37:29 PM UTC+2 a2nd...@gmail.com wrote: >>> >>>> >>>> BTW, It seems to work ok on the android device. >>>> On Tuesday, March 16, 2021 at 5:13:3

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-09 Thread Dennis Rogers
ill fail by default. You can use this as a workaround: >>> https://www.codenameone.com/blog/ios-http-urls.html >>> On Sunday, March 7, 2021 at 7:13:46 PM UTC+2 a2nd...@gmail.com wrote: >>> >>>> Yes I'm using codename1.io.URL. >>>> >>&

Re: [codenameone-discussions] Re: Net Communications on iphone device

2021-03-19 Thread Dennis Rogers
Dialog.show("Error", err.toString(), "OK", null); > Log.p("URL error"); > Log.e(err); > } > }); > > hi.show(); > > > Codename One Simulator: Passed > Xcode Simulator (running iPhone 6 - iOS 12.1) : Passed > iPho

Re: [codenameone-discussions] Re: Net Communications on iphone device

2021-03-19 Thread Dennis Rogers
t;,$ln2,$passwd)); When running on the iphone the strings $ln1,$email, $ln2, and $passwd are blank. I 'm able to view the output from the logError function. -Dennis On Friday, March 19, 2021 at 12:06:02 PM UTC-4 Dennis Rogers wrote: > Thanks for trying the test code. "Success" is ju

Re: [codenameone-discussions] Re: Net Communications on iphone device

2021-03-20 Thread Dennis Rogers
php/export.php;); > > URL.HttpURLConnection link = (URL.HttpURLConnection)url.openConnection(); > link.setRequestMethod("POST"); > > ... > > > > On Fri, Mar 19, 2021 at 9:14 AM Dennis Rogers wrote: > >> I don't know if this helps but here's the php server

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-16 Thread Dennis Rogers
ime zone are you in? >> >> -Dennis >> On Sunday, March 14, 2021 at 10:08:01 PM UTC-4 Shai Almog wrote: >> >>> Thanks! >>> I'm trying to reproduce it and noticed I'm still missing the code of >>> getHash. >>> >>> On Sund

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-16 Thread Dennis Rogers
BTW, It seems to work ok on the android device. On Tuesday, March 16, 2021 at 5:13:30 PM UTC-4 Dennis Rogers wrote: > The URL is wrong. It should be: "https://symdesigns.com/php/export.php;. > With that change your test code seems to work ok on the simulator (returns > ok) but &

[codenameone-discussions] Net Communications on iphone device

2021-03-06 Thread Dennis Rogers
I have the following code that I use to send an email and password to my server. It works fine on the simulator but fails on an actual iphone (I receive a blank email and password): try { URL url = new URL(*"server address"*); link = url.openConnection(); link.setDoOutput(true);

[codenameone-discussions] Storage class persistance

2021-03-03 Thread Dennis Rogers
I'm using the storage class to save information permanently but I notice, using the simulator and a real device, that every time I compile a new version of the app it erases the persistent storage. I assume that loading a new version of the app from the app store will not erase this persistent

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-08 Thread Dennis Rogers
; If not iOS will fail by default. You can use this as a workaround: > https://www.codenameone.com/blog/ios-http-urls.html > On Sunday, March 7, 2021 at 7:13:46 PM UTC+2 a2nd...@gmail.com wrote: > >> Yes I'm using codename1.io.URL. >> >> On Sunday, March 7, 2021 a

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-07 Thread Dennis Rogers
Sorry but I'm still having problems. I tried using unbuffered IO but with the same result (works on the simulator but not on the device). Also the code I sent you was followed by: // Get buffered Input stream is = link.getInputStream(); BufferedInputStream binp = new BufferedInputStream(is);

[codenameone-discussions] Re: Net Communications on iphone device

2021-03-07 Thread Dennis Rogers
Yes I'm using codename1.io.URL. On Sunday, March 7, 2021 at 11:46:23 AM UTC-5 Dennis Rogers wrote: > Sorry but I'm still having problems. I tried using unbuffered IO but with > the same result (works on the simulator but not on the device). Also the > code I sent you was