[codenameone-discussions] Re: Facial recognition

2021-07-02 Thread Shai Almog
Hi,
if you just use it for authentication and the user has face recognition 
enabled in his device it should "just work". As far as I know. 

On Friday, July 2, 2021 at 10:48:23 AM UTC+3 rdvg...@gmail.com wrote:

> Hi,
>
> Thanks for answering.
>
> I have reviewed and I do not see documentation of how to use finger print 
> with facial recognition, could you give me a link or an example.
>
> Greetings
>
> El Thursday, July 1, 2021 a la(s) 10:21:51 PM UTC-5, Shai Almog escribió:
>
>> Hi,
>> the finger print CN1Lib supports authenticating with faces if that's your 
>> requirement.
>>
>> On Friday, July 2, 2021 at 4:22:57 AM UTC+3 rdvg...@gmail.com wrote:
>>
>>> Hi,
>>>
>>> I have seen many posts on the topic of facial recognition on CN1. The 
>>> recommendation was always that CN1 has the tools for the programmer to 
>>> carry out this type of development.
>>>
>>> Today I find myself with the need for this functionality and I accept 
>>> that I do not feel qualified to do it.
>>>
>>> Do you have plans to include it?
>>> Is there a developer in the group who has done it and wants to share it?
>>>
>>> I appreciate your comments.
>>>
>>

-- 
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/1000ec48-4161-46ae-8a9e-bd0982046d78n%40googlegroups.com.


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

2021-07-02 Thread Steve Hannah
Looks like there is a bug right now in the maven plugin regarding where it
generates the IOS native interfaces.

It seems to be generating them in src/main/objectivec (i.e. in the "src"
directory of the root project).  They should be generated in
ios/src/main/objectivec. (i.e. inside the ios submodule).
If seems to be doing the same thing with the "javascript" native files.

Move the contents of your src/main/objectivec directory into
ios/src/main/objectivec, and it should fix your issue.

Steve

On Thu, Jul 1, 2021 at 8:20 PM Shai Almog  wrote:

> They don't have the right name. I'm checking.
>
> On Thursday, July 1, 2021 at 7:14:31 AM UTC+3 a2nd...@gmail.com wrote:
>
>> The files appear to be here:
>>
>> src/main/objectivec/com_symdesign_shoppinggenie_MyNativeImpl.h
>> src/main/objectivec/com_symdesign_shoppinggenie_MyNativeImpl.m
>>
>> On Wednesday, June 30, 2021 at 10:05:05 PM UTC-4 Shai Almog wrote:
>>
>>> In iOS it generates 
>>> native_com_symdesign_shoppinggenie_MyNativeImplCodenameOne.m
>>> and native_com_symdesign_shoppinggenie_MyNativeImplCodenameOne.h
>>> Which you need to edit.
>>>
>>> For some reason it seems 
>>> native_com_symdesign_shoppinggenie_MyNativeImplCodenameOne.h
>>> is missing. Do you have any idea why?
>>>
>>> On Wednesday, June 30, 2021 at 10:14:28 PM UTC+3 a2nd...@gmail.com
>>> wrote:
>>>
 I deleted the files and it did seem to compile and run on an android
 device but I can't do a build for the iphone.

 When I did the "genereate native interfaces" it didn't seem to create a
 "MyNativeImpl" file for the iphone and it generates an error file which
 I've attached.


 On Monday, June 28, 2021 at 9:44:15 PM UTC-4 Shai Almog wrote:

> By default we don't overwrite files that are already there. I suggest
> deleting and regenerating.
>
> On Monday, June 28, 2021 at 5:56:58 PM UTC+3 a2nd...@gmail.com wrote:
>
>> The file MyNative.java I created. I assume it was used to create the
>> MyNativeImpl.java. I see that file is in three places:
>>
>> android/target/classes/com/symdesign/shoppinggenie/MyNativeImpl.java
>> android/src/main/java/com/symdesign/shoppinggenie/MyNativeImpl.java
>> javase/src/main/java/com/symdesign/shoppinggenie/MyNativeImpl.java
>>
>> when I do "generate native interfaces" only the last one is updated.
>> Should the other two be there ? They are about 3 weeks old.
>>
>>
>>
>> On Sunday, June 27, 2021 at 9:43:20 PM UTC-4 Shai Almog wrote:
>>
>>> Not common. Under the android hierarchy you should have a file with
>>> the name MyNativeImpl.java
>>>
>>> On Sunday, June 27, 2021 at 6:23:28 AM UTC+3 a2nd...@gmail.com
>>> wrote:
>>>
 I'm not quite sure what you mean by the "Android native" file. The
 file with my NativeInterface interface code is in
 "common/src/main/java/com/symdesigns/shoppinggenie/MyNative.java.
 The cn1.pluging.version is 7.0.26 .

 On Saturday, June 26, 2021 at 9:47:06 PM UTC-4 Shai Almog wrote:

> Just the Android version is enough. If the Android native file
> there?
> Under which directory from project root?
>
> 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 you need to add native code for all of the native platforms?
>> At the moment I only need it for android. I did go through the video
>> tutorial.
>>
>> I didn'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 Almog wrote:
>>
>>> Where's the rest of the error log?
>>> Also you didn't implement the native code for each of the native
>>> platforms e.g. Android would have its own impl 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
>>> wrote:
>>>
 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 a loss in trying to do a native interface. I created
> the class "MyNative"
>
> package com.symdesign.myapp;
>
> import com.codename1.system.NativeInterface;

[codenameone-discussions] Re: Facial recognition

2021-07-02 Thread rdvg...@gmail.com
Hi,

Thanks for answering.

I have reviewed and I do not see documentation of how to use finger print 
with facial recognition, could you give me a link or an example.

Greetings

El Thursday, July 1, 2021 a la(s) 10:21:51 PM UTC-5, Shai Almog escribió:

> Hi,
> the finger print CN1Lib supports authenticating with faces if that's your 
> requirement.
>
> On Friday, July 2, 2021 at 4:22:57 AM UTC+3 rdvg...@gmail.com wrote:
>
>> Hi,
>>
>> I have seen many posts on the topic of facial recognition on CN1. The 
>> recommendation was always that CN1 has the tools for the programmer to 
>> carry out this type of development.
>>
>> Today I find myself with the need for this functionality and I accept 
>> that I do not feel qualified to do it.
>>
>> Do you have plans to include it?
>> Is there a developer in the group who has done it and wants to share it?
>>
>> I appreciate your comments.
>>
>

-- 
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/55d46512-663e-4920-99b6-2b0e3c81c07an%40googlegroups.com.