Charmed Quark Systems, Ltd. - Support Forums and Community
Android RIVA Client: taRiva - Printable Version

+- Charmed Quark Systems, Ltd. - Support Forums and Community (https://www.charmedquark.com/vb_forum)
+-- Forum: Third Party Development (https://www.charmedquark.com/vb_forum/forumdisplay.php?fid=8)
+--- Forum: Android Related Products (https://www.charmedquark.com/vb_forum/forumdisplay.php?fid=24)
+--- Thread: Android RIVA Client: taRiva (/showthread.php?tid=6721)



Android RIVA Client: taRiva - batwater - 07-31-2010

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


Android RIVA Client: taRiva - Fonceur - 08-03-2010

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...


Android RIVA Client: taRiva - Dean Roddey - 08-03-2010

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.


Android RIVA Client: taRiva - Fonceur - 08-03-2010

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



Android RIVA Client: taRiva - Dean Roddey - 08-03-2010

Are there any onload actions or anything that might cause the screen to redraw again?


Android RIVA Client: taRiva - Fonceur - 08-04-2010

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...


Android RIVA Client: taRiva - batwater - 08-04-2010

The test template contains a single simple static text field all default settings.

-Ben


Android RIVA Client: taRiva - Dean Roddey - 08-04-2010

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.


Android RIVA Client: taRiva - Fonceur - 08-04-2010

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


Android RIVA Client: taRiva - Dean Roddey - 08-04-2010

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.