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 Interfaces is one of the run configurations.
> On Sunday, June 13, 2021 at 12:01:09 AM UTC+3 [email protected] wrote:
>
>> 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);
>> }
>>
>> The manual then says I can generate initial native code by right clicking 
>> on the interface and selecting "Generate Native Access" . This option 
>> doesn't seem to be available in my setup and I don't know where to go from 
>> here.
>>
>> -Dennis
>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/34b23ffd-9d83-4077-b5f2-b52ea8ec685dn%40googlegroups.com.

Reply via email to