diff --git a/src/org/sflphone/adapters/AccountSelectionAdapter.java b/src/org/sflphone/adapters/AccountSelectionAdapter.java
index a927319bca532b7b8a3d37db62a4f0523bbfc289..961f39e8b343ffc4b64593e901bb995422bd0c61 100644
--- a/src/org/sflphone/adapters/AccountSelectionAdapter.java
+++ b/src/org/sflphone/adapters/AccountSelectionAdapter.java
@@ -3,6 +3,7 @@ package org.sflphone.adapters;
 import java.io.File;
 import java.util.ArrayList;
 
+import org.sflphone.R;
 import org.sflphone.model.Account;
 
 import android.content.Context;
@@ -13,11 +14,8 @@ import android.view.View;
 import android.view.ViewGroup;
 import android.widget.BaseAdapter;
 import android.widget.ImageView;
-import android.widget.RadioButton;
 import android.widget.TextView;
 
-import org.sflphone.R;
-
 public class AccountSelectionAdapter extends BaseAdapter {
 
     private static final String TAG = AccountSelectionAdapter.class.getSimpleName();
diff --git a/src/org/sflphone/fragments/AccountCreationFragment.java b/src/org/sflphone/fragments/AccountCreationFragment.java
index 62b3f2876ae73826288ba4d4861f6318636abdc9..f2edc3bababf973c6d9c27de040fab20289e977d 100644
--- a/src/org/sflphone/fragments/AccountCreationFragment.java
+++ b/src/org/sflphone/fragments/AccountCreationFragment.java
@@ -191,6 +191,7 @@ public class AccountCreationFragment extends Fragment {
         }
     }
 
