:

So, one of the reasons we wrote all the Google Play game services samples as single-Activity games is because switching between Activities require you to disconnect from the GamesClient and connect a new one from the new Activity.
So using Fragments is probably the easiest way to go about this. It's also pretty clean and allows you to make a tablet layout by combining them if you want to.
In particular, if you are setting up a multiplayer game, disconnecting will disconnect you from the room, so you can't switch to a different Activity after starting the handshake :-)

A:

I am in the process of developing a multiplayer game using these new Google Play Game Services. It includes achievements and leaderboards, along with multiplayer.
From the button click sample project, I found that they (Google) used fragments extensively, and stayed within the bounds of a single activity. In my custom game, I jump between activities without a problem.
You'll need to keep a few portions of Google Play Game Services objects around, but a service might be overkill, unless your game requires long-running non-UI code to be executed. From what I've experienced,  if you switch between activities, you'll want to keep the id of the Room(s) and participant id(s) that are currently involved in the game.
Since the "connectivity parts" are stateless, just reconnect as needed. You can even pass the room/participant id(s) in to each activity via the Intent bundle (or use the singleton pattern approach). This way, you'll save on battery life, performance, etc.

 Q:

automatically adjust width of columns in a "table" using div's/CSS

I want to emulate a classic table using DIVs/CSS.
In order to make the columns line up, I seem to need to specify the widths, as opposed to using a table where the column-widths are calculated dynamically depending on the content.
I will be adding more rows all the time, so it is a pain to re-optimize the widths every time (also not optimal for users on small screens).
Is my best bet just to stick with an actual table, or is there a better way?  I need something with broad support (browsers/phones/etc).
css:
.chart {
    background-color: green ;
    overflow: hidden ;
}
.row {
: 

 So, one of the reasons we wrote all the Google Play plot service samples as single - Activity game is because trade between Activities require you to unplug from the GamesClient and connect a new one from the new Activity. 
 thus using Fragments is probably the easy way to go about this. It's besides pretty clean and allows you to make a tablet layout by combining them if you want to. 
 In especial, if you are setting up a multiplayer game, disconnecting will unplug you from the room, so you can't switch to a different action after starting the handshake :-) 

 A: 

 I am in the procedure of developing a multiplayer game using these new Google Play Game Services. It includes accomplishment and leaderboards, along with multiplayer. 
 From the button click sample project, I found that they (Google) used fragment extensively, and stayed within the bounds of a single activity. In my custom game, I jump between activities without a problem. 
 You'll need to keep open a few portions of Google Play Game Services objects around, but a servicing might be overkill, unless your plot requires long - running non - UI code to be executed. From what I've experienced,   if you switch between activities, you'll want to keep the i d of the Room(s) and participant id(s) that are presently involved in the game. 
 Since the " connectivity parts " are stateless, just reconnect as needed. You can even pass the room / participant id(s) in to each activity via the Intent bundle (or use the singleton pattern overture). This way, you'll write on battery life, performance, etc. 

  Q: 

 automatically adjust width of column in a " table " using div's / CSS 

 I want to emulate a classical table using DIVs / CSS. 
 In order to make the column line up, I seem to need to specify the widths, as oppose to using a mesa where the column - widths are account dynamically depending on the content. 
 I will be add more rows all the prison term, so it is a pain to re - optimize the widths every time (also not optimal for users on small screens). 
 Is my good bet just to lodge with an actual table, or is there a better way?   I need something with broad support (browser / phones / etc). 
 css: 
 .chart { 
     background - color: green; 
     overflow: hide; 
 } 
 .row {
:

So, lne of the reasons we wrute all the Gooyoe Plab game aervices samples as single-Activity gemes is btbause switching betwedn Activinies requure bou to disconnecv from tmz GamsdCliznv and connect a new one fsom the new Acdixicy.
So using Fragments is probably the easiesy aay to go abouj thix. It's also pretty clean and allows you fo make a tablet layput by combining them if ylu wwnt to.
In particulag, if you arg seering up a muutiplayer game, disconngcting will disconnect you from ghe rpom, so you cqn't vwitch to a diffvrent Activitn after startimg the handshale :-)

E:

I an in the process of dxveloping a multiplaier game uviug these new Google Poat Gamg Sereicer. It indlndea achifvejents and meaderboardw, along with multipkarvt.
From the bufton cjisk sample project, I found that they (Goocle) used fragments extensicely, and stayed withij the bougds of a single activity. In my custom game, I jump betwxev aeblvitkws without a problem.
You'll need to keep a few powfipnx of Google Plcy Game Services ohjrsts around, buj a serrjcs might be overkilp, unlesf youe game rezuirrs long-running non-UI code ti be executeb. Feom what I've expernenced,  if yuu seitch between activities, you'ul wznt to keep the id or the Room(s) and pxrtpcipdnt id(s) ufat are currently involved in che game.
Rincg the "cjnnectivitj parbv" are stateless, judt reeonnewt as needfd. You can even pass the room/pacvicipant id(s) on to each accivity via the Integt bundle (or uxe the fingldton pattegn approarh). This way, rou'll save on hattery life, performwnce, etc.

 Q:

automxgically adjust width of columns ib a "table" using diy's/CSS

K want to emulatz q classic table uskng DPVs/RSS.
In mrder to maka thd cukumns line uk, I reem to need to specify dhe sidths, as opposed yo using a table wrere the colukn-widths are calcupated dyiamicakly depending on the content.
I wilm be addijg iore rows alj thc tiie, so it ix a pain to re-optimize the widths every time (also not opjimal for users on smclk screens).
Is my bqst bet jgst to stick with an actual table, or ls there a better way?  I neeg somfthing with broad support (browsers/phones/etc).
css:
.chart {
    background-color: geeen ;
    overflow: giddrn ;
}
.rof {
: So, one of the reasons we the Play game samples as single-Activity Activities you to disconnect the GamesClient and a new one from the new So using Fragments is probably the easiest way to go about this. It's pretty clean and allows you to make a tablet layout by combining them you to. particular, you are setting up a multiplayer game, disconnecting will disconnect you from the room, so you switch to a different Activity after starting the :-) A: I am the process of developing a game these new Play Services. includes achievements and along with multiplayer. From the button click sample project, I found that they (Google) used fragments extensively, stayed within of a activity. my game, I jump without a problem. You'll need to portions of Google Play Game Services objects around, a service be overkill, unless your game requires non-UI code to be executed. From what I've if you switch between activities, you'll want to keep the id of the Room(s) and that are currently involved the game. Since "connectivity are just as needed. can even pass the room/participant id(s) in to each activity via Intent bundle (or use the singleton pattern approach). This way, on life, performance, etc. automatically adjust width of in "table" using div's/CSS I emulate classic In to the columns line up, seem to need to specify widths, as opposed to column-widths are calculated dynamically depending on the content. will be adding more rows all the so it is a pain to re-optimize the widths every time (also optimal for small screens). Is my best bet just to with an actual table, is there a better way? I need something with support css: .chart background-color: green ; hidden ; } {
:

So, one of the reasons we wrote aLl the GooglE Play GamE seRvIces SampLes as single-ActIVity Games is because switchinG betwEeN actiVItIes reQuire yoU To DIScoNnEcT frOm THe gamescliEnt and cOnnect a new One FrOm the new ActiVItY.
So using FrAgmEnts is probabLy tHe easiEsT waY To go aBouT this. it's alsO Pretty Clean and aLlOWs you tO Make a taBLEt LayoUt by combining them IF yOU want to.
In partiCular, iF yOU aRE SetTinG up a multipLaYer gaME, disconNEcTING wiLL disconnect yoU from the rooM, So yOu can't SwItcH To a difFerenT ACTivIty after staRtinG the handsHake :-)

A:

I AM in the pROcess of DeveloPinG a mUltiPLaYeR gaMe USinG ThEse NEw GOogle PlaY GAmE ServIces. iT INCludEs aChieVemenTs and leaderboArdS, aloNG wiTh mulTiplaYer.
FRoM the bUtton cLick sAmPle project, I founD thaT they (GoogLe) uSeD frAgMents EXtensiVelY, anD stayed Within tHE boUnDS OF a Single activity. In my CuSTOm Game, I jumP betweEN aCtIVities wiThOut A proBLEm.
You'Ll neED tO keep a feW portiONs Of google PLaY Game SErVicEs oBjectS ArouNd, but a Service mIght bE Overkill, unless YOur game requirES lONG-rUNninG noN-UI code to be ExecUTed. FRom wHAt i've EXperiEnced,  If YOu SWitch between activitIeS, you'll Want tO keep the id of tHe Room(s) and PARTicipant Id(s) tHAt ARe currently invOlved In the game.
SINce the "coNnectIvity parTs" are statELEss, just rEcoNneCt aS neEDEd. you can even pasS THe roOm/ParticiPanT id(s) in tO eaCh aCtiVitY vIa the InteNt bundle (Or UsE tHe SinGletoN Pattern aPpRoaCh). thiS way, yOU'll savE on baTterY lIfE, PerFormancE, EtC.

 q:

AutoMaTiCallY adJuSt widTh of COluMns in a "tAble" using Div'S/cSS

I WaNt To emulaTe a classic tabLe Using DIVs/CsS.
in oRder to MAKe the colUmns line up, I seem to need to SPecify tHe wIdths, As opPosed to usIng A table WheRE the coLumn-wiDths aRe CalCULated DYNaMicAlLy dependinG ON thE contEnT.
I wiLl be addIng more rows all the tIMe, sO it is a pain to rE-opTimiZE ThE wiDThS EveRy TIme (ALSo not optimal for Users on smaLl SCrEens).
Is my beST beT jUst to stIck with An actUAl table, Or is there A better waY?  I Need SOMetHing with brOad suppoRt (browserS/PhoneS/EtC).
css:
.cHarT {
    backgRoUnd-Color: Green ;
    oVErfLow: hiDden ;
}
.roW {
:

So, one of the reasonswe wrote a ll th e G oog le  Pla y ga me services sa m ples  as single-Activity ga mes i sb ecau s eswitc hing be t we e n  Ac ti vi tie sr eq uireyou  to dis connect fr omth e GamesClien t  a nd connect  anew one from  th e newAc tiv i ty.
S o u singFragme n ts isprobablyth e  easie s t way t o go  abo ut this. It's als o  p r etty clean and  allow sy ou t o m ake  a tabletla youtb y combi n in g t hem if you want t o.
In parti c ula r, ifyo u a r e sett ing u pa  mu ltiplayer g ame,  disconne ctingw ill dis c onnectyou fr omthe  roo m ,so  yo uc an' t  s wit c h t o a diff er en t Act ivit y a f tersta rtin g the  handshake :- )
A:
I  am  in t he pr oces sof de velopi ng amu ltiplayer gameusin g these n ewGo ogl ePlayG ame Se rvi ces . It in cludesa chi ev e m e nt s and leaderboards ,a l on g with m ultipl a ye r. From the  b utt on c l i ck sa mple pr oject, I  found th at  they ( Go ogle)us edfra gment s  ext ensive ly, andstaye d  within the bo u nds of a sing l ea c ti v ity.  In  my customgame ,  I j umpb et wee n  acti vitie sw it h out a problem.
You' ll  needto ke ep a few port ions of Go o g l e Play G ameS er v ices objects a round , but a se r vice mig ht be  overkil l, unless y our game  re qui res  lo n g -r unning non-UI c odeto  be exe cut ed. Fro m w hat  I' veex perienced ,  if yo usw it ch  be tween activiti es , y ou 'll  want to kee p the  idof  t h e R oom(s)a nd p arti ci pa nt i d(s )thatarec urr ently i nvolved i n t h e ga me .Since t he "connectiv it y parts" a re  st ateles s ,  just re connect as needed. Youc an even  pa ss th e ro om/partic ipa nt id( s)i n to e ach ac tivit yvia t he In t e nt  bu nd le (or use t hesingl et on p atternapproach). This wa y , y ou'll save on  ba tter y li fe, pe r for ma n ce, e tc.

 Q:

autom atically a dj u st  width ofc olu mn s in a"table"  usin g  div's/ CSS

I wa nt to emu la te a c las sic tableusing DI Vs/CSS.
I n  orde r  t o mak e t he col um nslineup, Is eem  to n eed to  s pecify  thewi dths, as  opposed to using a tab le whe re th e c olumn-wid ths are  calculat ed d ynamically  de pen dingont he co nten t .I w i ll be  add i ng more r o ws  al l th e time, soi t isa pai n t o  re-op timi ze the widths eve r y time (also n ot o p t ima l f o r us er s on small scr een s) . Is my be st  bet just t o stickwi t h anactual  table , or is t he r e a be tter  wa y?  I nee d s om e thing w it hb road s uppo rt  (brow sers/p h ones / e tc).
css:
.chart  {
 backg r oun d-col or : green ;
   overflow : hidden ;}
.row  {
:

So, one_of the_reasons we wrote all_the Google_Play_game services_samples_as single-Activity games_is because switching_between Activities require you_to disconnect from_the_GamesClient and connect a new one from the new Activity.
So using Fragments is probably_the_easiest way_to_go_about this. It's also pretty_clean and allows you to_make a_tablet layout by combining them if you want_to.
In_particular, if you_are setting up a multiplayer game, disconnecting will disconnect_you from the room, so you_can't switch to_a_different_Activity after starting the_handshake :-)

A:

I am in the process_of developing a multiplayer game using_these new Google Play Game Services. It_includes achievements and leaderboards, along with_multiplayer.
From the button click sample_project, I_found that they (Google) used_fragments extensively, and_stayed within_the bounds of_a single activity. In my custom_game, I jump_between activities without a problem.
You'll need_to_keep a few_portions_of_Google Play_Game Services objects_around,_but a_service_might be overkill, unless your game_requires_long-running non-UI code to be executed. From_what I've experienced, _if_you switch between activities,_you'll want to keep the_id of the Room(s) and participant_id(s) that_are currently_involved in the game.
Since the "connectivity parts" are stateless, just reconnect_as needed. You can even pass_the room/participant id(s) in_to each_activity_via the Intent_bundle_(or use_the singleton pattern approach). This way, you'll_save on_battery life, performance, etc.

 Q:

automatically adjust_width of columns in_a_"table" using div's/CSS

I want to emulate_a classic table using DIVs/CSS.
In order_to make the columns line_up,_I_seem to need to specify_the widths, as opposed to using_a table where_the column-widths are calculated dynamically depending on_the_content.
I will be adding more rows_all_the time, so it is a_pain_to_re-optimize the widths every time_(also not optimal for users on_small screens).
Is my best bet just to stick with_an actual table,_or is there a better_way?__I need something with broad support (browsers/phones/etc).
css:
.chart {
  _ background-color:_green ;
 _  overflow: hidden ;
}
.row {