LinuxMCE Forums
May 25, 2013, 04:50:13 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: 1 ... 5 6 [7] 8 9 10
  Print  
Author Topic: Android Touch Orbiter  (Read 23514 times)
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #90 on: April 03, 2011, 01:07:48 pm »

Hi Matt,

If you go back through this thread there is details on ways to get the logcat from the device.

Ideally, restart your phone, start the app, rotate (for the crash) and then send me the log at that point.

When the phone is rotated it re-initialises the whole app effectively - probably a bit overkill but it seemed to work more reliably than not.

Might explain why you are getting crashes on startup sometimes.

The log should give me enough to fix it...

btw; Started looking at the feedback stuff - just trying to find a little bit of time to do the coding.

regards
Darren

Sorry for the delay http://pastebin.com/mwTJ63cT
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
bulek
Administrator
wants to work for LinuxMCE
*****
Posts: 868

Living with LMCE


View Profile
« Reply #91 on: April 04, 2011, 10:03:00 pm »

Click on refresh and see if that helps
Refresh always helps. Even if I rotate screen, then it's redrawn again and then sensor is refreshed into proper color...

Regards,

Bulek.
Logged

Thanks in advance,

regards,

Bulek.
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #92 on: April 05, 2011, 10:15:45 am »

Refresh always helps. Even if I rotate screen, then it's redrawn again and then sensor is refreshed into proper color...

Regards,

Bulek.


I often find that when I flick between live TV and recordings or guide or whatever, the orbiter doesn't change to the correct screen, but of course a refresh always sorts it - is there a way to make this refresh automatic? Minor gripe I know.

My only comparison is the Nokia N800 orbiter, which always changed to the correct screen.

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #93 on: April 05, 2011, 02:55:15 pm »

Sorry for the delay http://pastebin.com/mwTJ63cT
Not much to go on in there...

Do you have live wallpaper? If so, could you disable it and see if the problem persists or not.

Thanks
Darren
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #94 on: April 05, 2011, 04:30:17 pm »

The problem is inherit with every proxy_orbiter 2.0 device I have used. iPod Touch, Android and Web Browser. There seem to be a condition where ANYNEWS does not return correct information.
Logged

darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #95 on: April 05, 2011, 11:37:44 pm »

The problem is inherit with every proxy_orbiter 2.0 device I have used. iPod Touch, Android and Web Browser. There seem to be a condition where ANYNEWS does not return correct information.

Yeah I had a quick look at this issue as well last night. It seems that the image returned has not been updated yet and it also does not flag anynews properly - suggesting that it is a proxy_orbiter device problem and not the touch orbiter (any variant). When I get a moment might look to see if there is anything obvious that can be done in the proxy orbiter.

Also done a couple of updates to the Android Orbiter. Just need to do a few more tests tonight and should have a new version....
Logged
posde
Administrator
LinuxMCE God
*****
Posts: 2622


Wastes Life On LinuxMCE Since 2007


View Profile WWW
« Reply #96 on: April 06, 2011, 07:13:37 am »

darrenmason,

is there a deeper reason why you are not working off the svn repo? I see that you haven't done a commit to people/ for 5 month.

Another thing: Could you add a readme file detailing what is needed to get the android touch orbiter build on our builder? That way we could incorporate the output into our repo, and people would have it available from the web admin login page.
Logged

purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #97 on: April 06, 2011, 11:18:24 am »

Not much to go on in there...

Do you have live wallpaper? If so, could you disable it and see if the problem persists or not.

Thanks
Darren

I do have live wallpaper, yes, but disabling it didn't make any difference unfortunately. Should I do the log again without the live wallpaper?

Do I remember correctly you saying that a feature would be included to lock the orbiter to landscape?

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #98 on: April 06, 2011, 11:59:49 am »

darrenmason,

is there a deeper reason why you are not working off the svn repo? I see that you haven't done a commit to people/ for 5 month.

Another thing: Could you add a readme file detailing what is needed to get the android touch orbiter build on our builder? That way we could incorporate the output into our repo, and people would have it available from the web admin login page.

No reason - I havn't done any changes to the orbiter in 5 months. Only started doing some changes just the last couple of days.

At the time someone on the irc channel said put the stuff in people so that's where I stuck it.

