如何访问android中的图像,其中图像路径已存储在M S SQL数据库中 [英] how to access images in android in which image path has been stored in M S SQL database

查看:141
本文介绍了如何访问android中的图像,其中图像路径已存储在M S SQL数据库中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,



我有需要在我的android app中显示图像的场景。图像路径存储在MS Sql表中。图像路径存储在数据库就像使用web应用程序。现在我在我的应用程序中将图像路径作为字符串获取,但我需要将其显示为图像。请接受任何建议或任何解决方案?帮助我。

Hello friends,

I have scenario where I need to display images in my android app.Image path is stored in M S Sql table.Image paths are storing in database like using web application.Now I get the image path as a string in my app but I need to display it as image.Please any suggestions welcome OR any solution?do help me.

推荐答案

我不确定你在哪里停留,但是如果你可以从MS SQL数据库中获取图像的路径,它似乎很容易实现。



看看这里: http://stackoverflow.com/questions/4181566/android-downloading-image-from-web-saving-to-internal-memory-in-location-priv [ ^ ]

http://www.androidhive.info/2012/07/android-loading-image-from-url-http/ [ ^ ]

http://www.compiletimeerror.com/2013/08/java-downloadextract-all-images-from.html [ ^ ]
I'm not sure where you stuck, but it seems to be simple to achieve, if you can fetch path to the image from MS SQL database.

Have a look here: http://stackoverflow.com/questions/4181566/android-downloading-image-from-web-saving-to-internal-memory-in-location-priv[^]
http://www.androidhive.info/2012/07/android-loading-image-from-url-http/[^]
http://www.compiletimeerror.com/2013/08/java-downloadextract-all-images-from.html[^]


这篇关于如何访问android中的图像,其中图像路径已存储在M S SQL数据库中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