Author Topic: Android Qorbiter crashing  (Read 8863 times)

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Android Qorbiter crashing
« on: February 14, 2012, 04:47:40 pm »
Hello,

I have been trying the Android Qorbiter on a cheap tablet:
- I installed the application on the tablet (and it downloaded a bunch of extra libs)
- I created a new qorbiter orbiter in the web admin
- set default room, user and skin in the webadmin
- generated the orbiter config file on the core by running the PHP script
- downloaded the skins from svn to the core
- did a full regen of the orbiter, then a reset of the core
- edited the config XML file on the tablet to put my core IP (which is different from default) and device ID
- started the qorbiter on the tablet
- the qorbiter will show me the main screen of the orbiter with all the buttons.
- when I click on the power button or advanced button, a new popup menu comes up with the expected content

BUT when I click on any other button like Audio, Video or even Sleeping Menu, the Qorbiter application closes

Any idea what is wrong, or whether the Qorbiter writes any logs on the tablet that I could look at?

Thank you!

Jean

PS: My DCERouter.log shows this:

[long list of media files being generated for Datagrid]
05   02/14/12 7:45:05.262      list  : Youth in Revolt.avi date: 0 <0x7e1f3b70>
05   02/14/12 7:45:05.262      list  : Zodiac_2007.avi date: 0 <0x7e1f3b70>
08   02/14/12 7:45:05.278      Received Message from 271 (Master Bedroom Android Orbiter / Master Bedroom) to 6 (Datagrid Plug-in / Computer Closet), type 1 id 34 Command:Request Datagrid Contents, retry none, parameters: <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 10(ID): 2 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 15(DataGrid ID): MediaFile_271 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 32(Row): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 33(Column): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 34(Row count): 1823 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 35(Column count): 1 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 36(Keep Row Header): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 37(Keep Column Header): 0 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 49(Add Up-Down Arrows): 1 <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 73(Seek):  <0x11befb70>
08   02/14/12 7:45:05.278        Parameter 74(Offset): 5 <0x11befb70>
05   02/14/12 7:45:05.337      Socket::ReceiveData 0x500a6bb0 failed, bytes left 0 start: 2390000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 356 Incoming_Conn Socket 356 192.168.78.231EVENT 271 T=2186 Event #271 <0xcbe5b70>
05   02/14/12 7:45:05.337      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 356 192.168.78.231EVENT 271 T=2186 Event #271 <0xcbe5b70>
05   02/14/12 7:45:05.337      TCPIP: Closing connection to 271 (Router Dev #0) 0x500a6bb0 m_Socket: -1 <0xcbe5b70>
05   02/14/12 7:45:05.337      Router::RemoveAndDeleteSocket 0x500a6bb0 271 <0xcbe5b70>
05   02/14/12 7:45:05.337      Socket::ReceiveData 0x500a6ce8 failed, bytes left -1 start: 2450000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 357 Incoming_Conn Socket 357 192.168.78.231EVENT 271 T=2186 Event #271 <0x11befb70>
05   02/14/12 7:45:05.337      Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 357 192.168.78.231EVENT 271 T=2186 Event #271 <0x11befb70>
05   02/14/12 7:45:05.337      TCPIP: Closing connection to 271 (Router Dev #0) 0x500a6ce8 m_Socket: -1 <0x11befb70>
05   02/14/12 7:45:05.337      Router::RemoveAndDeleteSocket 0x500a6ce8 271 <0x11befb70>


The Device ID of the qorbiter is 271

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
Re: Android Qorbiter crashing
« Reply #1 on: February 14, 2012, 05:39:17 pm »
I get that response in landscape view but it works in portrait.

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Android Qorbiter crashing
« Reply #2 on: February 14, 2012, 07:39:21 pm »
There is no need to do a full or quick regen of the qorbiter.

The Android qOrbiter will crash. That is the short answer  ;) It is still very much alpha quality and the media browser crash happens a lot.
Also note that from my experience, the skin is different when your device is in landscape when starting up, than it is when starting the orbiter in portrait mode. You might get different results depending on which one you use.

br,
sambuca

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Android Qorbiter crashing
« Reply #3 on: February 14, 2012, 07:51:53 pm »
There is no need to do a full or quick regen of the qorbiter.

The Android qOrbiter will crash. That is the short answer  ;) It is still very much alpha quality and the media browser crash happens a lot.
Also note that from my experience, the skin is different when your device is in landscape when starting up, than it is when starting the orbiter in portrait mode. You might get different results depending on which one you use.

