I am creating an web application with java, GWT-Platform and GAE.
I succeeded to create a "log in with Facebook account" flow, and now i want to create on one of my presenters an "invite friends from Facebook" window that will look like this:
Requests Dialog (the forum didn't allowed me to attach an image :( )
I don't want to use any written library like "gwt-facebook", I want to use only Facebook Graph API.
Is there a way to do it with Java and GWT, and how?
Thanks in advance :)
I've not used GWT but I've worked on something similar. Can't you generate custom javascript on the page that gets generated and use the Facebook javascript SDK to do this?
Related
Is it possible to call Google Translate popup (only the popup, and not the whole Google Translate app) from my application, using intent or something else?
I'm using B4A (Basic for Android) platform, so if it is possible, please guide me based on B4A. However Java solutions can be useful too and they are also welcomed. Thanks.
You can use Google Translate api in php and call it from b4a
I am currently working on a project and I want to make different tabs. Like the app flipboard
I am making my app in android studio and I am done with the "home page", but I don't know how to make a new tab.
I also want to make like a sign in page for when people first open the app like facebook.
For lasst I also want it to have google maps in it.
But I don't know how to do that either.
So my question is how do you do that or is there a book / website where you can get all the information about this and android studio in general.
Your question is too broad and I don't think anyone is going to write up the code for you. A simple google search has given me this:
For Facebook login, implement Facebook SDK:
https://developers.facebook.com/docs/android/getting-started
Google Maps:
https://developers.google.com/maps/documentation/android-api/?hl=en
Google's SDKs also support user login, which you could use together with Facebook.
For "creating new tabs", apparently I can't post more than two links in my post since I don't have enough reputation, but google "android how to make new activity".
For the Tabs you can use the Android Action Bar:
Tutorial
For the Map you can use the Google Maps API, its easy to understand ;)
Google Maps
I am using this guide based on SlidingTabLayout . And i think it will help you perfectly .
I am developing a web application using Java (Servlet, JSP). In a JSP page, I want to show the web camera window to the user. When client clicks a button "Capture", then I should be able to capture the image and store it in some place.
I have done a lot of research, but could not find a satisfactory solution.
That's where the beauty of Applet comes in. Facebook has an Applet that connects to the PC camera and does capturing.
This site provides a good example in JSP:
http://thenerdinme.com/do-it-yourself/how-to-take-screenshots-with-java/
Why do not use something like flex which provides better support for this?
Is it possible to create an Android app for an existing web application which doesn't provide any API?
Webview just provides a crude view of the same web app in Android, but interface with webview looks crappy.
What you're asking is very possible. Just load up your URL in the webview and then redirect all clicks to go back to the same view. There you have an embedded website into an application.
What do you mean by interface for WebView looks crappy? You can make it look like anything native on the phone.
If you want your web page to have the look and feel of a native android app without creating the native app, you'll need to do so using javascript on your served page. Take a look at http://jquerymobile.com/ which seems to do a lot of the leg work. You can use that javascript and a little elbow grease to accomplish what you describe.
Is it possible to integrate facebook on a jsf page? Facebook only shows examples with php, but I already have an application written in jsf. I would like the single sign-on feature and be able to get my users pictures from facebook.
Maybe you have a little example on how you would do it :)
Thank you
Yes, it is possible. It does not matter whether it's JSF or any other view technology. You can take a look at RestFB - a Java API for using the Facebook Graph API. Or you can use the brand-new Spring Social, but it is not quite feature-rich yet.