How to add advertisements to flash app - actionscript-3

I've been working on an iphone app with flash For a while... Now that the app is ready I would like to add advertisements to it (the app Will be free, so i'll gain something) but i don't Know How to do it... Can you help me?

Check out Mochi Media. They have an API for embedding ads. I have used them in the past for adding advertisments to games I have developed and had good results.

Related

Getting started on smart signage dev

I wanted to develop a stand alone HTML5 app on Samsung Smart Signage. I am trying to find the sdk and some documentation to get started but I couldn't find any. Could anyone please point me … to the right resources to get started on Digital Signage development in HTML5? Thanks a lot in advance!
Check this out: http://displaysolutions.samsung.com/aboutUs/faqList?method=list&sflag2=534&sflag3=542&sflag4=545&pageNo=1
I was unable to get to the SDK download page though, as the Samsung Logins are still notoriously bad as they have always been.

TestFlight API and stats with as3

I'm using TestFlight to test my app.
I uploaded on itunesConnect and after some problems, now it works fine and I think I understood itunesConnect's flow.
Now I want to monitor the user experience (just for my testers) and I want to know where the user is clicking and if sometimes the app crashes.
I remember that TestFlight had some API to do this, but now I can't find them!
Maybe it was an old features when it wasn't buy from Apple. I don't know... but I don't find any good information about the API.
I'm working inside Flash Builder using as3. Any idea?
Thanks a lot!
As I mentioned in my comments, this is not acheivale at full by ItunesConnect and its App Analytics, I am using and recommend you to try this tool: https://www.appsee.com/ it matches what you want and shows really good UX analytics.

Multimouse functionality in AS3

I am basically looking for a way to use multiple mouse plugged into one device so that multiple pointers can be seen and operate. This is for e-learning purposes, the goal is to have multiple students play an educational game in a classroom that has only got one PC but upto 10 or more mouse connected to a PC.
I did something similar a couple years ago in microsoft XNA framework. Currently I am developing applications and games in Adobe Flash AS3 and would like to find out if there is anyway that we can have multiple mouse functionality in a flash application?
Any sort of help would be great. Thank you!
For the web, this is probably impossible. If your flash project run on Adobe Air, you can add native code to handle this kind of functionality or you can use a local socket server to send information over socket to your swf or air application.
Example for native extension

Develop Xbox 360 Apps

I have been asked to develop an Xbox 360 app. Not a game but an application like Netflix, Youtube or Muzu... I find it realy hard to find any information on app development for the Xbox console. Can anybody give me some advice?
I know that the XDK allows game development in native C++ but is it suitable for creating apps as well? Is there any information on the submission process and policies for Xbox 360 apps?
I think you may need to ask the question, "What's the difference between a game and an application?" I'm sure you could use XNA to build an application as well thus develop your app in C#, using the libraries Microsoft provides. Good luck!
I am not sure if what you want is possible with XNA. If you are registered xbox developer, you should talk to your developer account manager.
I assume you may get detailed explanation from theese links
http://www.xbox.com/en-US/developers
http://www.xboxmb.com/forum/15-xbox-360-tutorials/67430-how-create-xbox360-applications-sdk.html

Native iPhone app in HTML/Javascript?

I would like to build an app that heavily relies on Google Maps. Is it possible to write a native iPhone application in HTML/Javascript ? If so, will it be accessible from the app store ? Otherwise, how could I include Google Maps in a native app ?
You will need to build a framework application in Objective-C that contains a UIWebView. You can populate the UIWebView with your HTML/Javascript.
In my opinion the better alternative is to use the MapKit framework from a native app. MapKit lets you do almost everything you can do using the full Google Maps API and I think a native app will always work better on the device than a UIWebView container app.
I have used MapKit in a few of my apps and found it easy to use with nice performance. In the linked example I embed a MkMapView in a UIScrollView in page mode. I doubt you would have an easy time implementing this with a UIWebView and I am sure it wouldn't perform as well.
Yes, it is possible to do this. There is a great opensource project called PhoneGap http://phonegap.com/ that allows you to do exactly that. Not only but alos deploy on other mobile OSs like Android, blackberry etc.
To get on the app store, you need to register as an apple developer which is about US$100. Development can only be done on a mac) Apple gives you lots of software tools including code editors and iphone simulator.
Addressing the two parts of your question:
Is it possible to write a native
iPhone application in HTML/Javascript
? If so, will it be accessible from
the app store ?
There's a framework called NimbleKit that allows you to write your app in HTML/JavaScript and then converts it to Objective-C/Cocoa for you. There are several problems with NimbleKit, though:
It costs $99.
It adds a level of indirection that increases the chance of errors.
Because you're not using the 'real thing', you're much more limited in what you can do (i.e. you can only use what they have made available to you).
Another solution is to embed a UIWebView in a native iPhone app (you'll have to use a bit of Objective-C/Cocoa to do this) and then write the rest of your app as an iPhone web app that is loaded into the UIWebView. However, I would strongly advise you not to write an iPhone web app, whether standalone or embedded in a native app. As of writing, iPhone web apps have many disadvantages, including:
They're very slow.
They have limited functionality (e.g. no device APIs).
They can't take advantage of the Cocoa-Touch framework (a serious downside).
iPhone web apps may become viable in the future, but at this point in time, I'd steer away from them and write a native iPhone app using native technologies (i.e. Objective-C/Cocoa).
Otherwise, how could I include Google
Maps in a native app ?
Use Apple's framework "MapKit". See Displaying Maps and Annotations in the iPhone Application Programming Guide, this tutorial, and this tutorial for information on how to use MapKit.
In iPhone OS 3.0 and greater apple has created a custom Cocoa Touch control that allows developers to embed Google Maps into a native app. The maps support multi-touch and you can annotate the maps with custom views, find the user's current location and do other cool stuff.
The way to do this is to build your app as a regular web app (javascript/css/html). The embed that in a native WebView. The WebView is a container for iphone apps that are meant to be web apps. These apps are sold the same way as other apps on the app store.
It's not possible to write a native iPhone app in HTML/JS, http://code.google.com/p/iphone-google-maps-component/ may be of some use, or you can use:
UIApplication *app = [UIApplication sharedApplication];
[app openURL:[[NSURL alloc] initWithString: #"http://maps.google.com/maps?g=London"]];
Please see How can I launch the Google Maps iPhone application from within my own native application? for more info.
There is also Appcelerator Titanium, which looks to be a good framework for developing iPhone and Android applications using web technologies. They gave an interesting presentation on this at C4.
However, trying to "write once, run everywhere" on mobile devices will cause you to create something that is inferior on all platforms to native applications, because you will need to design for the lowest common denominator between them.