Originally Posted by el_easy
You can post here, you're not violate any forum rules, as matter as fact you can find such app in HBO GO thread , I'm using app calls ''hdmi virtual switch'' because I couldn't play SHOWTIME ANYTIME because didn't support HDMI OUT,so thanks for such app I can HBO and SHOWTIME with no problem..
HDMI virtual switch does not work for the optimum app, it doesn't just check that file, and it also doesn't just simply listen for the HDMI intent in a standard way. I downloaded rom toolbox pro, there is an app within there called Auto Start Manager, this actually looks at the intents being listened to by various apps, I actually used that to get SHOWTIME ANYTIME to work, I didn't realize "HDMI virtual switch" worked for that. Showtime actually has an HDMIBroadCastReceiver that this blocks perfectly, no such receiver in the optimum app =(
Originally Posted by criticalera
not sure but I would love to test it for u, also if you can makeit compatible for android4.1.2. that would be great
So I had the app working working with HDMI output, no errors from the app stating it does not support HDMI out on load. App was mirroring great. Then I get home, go on my home network where I can actually stream video, and as soon as a channel starts to load, the app crashes and restarts. I thought it was my mod, but it turns out the decompile must not be good enough. I've tried de-compiling and recompiling without even making any code changes a number of different ways, using different versions of APK-TOOL, different methods of signing, not decompiling resources, decompiling resources and fixing those stupid .9 patch images or whatever, I tried using Virtuous Ten Studio and APK-Multi-Tool (which I know all use Apk-Tool, but I was just hoping I was doing something wrong. All with the same results, mirroring works until you start to stream a channel - then crash.
I'm going to have to get better at smali coding, the app seems pretty complex, just finding the code to modify for hdmi output was tricky, I have no idea what could be causing it to crash only when you start to stream video, but I'm sure there is a ton of stuff going in their code. I might have to check syntax on every smali file but that would take forever. If I had a tool that would scan all files for syntax errors maybe I could see where the problems are, but it could very well be that its all syntactically correct but just something from the decompile breaks it.
I also wanted to try writing an xposed module, but just like Final Fantasy, the optimum app won't even load with Xposed installed, even if I convert both to system apps.
I'm going to keep digging, I was trying to find someone else who decompiled the app and maybe got it to recompile, I had come across a thread where someone successfully decompiled and recompiled the comcast app, so maybe there is hope!