Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am planning to develop a web application using GWT, but before that I need to make few clarifications. The web app what I am developing should be compatible with Mobile phone browsers considerable smart phone browsers.
I googled a lot to know this but I did not find supporting or sufficient documentations.
If GWT doesnt support what would be the other framework, which is open source java based framework?
There is no big problem with mobile websites build using GWT, it generates standard javascript + html. There is some libraries that can help you build mobile site, like http://code.google.com/p/gwt-mobile-webkit/. And you can write any widget you wish.
But keep in mind that GWT will generate very heavy target files, sometimes few megabytes long. So if you target audience uses GPRS for accessing your site, it could be problematic for them.
There is also other web-framework, that are GWT based: http://vaadin.com/home.
It have great collection of UI components, and currently authors are extending it to be more mobile friendly.
You could also try a different route with Context Framework. I think it suites better to mobile web developing because it is more lightweight solution. I have made a journey planner (in Finnish) with it and it was tailored especially to touch screen phones. You can find it here.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I recently wrote a very simple apk app for a client - that runs nicely on their Android devices. They have since asked for it to be a runnable in web browser app (preferably phone and desktop). What would the best idea for this be?
As it's already in Java- perhaps a web applet? Are there any considerations here?
Or is there anything else that I can use? I've also heard to stay away from emulating the app within a web browser as it can be slow...
Sorry for asking a "unorthodox" question, but I know that SO people normally have a few suggestions that can put me on the right path...
What would the best idea for this be?
Tell the client to go pound sand.
Or, rewrite the entire app in a hybrid app framework, such as Apache Cordova/PhoneGap, so your mobile and Web implementations are similar.
Or, rework your Android app to be a (small) pure-Java JAR of business logic, wrapped in an Android app. Then, implement a server-side Java Web app (e.g., WAR) that leverages that same JAR.
perhaps a web applet?
Not all browsers support those, including roughly 0% of mobile browsers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm currently making an android application that will be used by a certain number of clients. Each client will have an account and will access information from the server. This information is stored in a DB.
My question is what is the best way to create a server side that will, later on, be compatible with other platforms (iOS, Windows, etc.)?
Can I use sockets on different platforms? Or should I create a Web Service?
I found a certain tutorial that I think is explaining a similar thing, but I think it demands a certain amount of knowledge, and I'm totally new to this, and haven't learned this at faculty (I'm good with sockets but I never had much confidence in them, and the idea of sending HTTP requests to the server looks much better).
Can someone divert me to a tutorial or lectures of how this is supposed to be done?
Connection between Android and a server would most easily be done with http requests.
There are several libraries available who make this easy like Retrofit.
For server-side applications you can take a look at Jersey in combination with a tomcat server.
There are of course many applications who can do these... so it comes down to a matter of preference.
There are many web development frameworks that works on many platforms such as spring, vertx, play and many others to name. You can you create rest like api for this purpose. Give all the low level works to the framework. You should not worry about low level details as most off them are handled by frameworks today.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I'm planning to write a simple program that displays course prerequisites for students at my university in graph form (ie as a network of vertices and edges). I'd like to embed the program in a webpage to save people the hassle of downloading an executable.
Currently I'm looking at making my program a Java applet (Java also would give me access to the handy Swing library), but I don't like the fact that applets can't be viewed on most mobile devices.
What alternatives to applets exist for a project like this? I'd like to make it compatible with as many devices as possible, and also not have to build the graphics stuff from scratch.
One final consideration is I'm doing this mostly as a learning exercise. Ideally the tools I'd be working with would be helpful to know in the future.
Please don't use applets. They have been sufficiently deprecated.
The best way to do this is by using html/js/css. A lot of useful libraries exist that can help you with this task. jQuery seems obvious, but there's also d3.js or vis.js for displaying visual representations of data, and bootstrap for responsiveness (mobile friendliness).
You may use Angularjs with angular-chart for Showing graph in Web Browser.
If your graph data is dynamic you might use Nodejs and mongoDB for backend.
angular-chart is responsive and its easy to show dynamic graph. But as it uses HTML5 canvas some mobile browsers might not show its transitions smoothly depending on the device.
I personally do not prefer using applet in web browser when the same functionality can be achieved using great frameworks like Angularjs.
why dont you try to build your project through Servlet framework
by the way cgi were removed by servlet because of the handling of the request
applet uses the same concept
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Coming from Windows Phone/Store development, I'm used to a lot of tutorials and sample projects on things. I can't, for the life of me, find any good resources on how to create an Android app which interacts with a real REST service. Just a simple app which talks to some random API to help people see how to write Android apps. An app which just hits an API and throws some decent looking view elements on the display would be great.
In Windows land, typically these resources are plentiful and offer best practices, project layout suggestions, etc. Since Android has a greater market share, I expected to find resources easier, but apparently not. Any help would be appreciated. My current setup is using Android Studio.
Here it is one: http://code.tutsplus.com/tutorials/create-a-weather-app-on-android--cms-21587
At the 9 point you will find the class used for the httpCall. This is just the first one I found looking on Google for "meteo app android tutorial" . It seems good.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 months ago.
Improve this question
Is there any open source screen sharing (or desktop sharing) software that I can use to integrate into my web site? Any flash/java based solutions?
Flash does not have public / documented APIs to make this work. Adobe Connect even needs an additional plugin for screen sharing.
I believe Adobe has been working on APIs to help make screen sharing a reality. I believe such features were rolled into LiveCycle Collaboration Service; however I thought that was only available as a hosted service. [And I don't see the screen sharing feature documented on that page]. Here is more info from when the feature was announced; it also confirms that this is part of LCCS.
Beyond that, you can look at some tools like these, which allow you to broadcast your web cam feed. And then tie them into something like Flash Media Server or Red5 to stream that out to someone else.
BigBlueButton is an open Java based web conferencing software.
It's not open source, but I have had many very favorable reviews on XSplit.
As for integrating a flash/java app on your site, I would actually recommend just streaming your screen to a site such as Justin.tv. Here's a good guide on how to set up XSplit and start streaming to justin.tv. (I am into the video game starcraft and the streaming scene behind it)
From there, you just have to embed it on your site. No server-side stuff needed!
Hope this helped, and good luck!