Lock Android phone application to Portrait mode
Yes! It's an attribute of the activity tag:
<activity android:name=".yourActivity" android:screenOrientation="portrait" ... />
Yes. Add android:screenOrientation="portrait"
to the manifest under your main activity.
<activity android:name=".yourActivity" android:screenOrientation="portrait"... />