wrt. building - shouldn't be too hard I guess. It will need the android SDK and probably has a few other dependencies but I will look into it.
Logged
darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #99 on: April 06, 2011, 12:03:26 pm »

I do have live wallpaper, yes, but disabling it didn't make any difference unfortunately. Should I do the log again without the live wallpaper?

Do I remember correctly you saying that a feature would be included to lock the orbiter to landscape?

Cheers,
Matt.

Might as well do the log again - it was the only thing present that seemed to be going on at the same time.

Yeah the lock landscape feature is done - just testing some more. You might find that your issue goes away as well as it will no longer reload on rotation.
Try and get the new app uploaded as soon as possible.
Logged
darrenmason
Addicted
*
Posts: 529


View Profile
« Reply #100 on: April 06, 2011, 01:00:48 pm »

New version uploaded.

See http://svn.linuxmce.org/trac.cgi/browser/people/darrenmason/AndroidTouchOrbiter/bin/AndroidTouchOrbiter.apk for the latest apk.

Change log:
Added configuration and related code to allow locking the screen orientation in either landscape or portrait. Still allows default behavior as well
Added a couple of lines of code to give some feedback on touch. This is more playing around at the moment as I don't think it will meet the needs of the people that requested this. But see how it goes and feel free to give some more feedback. It should click and also give haptic feedback (if haptic feedback is on in config)

Anyway - please try and give me some feedback.

Regards
Darren
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #101 on: April 07, 2011, 09:48:57 am »

New version uploaded.

See http://svn.linuxmce.org/trac.cgi/browser/people/darrenmason/AndroidTouchOrbiter/bin/AndroidTouchOrbiter.apk for the latest apk.

Change log:
Added configuration and related code to allow locking the screen orientation in either landscape or portrait. Still allows default behavior as well
Added a couple of lines of code to give some feedback on touch. This is more playing around at the moment as I don't think it will meet the needs of the people that requested this. But see how it goes and feel free to give some more feedback. It should click and also give haptic feedback (if haptic feedback is on in config)

Anyway - please try and give me some feedback.

Regards
Darren

Have tried on both my HTC Desire HD and a cheapo Internet tablet, and both work well - thank you very much.

I haven't been getting the crashes that I had before on the HTC, but that might be because I have locked it to landscape. Tonight I will try rotating and see if the same things happens. The haptic feedback also works well; very nice touch.

Works well on the tablet as always (never crashed in the first place). The tablet doesn't have a vibrate function, and I must say I didn't hear the *click*, but it could well be on silent (I only had a quick look last night), so will give it a more thorough examination this evening.

Thank you again for sharing this!

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #102 on: April 09, 2011, 11:37:57 am »

HTC Desire HD - no longer crashes upon rotation, but this is somewhat academic with the new "lock to landscape" feature.

I can confirm that I do not hear any clicks on neither the Desire or the cheapo Internet.

My suggestion (without having any knowledge of how easy or hard this would be) would be to have an on/off option for haptic feedback and clicks in settings, allowing you to choose one or the other, or indeed both.

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #103 on: April 11, 2011, 02:12:19 pm »

Out of interest (this is a question for Thom I guess), why is the N800 orbiter so responsive (in terms of volume control, skipping forward/back, any repetitive button presses) in comparison to the touch orbiters? Also the N800 ALWAYS displays the correct screen, in that it never needs to be refreshed - is there some fundamental reason for this?

I assure you this isn't a dig at your work darrenmason, I am just curious.

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
nite_man
NEEDS to work for LinuxMCE
***
Posts: 1019


Want to work with LinuxMCE


View Profile WWW
« Reply #104 on: April 11, 2011, 02:22:51 pm »

Out of interest (this is a question for Thom I guess), why is the N800 orbiter so responsive (in terms of volume control, skipping forward/back, any repetitive button presses) in comparison to the touch orbiters? Also the N800 ALWAYS displays the correct screen, in that it never needs to be refreshed - is there some fundamental reason for this?

I assure you this isn't a dig at your work darrenmason, I am just curious.

Cheers,
Matt.

N800 Orbiter is a port of SDL onscreen Orbiter. And it doesn't have any relations with Touch Orbiter. That's why you can see some different between them.
Logged

Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru
Pages: 1 ... 5 6 [7] 8 9 10
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!