android - Why does the Facebook ApplicationId need a space in front of the number in AndroidManifest.xml? -


When an Android app uses Facebook, the app ID Android Manifest Is included in XML (edit: it has been found that it is not recommended), the value should be in the form of its first letter, thus escaping from a backslash:

  & Lt; Meta-data android: name = "com.facebook.sdk.ApplicationId" Android: value = "\ 00000" />  

My question is, instead of leaving behind the backslash Why is it necessary?

Is this an obstacle, from which you can think that what you are doing is a price there? Is it to make sure that some parser considers it a string rather than a decimal number?

I will actually add an answer so that it can be accepted

Then, in your manifest:

  & lt; Meta-Data Android: name = "com.facebook.sdk.ApplicationId" Android: value = "@ string / APP_ID" />  

Comments

Popular posts from this blog

c# - Reactive Extensions ControlScheduler -

scala - Play Framework - how to bind form to a session field -

javascript - Enable/Disable form elements and changing the values of button at a time? -