Im trying to overlay images on a canvas using the following method:
private Bitmap overlay(Bitmap bmp1, Bitmap bmp2) {
bmOverlay = Bitmap.createBitmap(70, 70, Bitmap.Config.RGB_565);
canvas = new Canvas(bmOverlay);
canvas.drawBitmap(bmp1, 0, 0, null); //line 179
canvas.drawBitmap(bmp2, 0, 0, null);
return bmOverlay...
Can we write instrumentation test cases for an android application in Groovy?
If so , how ?
...
Hi
i want do make navigation bar at bottom of the screen in adroid application . how can i do that? plz help me a simple example
Thanks,
Suman
...
Anyone who knows a good way to generate/create a barcode from a String in Android?
...
hi
how to add facebook Application in my Android Application .i want to add a image button. when the user clicks on this button it should go to the facebook page .where the user can sign in .please anyone help me to solve this problem..please send me a source code of the App
...
dear friends,
while showing progress bar i want to disable touch screen to restrict other functionalities in android phone.
can any one guide me how to achieve this?
any help would be appricated.
...
I want to create a tab using child tab having intents, so that when ever user click on tabs intents get refresh.
Every time user click on tab i want to refresh and called oncreate method of child intent tabs.
public class Tabs3 extends TabActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(save...
Following is the example of tabs with intent data.
While debugging i found that always when first tab we add in tab host in our case following tab
tabHost.addTab(tabHost.newTabSpec("tab1")
.setIndicator("list")
.setContent(new Intent(this, List1.class)));
oncreate method of "List1" intent get c...
Hi,
This is a black box test, which means I don't have any way to access the source code. Because I have to reproduce the error, file a report, and then present to the programmer (who are not our company's employee), I have to find the crashing URL / http / xhttp request.
Is there any way to do so on the SDK emulator?
Thanks a lot.
...
What programming Languages can i use to make apps for the Android Mobile OS? I know its Objective C for the iphone but not sure sure about Android i think its java?
...
Hi,
My text view (of type AutoCompleteTextView) listens to both TextWatcher and OnItemClickListener.
textView = (AutoCompleteTextView)
findViewById(R.id.search_edit_text);
textView.setOnItemClickListener(this);
textView.addTextChangedListener(this);
My objective is this: when a user enters a character ...
I have some data files that I need to install together with my application on the emulator for easy testing my app on a device.
Where can I put files in a way that Eclipse will include them into my apk and how can I access those files after my application is installed on the device?
...
I am looking for a way to recognize a very specific set or images/characters using a android device.
I dont mind doing this either by taking a picture or scanning (not actual scanning , just hovering over a image like how the barcode readers work). Since I have never done this before ,pointers to specific Libs and directions on how thin...
I'm writing a game for Android. My GUI has the following basic screens (i.e. the information and interactions required on each of these would take up the whole display):
Main menu (let you start a new game, enter settings, see high scores, see about screen)
Game screen i.e. where the actual game is played.
Settings screen.
High scores...
hey!
I have a question about an intent...
I try to launch the sms app...
Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setType("vnd.android-dir/mms-sms");
int flags =
Intent.FLAG_ACTIVITY_NEW_TASK |
Intent.FLAG_ACTIVITY_SINGLE_TOP |
Intent.FLAG_ACTIVITY_CLEAR_TOP;
...
friends,
i want to change color of
android list view seperator line.
any help would be appriciated.
...
try {
Intent searchAddress = new Intent(Intent.ACTION_VIEW,
Uri.parse("geo:0,0?="+emp_city_location));
startActivity(searchAddress);
} catch(Exception e) {
System.out.println(e);
}
i got the exception like
03-03 21:01:56.349...
I wonder if it's possible to access to the SIM card with an Android Application
...
Hello, I have been trying to get the following code to work for the last 4 hours.
public void clearLocation() {
LocationManager locMan =
(LocationManager)getSystemService(Context.LOCATION_SERVICE);
locMan.clearTestProviderLocation("gps");
My problem is that it will only work with Android 1.5. On 1.6 and newer it...
I loaded some images into a gallery. Now I'm able to scroll but once started scrolling the scrolling won't stop. I would like the gallery to just scroll to the next image and then stop until the user does the scroll gesture again.
this is my code
import android.widget.ImageView;
import android.widget.Toast;
import android.widget.Adapte...