barx Well-Known Member Licensed User Longtime User Mar 7, 2013 #1 Is it possible to use the manifest editor to add some <meta-data /> to an <activity> to produce something like this. Code: Copy <activity android:name=".ResultActivity" android:parentActivityName=".MainActivity"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".MainActivity"/> </activity>
Is it possible to use the manifest editor to add some <meta-data /> to an <activity> to produce something like this. Code: Copy <activity android:name=".ResultActivity" android:parentActivityName=".MainActivity"> <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".MainActivity"/> </activity>
Erel B4X founder Staff member Licensed User Longtime User Mar 8, 2013 #2 Yes: Code: Copy AddActivityText(ResultActivity, <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".MainActivity"/>) Upvote 0
Yes: Code: Copy AddActivityText(ResultActivity, <meta-data android:name="android.support.PARENT_ACTIVITY" android:value=".MainActivity"/>)
barx Well-Known Member Licensed User Longtime User Mar 9, 2013 #3 will give that a try erel. So will this overwrite anything in the manifest already about the resultactivity? or append it or create a separate section. Can you have multiple sections relating to the same activity. The reason I ask is because this activity will have been added as a b4a activity and so there will be the default b4a entry in there already. Thanks Upvote 0
will give that a try erel. So will this overwrite anything in the manifest already about the resultactivity? or append it or create a separate section. Can you have multiple sections relating to the same activity. The reason I ask is because this activity will have been added as a b4a activity and so there will be the default b4a entry in there already. Thanks