title: Android sdk 3.0: How to set applicationId when using UiLifecycleHelper.java?
body: <p>I recently migrated from FB for Android 2.0 to 3.0.</p>
  
  <p>Instead of using </p>
  
  <p><code>&lt;meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/app_id"/&gt;</code></p>
  
  <p>in my AndroidManifest.xml, I wanted to programmatically set my application Id to a session.</p>
  
  <p>I know that I can use Session.Builder.setApplicationId() upon the creation of a session object.
  However, when I use <strong>UiLifecycleHelper.java</strong>, it creates a session without using session.Builder. It only uses its constructor (session = new Session(activity)).
  It seems like it assumes that I already defined a meta-data for app id in my manifest file.
  However, I want UiLifecycleHelper.java to create a session by using Session.Builder and programmatically applying my application Id in its onCreate().</p>
  
  <p>How can I do it? I google it but haven't found any solution yet.
  Is it a common practice to use meta data to set FB application Id in the manifest file? I really don't want to reveal my app Id by putting it in an xml file. Please help!</p>