skip to Main Content

Show facebook profile pic using url in listView – Android – Facebook api

i'm trying to show facebook user's profile pic using facebook graph api url and user's name. String Name = jsonObjectlike.getString("name"); String UserIds = jsonObjectlike.getString("id"); URL url = new URL("https://graph.facebook.com/" + listid + "/picture?type=small"); Bitmap bmp = BitmapFactory.decodeStream(url.openConnection().getInputStream()); HashMap<String, String> contact…

VIEW QUESTION

How can I disable the ListView item on long click – SEO

public class MainActivity extends ActionBarActivity { ListView listview; String[] subjects = new String[] {"Android","PHP","Blogger","WordPress","SEO"}; List<String> subject_list; ArrayAdapter<String> arrayadapter; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); listview = (ListView)findViewById(R.id.listView1); subject_list = new ArrayList<String>(Arrays.asList(subjects)); arrayadapter = new ArrayAdapter<String>(MainActivity.this, android.R.layout.simple_list_item_1, subject_list); listview.setAdapter(arrayadapter);…

VIEW QUESTION
Back To Top
Search