package test.pkg;

import android.app.Activity;
import android.content.Context;

public class StringFormat2 extends Activity {
    public static final String buildUserAgent(Context context) {
        StringBuilder arg = new StringBuilder();
        // Snip
        final String base = context.getResources().getText(R.string.web_user_agent).toString();
        String ua = String.format(base, arg);
        return ua;
    }

    public static final class R {
        public static final class string {
            public static final int web_user_agent = 0x7f0a000e;
        }
    }
}