wildstylez.aia (1.5 MB)
could someone please help out here, my app plays but cuts out half way through
don't know what i'm doing wrong?
Halfway through what ?
Exactly halfway through (whatever), or after a couple of minutes (when the app drifts off into the background) ?
rite so i press play in the app i hear our station for a few seconds
then cuts out, no music heard?
Not halfway through anything then ?
Use logcat to see what is happening...
You could always create a "very simple example" project that replicates the problem and share that here
No issue here. Check internet connection...
(Android version, device name?)
i'm using googles pixel
Me too. Pixel 2XL, Pixel 4XL and Pixel Pro 7 (Android 11, 13, 16).
yea same as that, but i don't understand it. i press play go out of the app
then seconds or mins after the music stops, but the button is still playing? like
WTH
If your app/device goes into idle mode, Doze mode kicks in on Android 6+. You need a foreground service for the app to work in the background/idle mode.
This issue has been discussed in detail dozens of times in all App Inventor distro communities over the past six years or more.
If you are asking for help, I recommend you to make it as easy for others to be able to help you ...
You probably will get more feedback then...
which means in your case post a screenshot of your relevant blocks...
To download the aia file, upload it to App Inventor, open it, do some bug hunting for you, find out if you are using a foreground service etc... this takes time, and most people will not do that...
Thank you.
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Does the app (music) work now for you? I don't think so.
So check it out first.
hi first off i want to start by apologising to mit
staff for my attitude. yes i was using niotron while i was banned from here
what am i using mit/kodular or niotron you may ask.
i'm now using MIT
now as you all know i'm building an app for my station
now when i play it in background it still plays but stops?
Also the urskeepawake don't seem to want to go into the Screen1 blocks marked red x
blocks attached
now i DO NOT know were i'm going wrong , i would like for my app to play in background when guests go out of app
any help would be appreciated! many thanks
wildstylez_1.aia (1.7 MB)
You can't import a Niotron project into App Inventor, for example here there is no such event called Screen.OnResume
Use your latest App Inventor version and restart from there following the tips already provided by @Anke in your Niotron thread
For the missing events you can use an extension instead
Taifun
I've posted an image of my blocks and aia
What can I use instead of there's no such thing called
Screen.onResume
I HAVE to use MIT because MIT has the keystore
For my app for Google play?
I have a foreground in MIT app inventor
Calls urskeepawake which anke did provide
I'm trying to fix my blocks with red X on them
No
You can export your keystore here and import it in Niotron
Taifun
Yes but mit has the app inventor URL
For Google, Google won't accept if the app don't
Have wildstylz.jayaubs89.appinventor
Plus I love using MIT it's the best
Use this extension instead:
Rite thanks anke
i've got a warning in google play
App must target Android 15 (API level 35) or higher
what version in mit do i have to put?