Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Android RIVA Client: taRiva
#31
Brian your other option is to turn on WiFi and have your phone talk to your server over your internal network. (assumption made that you were going OTA originally vs WiFi)

If you do not have it set up and you have a dynamic IP address assigned to your broadband device from your ISP, you will need to use a service like dyndns that maps via your router your dynamic IP address to a domain name that you create. The service is free.

-Ben
Reply
#32
Any reason why I am getting:

New_template
Start_draw/End_draw block
Start_draw/End_draw block

Where the second Start_draw/End_draw block is an exact copy of the first one? It's doing that for 3 different templates...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
#33
What do you mean by exact copy? You mean the context between the two blocks is identical or the actual messages are identical? If it's the latter, and the sequence ids are starting over at 2 or 3 or whatever in the second ones, then you are losing the connection and logging back in again, which starts everything over including the sequence ids.
Dean Roddey
Software Geek Extraordinaire
Reply
#34
No the ID's are different, but it's the content that is identical, i.e. messageLoad(X) = messageLoad(X + 28))... I already have the full template by the message ID 31, so I don't see why it is sent a second time...

Code:
Header ID = 3, length = 35, code = NEW_TEMPLATE
Header ID = 4, length = 0, code = START_DRAW
Header ID = 5, length = 11, code = PUSH_CLIP_AREA
Header ID = 6, length = 11, code = FILL_AREA
Header ID = 7, length = 11, code = PUSH_CLIP_AREA
Header ID = 8, length = 0, code = PUSH_CONTEXT
Header ID = 9, length = 11, code = PUSH_CLIP_AREA
Header ID = 10, length = 0, code = PUSH_CONTEXT
Header ID = 11, length = 11, code = FILL_AREA
Header ID = 12, length = 0, code = POP_CONTEXT
Header ID = 13, length = 0, code = POP_CLIP_AREA
Header ID = 14, length = 0, code = POP_CONTEXT
Header ID = 15, length = 0, code = PUSH_CONTEXT
Header ID = 16, length = 11, code = PUSH_CLIP_AREA
Header ID = 17, length = 0, code = PUSH_CONTEXT
Header ID = 18, length = 11, code = FILL_AREA
Header ID = 19, length = 0, code = POP_CONTEXT
Header ID = 20, length = 0, code = POP_CLIP_AREA
Header ID = 21, length = 11, code = PUSH_CLIP_AREA
Header ID = 22, length = 11, code = PUSH_FONT
Header ID = 23, length = 1, code = SET_BACK_MIX_MODE
Header ID = 24, length = 4, code = SET_COLOR
Header ID = 25, length = 39, code = DRAW_MULTI_TEXT
Header ID = 26, length = 0, code = POP_FONT
Header ID = 27, length = 0, code = POP_CLIP_AREA
Header ID = 28, length = 0, code = POP_CONTEXT
Header ID = 29, length = 0, code = POP_CLIP_AREA
Header ID = 30, length = 0, code = POP_CLIP_AREA
Header ID = 31, length = 8, code = END_DRAW

Header ID = 32, length = 0, code = START_DRAW
Header ID = 33, length = 11, code = PUSH_CLIP_AREA
Header ID = 34, length = 11, code = FILL_AREA
Header ID = 35, length = 11, code = PUSH_CLIP_AREA
Header ID = 36, length = 0, code = PUSH_CONTEXT
Header ID = 37, length = 11, code = PUSH_CLIP_AREA
Header ID = 38, length = 0, code = PUSH_CONTEXT
Header ID = 39, length = 11, code = FILL_AREA
Header ID = 40, length = 0, code = POP_CONTEXT
Header ID = 41, length = 0, code = POP_CLIP_AREA
Header ID = 42, length = 0, code = POP_CONTEXT
Header ID = 43, length = 0, code = PUSH_CONTEXT
Header ID = 44, length = 11, code = PUSH_CLIP_AREA
Header ID = 45, length = 0, code = PUSH_CONTEXT
Header ID = 46, length = 11, code = FILL_AREA
Header ID = 47, length = 0, code = POP_CONTEXT
Header ID = 48, length = 0, code = POP_CLIP_AREA
Header ID = 49, length = 11, code = PUSH_CLIP_AREA
Header ID = 50, length = 11, code = PUSH_FONT
Header ID = 51, length = 1, code = SET_BACK_MIX_MODE
Header ID = 52, length = 4, code = SET_COLOR
Header ID = 53, length = 39, code = DRAW_MULTI_TEXT
Header ID = 54, length = 0, code = POP_FONT
Header ID = 55, length = 0, code = POP_CLIP_AREA
Header ID = 56, length = 0, code = POP_CONTEXT
Header ID = 57, length = 0, code = POP_CLIP_AREA
Header ID = 58, length = 0, code = POP_CLIP_AREA
Header ID = 59, length = 8, code = END_DRAW
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
#35
Are there any onload actions or anything that might cause the screen to redraw again?
Dean Roddey
Software Geek Extraordinaire
Reply
#36
Dean Roddey Wrote:Are there any onload actions or anything that might cause the screen to redraw again?
I don't have the template myself, so I'll let Batwater reply... It's supposed to be a simple template with some text, but maybe he reused some older one...
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
#37
The test template contains a single simple static text field all default settings.

-Ben
Reply
#38
Oh well, I can't look into it at the moment. At the worst it's a little less than optimal in terms of optimization, but it won't hurt anything if it redraws again. I'll check it later.
Dean Roddey
Software Geek Extraordinaire
Reply
#39
Dean Roddey Wrote:At the worst it's a little less than optimal in terms of optimization, but it won't hurt anything if it redraws again.
If it happens for all the start/end draw blocks, that would double the CPU usage of the app, but yeah, it's not something major, just odd. Wink
Field Generator 0.65: Create CQC fields on the fly, from external applications.
Mobile templates 0.4: Main resolution of 320x480 with navigation side bars (384x544).
Sage Media Server 1.1.3 + Sage Player 2.7.8: Display and manipulate SageTV information or player.
TaRIVA 1.26: Android RIVA client.
Reply
#40
It definitely shouldn't happen for all of them. I thought you meant it just happens on the initial load of the template, right? It's possible that there's some 'just in case we changed anything during init' type of redraw in there somewhere on the initial template load.
Dean Roddey
Software Geek Extraordinaire
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  TaRiva on Samsung Galaxy Tab 5 ellisr63 17 8,440 12-29-2015, 07:55 PM
Last Post: Dean Roddey
  Native Android app (auto-gen based) Dean Roddey 156 37,530 10-19-2015, 03:28 PM
Last Post: Shaky
  RIVA Client: PlayBook 2.0 Fonceur 13 11,048 11-15-2012, 10:18 PM
Last Post: xlurkr
  native scroll for android client pasha 14 9,478 05-07-2012, 03:15 PM
Last Post: Dean Roddey
  android app burkepaol4 1 7,369 12-19-2010, 07:12 PM
Last Post: Fonceur
  10 android burkepaol4 4 8,375 12-19-2010, 06:44 PM
Last Post: burkepaol4
  Android client ? willplaice 33 26,731 08-14-2010, 10:42 AM
Last Post: Fonceur

Forum Jump:


Users browsing this thread: 1 Guest(s)