i move to this forum to discuss the problem with the library @Alberto Iglesias want to wrap to this forum to discuss it here
Found it. Ok, the library imports a
import es.cea.comlibrary.R.string;
so i would set the package to the name like in this import.
and place the r.java in
es\cea\comlibrary\r.java
I´ll send you a mail in return with the lib and src as i dont know it should be public her.
Let us talk here about the wrap then further....
this port is crucial to library can listen this udp port and used by class
CEACommunicationsLibraryAPIManager
in this line:
final String sport = context.getString(R.string.cea_lib_broadcast_listen_port);
Found it. Ok, the library imports a
import es.cea.comlibrary.R.string;
so i would set the package to the name like in this import.
B4X:
package es.cea.comlibrary;
import anywheresoftware.b4a.BA;
public class R {
public static final class string {
public static int cea_lib_broadcast_listen_port = BA.applicationContext.getResources().getIdentifier("cea_lib_broadcast_listen_port", "string", BA.packageName);
public static int cea_lib_blacklist_port = BA.applicationContext.getResources().getIdentifier("cea_lib_blacklist_port", "string", BA.packageName);
public static int cea_lib_broadcast_listen_timeout = BA.applicationContext.getResources().getIdentifier("cea_lib_broadcast_listen_timeout", "string", BA.packageName);
public static int cea_lib_uri_scheme = BA.applicationContext.getResources().getIdentifier("cea_lib_uri_scheme", "string", BA.packageName);
public static int cea_lib_platform = BA.applicationContext.getResources().getIdentifier("cea_lib_platform", "string", BA.packageName);
public static int cea_lib_service_version = BA.applicationContext.getResources().getIdentifier("cea_lib_service_version", "string", BA.packageName);
public static int cea_lib_last_updated = BA.applicationContext.getResources().getIdentifier("cea_lib_last_updated", "string", BA.packageName);
}
}
es\cea\comlibrary\r.java
I´ll send you a mail in return with the lib and src as i dont know it should be public her.
Let us talk here about the wrap then further....