Test Mraid on Device - testing

I want to test Mraid (http://www.iab.net/mraid) on mobile application, but I can't find a good solution.
in this link :
https://github.com/mikerowehl/mraid-testing
He describes about device testing but it is for 3 years ago and doesn't work now.
i want to use my own server to push mraid ad to my application for testing like this now.
How can I have a testing application?
How should I do in server?

As you already know Mraid compatible Ads contain HTML+ Javascript(And javascript uses Mraid API).
Since you don't have any server that delivers Mraid Ads to you.What I would do is simply create some index.html resource file inside your APP and load this resource within the webview where you want to load the Ad.
E.g. In IOS check this stackoverflow link for:how to load javascript into webview from local resources
Just create some basic Mraid Ad (there are lots of examples on this site https://wiki.operamediaworks.com/display/AMS/MRAID+Sample+Ads and I usually use this mraid diagnostics Ad to test all the mraid related functionality http://admarvel.s3.amazonaws.com/demo/mraid/MRAID_v2_diagnostics.txt).
Hope it helps!

MRAID - Mobile Rich Media Ad Interface Definitions - allows to use device(native) functionality from HTML/JS code.
[Android principle implementation]
IAB describes a common API but a technical part is provided by Ad SDK and consists of:
mraid.js
custom WebView
For testing your implementation you can use next resources:
IAB webtester tool
IAB SDK tester
IAB tags, admarvel tag

Related

Social Sharing plugin for Ionic 4 for web browser

do you know of Social Sharing plugins that works with Ionic 4 when run on the browser? Most are for mobile so I'm stuck
Social Share via web will be constrained by the available API and by the way you implement meta tags handling in your application. Here is web API based implementation that yo can use or learn from:
https://github.com/peterpeterparker/web-social-share

IBM Worklight login Page

I'm in the process of building an end-to-end application.
I want to incorporate a simple login page that will verify credentials against a database. I need the page to be the first page that is displayed when I run the application. I have read the various modules on authentication but their design is a little different.
I have found other resources on like Sunil's notes on how to enable form-based login but this involves modifying auth.js that isn't present in Worklight v6.0.
I'm also unsure if I should use the single sign on approach, but that would mean getting additional software like Websphere Portal which I'm not too keen on.
FYI, my UI is entirely built using dojo/dojo mobile.
Are you using Worklight 6.0? If you are seeing some of our older sample projects may help you out. You should check out one of our older samples based around form-based authentication, here is a link to all tutorials and samples:
http://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.0.0/com.ibm.worklight.getstart.doc/start/c_gettingstarted.html
Here is a link to form based authentication tutorial and below the form based authentication sample:
Tutorial: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/08_02_Form_based_authentication.pdf
Sample: http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/FormBasedAuthenticationProject.zip

Social Business Toolkit: Sametime chat only with local installed Sametime Client possible?

I'm using SBT SDK on a XPage.
After mastering a few traps at the beginning it works fine.
Livenames are properly displayed.
But now a got another problem.
If you click on a available person, a context menu is displayed, where you can choose 'CHAT' or 'VCARD'.
If I click on CHAT a URL like this ist called:
http://localhost:59449/stwebapi/loggedin?jsonp=stproxy.connect.callback.setAvailable&wait=true&time=1407834968761&fqdn=sametime.lotus.com
I found out that you have to install Sametime Connect Client locally at every computer, because it is providing a small webserver at port 59449.
That's impossible because I want to use Sametime on a public website.
I'm pretty sure that there is another way.
Somebody an idea?
thanks
Marcus
#user2776693 - There are two ways:
1 - using the Sametime Local Web API
The local web api uses a configurable port (the default is mentioned above), to communicate back and forth from a web site which embeds or calls the configurable port using jsonp, meaning the javascript of the site wraps the sametime calls.
2 - using the Sametime Web Chat/Web Proxy
It means that the Sametime Web Chat is embedded as JavaScript on the page, and loaded using the appropriate JS libraries, and can have some pretty advanced features. There is a demo site off of greenhouse.lotus.com, and you can sign up for an account on that site.
you can download the sdk, and find many examples of using the local web api and web chat.
http://www14.software.ibm.com/webapp/download/nochargesearch.jsp?q0=&k=ALL&S_TACT=104CBW71&status=Active&b=Lotus&sr=1&q=sametime+sdk&ibm-search=Search
Download Version 9.0 IFR1
Extract with Zip
Go to Examples and samples

iOS App with web contents got rejected even the similar one is in appstore

I have developed a native iOS application based on client's requirement to show the timelines of different social networks (FB, Twitter, Instagram, Google + etc.) in the same application using a webview.
Say for example, when I click Facebook button it will show the web contents of Facebook and so. The client gave me a reference app which is doing the same thing and published in the appstore.
That is https://itunes.apple.com/sa/app/mysocial-for-ios/id687623816?mt=8
(Is it not a native app ?)
But when I tried to publish the similar app into appstore,it got rejected. I got the same reason mentioned in the link http://www.sencha.com/forum/archive/index.php/t-215050.html?s=b15f82172b608c468a36774a93c7a7c9
Could you just tell me what is wrong and why the other app got published and what to do for publishing it to the appstore.
Firstly according to the Apple rules any Application who uses Webview or Webkit with just loading links & with not any other features will get rejected immediately.
I did checked reference application you shared it presented & controlled in a way that doesn't looks like an web view based Application. May be they have developed it on any cross platform.
And there is possibility if they are using the web components to load the links but they are using it smartly & they are making it controllable. So there are every chances you can make proper research & try to get the idea how you can utilise the web components smartly & try to make similar application.
Important Note :
The most prior thing is it should be user friendly & easy navigation for users.
Hope this helps to everyone.

Create wordpress website Reader for an iOS device i:e showing notification/Reading content only if the site content/feed is updated

I have an idea to develop iOS App which update user if any feed is updated on wordpress website. Please tell the way/steps how i can achieve the same.
I have tried and searched on google but didn't got solution for my problem. This is one thing i got on youtube about web site reader : http://www.youtube.com/watch?v=Bk0d1npGoq4 But, I doesn't have to developer such app which reads web site content, i would like to show notification as soon as feed on the web is updated.
This is the website ( http://www.webhostingbreak.com/ ) whose reader i want to developer.
Please suggest me some solutions or logic which can help me to complete my task.
You've got several way to access the content of a Wordpress blog.
First and easiest solution is to use the basic RSS feed which is available on any Wordpress, and which is compatible with other kinds of websites.
With Wordpress, more specifically, you can use the XML-RPC API embed by the CMS.
This API need to be enable on the Wordpress website and every request will have to be authenticated with a real user to the Wordpress website (you can implement the registration process in the app or use a generic user in every installed app).
You have several library which handle the XML-RPC calls such as https://github.com/corristo/xmlrpc