How to unban a project on Maven

I’m trying to install a file to my local Maven repositor (following the steps from, although, I’m always getting the following error message: PS C:\Android\android-sdk\extras\google\google_play_services\libproject\google-play-services_lib> mvn install:install-file -DartifactId=google-play-services-jar -Dversion=4 -Dpackaging=jar -Dfile=.\libs\google-play-services.jar [INFO] Scanning for projects… [INFO] [INFO] ———————————————————————— [INFO] Building google-play-services 4 [INFO] ———————————————————————— [INFO] [INFO] — maven-install-plugin:2.4:install-file (default-cli) @ google-play-services — [INFO] […]

How to skip or avoid 'retake and review' option after captureing photo from camera using ACTION_IMAGE_CAPTURE

I want to display the image when I am click the photo and set to on my Imageview without user select yes or not…. I Am research more for that and I know also very well that the camera app itself gives you the ability to review/retake the image, and once an image is accepted, […]

Unable to debug Whitelisted device / ApplicationSession failing to start

I am not able to connect to my Whitelisted Chromecast through the given address (ip.address:9222) as mentioned here: When attempting to test my Android sender implementation, my app can successfully see and select the Chromecast device via MediaRouteActionProvider I receive SessionError code CODE_REQUEST_FAILED in CATEGORY_CONNECT_CHANNEL immediately. I’ve included my app id in both the […]

Get Resource Id from ImageView

I am trying to develop a little game. I have a ViewFlipper which has 50 pictures (random frequence of 4 pictures) in ImageViews. Then I have 4 Buttons with the same 4 pictures which can appear in the ViewFlipper. The task is to click the right button when the right picture appears. (When Picture 1 […]

Logging HTTP requests/responses with Fiddler on Android emulator

Fiddler manages to log all my PC HTTP traffic, but when I run Android emulator and start browsing web though emulator, nothing gets logged. Why isn’t Fiddler logging Android emulator browser HTTP traffic?

How to stop debug without closing app in Android Studio 2

when I debugging my application and if I click on th Stop button – debugging stopped work – and! – my application closing. (I think android studio just kills proccess). How can I stop debugging without stopping process?

Prevent some users from closing Android service

I’m making a service on Android where it will be installed on a phone/tablet. Many people can use that tablet but only selected ones should have right to close the service. How can I achieve this? I googled & found some options: Making user accounts: There are lots of apps for this but they do […]

Android Bluetooth status 133 in onCharacteristicwrite

I’m new to Android and now doing a simple app that requires writing some data into a peripheral device. Actually nothing goes wrong in a Samsung GT-S7272C device. But when I switch to Sony LT29i, there will always be a status 133 when I’m trying to write into a certain characteristic. I will give out […]

Android ListView with OnItemClickListener AND GestureDetector

I have a the following ListActivity: public class ShowDayActivity extends ListActivity implements OnItemClickListener { private GestureDetector gestureDetector; private View.OnTouchListener gestureListener; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(; registerForContextMenu(getListView()); gestureDetector = new GestureDetector(new MyGestureDetector()); gestureListener = new View.OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return gestureDetector.onTouchEvent(event); } }; getListView().setOnItemClickListener(this); getListView().setOnTouchListener(gestureListener); } @SuppressWarnings(“static-access”) […]

HTML5 <audio> tag on Android

I have found many threads discussing the support of tag on Android. So far it looks, that even Android Froyo 2.2 cannot play audio (i have made tests on nexus One). According to the web page, the tag itself is supported, but no codecs are in the browser (mp3, ogg..). So how I can […]

Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.