06-15-2012 08:29 AM
Hi I could fix the issue ..
I changed java compiler to 1.4
and in code
UiApplication.getUiApplication().invokeLater(new Runnable()
{
public void run()
{
try
{
user = faceBook.getCurrentUser();
}
catch (FacebookException e)
{
e.printStackTrace();
}
if(user != null)
{
publishPostresult = user.publishPost(messageText, url, picture, "", "", "", "");
}
if ((publishPostresult != null) && !publishPostresult.trim().equals(""))
{
GLCustomDialogBox dialogBox = new GLCustomDialogBox("Publish Post Success.", GLStringConstants.DIALOG_OK);
UiApplication.getUiApplication().pushModalScreen(d ialogBox);
}
else
{
GLCustomDialogBox dialogBox = new GLCustomDialogBox("Publish Post Failed.", GLStringConstants.DIALOG_OK);
UiApplication.getUiApplication().pushModalScreen(d ialogBox);
}
}
});
Now i am able to post I did following changes at Eclipse project specific settings.
06-15-2012 08:29 AM - edited 06-15-2012 08:31 AM
I could post messages to facebook now.
07-12-2012 03:17 PM
Hi pravipravi!
Could you explain me in a more detailed way the solution?
I am not being able to to pass the "install" nor the "allow" screen. This is with my app and with Strawberry...
I tried cheanging the compiler and your without success.
Thanks!
07-12-2012 03:18 PM