Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

6 posts

Wannabe Geek

#60744 2-May-2010 03:50
Send private message


All I want to do is simply display a URL image. Does anyone have a template I
could use that already displays an image that I can possibly use?
I've been looking all over the internet and the only answers I've
found are extremely complex that include other code.

I'm very good at learning something once I can get it to work from my
end then proceed to analyzing the code.

I am VERY new at Android programming and xml.


PS -- Anyone know any good newbie guides that have full samples of code or downloadable projects for common tasks?

Create new topic


835 posts

Ultimate Geek


  #325729 2-May-2010 09:29
Send private message

Righto...first off...a disclaimer: I am a newbie in Android too. However, the xml is somewhat reminiscent of XAML/WPF, which I have to deal with at work. I am also assuming you want to display an image hyperlink? If that's now what you want to do then this is all redundant :o)

Stick an ImageView on your View, then write a event handler for it. The event handler creates an Intent with the URL in the appropriate data and launches the system default browser. I don't have a code snippet for you but I imagine it should be a straightforward thing? 

Android user, software developer, a semi-typical (not a gamer) geek, and a Bernese Mountain Dog nut! |

5609 posts

Uber Geek


  #325745 2-May-2010 10:34
Send private message

Have joined the Google android developers group / forum?

It's very active judging by the digests I get every day. Looks like a great place to ask questions.

Being Google, It's searchable

If you order a Tesla, click my referral code below to order your car and get free stuff. 


My Tesla referral code:


6 posts

Wannabe Geek

  #325751 2-May-2010 11:19
Send private message

Thanks about the groups -- I've joined .. and no reply yet :(

As for what I'm trying to do, I want to display an image from the internet on the program (not a link to it) without opening a browser.


835 posts

Ultimate Geek


  #325858 2-May-2010 19:56
Send private message

dylanh724: As for what I'm trying to do, I want to display an image from the internet on the program (not a link to it) without opening a browser.

Sorry, I interpreted your question wrongly...

Have you had a look through the SDK reference? It is part of the SDK download. I just had a look at the ImageView widget, and it has a public method called setImageURI or some such. I think it takes a Uri, which I assume can be pointed to an http:// one? Not sure...worth a try as a starting point though... 

Android user, software developer, a semi-typical (not a gamer) geek, and a Bernese Mountain Dog nut! |

Create new topic

News »

Freeview On Demand app launches on Sony Android TVs
Posted 6-Aug-2020 13:35

UFB hits more than one million connections
Posted 6-Aug-2020 09:42

D-Link A/NZ extends COVR Wi-Fi EasyMesh System series with new three-pack
Posted 4-Aug-2020 15:01

New Zealand software Rfider tracks coffee from Colombia all the way to New Zealand businesses
Posted 3-Aug-2020 10:35

Logitech G launches Pro X Wireless gaming headset
Posted 3-Aug-2020 10:21

Sony Alpha 7S III provides supreme imaging performance
Posted 3-Aug-2020 10:11

Sony introduces first CFexpress Type A memory card
Posted 3-Aug-2020 10:05

Marsello acquires Goody consolidating online and in-store marketing position
Posted 30-Jul-2020 16:26

Fonterra first major customer for Microsoft's New Zealand datacentre
Posted 30-Jul-2020 08:07

Everything we learnt at the IBM Cloud Forum 2020
Posted 29-Jul-2020 14:45

Dropbox launches native HelloSign workflow and data residency in Australia
Posted 29-Jul-2020 12:48

Spark launches 5G in Palmerston North
Posted 29-Jul-2020 09:50

Lenovo brings speed and smarter features to new 5G mobile gaming phone
Posted 28-Jul-2020 22:00

Withings raises $60 million to enable bridge between patients and healthcare
Posted 28-Jul-2020 21:51

QNAP integrates Catalyst Cloud Object Storage into Hybrid Backup solution
Posted 28-Jul-2020 21:40

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.