TalkingApp iOS

* * * * (23 ratings)
TalkingApp | App Code for Sale | Hero

Screenshots

Overview

Have you ever seen the world famous Talking Tom app? This kit will help you in creating a Voice Replay Application:

  • Record your Voice
  • Alter the Audio with a cool and funny FX like Talking Tom App.
  • Share the edited audio with your friends on Facebook or Twitter.

TalkingApp features:

  • Record any sound
  • Playback recorded sound
  • Alter recorded sound speed
  • Share original or altered sound on Facebook or Twitter
  • application display HUD when sharing
  • iPhone 4G & 4S Retina support
  • and much more...

The App is ready for your customization and final build.

Application description

TalkingApp is a full native iOS application source code for iPad and iPhone. With this Component you will able to integrate in your project a complete set of features to let users:

TalkingApp has intuitive, custom made user interface that consists of:

  • Record button
  • Play button
  • Speed slider
  • Share on Facebook button
  • Share on Twitter button

XCode project overview

Project requires following frameworks:

  • Accelerate.framework
  • AudioToolbox.framework
  • AVFoundation.framework
  • CoreGraphics.framework
  • Foundation.framework
  • MessageUI.framework
  • Security.framework
  • SystemConfiguration.framework
  • UIKit.framework

In project supporting files you'll find MBProgressHUD class, that is helper class from creating HUD. HUD is shown while sharing on Facebook or Twitter is in progress. ShareKit SDK is used to provide sharing functionality.

XCode classes

AppDelegate

Application delegate in method:

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

creates ViewController to present main view for application.

ViewController

Main view displays all buttons for recording and playing audio and share buttons for Facebook and Twitter. In this controller you sould define following constant to enable the application to upload sound files on your server:

#define kServerLink @"http://www.example.com/soundupload.php"

Other constants that you can change, but are not critical to application functionality:

#define kFacebookShareTitle @"My recording upload"
#define kFacebookShareText @"Haha, listen to this sound! :)"
#define kShareErrorMessage @"@Problem with upload."

Buttons in Interface Builder are connected with following methods that are used to start or stop recording, to play or stop recorded sound, and sharing to Facebook or Twitter:

- (IBAction)recordOrStopButtonClick:(id)sender

- (IBAction)playOrStopButtonClick:(id)sender

- (IBAction)buttonFacebookClick:(id)sender

- (IBAction)buttonTwitterClick:(id)sender

Slider in in Interface Builder is connected with following method to enable user to speed up or slow down recorded sound playback:

- (IBAction)speedFactorSliderValueChanged:(id)sender

ShareKit SDK

ShareKit SDK is used to provide sharing on Facebook and Twitter. Before you can share files on Facebook and Twitter you should set up TalkingAppSHKConfigurator.h

More info about Twitter API can be found here

More info about Facebook API can be found here

PHP

Before application can share items on Facebook and Twitter audio file needs to be uploaded to your server. Project includes sample PHP file how to achieve this.

<?php
    $baselink = "http://www.example.com/";
    $name = "sound";
    $path = "sounds/".$name.".caf";
    $output = "";   
    if(move_uploaded_file($_FILES['sound']['tmp_name'], $path)) {
         $output = $baselink . $path;
    }
    echo $output;
?>

Please configure variable $baselink to your domain name and upload file to your server. This file should be also defined in ViewController in kServerLink variable.

26 Comments Leave a comment