Stanley icon indicating copy to clipboard operation
Stanley copied to clipboard

Display the manifest directly in the app

Open xgouchet opened this issue 5 years ago • 7 comments

Right now when we extract an application's manifest, we try to open it with a "VIEW" intent. But if the device doesn't have any way to display it, we should have a way to do it from within Stanley

xgouchet avatar Oct 10 '20 12:10 xgouchet

Do means need to show as XML?

abkoradiya avatar Oct 10 '20 15:10 abkoradiya

Not necessarily show the xml directly, but we need to display the full content of the manifest, among other reasons, to display whatever we don't yet show in the app (e.g. intent filters, ...).

xgouchet avatar Oct 10 '20 15:10 xgouchet

But if we will not show XML directly then it needs some design specification. Like How receiver, service, and other components look like?

abkoradiya avatar Oct 10 '20 15:10 abkoradiya

@ekrmh So no need to show manifest in app. right?

abkoradiya avatar Oct 12 '20 15:10 abkoradiya

@abkoradiya In my PR, we can get intent filters (action, category and data) of activities, services and broadcast receivers and display them in the detail screen however, there are still deficiencies such as meta-data information. We should be able to show full content of AndroidManifest.xml file.

Also currently the app able to get AndroidManifest.xml file of apps and export them to xml reader apps in the detail screen. It would be nice feature if we could read and edit the AndroidManifest.xml file directly from within the application.

ekrmh avatar Oct 12 '20 21:10 ekrmh

@ekrmh we can pick any logic for converting XML to HTML with styles that are currently doing by browsers.

abkoradiya avatar Oct 13 '20 04:10 abkoradiya

@xgouchet The app is currently exporting the AndroidManifest.xml file and redirect it to the xml reader app installed on the phone. if the device doesn't have app that can open xml file, user can not display manifest file. Do we have any plan to display full content of manifest file within the app without any redirection?

ekrmh avatar Oct 15 '20 21:10 ekrmh