Skip to content


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. (, 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

18 Comments leave one →
  1. February 8, 2010 6:20 pm

    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

  2. Eric Mooney permalink
    February 12, 2010 8:48 am

    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.


  3. Eric Mooney permalink
    February 12, 2010 1:06 pm

    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.


    • February 20, 2010 3:10 am

      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

  4. Eric Mooney permalink
    February 20, 2010 11:38 am

    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.


  5. June 3, 2010 11:31 pm

    How did you get SyntaxHighlighter into your wordpress? I cannot find a way to do it. The tag does really cut it for me.

    • June 3, 2010 11:32 pm

      The code tag doesn’t really cut it for me.

      • June 3, 2010 11:50 pm

        I use the:

        (sourcecode language=”java”) (/sourcecode)

        tags (notice I used parenthesis instead of the actual brackets).

        – jwei

  6. June 3, 2010 11:56 pm

    Do you have to have a special theme for that or? Doesn’t really work for me, the text comes out as normal text.

  7. September 14, 2010 5:56 am

    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

  8. October 9, 2010 4:01 pm

    Nice blog of your.As i am newer to Android i found your blog pretty useful.
    And thanks 🙂

  9. August 17, 2012 9:51 am


    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

    • August 17, 2012 12:45 pm

      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

  10. ilja permalink
    October 4, 2012 6:31 am

    Wow, I didn’t know that student of computer science faculty actually have opportunity to do interning! Valuable experience, I guess!

  11. vraj permalink
    May 15, 2013 9:14 pm

    hi jason
    how to fetch image from database and display in iist with image plus other data ,also ???


  1. Web Services OR Web Scraping? | El Bloc de Turisme

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: