bitmap tag

12 questions


1 answers
162 views
0
How to repeat the background image horizontally only on Android?

To view Android image resources repeatedly<bitmap xmlns:android=http://schemas.android.com/apk/res/android android: src=@drawable/back android:tileMode=repeat/>This is how you define it in XML ...

2 years ago

1 answers
76 views
0
To set a bitmap with a resource

bm = BitmapFactory.decodeResource(null, R.id.image);Is this how I set the bitmap in the resource?

2 years ago

1 answers
178 views
0
How to get a bitmap from ImageView

ImageView image = R.findViewById(R.id.imageView);image.setImageBitmap(someBitmap);How do I get a bitmap from the image view when given like this?


1 answers
78 views
0
To extract bitmaps from Uri on Android

How do I get a bitmap object from Uri? If you receive it and save the bitmap, you can save it by /data/data/MYFOLDER/myimage.png or file///data/MYFOLDER/myimage.pngI think we'll use these two paths. I...


1 answers
88 views
0
Problems with different file sizes when loading and rewriting files to Bitmap

Bring the pictures of the gallery from Android and put them on Bitmap bm.compress(Bitmap.CompressFormat.PNG, SAMPLING, out); bm.compress(Bitmap.CompressFormat.JPEG, SAMPLING, out);What's wrong with th...

2 years ago

1 answers
85 views
0
How do I load images from the URL when I load images from Android to Image View?

How do I import an image from a specific URL and load it into an image view?

2 years ago

1 answers
131 views
0
How do I save a bitmap to a specific folder?

I'm creating a function that downloads an image from a web server and outputs it to the screen. Can I continue to save the downloaded image to a specific folder on my SD card? So what I want to do is ...

2 years ago

1 answers
157 views
0
How do I upload Bitmap to web server using Okhttp?

I'm going to upload a picture using php I'm going to take the photo selected by the camera or gallery and resize it with bitmap and upload it on the serverHere we go. Give me a tip

2 years ago

1 answers
83 views
0
The Android Facebook profile image (setImageBitmap) is not coming over.

After linking Facebook login with Android, I want to get a profile picture on Facebook. @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); FacebookSdk...


1 answers
106 views
0
How do I change Drawable to Bitmap?

I want to use the device wallpaper as Drawable, but when I looked at the wallpaper function, it only works as Bitmap.So I can't use Wallpaper Manager, so can I change Drawable to Bitmap?

- 1 - »

© 2024 OneMinuteCode. All rights reserved.