Comments (4)
a new MainActivity is created but the older one's onDestory() is not called
I don't understand why would Android create 2 instances of MainActivity class inside the same system process. In my understanding the system will call onStart()
callback when the user returns to the activity, as shown here:
https://developer.android.com/guide/components/activities/activity-lifecycle#alc
However, if indeed that is the case, it looks like we can move some code out of onDestroy()
callback into onStop()
- this will remove the link between Core and old MainActivity. But first it's good to understand what exactly is happening here, step by step. I'll check this on my device.
this may result in some unexpected bug.
Is there some kind of crash (exception) here? Can you attach debug logs so I can look closer into it?
from phiola.
Is there some kind of crash (exception) here? Can you attach debug logs so I can look closer into it?
No error observed about this yet.
May you also to confirm that Svc.java
created 2 filter into the filters ?
from phiola.
I'm giving up to understand Android,
Instead I made a workaround , see https://github.com/neoedmund/phiola/blob/beta/android/phiola/src/main/java/com/github/stsaz/phiola/Track.java#L303
It fixed all the problem even multi MainActivity are created, especially about Lyrics, which need to find the correct MainActivity's view to show the lyrics.
from phiola.
Nothing to do here from my side currently.
Please reopen in case you have some new info on this.
from phiola.
Related Issues (20)
- Heap-Buffer-Overflow vulnerability at conv.c:68 HOT 1
- Heap-Buffer-Overflow vulnerability at pcm_convert.h:513 HOT 1
- Feature Requests HOT 2
- Can't connect to Webradio HOT 47
- Problem when playing unsupported files? HOT 3
- CLI recording slow start on Linux x86 HOT 2
- [FAEATURE REQUEST] Volume in CLI HOT 7
- phiola.exe (also phiola-gui.exe) crash while playing m3u file with radio stations when going next / previous HOT 2
- Background recording CLI not working HOT 9
- User Projects & User Stories HOT 2
- Arguments -aformat/-rate/-channels are not work HOT 4
- Support for external open with HOT 2
- [Android 11, v2.1-rc4] Recorded files are not added to playlist HOT 2
- [Android 11, v2.1-rc4] Recording compression setting is not respected HOT 1
- Custom recording filename template (Android) HOT 1
- Read aac info HOT 2
- CUI option --volume HOT 2
- Recursive Search HOT 6
- Some tracks are missing when splitting FLAC files. HOT 8
- Please share the readme gui theme.conf HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phiola.