Send Android View from server to client -


i want send (text)view element server application (='normal', non-android java) android app on phone , display there. creating on server...

textview tv=new textview(client.myclient);

... gives me error:

exception in thread "main" java.lang.runtimeexception: stub!

myclient defined in client:

public static client myclient;.

in oncreate() on client wrote myclient=this;.

(server has access client classes, that's not problem.)

what doing wrong? can maybe create textview context client's, send it, , display on client? (later want send arbitrary views, that's why don't send string of textview.) lot in advance!

not sure can this: far can tell context not serializable or otherwise transferrable. might able come usable description language (maybe transfer complete xml , reparse on client?) not sure can you've described above out of box.


Comments