2011/01/23 murapong             1
•                                iPhone•   Blog:http://d.hatena.ne.jp/murapong/•   Twitter:http://twitter.com/murapong    ...
••                   Tilt•   http://itunes.apple.com/jp/app/    id384874687?mt=8                                      3
••   GetMoney!•   cocos2d•   http://itunes.apple.com/jp/app/    id396386382?mt=8                                      4
••   2011•   OpenCV•   http://itunes.apple.com/jp/app/    id396386382?mt=8•          http://www.youtube.com/    watch?v=E_...
•   iPhone•             6
7
AdMob• Google• iPhone      iPad  Android      Web                     8
AdMob•   AdMobDelegateProtocol.h AdMobView.h libAdMob.a•   AudioToolbox CoreGraphics MediaPlayer MessageUI    QuartzCore• ...
SampleViewController.h#import <UIKit/UIKit.h>#import "AdMobDelegateProtocol.h"@class AdMobView;@interface SampleViewContro...
SampleViewController.m#import "SampleViewController.h"#import "AdMobView.h"@implementation SampleViewController#pragma mar...
AdMob••   AdMob            12
SampleViewController.m#import "SampleViewController.h"#import "AdMobView.h"@implementation SampleViewController#pragma mar...
AdMob•   AdMob              14
- (void)didFailToReceiveAd:(AdMobView *)adView {   CGRect frame = self.view.frame;   rect = CGRectMake(0, frame.size.heigh...
16
API                              Reject••   UIGetScreenImage()    API••                API           API•         Waiting ...
UIGetScreenImage()CGImageRef screenImageRef = UIGetScreenImage();UIImage *screenImage = [UIImageimageWithCGImage:screenIma...
iOS4.0    AV Foundation  •          100  • http://developer.apple.com/library/ios/      #qa/qa2010/qa1702.html            ...
20
••          ex.    iPad•          Reject                    21
Info.plist   Required device capabilities                                            22
•                       Apple•   http://developer.apple.com/library/ios/    #documentation/iPhone/Conceptual/    iPhoneOSP...
24
iPhone•   iOS Developer Program••   iOS Provisioning Portal•••   App ID•   Provisioning Profile                            ...
• Google Chrome  • Safari Firefox•• http://d.hatena.ne.jp/murapong/  20101108/1289218790                                  ...
Apple                 Google Chrome• iTunes Connect   Sales and Trends                 Google Chrome•       Safari   Firef...
28
Upcoming SlideShare
Loading in …5
×

iDW資料(110123)

4,012 views
3,913 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
4,012
On SlideShare
0
From Embeds
0
Number of Embeds
1,529
Actions
Shares
0
Downloads
9
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

iDW資料(110123)

  1. 1. 2011/01/23 murapong 1
  2. 2. • iPhone• Blog:http://d.hatena.ne.jp/murapong/• Twitter:http://twitter.com/murapong 2
  3. 3. •• Tilt• http://itunes.apple.com/jp/app/ id384874687?mt=8 3
  4. 4. •• GetMoney!• cocos2d• http://itunes.apple.com/jp/app/ id396386382?mt=8 4
  5. 5. •• 2011• OpenCV• http://itunes.apple.com/jp/app/ id396386382?mt=8• http://www.youtube.com/ watch?v=E_5ZGqjE284 5
  6. 6. • iPhone• 6
  7. 7. 7
  8. 8. AdMob• Google• iPhone iPad Android Web 8
  9. 9. AdMob• AdMobDelegateProtocol.h AdMobView.h libAdMob.a• AudioToolbox CoreGraphics MediaPlayer MessageUI QuartzCore• TouchJSON• AdMobDelegate 9
  10. 10. SampleViewController.h#import <UIKit/UIKit.h>#import "AdMobDelegateProtocol.h"@class AdMobView;@interface SampleViewController : UIViewController<AdMobDelegate> { AdMobView *adMobAd;}@end 10
  11. 11. SampleViewController.m#import "SampleViewController.h"#import "AdMobView.h"@implementation SampleViewController#pragma mark -#pragma mark AdMobDelegate methods- (NSString *)publisherIdForAd:(AdMobView *)adView { return @"hoge";}- (UIViewController *)currentViewControllerForAd:(AdMobView *)adView { return self;}- (void)didReceiveAd:(AdMobView *)adView { CGRect frame = self.view.frame; adMobAd.frame = CGRectMake(0, frame.size.height - 48, frame.size.width, 48); [self.view addSubview:adMobAd];}@end 11
  12. 12. AdMob•• AdMob 12
  13. 13. SampleViewController.m#import "SampleViewController.h"#import "AdMobView.h"@implementation SampleViewController#pragma mark -#pragma mark AdMobDelegate methods- (NSString *)publisherIdForAd:(AdMobView *)adView { return @"hoge";}- (UIViewController *)currentViewControllerForAd:(AdMobView *)adView { return self;}- (NSArray *)testDevices { return [NSArray arrayWithObjects: ADMOB_SIMULATOR_ID, [UIDevicecurrentDevice].uniqueIdentifier, nil];}- (void)didReceiveAd:(AdMobView *)adView { CGRect frame = self.view.frame; adMobAd.frame = CGRectMake(0, frame.size.height - 48, frame.size.width, 48); [self.view addSubview:adMobAd];}@end 13
  14. 14. AdMob• AdMob 14
  15. 15. - (void)didFailToReceiveAd:(AdMobView *)adView { CGRect frame = self.view.frame; rect = CGRectMake(0, frame.size.height - 48, frame.size.width, 48); UIImageView *myAd = [[UIImageView alloc] initWithImage:[UIImageimageNamed:@"my-ad.png"]]; myAd.frame = rect; [self.view addSubview:myAd]; [myAd release];} 15
  16. 16. 16
  17. 17. API Reject•• UIGetScreenImage() API•• API API• Waiting For Review 8 Reject(2010/12/1 ) • 17
  18. 18. UIGetScreenImage()CGImageRef screenImageRef = UIGetScreenImage();UIImage *screenImage = [UIImageimageWithCGImage:screenImageRef];CGImageRelease(screenImageRef); Reject 18
  19. 19. iOS4.0 AV Foundation • 100 • http://developer.apple.com/library/ios/ #qa/qa2010/qa1702.html 19
  20. 20. 20
  21. 21. •• ex. iPad• Reject 21
  22. 22. Info.plist Required device capabilities 22
  23. 23. • Apple• http://developer.apple.com/library/ios/ #documentation/iPhone/Conceptual/ iPhoneOSProgrammingGuide/ BuildTimeConfiguration/ BuildTimeConfiguration.html#//apple_ref/ doc/uid/TP40007072-CH7-SW9 23
  24. 24. 24
  25. 25. iPhone• iOS Developer Program•• iOS Provisioning Portal••• App ID• Provisioning Profile 25
  26. 26. • Google Chrome • Safari Firefox•• http://d.hatena.ne.jp/murapong/ 20101108/1289218790 26
  27. 27. Apple Google Chrome• iTunes Connect Sales and Trends Google Chrome• Safari Firefox 27
  28. 28. 28

×