Coder Social home page Coder Social logo

activitymanager's Introduction

πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦πŸ‡ΊπŸ‡¦

Hi there πŸ‘‹

My name is Yuriy.

I'm a professional software developer with more than a decade of experience developing native Android applications.
I'm looking for exciting and challenging projects where I can apply my skills.

Tech: Kotlin, Java, Compose, Jetpack, Firebase, MVVM

LinkedIn: https://www.linkedin.com/in/ymysochenko/
Contact: https://sdex.dev/contact

activitymanager's People

Contributors

drogga avatar jesse205 avatar sdex avatar y-e-p avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

activitymanager's Issues

App becomes unresponsive when opening manifest viewer

When I open the manifest viewer, the app becomes unresponsive for several seconds, sometimes even several minutes if the manifest is really big. The initial render seems to display the manifest just fine but I can't scroll at all and usually get the "Activity Manager isn't responding" prompt.

Android version: 11
Activity Manager version: 5.2.1
Tested with these packages:

  • Firefox Nightly (org.mozilla.fenix: hangs for ~25-30s
  • Google Photos (com.google.android.apps.photos): had to kill the app after a couple minutes

Cryptographic APIs misuses

I'm a PhD student interested in finding security vulnerabilities in open source projects.

We found a total of 06 warnings (indicating potential vulnerabilities) when running the CogniCrypt static analyzer (*) on ActivityManager (or its library dependencies). We documented each one of these issues in private gists for the sake of confidentiality (non-disclosure).

Can you please let us know whether we can share these gists with you? We are eager to evaluate the perception of developers (e.g. severity of these warnings) and improve ActivityManager's security, and the quality of the reports of static analysis tools.

(*) https://github.com/CROSSINGTUD/CryptoAnalysis

Data loss on double screen rotation

Hi, this issue has a relation with #5.

We found failures similar in activities:

  • ActivitiesListActivity: menu bar changed, screen text disappears, various properties disappear
Before and after double screen rotation
Before and after double screen rotation
  • AddShortcutDialogActivity: changed menu bar
Before and after double screen rotation
  • MainActivity: changed menu bar
Before and after double screen rotation
  • ManifestViewerActivity: returned to previous activity, several properties disappear
Before and after double screen rotation

Note:

  • Double screen rotation: It is executed twice to reach a state that should be exactly the same as the screen before if no data loss occurred.
  • A data loss problem occurs when data is accidentally deleted or state variables are accidentally assigned with default or initial values.

How to launch app info shortcut

Hi, can someone suggest me how do I open in one click the app info screen of a precise chosen app?
Screenshot_20230923-220158

I tried like this but I am no expert in this.

Thanks

Request to Add More Languages to ActivityManager

Dear ActivityManager Development Team,

I am writing to request that additional languages be added to the ActivityManager software. As a user of this software, I have found it very useful in my daily work, but I believe that it could be even more effective if it were available in more languages.

Specifically, I would like to suggest the addition of [list of languages] to the software. These languages are widely spoken in different regions of the world and would allow more users to benefit from the features and functionalities of ActivityManager.

I understand that adding new languages requires resources and time, but I believe it would be a worthwhile investment for both users and the development team. By making the software accessible to a wider audience, ActivityManager can increase its reach and impact, while also helping users who may not speak the currently supported languages.

Thank you for your consideration of this request. Please let me know if you need any further information or if there is anything else I can do to help.

Data loss while using the app (dialog disappears on-screen rotation)

When I perform these sequences of events, the dialog disappears on-screen rotation:

  1. Go to the Main activity
  2. Tap in Settings (gear button icon)
  3. Tap in Theme
  4. A fragment similar to this will appear:
    Before rotation:

  1. Force the pause from the activity and then return to the activity (double rotation). Note that the fragment disappears and goes back to the main activity.

Note: the pause from activity can be performed in several ways. We suggest using a double rotation (starts in portrait, goes to landscape, and back to portrait) with this function previously enabled in the smartphone.

The expected behavior is the return to the previous state with the fragments of the previous image.

However, the fragment disappears and goes back to the main activity.

After rotation:

Device:

  • Device: Moto G30 with OS: Android 11
  • Version: 4.1.4
  • Device language: English

Shizuku

adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh echo start

Manifest view refreshes after rotating device

Open a manifest file and scroll to a random position. Rotate screen and you will find the page scroll back to top. Then I need to manually restore the position.

Before rotation:
Screen Shot 2022-03-04 at 8 17 11 PM

After rotation:
Screen Shot 2022-03-04 at 8 17 19 PM

I was testing on v4.1.4 on Android 10

Intent Builder Feedback

Hello, I have some quick thoughts about the intent builder (no particular order):

  1. the mime type vnd.android.document/directory is missing from the list. It's hard to remember exactly how to type it manually.*
  2. The intent silently sets FLAG_ACTIVITY_PREVIOUS_IS_TOP which isn't always wanted and AFAIK it can't be unset.
  3. +1 for icon support #9
  4. Thanks for creating it!

*I use that to create shortcuts to specific folders for the DocumentsUI Files app, I don't know how many other apps react to it but at least some file managers do.

[Feature request] Pass URI resources with --grant-read/write-uri-permission to launched application

I'm trying to use activity manager to make a shortcut to open up a text file in an editor.

I can tell the editor which file to attempt to open by including it into the data part of the intent, such as content://com.termux.documents/document/%2Fdata%2Fdata%2Fcom.termux%2Ffiles%2Fhome%2FAchats.txt or content://com.android.externalstorage.documents/primary%3Aessai.txt

However, this fails because the editor has no permission.

If on the other hand, I tick the FLAG_GRANT_READ_URI_PERMISSION, i get an error because ActivityManager has no permission :-)

