google charts and Java - java

I am very keen to use google charting (visualization api) in my project in which I am making a network monitoring tool. I want to make a client app which will connect server at a port and get statistics about the application. I want to display the statistics using charts.
I tried to read good docs, but its quite confusing, I tried some other websites but no solution. Can anyone provide any good source to learn how to use google charts to display live running data?

Hey , I think charts4j will help you . http://code.google.com/p/charts4j/ .
charts4j allows you to
programmatically generate charts from
within your Java code via a simple,
intuitive, and lightweight Java API.
Moreover, it hides the ugly details of
creating the URL parameters that are
necessary for communicating with the
Google Chart API.

Related

How to use WebRTC in GAE/J Project

I want to start Video Session on a specific date and time between two users of my application.The Application is written in Java on Google App Engine.
I know about the Twilio SMS/Voice Services ,but GAE docs don't mention about how to have Video Calls.
I have looked into TOKBOX API, which seems a good fit, but what i want to know is , is there a better way to have a Scheduled Video Call in Google App Engine. Is there any bundled service i can use.
Thank You
TokBox has created a Starter Kit called ScheduleKit that has about the same purpose. The UI is modeled like a customer support application, and it also emails a reminder for the video chat. The sample code is built in PHP, but it can easily be ported to work with Java. Take a look at the OpenTok Java SDK.

Interface to communicate to web pages from android application

I am trying to implement a "Doctor Finder" application for android which will have a symptom checker facility like webMD. Since webMD don't have any API's I must create my own expert system (which takes a lot of time) or need to find something similar to webMD which offers public API. I found NIL API from National Library of Medicine US and I doubt it would be useful in my scenario.
Now the actual question, Is it possible to use webMD's online symptoms checker using an interface from android. I don't want to show the HTML page within my app but to send and receive information through it? If not is there any APIs available to serve this purpose?
You can do that by using "selenium".
Its a tool used for automated testing of web applications. you can navigate and enter information in the web page and get results using this.
http://www.seleniumhq.org/

How to connect android app with data store on app-engine

I am working with some friends on an android application and we want to use data store on google app engine.
Can anyone help me find a tutorial on how to create a connection between the android app and the data store, I couldn't find a good one myself.
Thanks.
I suggest you look at a few, quite recent Google services:
Endpoints will help you create an interface between your server code and your client, including generating a client library and doing OATH2 authentication.
Volley is an Android library that makes it easy to perform the requests to the server. (There are a number of 3rd party alternatives to Volley that are also good.)
Mobile Starter Kit is a simple way to get started, doing everything from the client initially, but with the ability to customize the server later.
Take a look at this Google blog post from a few days ago:
http://googlecloudplatform.blogspot.ca/2013/11/connecting-mobile-developers-to-the-cloud-with-google-cloud-endpoints.html
Those are good starting points, but don't assume you should use the recommended Google services. Endpoints for example, will lock you into GAE and it doesn't sound like you need the multi-platform support it offers. You could just create a REST/JSON servlet using one of many libraries.
I reccomand DropBox API.
It is not what you asked, but I guess you didnt start using the Google API because you are looking for a tutorial..
DropBox API has a lot of info and tutorials and it's kinda easy to handle..

How do I make a simple web app with log-in?

I have been doing android programming for a while now but only as a hobby. I know the basics of java, and can say I have a solid understanding of PHP and MySQL (I once followed a tutorial that showed how to create a very basic content management system). I've been wanting to expand my knowledge beyond the simple android apps I've made and recently had an idea for an android app. In this app, the user would create a Username and password the first time it is ran. From then, the user can fill out a form. From what i know so far, the valuesof this form can be stored in a MySQL database. So basically every user needs to have their own set of variables stored (which are not a lot). As I been looking around, i think there are many ways to create a web app, and there are different frameworks for doing so. I read I can create a web app with log-in, using ASP.NET. Can this be done using java? I just need some general guidance. I want to make the web app standalone, and then focus on creating an app for android that uses it.
I think good platform for your kind of case is to use Google App Engine (GAE). It provides platform to do your web-service with Java (or python if you prefer). It is also free for low amounts of traffic (like your service) and they have really good tools to manage the site (check the database entries, usage statistics, etc.).
Google has written a good set of tutorials to build webservice with Java in GAE:
http://googcloudlabs.appspot.com/
AppEngine documentation main page:
http://code.google.com/intl/fi-FI/appengine/
Signup here:
https://appengine.google.com/
I think you may want to look at JavaServer Pages.

Integrate GWT with Google Fusion Tables API

I have recently tried to move a visualization project, developed in javascript to GWT, hoping to get better structure and optimised code. As a part of the transfer we also wanted to go from google spreadsheet to fusion tables as our data storage.
I haven't been able to find a good tutorial that supports GWT's web applications or I might just not been able to implement them correctly. I have tried to implement e.g. Hello World and gwt-gdata, with errors as soon as I use any library.
Can anyone please tell me if this is possible, if there is any way to send requests to the Fusion Tables using GWT?
Thank you!

Categories