I'm trying to build component to select friends and send an invitation from my application to them. The following image displays the component provided by Facebook (in this example is another kind of invitation, but the component is the same).
http://facebook-developer.net/wp-content/uploads/2008/02/invite-form-output.jpg
I tried to use the site instructions: http://developers.facebook.com/docs/reference/fbml/request-form/
But the content is confusing. I need to implement this component in Java and in the case of the site there is a call to the getFacebookUtils () without explanation of what library it belongs in addition to a more concrete explanation.
Need help using this component provided by facebook in Java.
Thank you.
Thats under the Legacy API and you should not use it for something that is new. Also, to be clear, you cannot send invites, you can only prompt the user to send "invites". What you should use is the Request Dialog (2.0/Frictionless), which is the replacement for "invites". You implement it using javascript on the front end, assuming you are using a web interface.
https://developers.facebook.com/docs/reference/dialogs/requests/
Related
I was wondering to create something like a setup wizard for when the user first starts my app. This is needed due to the complexity of the app to help the user. Searching for something like this I found a library that isn't a setup wizard, but lets you point an element on the screen and give some info about it.
The library is this link. (Showcase View Library by Espin)
I'm able to show one indication using this, but I can't concatenate more than one indication, you know, the first is shown, you pulse next and goes to the nex indication, this way until you arrive to the end and pulse finish.
Looking for any tutorial or step-by-step guide that could help me doing this, I found one, but it was done with old code, and the newest version of the library has some changes that doesn't fit the example. I've tried modifiying the code of this example to match with the new version of the library, but I don't get to view the indication one by one, I just get all them overlapped.
This is the link to the library's ShowcaseView class where all this logic is defined: ShowcaseView.java
And this is how the doc says to implement it ot your app:
new ShowcaseView.Builder(this)
.setTarget(new ActionViewTarget(this, ActionViewTarget.Type.HOME))
.setContentTitle("ShowcaseView")
.setContentText("This is highlighting the Home button")
.hideOnTouchOutside()
.build();
Has someone worked with this library and knows how could I concatenate few indications?
What's missing in v5
ShowcaseViews: the class which queues up ShowcaseViews in a
tutorial-type method. I never really liked this class (generally, you
should use SCV sparingly); I'll add it back in based on the Builder
class when I can.
So either:
implement it by yourself and submit a pull request.
Or wait for the next release.
Or use v4
Or submit an issue on github to directly ask the author when this will be released.
So far I've done some tests (e.g RPC)
Next I come to the Part Multiple Paging, in what I've read so far there are so many options for this:
MVP, Layout, UIbind.
Now I really don't know which I should choose, which is easy and good.
I tried clearing my Rootpanel and placing another Widget(composite):
RootPanel.get().clear();
Place:
LoginComp login = new LoginComp();
rootPanel.add(login, 127, 125);
I don't know if this is the most professional approach. What is the best way to include my widgets as composites?
First of all, GWT is a single page application. After you have requested the application, you'll only go to the server to recieve data.
I would use a struts or SpringMVC application for the logon and request the GWT application after a successfull login. Your GWT application should have a shell. This shell has an area where you can change your views. Changing a view is initiated via a place controller.
Take a look at the mobileWebApp example contained in the GWT SDK examples.
Also, you will find a good documentation here:
MVP and Places Documentation
In my oppinion, the best way is when you add a element in your main HTML file which acts like a content wrapper e.g.
<div id="content"></div>
Each of your page can be represented as extended Panel, simultaneously as a singleton. The page that should be display will be set into that wrapper:
RootPanel.get("content").set(pagePanelX);
I am going to create a webservice (I think in java) which role is to treat a picture (IN) and to return a result (OUT). I would like to use that web service from my Joomla website.
The process will be :
1- upload of a picture from the website
2- we call the web service to treat the picture
3- we receive the result and display it in a new page
I really don't know how to proceed to do these 3 steps. My first question is : how do I call a web service with Joomla (2.5)?
Thanks
You can always use a wrapper which basically means have external websites appear inside where the article/components usually are.
Simply create a new menu item, change the type to "wrapper" and select the URL.
I think this is what you are looking for, if not please explain in more detail.
Maelkun,
I tried the example below in Joomla! using Jumi and it worked. If you have php 5.3 you can try with Sourcerer too.
http://www.vankouteren.eu/blog/2009/03/simple-php-soap-example/
I have an application which has a contacts module and I am using JAVA for the same.I have to implement the "Auto complete" functionality for the same. I.e., as i start typing the alphabets, search results start appearing and will eventually narrow down to the matching letter after entering the same.
Please help me with some reference JAVA code, API's and some cool stuffs to go as an add-on.
If you are looking for some example see this
http://viralpatel.net/blogs/2009/06/tutorial-create-autocomplete-feature-with-java-jsp-jquery.html
This one is basic example to make a auto complete.
And if you want some jazzy look and field then you can use jquery plug in client side
http://jqueryui.com/demos/autocomplete/
http://www.devbridge.com/projects/autocomplete/jquery/
http://www.ajaxdaddy.com/demo-jquery-autocomplete.html
I think this will help you.
I think you need to use Ajax for the same . Check out irctc.co.in , they use Ajax for station completion , quite effortlessly
I am using wicket application to initiate my Java method in my code. I have the url as follows
http://localhost:8080/web/resources/org.apache.wicket.Application/StartMethod
I want to add an extra option at the end client=cutomser1
http://localhost:8080/web/resources/org.apache.wicket.Application/StartMethod?client=customer1
As I want these use the same code but for different customers
So when I run this URL from command promte it should fetch the Customer1 into my Java code
in this way..
String client = customer1
How can I implement this in Java. I mean I want to fetch this String name customer1
Wicket is strong in data binding and you should take advantage of that.
If you display in the browser data from Customer1, the Wicket knows that when you do requests from that page.
The translation of request parameters to variables happens behind the scene.
That is disconcerting at first but really powerful when used as intended.
I would suggest you select a good tutorial from the answer to this question and go through a couple of examples to see how things are done. This may take an afternoon but this will pay back for itself before the week is out.
I think I am a bit too late, but still I will say that you can use PageParameters in your page and you should make the page bookmarkable.