Suggestion: include a UI where ActivityManager can request a persistable-uri-permission from the user (this would pop up a file picker, where user chooses the file to make accessible), and use that permission to grant to the target.
Another advantage of this would be that this removes the hassle of needing to figure out what the URI of the file actually is (see the 2 rather unreadable examples in the second paragraph).

The Shortcut Maker app from Playstore handles it this way, but unfortunately has other bugs which makes it not usable (drops other flags such as FLAG_ACTIVITY_MULTIPLE_TASK and FLAG_ACTIVITY_NEW_DOCUMENT)

Thanks,

Alain

Toggle to display cutout-->waterfall cutout mode

to take advantage of the full length of the mobile screen when reading pdfs I want to automate the process of going to developer options-->display cutout-->waterfall cutout mode, and then open the Readera app to read the pdfs. When finished I have to switch to normal screen mode.
How could I do it with this app?

Shortcut not working "App isn't installed"

Using OneUI 5.1 on Galaxy S21

I made a shortcut for "com.android.settings.notification.history.NotificationHistoryActivity" inside "com.android.settings", but when I tried to open the shortcut, a toast message says "App isn't installed", but if I try to open directly form the list (in Activity Manager) it opens normally.

Check duplicate history items

Hi.
In the current version, addToHistory() will not check if the history item with the same parameters already exists in the history. IMO this app will be more convenient if the exactly same history items will be shown only once. Making this feature optional is also great.
Some users, including me, treat the history as an alternative to shortcut. In this case, we don't need to record what parameters are used each time, we just need to record the parameters themselves. Maybe you could delete the existing one when adding an item.
Anyway, thank you for this amazing tool!

Support `setData()`

I want to work around a Matrix Element bug in making shortcuts; I want to choose a custom icon for a shortcut to Firefox Fennec.

I can do both with this app, if it lets me setData() to a custom URI.

// im.vector.app.features.link.LinkHandlerActivity - mozilla.components.feature.pwa.WebAppLauncherActivity
Intent intent = new Intent();
intent.setClassName(packageName, activityName);
intent.setData(android.net.Uri.parse(permalink));
ctx.startActivity(intent);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.