[arquillian-issues] [JBoss JIRA] (ARQ-1548) Be able to start parent activity of specified one for Droidium native

Stefan Miklosovic (JIRA) jira-events at lists.jboss.org
Thu Oct 24 04:44:02 EDT 2013


Stefan Miklosovic created ARQ-1548:
--------------------------------------

             Summary: Be able to start parent activity of specified one for Droidium native
                 Key: ARQ-1548
                 URL: https://issues.jboss.org/browse/ARQ-1548
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Extension - Droidium
    Affects Versions: droidium_1.0.0.Alpha2
            Reporter: Stefan Miklosovic
            Priority: Optional


Given:
I have activities which can be started via activity manager.
When:
I want to start some activity
Expect:
I can get the activity as string which is the parent of the specified one
Example:
{code}
ActivityManager manager = android.getActivityManagerProvider().getActivityManager();
String parentOfHome = manager.getParentOf("HomeScreenActivity");
manager.startActivity(parentOfHome);
{code}

Not every activity has its parent since the information about the parentship is parsed from aapt dump xmltree, in case there is not any parent activity found, return null or throw NotParentActivityFound runtime exception.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list