br,
sambuca

basically, what sambuca said. The Media browser apparently doesnt like Android and ive been spending 12hr+ days trying to figure out why. As soon as I can determine what the issue is, there will be an update.

thanks for your patience
-golgoj4
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: Android Qorbiter crashing
« Reply #4 on: February 14, 2012, 11:33:19 pm »
I'm an Android user (Honeycomb, 3.2 on a Tablet). I downloaded qOrbiter. If/When I get a LMCE server & media directors up, I'll be happy to help alpha/beta test...
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
Re: Android Qorbiter crashing
« Reply #5 on: February 15, 2012, 12:10:49 am »
basically, what sambuca said. The Media browser apparently doesnt like Android and ive been spending 12hr+ days trying to figure out why. As soon as I can determine what the issue is, there will be an update.

thanks for your patience
-golgoj4

Need some help debugging? I've been wanting to get my hands a little dirty on some Android stuff.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Android Qorbiter crashing
« Reply #6 on: February 15, 2012, 12:21:40 am »
Need some help debugging? I've been wanting to get my hands a little dirty on some Android stuff.

Dont take this the wrong way, but I really need someone with strong android java / c++ experience to try and help me debug @ this point. If thats you, great :)

The real fun part is that we are cross-compiling from qt to java... so god only knows whats going on in there!

But like i said, if this is you by all means. Im in irc most of the time except now because i need a break to try and clear my head to take another run at this problem. Also, android seems to be special in that it doesnt like how I construct dynamic images. mac, linux, meego, all work fine. this stupid platform is giving me  grey hairs!

-golgoj4
-the very frustrated programmer.
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

jeangot

  • Guru
  • ****
  • Posts: 233
    • View Profile
Re: Android Qorbiter crashing
« Reply #7 on: February 15, 2012, 07:22:20 am »
Thanks for the feedback, I was just wondering if I was doing something wrong here. I'll wait for an update and test again. FYI I tested in Portrait and it gives me the same issue..

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
Re: Android Qorbiter crashing
« Reply #8 on: February 15, 2012, 06:19:19 pm »
Dont take this the wrong way, but I really need someone with strong android java / c++ experience to try and help me debug @ this point. If thats you, great :)

I totally understand. My Android is weak, Java moderate, C++ strong, but my debugging skills are legendary.  ;D

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Android Qorbiter crashing
« Reply #9 on: February 15, 2012, 07:25:43 pm »
I totally understand. My Android is weak, Java moderate, C++ strong, but my debugging skills are legendary.  ;D

welcome to the team! lol

-Current major issues
*Android doesnt like my conversion of dynamic images from binary data
*Android doesnt like the media grid screen (reasons totally unknown)

Now, I have not been able to get any meaningful debug output, any advice in this area is appreciated. As previously stated, im in irc most of the time to explain issues further in depth.


-golgoj4
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Android Qorbiter crashing
« Reply #10 on: February 19, 2012, 08:23:11 am »
After epic battles, i think the latest release is an improvement. But I wont know until i get some feedback. It should be live by Sunday Morning (11:30ish pm pst here) and let me know how it goes.

-Should address the wrong screen size being detected
-should be less michael-bay-splosion inducing (stable)

-golgoj4

Ran this through a motorola droid II emulator and galaxy tab as well as generic tablet and generic phone. Lots of targets!!

Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

golgoj4

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1193
  • hrumpf!
    • View Profile
    • Mah Website
Re: Android Qorbiter crashing
« Reply #11 on: February 24, 2012, 07:19:28 am »
its quiet. too quiet. whats going on guys?

cheers,
golgoj4
Linuxmce - Where everyone is never wrong, but we are always behind xbmc in the media / ui department.

WhateverFits

  • Guru
  • ****
  • Posts: 230
    • View Profile
    • Sean Walker
Re: Android Qorbiter crashing
« Reply #12 on: February 24, 2012, 09:14:41 pm »
its quiet. too quiet. whats going on guys?

cheers,
golgoj4


Sorry, just bought a house. Packing. Computers aren't down though so I'll get my development environment up and running this weekend for this QOrbiter so that I can test better. I updated my Vizio VTAB1008 and it is much better. Far fewer crashes and the grids display more often than not now. I'll hook up my debugger to it and find out what exactly is crashing out ASAP then I'll send you a report.