How to put ads on a flex based application? - apache-flex

Can you please tell how can we place ADS (whether Google Adsense or others) on a website completely designed in FLEX?

The easiest way is to not have your site COMPLETELY in flex. Otherwise you can have your flex ap use the AdSense API http://code.google.com/apis/adsense/featuresbenefits.html and make SOAP calls to it.
Other ad servers, like OpenX can also be handled this way (via their API) in flex. I don't know that any of them support cool stuff like AMF but OpenX is open source and in PHP so you could use the Zend Frameworks support of AMF to add that kind of functionality.

Related

Different ways to integrate web phone/softphone/VOIP in asp.net web site

I am planning to integrate a web phone/softphone in my ASP.Net web site. My idea is to provide an interface on my web page by which user can start a VOIP call to a pre-defined number.
Since I am new to VOIP/SIP domain I am not able to google exactly what I need or from where should I start. What I understand so far is there are open source SIP libraries and some licensed SDKs as well. Also there are some off the shelf client side plugins available which we can embed in the web site.
I am looking for various solutions and also open for paid SDK or client side plugin. So far I have read about Ozeki C# SDK, Mizu plugin and Zoiper plugin.
Can someone help me understand following:
1. From implementation point of view what we will be the difference between using open source SIP libraries vs paid SDKs like Ozeki vs readymade plugins like Mizu or Zoiper
Which are other options available to implement this?
From a reliability perspective which SDK or library is best suited?
Thanks
Amey
Other options: any softphone that can register protocol handler - if you have control over webpage content and can insert "callto" or similar links into it. If you do not have control over webpage - add Telify plugin for firefox to replace text that looks like phone number with equivalent link.

Integrating Paypal API in Adobe Flex

I am writing a Flex project in which I need to communicate with Paypal via their APIs.
Really not sure how to start with - this is my first flex/air application.
I won't be using any server side technology (no Java, Php, .NET, Coldfusion) - all of the requests have to come from Flex and the response be sent back directly to the flex application.
Can someone please give me an example or something to start with. Let's say implementation of RefundTransaction API
in Flex.
Is it possible? If not, then what layer do I need to add to the technology stack?
Just need some pointers and I will pick it up from there.
Thanks
Definitely check out this article http://www.adobe.com/devnet/flex/articles/flex_paypal.html
Essentially will need to figure this out myself as well. One of the BIG, BIG, BIG (big enough for ya) keys is to NOT include your API key anywhere in the application (or other sensitive info). This is one of the pitfalls with using a JIT language because it's based on a VM it can't be hidden very effectively.

Is it possible to create a flex contact form that submits data to salesforce.com as a new lead?

Salesforce.com has their own web-to-lead form that can be used to send leads from a website contact form. But I want to submit leads from a contact form inside a flex application. I can't see anything in the documentation, or on Google about this. Is it possible?
If it is possible, is Flex for Force.com necessary to do this?
I'm not a Flex developer, but I'll try to answer from a Force.com perspective.
Much like the AJAX toolkit, the Flex toolkit is primarily used to add value to your existing Force.com apps. If you're talking about an app running inside Force.com and you wish it to be pure Flex, then the toolkit would be a fine choice - though hardly a required one.
But since you're talking about web-to-lead that makes me think you're hosting your own Flex app or it's otherwise in another cloud. In this case what Flextras suggested is correct in that all you need is to call the API directly from your Flex app - without having a need (or a place for that matter) for the Flex toolkit.
It uses the Force.com API under the hood - from within Force.com - to talk with Force.com. From there you would simply use Visualforce and Apex to do the job. Outside Force.com you just need the API, unless you're looking for an offline Air app that needs seamless synching.

OpenLayers + Google maps in Flex, is it possible?

Recently i really was amazed by openstreet maps, and it's very possibilities to manipulate data, aswell the free of charge about many prescious things - like geocoding and the maps itself.
But i wish to still having a backup behind with google maps.
Is it possible to having both of them in Flex, and how ?
( or at least where i can look for similar project of "unification" )
It appears that OpenStreet Maps has a REST API. You can access that API in a Flex application using the HTTPService; assuming a proper crossdomain.xml file is in place.
If not; you'll have to use a proxy between your Flex app and the REST API.
MapQuest has an Open Flash API that uses OpenStreetMap data. They also offer an Open Flash Mobile API that can be used with Flash Builder to build apps for the iPhone, Android, and BlackBerry tablet with the new tools in Flex 4.5+.
Feel free to check out the documentation on the MapQuest Developer Network!

Adobe Flex in an email?

Is it possible to host a very basic trust, Adobe Flex application in an email?
It is technically possible to do something like this, but modern email clients are extremely sensitive to anything that could be used for malicious purposes and Adobe Flex would count as "executable code".
If you're looking for a guide on what you can and can't use in email clients, Campaign Monitor has a good overview of CSS for Email.
Otherwise, I think the best that you'll be able to do is email out a link to a page that had the Flex app embedded in it.

Resources