damnmachine / android-xbmcremote

Automatically exported from code.google.com/p/android-xbmcremote
0 stars 1 forks source link

Force close in "Now Playing" on Tablets #517

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install XBMC Remote on a Tablet running Honeycomb 3.0
2. Put on a movie or TV Show (I put on Mythbusters for the reference)
3. Instead of showing "Now Playing" it will show a force close.

What is the expected output? What do you see instead?
The expected behaviour is to show Now Playing, justl ike it does on my Android 
phone. Instead it force closes.

What version of XBMC Remote are you using?
v0.8.6-beta1 r768

Which Android device are you using (and which ROM, if custom)?
Acer A500 - Stock Honeycomb 3.0

Which XBMC revision are you running and on which platform?
XBMC 10.1 on Ubuntu

Please provide any additional information below.
I/Connection( 8982): 
http://81.166.65.103:6900/xbmcCmds/xbmcHttp?command=GetSystemInfo(120)
D/AndroidRuntime( 8982): Shutting down VM
W/dalvikvm( 8982): threadid=1: thread exiting with uncaught exception 
(group=0x401bf760)
E/AndroidRuntime( 8982): FATAL EXCEPTION: main
E/AndroidRuntime( 8982): java.lang.RuntimeException: Unable to resume activity 
{org.xbmc.android.remote/org.xbmc.android.remote.presentation.activity.NowPlayin
gActivity}: android.os.NetworkOnMainThreadException
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2216)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2244)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1757)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.access$1500(ActivityThread.java:123)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
E/AndroidRuntime( 8982):    at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8982):    at android.os.Looper.loop(Looper.java:126)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.main(ActivityThread.java:3998)
E/AndroidRuntime( 8982):    at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime( 8982):    at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 8982):    at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 8982):    at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 8982):    at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8982): Caused by: android.os.NetworkOnMainThreadException
E/AndroidRuntime( 8982):    at 
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1077)
E/AndroidRuntime( 8982):    at 
dalvik.system.BlockGuard$WrappedNetworkSystem.read(BlockGuard.java:279)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.net.PlainSocketImpl.read(PlainSocketImpl.java:448)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.net.SocketInputStream.read(SocketInputStream.java:75)
E/AndroidRuntime( 8982):    at 
java.io.BufferedInputStream.fillbuf(BufferedInputStream.java:168)
E/AndroidRuntime( 8982):    at 
java.io.BufferedInputStream.read(BufferedInputStream.java:227)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnection.isStale(Ht
tpConnection.java:213)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpConnectionPool.get(Ht
tpConnectionPool.java:77)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.get
HttpConnection(HttpURLConnectionImpl.java:292)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.mak
eConnection(HttpURLConnectionImpl.java:274)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.ret
rieveResponse(HttpURLConnectionImpl.java:1038)
E/AndroidRuntime( 8982):    at 
org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnectionImpl.get
InputStream(HttpURLConnectionImpl.java:523)
E/AndroidRuntime( 8982):    at 
org.xbmc.httpapi.Connection.query(Connection.java:278)
E/AndroidRuntime( 8982):    at 
org.xbmc.httpapi.Connection.getString(Connection.java:313)
E/AndroidRuntime( 8982):    at 
org.xbmc.httpapi.client.InfoClient.getSystemInfo(InfoClient.java:126)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.util.ClientFactory.probeQueryApiType(ClientFactory.java:216)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.util.ClientFactory.getControlClient(ClientFactory.java:81)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.remote.business.NowPlayingPollerThread.<init>(NowPlayingPollerT
hread.java:112)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.util.ConnectionFactory.getNowPlayingPoller(ConnectionFactory.ja
va:119)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.remote.presentation.controller.NowPlayingController.onActivityR
esume(NowPlayingController.java:218)
E/AndroidRuntime( 8982):    at 
org.xbmc.android.remote.presentation.activity.NowPlayingActivity.onResume(NowPla
yingActivity.java:240)
E/AndroidRuntime( 8982):    at 
android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1153)
E/AndroidRuntime( 8982):    at 
android.app.Activity.performResume(Activity.java:4368)
E/AndroidRuntime( 8982):    at 
android.app.ActivityThread.performResumeActivity(ActivityThread.java:2206)
E/AndroidRuntime( 8982):    ... 12 more
W/ActivityManager(  104):   Force finishing activity 
org.xbmc.android.remote/.presentation.activity.NowPlayingActivity
W/ActivityManager(  104):   Force finishing activity 
org.xbmc.android.remote/.presentation.activity.HomeActivity
W/ActivityManager(  104): Activity pause timeout for ActivityRecord{410405a0 
org.xbmc.android.remote/.presentation.activity.NowPlayingActivity}
D/BatteryService(  104): level:87 scale:100 status:3 health:2 present:true 
voltage: 4038 temperature: 305 technology: Li-ion AC powered:false USB 
powered:false icon:17302683 invalid charger:0
D/WifiService(  104): ACTION_BATTERY_CHANGED pluggedType: 0
W/ActivityManager(  104): Activity destroy timeout for ActivityRecord{40faf020 
org.xbmc.android.remote/.presentation.activity.HomeActivity}
W/ActivityManager(  104): Activity destroy timeout for ActivityRecord{410405a0 
org.xbmc.android.remote/.presentation.activity.NowPlayingActivity}

Original issue reported on code.google.com by arni1...@gmail.com on 12 May 2011 at 6:16

GoogleCodeExporter commented 9 years ago
also having this issue on 10.1 on win 7

Original comment by reaper2...@gmail.com on 19 May 2011 at 10:49

GoogleCodeExporter commented 9 years ago
same problem with 3.0.1 OTA update on acer iconia tab. 

Original comment by Renaud.w...@gmail.com on 6 Jun 2011 at 5:46

GoogleCodeExporter commented 9 years ago
Same problem on ASUS Transformer running Honeycomb 3.1. Also win7 and 10.1.

Original comment by superib...@gmail.com on 9 Jun 2011 at 5:50

GoogleCodeExporter commented 9 years ago
Same here on Asus Transformer on 3.1. Running XBMC on Ubuntu 9.10 64bit

Original comment by nate.wheeler on 10 Jun 2011 at 11:19

GoogleCodeExporter commented 9 years ago
Getting my Acer tab today, hopefully. Will reproduce and fix it.

Original comment by till.ess...@googlemail.com on 15 Jun 2011 at 8:10

GoogleCodeExporter commented 9 years ago
Getting my Acer tab today, hopefully. Will reproduce and fix it.

Original comment by till.ess...@googlemail.com on 15 Jun 2011 at 8:10

GoogleCodeExporter commented 9 years ago
someboby fixed this issue, but not posted in the right place !?

 http://forum.xbmc.org/showthread.php?t=99845&highlight=honeycomb

Original comment by Renaud.w...@gmail.com on 15 Jun 2011 at 10:26

GoogleCodeExporter commented 9 years ago
Nope, this is just about the remote not showing up in the market. This was 
another issue which is already fixed in svn.

Original comment by till.ess...@googlemail.com on 15 Jun 2011 at 10:38

GoogleCodeExporter commented 9 years ago
A post (#21 on page 3) contain a .apk file(enclosed), relayed on this french 
thread :

http://forum.frandroid.com/topic/58144-xbmc-remote/

now playing succefully works on my Acer A500 tab. 
They explain that they just made a recompilation with an honeycomb dev. 
environment...

Original comment by Renaud.w...@gmail.com on 15 Jun 2011 at 11:27

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, then it'll be an easy fix ;)

Original comment by till.ess...@googlemail.com on 15 Jun 2011 at 11:41