Java Implementation of Flash API - java

Just curious to see people's opinions:
Has anyone thought about implementing the Flash player API in Java? Controlling sprites, graphics, media, etc is so easy to do in Flash, it seems like it would only make sense to have a similar API in Java.

JFlash started an effort to do this. I do not know of any active project doing this, though.

See JavaFX

Related

How to play a video in Slick2D?

So, last day, I've got a really disturbing problem... I tried all methods, all libraries I've founded, all things can be imagined, but it doesn't work....
Please, did someone know a simple method for play video in Slick2D ? (I know it's an outdated one but I really like this library :D)
Really, if anyone know it, it would be REALLY helpful.Thanks in advance :P
Here a list of what I've tried :
Xuggler (3.4), JMF, TWL, YUNPM (0.7x && 0.8x), vlcj (3.10.1)
There is no "easy way" doing this. Especially because the library isn't supported anymore and it is not intended to support that functionality. If you have the knowledge you might be able to integrate one of your solutions, for example vlcj but it definitly will not be simple.
Maybe there is a work around for you if it's a short video you could create an animation with a spritesheet.
As well you might be able to use JavaFX Media. It depends a little bit on your project and what you intend to do.

Mobile Web App Framework in Java or PHP

I am working on a web service for which we have already developed apps for iPhone and Android. To cover the rest of the web enabled phones, temporarily or otherwise, we are going to use a web app. We would like the app to conform nicely to each device as well as cover as many devices as possible including low end devices.
Can anyone point me to a framework for such an application, if such a thing exists. What I'm looking for is device/user agent detection and perhaps a boilerplate template for a wide range of mobile devices. Either Java or PHP wil do. I'm looking for the best solution between the two.
Thanks
You could look into jquery mobile. I don't think the serverside code for mobile device(database, logic) is that much different from normal browser code. Maybe you should render less output to screen, but not more than that? I think you could achieve that thanks to jquery mobile.
Such a thing doesn't exist, lots of the subcomponents are available for free but getting that correct mix with the right amount of genius in it to make it work for you as some readymade framework is a pipe dream.
In fact if adapting to mobile isn't your core business, you should outsource it to some other company of which it is since at this point those companies have been in the field for almost a decade. (This, by the way is the nearly obligatory "I work for such a company, buy our stuff" plug)
But, to elaborate a bit further and actually help you, WURFL is usually mentioned when detection frameworks are mentioned. Unfortunately WURFL is only about 95% accurate and lacks a truly consistent structure.
For further reading on my thoughts about this, you should read these other semirelated posts I have made over my time here:
answer to question on building a CMS for mobile context
How mobile phone adaptation should be done in general terms
Parsing useful information from the User-Agent header string
You could use Java with the JSF2.0 framework. In that case I suggest to use an third party component library like PrimeFaces, more explicitly PrimeFaces's TouchFaces
For device detection you could use a library like WURFL which has an API for both Java and PHP.
I suggest you to have a look a this book:
Designing-Progressive-Enhancement-Building-Everyone

Using Python or Java, what would be the best way to create charts?

I've been searching and found jFreeChart, Python Google Chart and matplotlib. Searching here I also found CairoPlot. I've heard I might be able to use OpenOffice to do it too. Is the API easy to use? Or would it be simpler to stick to one of those libraries?
I have more experience with Java, but I've read most of Dive Into Python 3 and done some mockup programs in Python for simple things. I'm probably gonna have to spend more time doing it in Python, though I'm willing to do it as long as it isn't anything mindblowing. I want to automate some tests to put into a thesis, so I'm more worried about the end product.
So far I'm thinking of using matplotlib simply because it's the only one that's had any recent updates, which leads me to assume there might be more documentation due to continued support. I've used jFreeChart in the past too for some testing, and it was ok. But I was hoping to find something better, or to have more documentation/examples to use. Last time I didn't customize the graphics appearance as I wanted - say, change the background in a line plot - due to the lack of examples/documentation.
I recommend you to use matplotlib, it has high quality backends and a lot of graphical representations, you'll have the whole control over your plots and Python is a very handy and easy language to automatize tests, very practical for what you're willing to do. Matplotlib has also a large community that can help you and a lot of documentation/examples; just remember that matplotlib was not ported to Python 3.x yet, I don't know if this is important for you.
What I absolutely don't recommend is CairoPlot, it is not maintained anymore and is a toy project.
Google's Visualization API is fantastic - and much cleaner if you're working in a web environment, since you just output some text JS with your HTML, don't have to call back and render an image.
JFree also has Eastwood which is a reimplementation of Google Charts API, if you don't want to send your data to Google, or need SSL, though I don't think it's quite current, it's a good subset.

Best Java 'framework' for LOW-END 3D Graphics?

I've made my share of 2D games on various platforms but I have never developed a 3D game.
I want to make a small "mmorpg". I already made my server in python and it works just fine with my flash 2D game but I decided I want to step it up and try out 3D. I want to make a 3D game for the web browser and I think Java might be a good choice for this.
So basically I'm just looking for a straight forward and well documents 'framework' to make LOW-END 3D games. Keep in mind that I will be targeting peoples with very low-end PC's (plus my 3d modeling skills aren't great so I wouldn't mind hiding it somewhat, haha)
If you care to develop your own software 3D engine, which is pretty cool, Developing Games in Java is a complete walkthrough, step-by-step, of developing a 3D engine in pure Java, capable of rendering textured and lit polygons. You learn a lot about the math involved and you realize that it's really not a terribly hard thing to do; in addition, the engine is all yours, so you know it inside and out and you don't have to learn an API. On the flipside, it might be outdated. It's been sitting on my shelf for a number of years now, but it is made with Java 1.4 so it's not all too old.
Otherwise, I would definitely recommend JOGL or its competitor LWJGL; however, both require OpenGL knowledge, so if you want to just deal with loading 3D models and moving them around, jMonkeyEngine could be a better option for you. There is also the lesser-known Xith3D engine, somewhat a competitor to jME, though it hasn't been updated in over a year.
P.S. Ever seen RuneScape? It used JOGL, though now I think they switched to their own port of only the OpenGL functions that their code uses, kind of like a stripped-down version of JOGL.
JOGL would be a good possibility. You could look at the older "Java3D" framework as well.
You might want to check out the jMonkeyEngine.
I would advise against Java3D. We're using it for a project and frequently run into gotchas. If we had the resources, I'd migrate to something else in a second.

Is alcheMo available?

Is it possible to develop iphone apps with java? I'd prefer to use alchemo over xmlvm because of the superior features that it offers. Can I do that? Is anyone else doing that? I've looked all over their site for the download link, but can't find it! Is it available? If so, where?
http://www.innaworks.com/alchemo-for-iphone-java-me-j2me-to-iphone-porting/
Is it possible to program with Java? Yes. There are also implementations of C# with Mono that work (kinda) with the iPhone.
Is it ideal? Probably not. Objective-C really is the first class citizen on the iPhone and the majority of information, resources and help will be centered here.
As for alchemo? This looks like one of those times you will actually have to contact New Zealand if you really want more info.
http://www.innaworks.com/Download

Categories