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
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
.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
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
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
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:
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?
>
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
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);
}
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
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
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
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
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
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
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 :-|
>>>
>>
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.
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
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
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
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
e used to test it:
>>>>
>>>> if(cn != null && cn.isSupported()) {
>>>> rv = cn.doInNative("string");
>>>> Log.p(rv);
>>>> }
>>>>
>>>> which returns "Dummy" as expected.
>>>> ---
>&
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
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"
;>>> 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
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);
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
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
;> 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
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,
;>> 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
.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&
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
>
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
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.
>>>>
>>&
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
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
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
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
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
&
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);
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
; 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
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);
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
45 matches
Mail list logo