sdk/src/com/socialize/ui/profile/DefaultProfileImageContextMenu.java
@Override
	public void show() {
		
		if(deviceUtils != null && deviceUtils.hasCamera()) {
			final String items[] = {"From Gallery", "From Camera"};
			
			AlertDialog.Builder ab=new AlertDialog.Builder(context);
			ab.setTitle("New Profile Picture");
			ab.setItems(items, new DialogInterface.OnClickListener() {
				public void onClick(DialogInterface d, int choice) {
					if (choice == 0) {
						launchGallery();
					}
					else if (choice == 1) {
						launchCamera();
					}
				}
			});
			
			ab.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
				@Override
				public void onClick(DialogInterface dialog, int which) {
					dialog.cancel();
				}
			});
			
			ab.show();
		}
		else {
			launchGallery();
		}
	}
@Override
	public void show() {
		
		if(deviceUtils != null && deviceUtils.hasCamera()) {
			final String items[] = {"From Gallery", "From Camera"};
			
			AlertDialog.Builder ab=new AlertDialog.Builder(context);
			ab.setTitle("New Profile Picture");
			ab.setItems(items, new DialogInterface.OnClickListener() {
				public void onClick(DialogInterface d, int choice) {
					if (choice == 0) {
						launchGallery();
					}
					else if (choice == 1) {
						launchCamera();
					}
				}
			});
			
			ab.setNegativeButton("Cancel", new DialogInterface.OnClickListener() {
				@Override
				public void onClick(DialogInterface dialog, int which) {
					dialog.cancel();
				}
			});
			
			ab.show();
		}
		else {
			launchGallery();
		}
	}
/* (non-Javadoc)
@see com.socialize.ui.profile.ProfileImageContextMenu#show()