Java Question Skype For Business B4A Library

yo3ggx

Active Member
Licensed User
Longtime User
One step further.
I've created a R.java file with the following content:
B4X:
package com.microsoft.office.lync.api;

public class R {
    public static final class string {
        public static final int ENTERPRISE_AUTHONTICATOR_LABEL=0x7f040003;
        public static final int ENTERPRISE_AUTHENTICATOR_ACCOUNT_TYPE=0x7f040000;
        public static final int app_name=0x7f070010;
    }
}

0x7f070010 is the value taken from the R.txt file associated with that specific aar library (platform.aar)
B4X:
int string app_name 0x7f070010

Now I get another error:
B4X:
debugmsg: android.content.res.Resources$NotFoundException: String resource ID #0x7f070010

In the res\values\values.xml I have:
B4X:
<?xml version="1.0" encoding="utf-8"?>
<resources>
    <string name="ENTERPRISE_AUTHENTICATOR_ACCOUNT_TYPE" translatable="false">"com.microsoft.android.enterprise15.appsdk"</string>
    <string name="ENTERPRISE_AUTHONTICATOR_LABEL" translatable="false">"app_name_dev"</string>
    <string name="app_name" translatable="false">"app_name_dev"</string>
</resources>

So "app_name" string is there.

res folder is added to the B4A app through:
B4X:
#AdditionalRes: P:\eclipse\workspace\Skype4Business\res

Now I'm again lost...
 

yo3ggx

Active Member
Licensed User
Longtime User
Cookies are required to use this site. You must accept them to continue using the site. Learn more…