Note that there are some explanatory texts on larger screens.

plurals
  1. USuser2601652
    text
    copied!<p><a href="http://sunil-android.blogspot.in/2013/02/touch-to-move-bitmap-inside-custom-view.html" rel="nofollow">http://sunil-android.blogspot.in/2013/02/touch-to-move-bitmap-inside-custom-view.html</a></p> <p><a href="http://www.integratingstuff.com/2010/10/14/integrating-facebook-into-an-android-application/" rel="nofollow">http://www.integratingstuff.com/2010/10/14/integrating-facebook-into-an-android-application/</a></p> <p><a href="http://code.almeros.com/android-multitouch-gesture-detectors#.UgkoR3-2Gvg" rel="nofollow">http://code.almeros.com/android-multitouch-gesture-detectors#.UgkoR3-2Gvg</a></p> <p><a href="https://code.google.com/p/rascal-viewer/" rel="nofollow">https://code.google.com/p/rascal-viewer/</a></p> <pre><code>final StatusCallback statusCallBack = new StatusCallback() { @Override public void call(Session session, SessionState state, Exception exception) { session.openForPublish(new Session.OpenRequest(SaveSendActivity.this).setCallback(this).setPermissions(Arrays.asList(facebookPermissions))); } }; Session session = Session.openActiveSession((Activity)context, true, statusCallBack); } @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { super.onActivityResult(requestCode, resultCode, data); Session session = Session.getActiveSession(); if(session != null) { try { session.onActivityResult(this, requestCode, resultCode, data); Bundle bundle = new Bundle(); bundle.putString("name", "Amplimesh"); com.facebook.Request request = new com.facebook.Request(session, "me/albums", bundle, HttpMethod.POST, requestCallBack); RequestAsyncTask requestAsyncTask = new RequestAsyncTask(request); requestAsyncTask.execute(); requestCallBack = new com.facebook.Request.Callback() { @Override public void onCompleted(Response response) { JSONObject graphResponse = response.getGraphObject().getInnerJSONObject(); String postId = null; try { postId = graphResponse.getString("id"); } catch(Exception e) { Log.v(GlobalVars.TAG, "JSON::" + postId); } } }; } catch(Exception e) { Log.v(GlobalVars.TAG, "Exception at::" + e.getMessage()); } } } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload