Strange behavior on Android

I hope I’m doing something silly here…

When my android phone’s screen times out or I switch to a different app, my hr app switches back to the first sl8de out menu option.

On my pull out menu, I have 4 options. If I have selected option 2 (that changes an input on m my receiver to cd, let’s say) and then switch to a different android app, the hr app returns to option 1 (changing the input back to let’s say, tv).

I am running the same hrp on an iPad, but that doesn’t happen.

Thanks for the help.

Is this behavior something that has changed or are you trying Android ?

Not sure if this is your issue or not but it might be a app setting in Android. Look in the Android settings Apps>Home Remote>Battery and try setting to “unrestricted”.

1 Like

I’ve been using the same .hrp for a while now and have just dealt with it (since I have an iPad that works perfectly, but not always available).

I decided to try to tackle this annoyance o cd and for all.

I tried your suggestion, but no change.

Thanks for the reply.

Android and Apple handle application windows differently, especially with “pop up” windows. It is not clear to me what kind of THR window you are using that causes this.

Thanks for the reply and sorry for not being clearer. What I’m referring to is the slide out from the left side the contain a list pages to navigate to. If I navigate away from the main page of the hrp and my screen times out OR I switch to a different Android app, my hrp flips back to the main hrp page, including executing all commands as if I’d dine it manually.

I hope this clarifies my problem. Thanks again.

I still do not fully understand your issue. That sliding left menu is like a pop up screen that lists pages you can switch to. That pop up screen will disappear when you switch away from THR. Now if you use that menu to switch to another page, which will then become the new active page. The page becomes inactive when switching away from THR, will again become active when coming back to THR.

Do you have commands that run when your current page (behind the menu) becomes active? When returning to THR, that page now becomes “active” again and thus those commands are run.

Again, Apple and Android OS’s handle pop up windows differently. If you are running code meant for both types of devices, you have to compensate for these differences.

To clarify, I built the Android hrp and Apple hrp seperately, using the appropriate template.

That’s the exact behavior that is NOT working for me on the Android hrp. I believe it’s the inactivity on the Android that’s the issue. As soon as it goes inactive either from a screen timeout or me switching apps, THR goes back to the main page that loads when THR starts.

My slide out is this:
TV/Cable – Page that loads on THR start.
Roku – Loads a Roku page. This is the issue as explained above. Reverts back to TV/Cable as soon as timeout or app switch.

Question – Just occured to me: I’ve noticed, but never used the loaded/unloaded options. Should I be setting something here to avoid the behavior at issue?

Thanks