I use AppEngine to host an Eclipse update site. I would like to keep track of the number of downloads of each version over time. Searching for ".*plugins.*jar" in the AppEngine access logs gives me a rough idea but the logs only go back a couple of months.
Is there any easy library which I can use to graph my downloads? I'm sure I could roll my own but I would like to have pretty graphs and feel like this may be a problem which has already been solved.
I don't know any libraries that would do the tracking for you on downloads on GAE. But if you decide to log the downloads yourself I would suggest using Google Chart Tools to visualize the data. It's really easy to build really nice looking charts. I especially like the playground where you can quickly try different charts.
I have implemented some code which met my requirements. I haven't packaged it nicely but you can start by looking at these files:
https://github.com/mchr3k/org.intrace/blob/master/intrace.appengine/war/downloads.jsp
https://github.com/mchr3k/org.intrace/blob/master/intrace.appengine/src/org/gaecounter/CountDownloadsFilter.java
https://github.com/mchr3k/org.intrace/blob/master/intrace.appengine/src/org/gaecounter/data/Counter.java
https://github.com/mchr3k/org.intrace/blob/master/intrace.appengine/war/WEB-INF/web.xml
Related
I've searched a lot through the web about this topic (even on StackOverflow), but the questions I was looking at weren't able to help me, so, here it is (Although im very good at it, english is not my native language, so I'm sorry for any mistake made): (SKIP TO EDIT)
I'm making a simple chat program in Java (self learning), and, at first, I wanted to access a file on my computer. I soon found it hard to acomplish, and decided I wanted to access a drive folder on MY account. So, I googled about a possible Google Drive API. And I found it!!!
I downloaded a copy of the API to my PC, and then i went online to know how to use the API, but the README.txt file and the youtube tutorial were not helpful at all, because i could not understand the instructions. I Looked everywhere but still didnt find an easy-to-understand answer.>
So, im asking if any of you could provide a step-by-step tutorial on how i can accomplish my goal. Ive created projects on the API consoles, but im a bit confused on what to do with them (possibly going to delete them).
EDIT/REDO:
I'm making a chat program, and I want EVERY copy of the program to access a folder on my personal Google Drive and get certain files from it, where ever the user is, and without him having to see the OAuth 2.0 Autorization screen(if this last step cant be skipped, I'll work with that too).
The problem is that, although i have checked the README.txt and the youtube tutorial, i still dont understand how to use the API in the way i want.
So, im asking if any of you could provide a step-by-step tutorial on how i can accomplish my goal, i.e, (Some code could be of great use):
1st-Do this;
2nd-Do that;
...
(n steps)-You are ready;
Thank you in advance!!
P.S.: this is my last "free" question, so if this specific question has been answered please comment it out.
To start using Drive API, you may may want to follow and complete the steps given in Java Quickstart.
Then to integrate with the Drive UI, you may want to check the following references:
Enable the Drive Platform - to get started integrating with the Drive UI, you need to enable the Drive API and provide configuration details in your API project. This gives you access to the API as well as access to UI integration features.
Install Your App - Google Drive lets users install an app by approving an OAuth 2.0 access request.
Open Files - this page describes how to integrate your app with these Drive UI features to open files stored in Google Drive
Hope that helps!
I am trying to find a chart and plotting api that can be used in GWT using java, not javascript. The only problem I am having is the ones I have found require an internet connection which where this code will go cannot have an internet connection. Does any one know of such an API? Here are that ones that I found, but again can't use.
https://code.google.com/p/charts4j I know this one requires a connection.
http://code.google.com/p/gwt-google-apis/wiki/VisualizationGettingStarted
Not 100% sure on this one. If anyone has used it and can let me know if it requires a connection let me know. Also if anyone know how to get java swing to work in GWT that would be awesome.
Thank you
I just finished a little presentation on that topic. In there, I'm taking a short and somewhat subjective look at:
clientsidegchart
gflot
dojox.charting
Ico (and other Raphael based libs)
GXT charts
Smart GWT HTML5 Charts
FusionCharts
amCharts JavaScript Charts
Google Chart Tools API
JFreeChart (and other server side libs)
Only the last two of them require an active internet connection.
Here's the link to a PDF snapshot of the presentation: https://docs.google.com/open?id=0B0oR9hvG2VjoRDZZR20zYjVLalU
Client-side GChart. All in your app - no loading visualizations from external servers.
This is another open source api for charts in GWT hosted on http://code.google.com/p/gwt-rcharts/ you may find it useful. The API works on SVG/VML specification. You may find it quite easy to implement and use. You may find the demo at http://gwt-rcharts.appspot.com/
I just had an idea for a cool website, but it would require an application that is fairly similar to the Google Maps interactive map. I was wondering what it was made in?
Is it a Java applet or a Flash application? Or something else?
Thanks a lot
Javascript. Lots and lots of javascript, with JSON for loading new data without refreshing the entire page.
If you'd like to know more, there's quite a community revolving around Greasemonkey that specialize in extending/reverse engineering the google maps codebase.
Another option for your mapping app: Program it it Java building off NASA's free WorldWind geospatial API. You could release it either as a standalone app, or as a JApplet that runs within browsers. The latter simplifies distribution and versioning.
Google API is Javascript. It is also available in Flash.
Bing map is using the same sytem and it is available in javascript or silverlight.
You may also be interested in openstreetmap (free alternative).
If you want to build a tile system from the ground, the easier is to use flash. You will avoid cross browser issues, and easely target large audiance. (I made one long time ago before gmap was out).
If your application require a map, you can use either Map API and build your application on top of it. Be aware that some kind of application and some uses require a licence fee and the entry ticket is quite high ($10k for gmap).
For the client side they are using the Google Closure Library, with a lot of extra javascript on top.
Rolling Thunder has had the flyby capability for many years. You load a gpx file then you can fly over or just slightly above group and can control the rate you fly and can pause and look around. It works on windows or the Mac OSX. You can find the Windows version at http://www.myuniportal.com/download.html Download the Map login version and then open a Map child window the select the foot button on the Map child window. You download a gpx file then press play and it will start at one end of the trail and fly over it.
I want to develop, as a part of my project, a web application that will enable users to edit, mix and apply effects to audio. I am aware of the J2EE development pattern, but am not sure where to start from. I want Audacity like functionality (actually, sox). Is there any Java API for audio editing/mixing and applying effects? If yes, can one write new effects? This would allow me to dynamically generate effects chains, based on the users' input. I searched the web, but it's all "learn to use audacity..." there. Also, is there any way such effects can be applied in (near) real time?
I found Soundation and Myna to be good apps that already do what I want( though Myna has no real time effects support), but they've both got the same old audio editing UI.
Thanks in advance!
Maybe you can look at this:
"Movie Masher going open source after Adobe supported it thus allowing integration to your site too." Maybe your solution is here : http://www.moviemasher.com/
You should check these options below:
Web Audio API
http://www.w3.org/TR/webaudio/
And also
WebPD:
https://github.com/sebpiq/WebPd
I need to develop some jira gadget.
The gadget must have a chart and the possibility to insert external data and diplay it in the chart.
I have been trying the tutorial on atlassian documentation but I don't see any instruction on how to insert charts and how to do it, I think are made with JQuery (if it's correct, there are sample to use? I'm not really in to JQuery). Another problem that I found, is that there is no much explenation on how to get data from Jira (directly). I have seen the "jira api" (all the java interfaces) but I couldn't really get them work.
Anybody that know some better tutorial, gadget source example or that can help me on getting started?
Thanks.
I agree, developing JIRA gadgets with charts is harder than it should be. I have spent some time recently creating a plugin for a client that uses the JIRA system gadgets with some changes and it has been too much work. The charts in JIRA gadgets are created using JFreeChart.
If you can use an external visualization library such as Google Visualization then this example may help: https://labs.atlassian.com/wiki/display/JUA/JIRA+User+Activity
Change the pom.xml to refer to JIRA 4.2 at the bottom in two places and it compiles fine using the usual Atlassian PDK.
~Matt