Naming your android app -
i have created app on android , reason unnamed when seen on phone manifest file is
<application android:icon="@drawable/bampong" android:label="bam! pong" android:debuggable="true"> <activity android:label="@string/app_name" android:screenorientation="portrait" android:name=".start"><intent-filter><action android:name="android.intent.action.main"></action>
i tried adding android:name="appname",but gives error
you need add string resource "app_name." (the file res/values/string.xml.) see android hello world example more information.
<?xml version="1.0" encoding="utf-8"?> <resources> <string name="hello">hello, android! string resource!</string> <string name="app_name">hello, android</string> </resources>
Comments
Post a Comment