Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8974937
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:46:09+00:00 2026-06-15T18:46:09+00:00

I integrated GREE in an iOS application(demo) and after a day long hard work

  • 0

I integrated GREE in an iOS application(demo) and after a day long hard work the code was good enough to go, that executed properly and produced some UI response but, pity that was no worthy, check:

enter image description here

Also I have something in my console;

 2012-12-04 09:52:22.721 GreeHelloSample[1295:1bb03] GreeJSAbstractStateCommand:name must be overloaded in subclasses.
 2012-12-04 09:52:22.724 GreeHelloSample[1295:1bb03] GreeJSAsyncCommand:name must be overloaded in subclasses.
 2012-12-04 09:52:22.725 GreeHelloSample[1295:1bb03] GreeJSLoadAsynchronousCommand:name must be overloaded in subclasses.
 2012-12-04 09:52:22.997 GreeHelloSample[1295:1bb03] [Gree][GreePlatform.m:381]  Initialized Gree Platform SDK 3.4.0 (Build release/v3.4.0_public_189)
 2012-12-04 09:52:24.589 GreeHelloSample[1295:1bb03] didLogoutUser
 2012-12-04 09:52:25.003 GreeHelloSample[1295:1bb03] greePlatformWillShowModalView

But I am tired and unable to track What went wrong, now? So, help me.

EDIT 1:

Here is All related code I wrote:

.h

#import <UIKit/UIKit.h>
#import "GreePlatform.h"
#import "GreePlatformSettings.h"

#define kGreeApplicationID  @"XXXXX"
#define kGreeConsumerKey    @"XXXXXXXXXXXX"
#define kGreeConsumerSecret @"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"

@class GHSViewController;
@interface GHSAppDelegate : UIResponder <UIApplicationDelegate, GreePlatformDelegate>

@property (retain, nonatomic) UIWindow *window;
@property (retain, nonatomic) GHSViewController *viewController;

@end

.m

#import "GHSAppDelegate.h"
#import "GHSViewController.h"

@implementation GHSAppDelegate

- (void)dealloc
{
    [_window release];
    [_viewController release];
    [super dealloc];
}

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    self.window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    // Override point for customization after application launch.
    self.viewController = [[[GHSViewController alloc] initWithNibName:@"GHSViewController" bundle:nil] autorelease];
    self.window.rootViewController = self.viewController;
    [self.window makeKeyAndVisible];

    NSDictionary* settings = [NSDictionary dictionaryWithObjectsAndKeys:GreeDevelopmentModeSandbox, GreeSettingDevelopmentMode, nil];

    [GreePlatform initializeWithApplicationId:kGreeApplicationID
                                  consumerKey:kGreeConsumerKey
                               consumerSecret:kGreeConsumerSecret
                                     settings:settings
                                     delegate:self];
    [GreePlatform handleLaunchOptions:launchOptions application:application];

    return YES;
}

- (void)applicationWillResignActive:(UIApplication *)application
{
    // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
    // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
}

- (void)applicationDidEnterBackground:(UIApplication *)application
{
    // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 
    // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
}

- (void)applicationWillEnterForeground:(UIApplication *)application
{
    // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
}

- (void)applicationDidBecomeActive:(UIApplication *)application
{
    // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
}

- (void)applicationWillTerminate:(UIApplication *)application
{
    // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
    [GreePlatform shutdown];
}

#pragma mark - GreePlatformDelegate
/**
 * Sent to the receiver when Gree will show a modal view (dashboard, login dialogs,
 * etc.) that will interrupt your application.
 * @note It is recommended that you suspend your application logic here.
 */
-(void)greePlatformWillShowModalView:(GreePlatform*)platform{
    NSLog(@"greePlatformWillShowModalView");
}
/**
 * Sent to the receiver when Gree has dismissed a modal view (dashboard, login dialogs,
 * etc.) that was interrupting your application.
 * @note It is recommended that you resume your application logic here.
 */
-(void)greePlatformDidDismissModalView:(GreePlatform*)platform{
    NSLog(@"greePlatformDidDismissModalView");
}
/**
 * Sent to the receiver when your application's user logs in to the Gree Platform.
 */
-(void)greePlatform:(GreePlatform*)platform didLoginUser:(GreeUser*)localUser{
    NSLog(@"didLoginUser");
}
/**
 * Sent to the receiver when your application's user logs out of the Gree Platform.
 */
-(void)greePlatform:(GreePlatform*)platform didLogoutUser:(GreeUser*)localUser{
        NSLog(@"didLogoutUser");
}
/**
 @brief Notifies the parameter received when an application starts.
 @param params Parameter received when an application starts.
 */
-(void)greePlatformParamsReceived:(NSDictionary*)params{
       NSLog(@"greePlatformParamsReceived");
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:46:10+00:00Added an answer on June 15, 2026 at 6:46 pm

    Here we go!

    I have made one silly mistake to suffer this. Actually I was using Production (Gree Application) ID, for executing my application in sand box. Although Gree Provide different Sandbox ID to run Application in Sandbox environment. Rest of the things are Okay thanks to Gree framework SDK, and specially Showcase*(sample application).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have integrated this Jfreechart Bar Demo with my swing application. I have put
I have integrated the paypal in my iOS application using latest MPL library. The
I integrated inappPurchase code to my android application.its working fine but i need handle
Is there an integrated feature that will enable me to auto-start the program after
Language Integrated Query. Now I know that the acronyms are. I have seen C#
We integrated a wysiwyg editor in our website. Now we got the problem that
I'm using JavaFX integrated HTMLEditor. All the functions that it has are fine but
I have integrated drawing a line in my application. I have not used OpenGl
I have integrated the sample code as provided in here to know how the
I have integrated the facebook in to my application, From the FB i will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.