Facebook support for Java and C++ [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm in a group project for developing a game for facebook. I did some research on languages to use on both platforms. What I found on facebook websites and on the forums scattered across the net is that facebook uses flash, javascript, php, and possibly html5 (web is transitioning over).
I haven't found much specific for java and c++ for facebook and I try looking around the support and help center for support on these two languages. Do you guys know if facebook can support for java and c++?

The language is hardly relevant by any miles.
The bare root basics of "Facebook support" is just its REST service endpoints. It doesn't really matter what languages you call them for. So long as the language support:
HTTP Requests,
Json (de)serialisation.
You will be able to integrate with Facebook.
The so called "supported" language are just languages with SDK (Which is just essentially REST service wrappers anyway.). If C++ doesn't have SDK for facebook, just look up the REST api documentation.
found here: http://developers.facebook.com/docs/reference/api/
There's also a graph api explorer which you can inspect the out going and in coming trafic to try copy cat its request to get you started http://developers.facebook.com/tools/explorer/?method=GET&path=100002793919270
Lastly, all facebook/google/twitter use OAuth authentication. Again its a platform/language agnostic authentication system consisting of HTTP Post and SSL.

Java has an SDK, plus Spring Social for Facebook and a few Android open source projects

Related

implement a web-app for document collaboration [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to design a document collaboration web-app where students can share their academic documents with the instructor and instructor can comment and give grade to their work. I have explored Sharepoint and I found that it is the right solution for my requirements. However, I would like to gain hands-on knowledge of Java, HTML/CSS and other leading technologies which might need to develop Sharepoint-like application. In past, I have developed a web-app tool(CreditCardDebtViewer - https://github.com/dhanu010/dredit) for credit card management using Google REST API (using Drive and Spreadsheet API) so I am familier to Java, angularJS, HTML/CSS etc.
I have following questions -
What are my options if I opt to write a web-app?
Which technology suits better for developing such application and
also for giving me good opportunity to learn the technology?
How development using google API help in document collaboration
where instructor can access all the shared documents uploaded by
teams (which may comprise 2-3 students)?
Other than Google Docs, Which API can I use to develop this
application.
Please guide me.
Regards,
Avani
Probably it is a quite late answer but you can try http://swellrt.org, an open source framework to develop collaborative apps with real-time rich-text editting.
You might want to look at CMS (Content Management Systems). These will have document management, versioning, permissions, workflow, etc.
There a number of popular Java based systems and two big standard: JCR (Java Content Repository) and the newer, language agnostic CMIS (Content Management Interoperability Service).
If you wanted to start with a framework and build you own, look at Apache Jackrabbit or Apache Sling.
If you were looking for something like Sharepoint, a finished product that you can extend, look at Hippo CMS or Alfresco CMS.

How to pass data from server to android app: REST vs Sockets [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'am writing an android app that needs some data from the server. I am also writing the server side in Java.
What is the best way to pass data from the server to the android device: with REST or Sockets (like Kryonet)?
In what format: XML/JSON (for REST) or plain Java objects?
Thanks in advance.
"Best" is very subjective, I think a very good way to communicate with a RESTful api is via Square's Retrofit library, which can be found here:
http://square.github.io/retrofit/
There is also Volley from Google,
http://developer.android.com/training/volley/index.html
Agree with nPn, "Best" depends on lot of app and user considerations. That said,
REST is preferred as it is most widely used and you have access to stable and optimized client libraries. Most of the these libraries support all kinds of use-cases and customizations. Web Sockets are well suited for real time or live content. If you have a different use-case , REST is strongly recommended.
With Android, JSON is well supported. There is a core JSON API included with Android that you can use without any client libraries. XML can be helpful if you plan to expose your APIs for public consumption (some platforms eg: JAVA, windows have strong XML legacy).
REST + JSON seems to be most commonly used combination in recent times, and lot of client libraries usually enable this use-case.

Can JSP and Python used together for same database? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm a student who work part-time at a start-up, which runs a website made with JSP.
We are planning an android app in this summer and I'm considering developing it with Python, which I'm interested in.
However, the service provided by the app is supposed to be added to the website made with JSP later. I'm afraid the difference of the language would cause any obstacle.
Since they will use a common database, I think using different languages to access it won't have any problem. I want to make sure that my guess is correct.
Pardon my poor English. I'd appreciate your answers.
I would recommend building the API services in the current language used by your start-up. If resources are limited, the company may not wish to maintain services in another language.
Though I would not recommend this, it is definitely possible for you to develop the portions of your Android application in Python and use a different language for the API services (assuming you are willing to use Python libraries like Kivy).
This will allow you to code a chunk of your application logic in Python.
To consider:
http://kivy.org/#home
https://code.google.com/p/android-scripting/
We are planning an android app in this summer and I'm considering
developing it with Python
Native Android apps are developed using Java.
However, the service provided by the app is supposed to be added to
the website made with JSP later. I'm afraid the difference of the
language would cause any obstacle.
You will need to create an API that communicates between Android and your database.

Java - cross platform mobile development [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Are there really any tools out there or sdk's that truly support cross-platform java mobile development, and are worth their weight in code?
I would like to rewrite our mobile application with an sdk that would allow usage on IOS (Ipad and Iphone), Android, and Windows Mobile 5 and 6.
If I am asking for the moon, please let me know.
I am traditionally a c# developer, and just moving into learning Java.
I see many different posts about cross-platform development but I wonder where we are as an industry today on this.
You could take a look to the mgwt or the codenameone framework.
For a server-based app built in pure Java but deployed via pure HTML+CSS+JavaScript: Vaadin. But that means your app requires an Internet connection to run.
Tip: Some folks build a bare-bones minimal native app that simply points a web-browser view directly to your site's URL. This allows you to sell/give your "app" in the App Store while actually building a web app that runs cross-platform.
There is no Java present on iOS. So there is no Java-based development kit to build local native apps across iOS, Android, and Windows Mobile.
Google did announce the J2ObjC project to translate Java code to Objective-C for the iOS. But that does not solve all your problems.
Eclipse Tabris is another option but it isn't free (It isn't costly either).

Advice on what platform and technology to use: distributed bookkeeping app [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I have an opportunity to learn some new tech to write this code. Basic requirements:
users in various locations worldwide
user control: control who can see, edit, approve various sheets/accounts/transactions within a sheet
parse bank statement files into the system
generate reports
robust logging: who enters, edits, approves transactions
secure, reliable data storage
ability to serve from the Internet, or a local network web server
I was going to use a Google Docs Spreadsheet with scripts, but I can't see the user control being rigid enough.
At the moment I am leaning towards Java Servlets and JSP with Google App Engine.
What would you use?
Servlets and JSP are good technology but fairly basic / low level. You might find it more interesting and productive to try on of the newer web-based frameworks.
Some ideas:
Vaadin might suit this kind of application pretty well, it's a framework for rich internet applications that gives you much more sophisticated components than you could implement with plain JSPs.
I've also heard very good thinks about the Play Framework.
If you are feeling really adventurous and fancy picking up a new language (Clojure) then Noir is also a great web framework in the making.
The only requirement here that may be a gotcha for App Engine is "ability to serve from the Internet, or a local network web server". What exactly do you mean? If this is something that your users are going to want to install locally then App Engine is out of the question.
Any sort of java based solution is going to fit all of the rest of your requirements. Since you have a lot of logging/security, you may want to look at Spring MVC with Spring Security or even Grails (which also supports spring security).

Categories