How to access data from web
-
I want to get images from web such that they should be loaded according to my buttons what the buttons I have assigned for them ....
Can anyone provide me some example for this..
-
Could you be more analytical with the description of what you want to do? Just for other forum users to be able to give you better answers. :)
-
Is that you want to download images and use that images inside your button.
-
No ...for eg http://www.desihits.com/rss/media/
I want to browse images from this site to my Qt Simulator...So that if I clicks a Button named News means that the related images from the news section of the site should get attached to my news button so that if I clicks that button I can see the news with some photo of that news.....
You can view its format from the above link
-
Still not much clear to me. If you are looking for some sort of rss feed reader. Just try seraching you would get some examples. There is one tutorial "here":http://www.tuxradar.com/content/code-project-create-qt-rss-reader - you can refer this too.
-
thanks QtK...Its not the exact example but still it will surely help me to build my application.....
-
can you please give me some examples of same type..
-
If you want get image from rss. You need write: class works with network for getting RSS feed, XML parser for gettings links to images, and method for download images to your device.
For it you need learn follow Qt classes: QDomDocument and all needed dependences, QNetworkAccessManager and all needed dependences. -
"This":http://blogs.forum.nokia.com/blog/nokia-developer-news/2010/05/12/cartoon-reader-example-demos-qtwebkit is also a very good example which might help you.
-
Actually I am unaware about Java..So if you have any example in Qt,please give me..
-
[quote author="Prajnaranjan Das" date="1293625707"]Actually I am unaware about Java..So if you have any example in Qt,please give me..[/quote]
Where does Java fits in all this. We were referring to Qt only.
-
This example is totaly different and I thought its in Java ...if you have please give me some example like the previous example you gave .....
-
Have you checked the source? It has .cpp and .h files, which is hard to confuse with java files. It is worthless to provide you examples if you even do not brother to check the files and understand how it can help you.
I do not beleive you will find an exact sample to solve the same problem you have, programming is rather learning from examples and putting together the pieces of the puzzle.
-
ok.I am sorry for that
-
[quote author="VCsala" date="1293626998"]It is worthless to provide you examples if you even do not brother to check the files and understand how it can help you.
[/quote]I also feel the same.
Prajnaranjan, Are you completely new to programming. Have gone through all the questions you have been asking in this forum and seems you are not willing to put any efforts.
If you are new to Qt and just starting out recommend you to do some reading and make yourself comfortable with some basic examples and then start with a project.
-
Prajnaranjan, please do not believe we do not want to help you. It is the opposite, we are happy if someone is working on Qt. The thing you have to understand that we cannot help you if you do not put some effort in learning.
-
yeah ...You are correct...Actually I'm new to Qt,for which I am asking these types of questions....Can you tell me from where should I start learning Qt...
-
[quote author="Prajnaranjan Das" date="1293627739"]yeah ...You are correct...Actually I'm new to Qt,for which I am asking these types of questions....Can you tell me from where should I start learning Qt...[/quote]
You can check "this":http://qt.nokia.com/developer/books link for books on Qt. Also there is link in wiki for more references on books. I encourage you to use the search tool.
C++ GUI programming with Qt4 is a good start. Also start browsing the documentation - this might be all you need.
-
You can download for free the first edition of C++ GUI Programming with Qt 4 from "here":http://www.qtrac.eu/marksummerfield.html. It is a bit outdated, but it is very good for learning the basics (the books contains the link to download the examples). After that you will know most of the basic stuff and can understand most of the code examples here or elsewhere so you can start learn by doing.
-
thank you for your suggestion..