+    @SuppressWarnings("unchecked")
     private void initCreation() {
 
         try {
diff --git a/src/org/sflphone/fragments/CallFragment.java b/src/org/sflphone/fragments/CallFragment.java
index 5b0d30fc1bdac17ce764b421934949fcef75ecff..452c218ab5083fa9081683bb60815cf032f04dbc 100644
--- a/src/org/sflphone/fragments/CallFragment.java
+++ b/src/org/sflphone/fragments/CallFragment.java
@@ -544,7 +544,7 @@ public class CallFragment extends Fragment implements Callback {
     }
 
     public void updateCodecName(String currentAudioCodecName) {
-        // In case of multiple codecs in the String
+        // In case of multiple codec in the String
         if (currentAudioCodecName.indexOf(' ') > 0)
             codecNameTxt.setText(currentAudioCodecName.subSequence(0, currentAudioCodecName.indexOf(' ')));
         else
diff --git a/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java b/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
index eca210da8731edeebb779ccc7d21139ce5c64861..668ac3c3a7d8376cb69d5750162752ec0b61eac2 100644
--- a/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
+++ b/src/org/sflphone/fragments/DetailsHistoryEntryFragment.java
@@ -65,6 +65,7 @@ public class DetailsHistoryEntryFragment extends Fragment {
     View mheaderView;
     DetailHistoryAdapter mAdapter;
     HistoryEntry toDisplay;
+    @SuppressWarnings("unused")
     private static final String TAG = DetailsHistoryEntryFragment.class.getSimpleName();
     ContactPictureTask tasker;
 
diff --git a/src/org/sflphone/fragments/DialingFragment.java b/src/org/sflphone/fragments/DialingFragment.java
index 96294e97fbfbbaafd11c66824c9b38e7c1c00afc..21a8223f2c0c02cd897f6d3f3fcb6e6f6d72e6e6 100644
--- a/src/org/sflphone/fragments/DialingFragment.java
+++ b/src/org/sflphone/fragments/DialingFragment.java
@@ -60,6 +60,7 @@ import android.widget.TextView.OnEditorActionListener;
 
 public class DialingFragment extends Fragment implements OnTouchListener {
 
+    @SuppressWarnings("unused")
     private static final String TAG = DialingFragment.class.getSimpleName();
 
     ClearableEditText textField;
diff --git a/src/org/sflphone/fragments/FileExplorerDFragment.java b/src/org/sflphone/fragments/FileExplorerDFragment.java
index 13f9b8440335563f3c054b7c66e69bc334e5c018..f3308a7863a72d5fe3893866d17523c1609e34cc 100644
--- a/src/org/sflphone/fragments/FileExplorerDFragment.java
+++ b/src/org/sflphone/fragments/FileExplorerDFragment.java
@@ -12,7 +12,6 @@ import org.sflphone.R;
 import android.app.DialogFragment;
 import android.os.Bundle;
 import android.os.Environment;
-import android.preference.Preference.OnPreferenceClickListener;
 import android.view.LayoutInflater;
 import android.view.View;
 import android.view.View.OnClickListener;
diff --git a/src/org/sflphone/fragments/IMFragment.java b/src/org/sflphone/fragments/IMFragment.java
index 6f6ddb210f8474e63f14d3b10a27fa0cd889dc91..bd93bea4627390c02de89a830d0c77e4a5cb46bc 100644
--- a/src/org/sflphone/fragments/IMFragment.java
+++ b/src/org/sflphone/fragments/IMFragment.java
@@ -1,7 +1,5 @@
 package org.sflphone.fragments;
 
-import java.util.ArrayList;
-
 import org.sflphone.R;
 import org.sflphone.adapters.DiscussArrayAdapter;
 import org.sflphone.model.SipMessage;
diff --git a/src/org/sflphone/fragments/MenuFragment.java b/src/org/sflphone/fragments/MenuFragment.java
index d069d9e09f1b2f9f858777c4f2e86f2ec4da15e6..38f80e840e95b362efe78f5d1ba91d33cc3f2176 100644
--- a/src/org/sflphone/fragments/MenuFragment.java
+++ b/src/org/sflphone/fragments/MenuFragment.java
@@ -57,10 +57,8 @@ import android.content.Loader;
 import android.os.Bundle;
 import android.os.RemoteException;
 import android.provider.ContactsContract.Profile;
-import android.util.Log;
 import android.view.LayoutInflater;
 import android.view.View;
-import android.view.View.OnClickListener;
 import android.view.ViewGroup;
 import android.widget.AdapterView;
 import android.widget.AdapterView.OnItemClickListener;
@@ -73,6 +71,7 @@ import android.widget.TextView;
 
 public class MenuFragment extends Fragment implements LoaderCallbacks<Bundle>, AccountsInterface {
 
+    @SuppressWarnings("unused")
     private static final String TAG = MenuFragment.class.getSimpleName();
 
     MenuAdapter mAdapter;
diff --git a/src/org/sflphone/fragments/NestedSettingsFragment.java b/src/org/sflphone/fragments/NestedSettingsFragment.java
index 2ae83648a8f0c2eb0c64fe854a1a74dc356ea1b6..7c8d2b1984cdd4f33d53ebad307dbf1f1361af1e 100644
--- a/src/org/sflphone/fragments/NestedSettingsFragment.java
+++ b/src/org/sflphone/fragments/NestedSettingsFragment.java
@@ -48,6 +48,7 @@ import android.view.ViewGroup;
 
 public class NestedSettingsFragment extends PreferenceFragment {
 
+    @SuppressWarnings("unused")
     private static final String TAG = AdvancedAccountFragment.class.getSimpleName();
 
     private Callbacks mCallbacks = sDummyCallbacks;
diff --git a/src/org/sflphone/fragments/SecurityAccountFragment.java b/src/org/sflphone/fragments/SecurityAccountFragment.java
index 90c8f8d3a028d26a67de7e52395ddb1d63b17466..f4bbb0d5daa8b776e4bc113560b1ea89e1802d39 100644
--- a/src/org/sflphone/fragments/SecurityAccountFragment.java
+++ b/src/org/sflphone/fragments/SecurityAccountFragment.java
@@ -16,6 +16,7 @@ import android.preference.PreferenceFragment;
 
 public class SecurityAccountFragment extends PreferenceFragment {
 
+    @SuppressWarnings("unused")
     private static final String TAG = SecurityAccountFragment.class.getSimpleName();
 
     private Callbacks mCallbacks = sDummyCallbacks;
diff --git a/src/org/sflphone/loaders/HistoryLoader.java b/src/org/sflphone/loaders/HistoryLoader.java
index 32762687d1bf532446413e2de908f8e5b3dfa8cd..94c01e51881c378c03af2b32602d02bdcbf3b9bb 100644
--- a/src/org/sflphone/loaders/HistoryLoader.java
+++ b/src/org/sflphone/loaders/HistoryLoader.java
@@ -14,9 +14,7 @@ import org.sflphone.service.ServiceConstants;
 
 import android.content.AsyncTaskLoader;
 import android.content.Context;
-import android.database.Cursor;
 import android.os.RemoteException;
-import android.provider.ContactsContract;
 import android.provider.ContactsContract.Contacts;
 import android.util.Log;
 
diff --git a/src/org/sflphone/model/BubblesView.java b/src/org/sflphone/model/BubblesView.java
index 7013e2303858da6289a343495d7d3b1cdc2b618d..a4803909d11b0b70155e36c9e0a9f6875d9e1af1 100644
--- a/src/org/sflphone/model/BubblesView.java
+++ b/src/org/sflphone/model/BubblesView.java
@@ -38,8 +38,6 @@ import org.sflphone.R;
 import org.sflphone.fragments.CallFragment;
 
 import android.content.Context;
-import android.graphics.Bitmap;
-import android.graphics.BitmapFactory;
 import android.graphics.Canvas;
 import android.graphics.Paint;
 import android.graphics.Paint.Align;
@@ -48,8 +46,6 @@ import android.graphics.PixelFormat;
 import android.graphics.PorterDuff.Mode;
 import android.graphics.PorterDuffXfermode;
 import android.graphics.RectF;
-import android.os.Handler;
-import android.os.Message;
 import android.os.RemoteException;
 import android.util.AttributeSet;
 import android.util.Log;
@@ -75,8 +71,6 @@ public class BubblesView extends SurfaceView implements SurfaceHolder.Callback,
     private float density;
     private float textDensity;
 
-    private Bitmap mBackground;
-
     private boolean dragging_bubble = false;
 
     private CallFragment callback;
@@ -84,9 +78,6 @@ public class BubblesView extends SurfaceView implements SurfaceHolder.Callback,
     public BubblesView(Context context, AttributeSet attrs) {
         super(context, attrs);
 
-        Bitmap tmp = BitmapFactory.decodeResource(getResources(), R.drawable.bg_72);
-        mBackground = Bitmap.createScaledBitmap(tmp, getResources().getDisplayMetrics().widthPixels, getResources().getDisplayMetrics().heightPixels,
-                false);
         density = getResources().getDisplayMetrics().density;
         textDensity = getResources().getDisplayMetrics().scaledDensity;
 
@@ -115,14 +106,7 @@ public class BubblesView extends SurfaceView implements SurfaceHolder.Callback,
     private void createThread() {
         if (thread != null)
             return;
-        thread = new BubblesThread(getHolder(), getContext(), new Handler() {
-            @Override
-            public void handleMessage(Message m) {
-                /*
-                 * mStatusText.setVisibility(m.getData().getInt("viz")); mStatusText.setText(m.getData().getString("text"));
-                 */
-            }
-        });
+        thread = new BubblesThread(getHolder(), getContext());
         if (model != null)
             thread.setModel(model);
     }
@@ -194,7 +178,7 @@ public class BubblesView extends SurfaceView implements SurfaceHolder.Callback,
 
         BubbleModel model = null;
 
-        public BubblesThread(SurfaceHolder holder, Context context, Handler handler) {
+        public BubblesThread(SurfaceHolder holder, Context context) {
             surfaceHolder = holder;
         }
 
diff --git a/src/org/sflphone/service/SipService.java b/src/org/sflphone/service/SipService.java
index 1e2ef127cb3a218c519c4191d9261f9002ab9ace..e2c62f709f1a71801c71d701bdb93d5467829886 100644
--- a/src/org/sflphone/service/SipService.java
+++ b/src/org/sflphone/service/SipService.java
@@ -51,7 +51,6 @@ import android.app.Service;
 import android.content.Context;
 import android.content.Intent;
 import android.content.IntentFilter;
-import android.media.AudioManager;
 import android.os.Bundle;
 import android.os.Handler;
 import android.os.HandlerThread;