Could anyone please advise me what would be the best way to display the performance of a particular stock in an android app. I would be interested to know if any one has used any particular libraries.
I use a yahoo finance CSV parser to fetch the stock info.
Thanks.
I don't know of any good libraries specifically dealing with stock information, but I am assuming you are interested in charting? There are a bunch of options for producing charts for Android apps:
Graphview - A custom View for creating graphs in Android
Flot - A jQuery library for creating graphs. There are one or two good tutorials for Android.
AChartEngine - Another charting library for Android
aiCharts seems pretty polished, and has a free financial demo app you can download from the market, but you need to buy a license to use it. Also at the time I am writing this, their website (www.artfulbits.com) is down.
Related
I m a Doctor ,(Ophthalmic) i.e Eye Surgeon learning Android Online out of interest, This is my second question on Stack Overflow & I realize that this is one of the most efficient way of not getting stuck and learn from experienced developers & Move Ahead So thank yo SO.
My Last Question was about android so is this one.
I m making a simple application on mobile in which user is going to store his inventory & client details. Now the next requirement is the user should be able to generate invoices/prescriptions from the application itself.
When i made this application for Desktop using Java & Swing , I had used Jasper Reports to dynamically pass Data from J-Table & Other parameters usin a hashmap and passing it to the jrxml design template which i designed using ireport Designer community.jaspersoft.com/project/ireport-designer.
I want to do the same for android, not that i did not search or try something before asking a question up here. I couldn't find much documentation & Tutorials to do so.
I m new to SO , hence i don't have enough reputation to insert more than 2 links in the questions this i m marking the links bold & italic to be viewed and explored.
This stackoverflow.com/questions/8890340/android-what-are-the-good-reporting-tools-to-design-and-generate-reports-from Question on SO is asking the same thing.
The answer to it is itext & generation of reports over server.
So can we use itext the same way in android as we used in java SE applications ?
Also i have found other alternatives like
itextG : itextpdf.com/product/itextg
Jaspersoft Mobile - Android Sdk : community.jaspersoft.com/project/jaspermobile-android
Regarding itextG or itext-core i did not find too much other one video on youtube and simple documentation but that i guess is just a PDF creating tool, couldn't find any tutorials on it.
Please help me if you find anything more on it.
& Regarding Jaspersoft Mobile, If m not wrong says it uses Jasper Server for creating reports etc. which means its again network dependent so it is time consuming as well as one cannot generate reports offline ?
But I m sure there are solutions available because there are android applications available in market which are generating reports taking data from SQlite. Until and unless they are native apps there is a solution , Please someone help me out with what it is.
The apps on the store are
Invoice2go
Invoice Maker
& Invoice Maker is Remarkably Fast & Effective.
So Summarizing the long story short
Are there an easy to use offline reporting tools available for android and ios development with documentation & Tutorials to follow ?
Can we itext simply the same way we use it in Java applications?
There's a new standard for e-invoices. It's called ZUGFeRD and you can find more about it here. As you can see, there is a whole book in the works on how to create invoices with iText. The book isn't finished yet (although you may get an unrevised draft if you mail iText Group directly), but the examples can already by consulted here.
The idea is that you implement one of the following interfaces:
BasicProfile
ComfortProfile
If you implement the Basic profile, you can create the ZUGFeRD XML automatically, but you still have to write code to create your invoice. If you implement the Comfort profile, the ZUGFeRD XML contains all the necessary info to create the invoice. In chapter 5 of the book, we convert the XML to HTML using XSL. In chapter 6 of the book, we convert that HTML to PDF. That's a very powerful way to create invoices that (1) are future proof, (2) can be accessed by machines in an EDI context, and (3) are accessible for the blind and the visually impaired (Section 508).
iTextG is an Android port of iText. If you have iText code to create invoices in a Java environment, you can use the same code with iTextG. However: I would never create invoices on a mobile device. I would have the mobile device connect to a server where the invoices are created in a secure way.
In my application the customer want me to embed a tutorial to help users learn it. This tutorial would be in the form of a screen with animations showing how to perform tasks.
Before implementing this ... I want know if there is any framework already out there, that I can easily use?
Thanks
You could embed a video file using a VideoView.
No. You'll have to do this manually. Designing a general framework or library to do this would be very hard since the use cases will wildly vary from app to app.
I am trying to find the best charting library for my android app that receives live data from a data acquisition device (supports up to 800 samples per sec). I need to display a live, moving strip chart with some additional features like zooming in and out and tracing back the chart. I have looked at a few open source libraries like achartengine , afreechart, graphView but can't really seem to decide which one I should go with due to lack of enough examples and information. Any helpful links? Any recommendation?
I would suggest you try AChartEngine for your project. See this for some tutorials.
There is also another related thread on this.
I was looking for a candlestick lib chart solution for android, and couldnt find one for a couple of months now.
Im looking for a smooth scrolling, zomming, tooltip, option to polt in a new candle without the need to render the entire chart.
i did come across all the normal options for native code charting:
DriodCharts, AchartEngine, ChartDroid, none of which support candlesticks.
I also used 5 free Javascript and html solutions, all of which are very very slow, and most dont support adding a data tick after the chart has been plotted.
I have seen many free android applications with decent charts and have tried contacting the developers hoping they can at least point me to somewhere, or even sell their lib.
My question is does anyone here know of a native solution for candlesticks in android that supports what i mentioned?
Thanks,
Totem
I've the same problem as you. There is no library in android which directly support candlestick chart. There is no straightforward native solution for your ploblem but if requirement is to particular chart I sugest you to look after Google Chart API
There's no another way including open source solutions. If you want you can check this out CandleStick plot by ArtfulBits.
--EDITED--
Lately I wrote simple article how to draw CandleStick Chart in android with small help Google Chart API.
SciChart for Android supports candlestick charts, and brings an extremely fast, real-time charting control to the Android platform.
SciChart is a commercial control but available under royalty free distribution / per developer licensing. There is also free licensing available for educational use with some conditions.
Some useful links can be found below:
Android Candlestick Chart Example
SciChart's Android Charts Features
Android Chart Performance Tests vs. Open Source & Commercial
Disclosure: I am the MD of SciChart just so you know!
Not a free-of-charge product but you might be interested to see the TeeChart for Android Beta.
It includes a Candle Series and support for other financial series and indicators.
Also you can have a look at NChart3D. It is commercial, but comes with a full set of financial chart types.
I wanted to plot a stock historical graph based on google finance in my android app .
The problem is I can't find the api for just the stock chart alone and I must try to find another ways to do it.
I thought of a way but don't know what whether it works
the steps are as follows..
1) get the details from csv file
2) read the csv file
3) plot the graph using the information of the csv file.(WHICH I DON'T KNOW HOW TO DO IT)!
so if my steps above works , I would only want to know how to plot the graph.
Use Charting Libraries like JFreeCharts, JOpenChart (google for more)
They include samples on how to use them...
Or You could use Google's Charting API's
Neither JFreeCharts nor JOpenChart has not been ported to Android (as far as I know) and will not work on an android as-is, not will any other awt/swing based api due to differences in their respective Canvases etc. You could try porting one yourself but its not as trivial as it sounds and you probably won't be happy with the results.
I suggest using a library written from the ground up for Android which has support for the kind of plot you need. I recommend AndroidPlot but there are others out there as well.