About
My name is Jason Wei and I’m currently a student at Stanford University, majoring in Mathematical Computational Science (MCS).
I got involved with Android while interning at BillShrink, Inc. (http://www.billshrink.com), and since then I’ve taken up an interest in making my own little Android apps.
Hope some of you found my examples / tutorials useful. Please leave comments so that I can make my posts as helpful as possible!
– jwei
Hey Eric,
Sorry for the slow response. Unfortunately, being an undergraduate student, it would be hard for me to commit to such a task given the amount of school work and other extracurricular commitments that I have.
Sorry I couldn’t be of more help! Best of luck to you guys.
– jwei
Hey jwei,
I see that you’re using a graph in your Black-Scholes Options Calculator. I’m trying to implement a graph in my application. What are you using? Very curious.
Thanks,
Eric
Hey Eric!
I use something called the Google Charts API:
http://code.google.com/apis/charttools/index.html
It’s good for when you need to generate moderately simple graphs quickly without having to deal with annoying external java chart jars.
– jwei
Thanks jwei,
I’ve been looking at the google visualization api and it’s very straight forward. You basically plop your data into a google javascript object and send it over to google and they come back with a pretty graph. =)
My problem is that I can’t programatically figure out a way to get my data from the android cursor object to the html file that I’m writing. I’ve worked with Datasets that as you loop through them, you write what you need to write out. But with the cursor object, there doesn’t seem to be a loop that’s exposed that I can work with.
I’m new to Android development and I’m still digging into the cursor object. However, I don’t see any examples anywhere where someone is populating a visualization html file from a cursor object.
Do you know where I could find this info? And thanks again.
Eric
Hey Eric,
Sorry for the late response… school has been pretty busy. Did you ever find the answer to your question?
Let me know.
– jwei
Hey Jwei,
Yes I did. I took me a little while to figure out that all I needed to do was to send my data in a URL over to google and they spit back a Chart. I thought I needed to have a local ‘html template’ where I would have placeholders for my data in it. Kind of like the way a jsp pages uses the tag for it’s variables.
So thank you for pointing me in the right direction. It’s just what I was looking for.
Eric
How did you get SyntaxHighlighter into your wordpress? I cannot find a way to do it. The
tag does really cut it for me.
The code tag doesn’t really cut it for me.
I use the:
(sourcecode language=”java”) (/sourcecode)
tags (notice I used parenthesis instead of the actual brackets).
– jwei
Do you have to have a special theme for that or? Doesn’t really work for me, the text comes out as normal text.
Found some info here:
http://en.support.wordpress.com/code/posting-source-code/
thanks.
Hi Jason,
I am relatively new to android and just found your site after having implemented a custom authenticator and sync adapter /* for contacts */.
Did you ever implement a ‘custom’ sync adapter for a ‘custom’ content ?
I am wondering about the way I should use naming and meta-data and found it not to be very well documented
Any hints ?
Thank you
Gilles
Nice blog of your.As i am newer to Android i found your blog pretty useful.
And thanks 🙂
jwei,
There’s going to be a tech demo and conference hosted by Orange Silicon Valley in San Francisco soon, It’s a great opportunity for you to meet some start-ups and network with international bloggers.
It’s free to attend and I think you may find it interesting. Email me if you’d like to know more! arthurh(at)ecairn(dot)com
Hey Arthur,
Thanks for the invite – sadly I’m based in NY… though it would have been nice to meet with some more tech folk.
– jwei
Wow, I didn’t know that student of computer science faculty actually have opportunity to do interning! Valuable experience, I guess!
hi jason
how to fetch image from database and display in iist with image plus other data ,also ???