How to add advertisment in iPhone application? - objective-c

I have a request from a client that wants to add adverisments in an iPhone application.
The client should be able to put his own advertisments at his own will: whenever his wants and as many times as his wants, without our help.
Is there any solution and what is it? Preferrably for free.
What dimensions should the banner have?

you can develop an xml based adv system and C# desktop app to desing adv easly. You should define properties, image and text tags, coords and navigation urls. Then an xml parser and you can create adv dynamicly.
Once i developed something like that to develop ITV channels and it reduced development time too much.
Or you can simply use webview

Give AdMob a try and be sure to check out House Ads.
You can use House Ads to upload/create your own banners or text ads and get the statistics and a robust framework for displaying ads in your app with it.

You could use StorageRoom to manage the ads and then use the API to pull them into your app.
Disclaimer: It's my startup.

I've used quite a few ad networks and for what you outline as your requirements I'd go with MobClix. If you want to earn revenue from other peoples ads then iAds and MobFox work best for me.

Adwhirl its quite flexible allowing you/client to set the ad providers, percentage per provider and as well as house ads.

I'd suggest you use a CMS for image upload, create some templates that use banners and create html-links, html-text, html/css/js/whatever-content.
Your app could then call specific URLs and if it gets get a valid response, it could create a UIWebView and add that to the view hierarchy.
If your user clicks the ad, the UIWebView-delegate will be called and you can decide what you want to do (e.g. open safari with the URL defined by the HTML-Link).

Related

creating movie template "on the fly"

i want to develop a site where user selects various videos and site will render a single video containing all videos in a pre-built template.
what would be the way to go about this (in order to create the movie dynamically from site) ?
what would be the server side framework to use ?
can i use after-effects and have site use it to generate such templates (optional - as i have a friend who works with after effects and can create templates) ?
as i am fairly new to the field any additional information is welcomed.
I'm no expert, but I'm pretty sure you can't do what you described.
Rendering a video consumes huge resources (really huge), so a server park that could
handle this is just not worth it.
However, what you can do is to play the selected videos consecutively. That way, no rendering is necessary.
Also, forget about After Effects, for the same reasons described above.
You can achieve what you want by using a new plugin for After Effects called Templater Bot. From Dataclay's site:
Templater Bot is an enterprise solution for custom video on demand. It works as an automated system. Use it to periodically check for incoming data, pull new data in, and render video as a background process. Or use the command line interface to push data in to create new renders. Once your AE project is prepared, use Bot to customize and render it without operating the After Effects user interface. Developers can create front end applications, such as web or mobile apps, that feed data into Templater's data source, offering a collaborative, custom video content creation solution.

Streaming movies from my server

I'm playing around to make an app that lets people stream cartoons that I make. It's a very simple app, one ImageView is just loading in a html-homepage in a UIWebView. Witch contain links to .mov files. So if you tap them a movie will start playing. This is because I just want to update the html-file with new cartoons every week.
Is this an "ok" way to do things code:ing-wise? Or am i obligated to us some Objective-c streaming functions?
Is there a specific file-type that i have to use in the movie-files on the server?
Is the HTML static in your app, or does it point to a server? If it's the former, you may be able to get the app approved doing it the way you suggested, depending on the reviewer. If it's the latter, you're unlikely to get it approved by apple.
They tend to frown upon web sites bundled into apps, and will tell you to simply make your website usable with the phone. See section 2.12.
My suggestion is to spend a bit more time and offer iOS users a better - and more immersive - experience than is available via the web. As I'm sure you've found, there are many built-in ways to stream movies and to present them in a manner that surpasses a web-page-like experience.

how to display the live website data in iPhone application

I am newbie for iPhone application and I want to create iPhone application based on the website client have. What I want to do is show the Upcoming Courses from this website. Any idea how to do that?
Note that, the table that is there in section Upcoming Courses is static data and this site is created using Joomla. The web-developer do the changes in the Upcoming Courses section on a weekly basis depending on the courses.
Could anyone suggest me right path what needs to be done?
I also tried to search on google and found that RSS need to be created for that section. So I believe if I need to create RSS, then I would have to store this data in database. Isn't it? Is this only one way to deal with it?
My Client says, if they do the update in website, it should also get rectified in iPhone application too.
Look at the example right here:
https://github.com/greenisus/cocoa-rss
If you use Joomla, then you have a database already, of course.
I'm pretty sure that there are some sweet modules for RSS, which you can use.
Then you'd just have to parse them in your app.
There is no such thing as push in RSS, you'd have to consistently check and update your content.

Upload Image to Facebook Objective-C

I'm currently trying to upload an image from my Mac application to Facebook. To do this, I'd like for the user to simply input his username and password, and to click a button.
The only issue is, Facebook doesn't actually have an API for the Mac, it only has one for iOS. This shouldn't be a problem, except for the fact that to login, you must use a web view, something I'm not to keen on doing, since I'd like the interface to be two simple text fields.
I've also looked into PHFacebook, a class I found online, but it also seems to utilize an NSWebView.
I'm wondering if there's a security issue when you use text fields; indeed, it's slightly strange no available API offers this function !
So, to conclude, is it possible, or is there an API, that lets you upload an image and lets you provide the user's credentials through simple NSStrings?
There's a Cocoa framework called MKAbeFook that lets you access Facebook APIs. I don't know if it's up to date, but you should give it a try.
It looks like this is not supported unless you can embed a web browser.
If you scroll to the bottom of: facebook authentication docs, it seems to say this.
Embedding a web browser is generally doable, but may be overkill for what you are trying to do.
Good luck!
You could do this through JSON on your mac app but I think the way Facebook protocols work you simply provide the image to upload and then the user logs into their Facebook account through a webview and has to authorize it.

Is it possible to develop a Facebook app that filters updates out of a feed?

Namely, does the Facebook API make this possible? I'd like to leave my news feed intact, but remove posts that meet some criteria for things I don't want to see (e.g., don't show me anything that sounds like Dick Cheney might have said it). Does the Facebook API allow apps to customize a user's normal news feed? I spent a few minutes looking at the facebook developer pages, but didn't see any direct answers to my question, so I was hoping some developers who were experienced with Facebook's API could help me here.
Before anyone mentions it, I don't want to just hide updates from those users. They may post other updates that I want to see, so I'd prefer to filter out updates based on content.
There is a Greasemonkey script called "Facebook Purity" which does this. You could probably look at the source and alter it to your specifications.
You could parse the news feed into a database on your site then use code to parse whether or not to display it.
yes this is possible but only if all your friends decide to add your application! otherwise you may be not able to access their feeds.
Its been a while since i used Facebook SDK so this may have changed.
The API provides very little news feed integration, and no you can't use the api to prevent news feed items from showing up in a users feed. All you can do is post and get, and you can only post 10 items a day, "significant" interactions. The Facebook API wasn't designed to enhance or alter the core Facebook experience, it was designed to allow developers to create third party apps that add to Facebook within a very limited and tightly controlled sandbox.
The Linq to facebook project looks quite interesting and may allow you to do what you are asking (if using .NET 3.5). My apologies for a link to such a pink website ;-)