def get_main_activity(self):
x = set()<EOL>y = set()<EOL>for i in self.xml:<EOL><INDENT>activities_and_aliases = self.xml[i].getElementsByTagName("<STR_LIT>") +self.xml[i].getElementsByTagName("<STR_LIT>")<EOL>for item in activities_and_aliases:<EOL><INDENT>activityEnabled = item.getAttributeNS(NS_ANDROID_URI, "<STR_LIT>")<EOL>if activityEnabled is not None and activityEnabled != "<STR_LIT>" and activityEnabled == "<STR_LIT:false>":<EOL><INDENT>continue<EOL><DEDENT>for sitem in item.getElementsByTagName("<STR_LIT:action>"):<EOL><INDENT>val = sitem.getAttributeNS(NS_ANDROID_URI, "<STR_LIT:name>")<EOL>if val == "<STR_LIT>":<EOL><INDENT>x.add(item.getAttributeNS(NS_ANDROID_URI, "<STR_LIT:name>"))<EOL><DEDENT><DEDENT>for sitem in item.getElementsByTagName("<STR_LIT>"):<EOL><INDENT>val = sitem.getAttributeNS(NS_ANDROID_URI, "<STR_LIT:name>")<EOL>if val == "<STR_LIT>":<EOL><INDENT>y.add(item.getAttributeNS(NS_ANDROID_URI, "<STR_LIT:name>"))<EOL><DEDENT><DEDENT><DEDENT><DEDENT>z = x.intersection(y)<EOL>if len(z) > <NUM_LIT:0>:<EOL><INDENT>return self.format_value(z.pop())<EOL><DEDENT>return None<EOL>
Return the name of the main activity

:rtype: string