D DevBaby Active Member Licensed User Longtime User Mar 12, 2016 #1 I added the following to my manifest for a the facebook sdk... Code: AddManifestText( <application android:label="@string/app_name"> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> </application>) I have the the following in my string.xml AppID is my actual Facebook App ID AppName is my actual app name as defined in Project > Package Name in B4A Code: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="facebook_app_id" >"ID</string> <string name="app_name" >AppName</string> </resources> This all compiles and installs on my phone just fine. However, the [open] option is disabled and I am unable to locate / open the app on my phone. When I remove the manifest entry, I am able to compile, install, open and use as usual.
I added the following to my manifest for a the facebook sdk... Code: AddManifestText( <application android:label="@string/app_name"> <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/> </application>) I have the the following in my string.xml AppID is my actual Facebook App ID AppName is my actual app name as defined in Project > Package Name in B4A Code: <?xml version="1.0" encoding="utf-8"?> <resources> <string name="facebook_app_id" >"ID</string> <string name="app_name" >AppName</string> </resources> This all compiles and installs on my phone just fine. However, the [open] option is disabled and I am unable to locate / open the app on my phone. When I remove the manifest entry, I am able to compile, install, open and use as usual.
Erel B4X founder Staff member Licensed User Longtime User Mar 13, 2016 #2 You need to use AddApplicationText instead and only add the meta-data line. Upvote 0