Parallel HTTP requests with Retrofit

I have an Android application that is currently using Volley library to make network requests and show downloaded images with NetworkImageView. I would like to test Retrofit‘s capabilities and since I need to run lots of requests (thousands) I’m a bit concerned about the parallel execution. Volley handles parallel requests with the RequestQueue that limits […]

How to quit an application programmatically through button click

I want to quit application through button click. the code for button click is quitBtn.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View paramView) { // TODO Auto-generated method stub MainActivity.this.finish(); } }); But it require two clicks to exit from the app.

BroadcastReceiver for location

I know BroadcastReceiver watches for text, phone events, etc… but can you run LocationServices as a service and event based on Location? For example, you are near a certain GPS point and the phone notifies you.

Developing Android REST client applications

Referring Can anybody provide source/links which implements such a design?

I want text view as a clickable link

<TextView android:id=”@+id/link” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:layout_alignParentBottom=”true” android:layout_centerHorizontal=”true” android:text=”Forget password?” android:autoLink=”all” android:linksClickable=”true” android:textColor=”@color/lgreen” android:textStyle=”italic” /> Android is highlighting the links in the TextView, but they do not respond to clicks. Can someone tell me how can i do that as a clickable and move to another link. i tried more times by seeing examples. but i can’t. […]

Cannot find Android support libraries source code (v4, v7 & v13)

I am unable find the source when after I downloaded the sdk. Has it been removed from public access?

Android Volley – how to animate image loading?

any idea how to play a fade in animation when image loads? Now it just blinks into place. I am using NetworkImageView from the Volley toolkit. Also, is there a way to set loading and error bitmaps on the network image view without using the ImageLoader.get( .. ) ? Thanks! //EDIT: Okay, thanks to you […]

Transparent AlertDialog has black background

I have a custom AlertDialog style that makes the AlertDialog box transparent. It works fine except that when I inflate my desired transparent layout into the alert dialog window, it shows up with a black background. My goal is to have a completely transparent AlertDialog to where it seems as if there are only 4 […]

Preventing status bar expansion

Is there anyway to prevent users from sliding the status bar (expand) or collapsing back? I’m trying out a lockscreen replacement and seems like it’s a must-have feature. Is there any possible way to do it without requiring root privileges?

Private Android Application deployment/installation?

is it possible to create an android application that is meant only for internal use? Basically a private application not meant to be installed by non-approved phones? If so what is the basic process of deployment? How do you get the app on the employees phone’s? thanks!

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