Sunday, 15 May 2011

java - get a String and put a standart text before -


I want to set a normal text, and after the text, there should be a personal number such as: you Can I beat my score? (X.XX seconds)

I have tried this:

  FacebookDialog shareDialog = New FacebookDialog.ShareDialogBuilder (this) .setLink ("www.facebook .com / FrozenSparks.ch ") .setName (.setText (" Can you beat my score? ")) (Prefs.getString (" thetime1 "," - "))) .build (); UiHelper.trackPendingDialogCall (shareDialog.present ()); }  

, but it only gives me some errors.

How to do something like this:

  .setName ("what Can you beat my score? + Prefs.getString ("thetime1", "-"))  

There are many mistakes in your code sample, brackets / braces, I hope That would only be a copy and paste fault.


No comments:

Post a Comment