Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to work with an image using url in android?

Tags:

android

Given a Url for an image, I want to downoload it and paste it onto my canvas in android. How do I retrieve the image into my app ?

Please help.

Thanks, de costo.

like image 871
Vishnu Pedireddi Avatar asked Jul 21 '09 23:07

Vishnu Pedireddi


People also ask

How do you make an image clickable on Android?

To make a View clickable so that users can tap (or click) it, add the android:onClick attribute in the XML layout and specify the click handler. For example, you can make an ImageView act like a simple Button by adding android:onClick to the ImageView . In this task you make the images in your layout clickable.

Where is the URL on my Android phone?

Tap the web browser (whichever one your phone has). Tap on the address bar at the top. Type in the URL.


1 Answers

Dont forget to give the app the permission to connect to the Web,

in the AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET" />
like image 161
Damocles Avatar answered Sep 18 '22 12:09

Damocles