fbpx

SAP Cloud Platform SDK for iOS

SAP-and-Apple-App-Developer-Magazine

Few days ago Apple announced on his developer portal the result between a collaboration with SAP, an SDK for iOS to connect with SAP systems.

For the first time SAP users can have cutting edge apps to access their data and interact with SAP systems, merging together the computational power of SAP backend with state of the art Apple’s devices like iPhones, iPads and Apple Watches.

SAP also created Fiori for iOS, a brand new design language to extend Apple’s Human Interface Guidelines, to bring together business user needs and the principle of iOS design. More over Fiori includes new UI elements and controls to access the back-end services.

Only in Italy there are more than 4000 small business using SAP solutions last year , and all of them could now benefit from having powerful and easy to use Apps to access their data in any situation.

Here at Oimmei we’re already working to study the new SDK in order to offer our clients new native solutions they can use to access their SAP systems.

[photo credit: https://appdevelopermagazine.com]

APFS Apple File System

apfs apple file system

Apple yesterday released the iOS 10.3 update and millions of users worldwide updated their devices. Many of them probably noticed that this update took longer than usual, a strange thing considering that the flagship features were “Find my AirPods” and a new iCloud account pane in Preferences.

Truth is that, behind the scene, the biggest update was the introduction of the new Apple File System or APFS. Apple announced it at the last WWDC, releasing a beta version for MacOS, but nobody thought that iOS devices would benefit from it so soon.

Exactly what is a file system? The file system is that part of an operating system that handle the physical disc, meaning it’s in charge, among the other things, of reading and writing data on the disc. A good file system means that your picture are safe once you took it! 😉

So, everywhere there’s a disc there’s a file system, for us it means that yesterday Apple updated, silently and in place, the file system of millions of iPads, iPhones, iPods and Apple Watch, without anyone noticing, but most importantly without formatting any of those discs. For us they managed to pull off something almost impossible, our most sincere congratulations to the Apple team that worked on the new file system!

TOURIST ANGEL, THE FIRST SOCIAL TOURISM FREE APP

TouristAngel app ios

We published Tourist Angel! The idea Massimiliano and Andrea brought us is now reality! The fist iPhone App for social tourism. For now it will be available just in Italy, but we planning on a launch on the foreign markets in the very next future.

But what actually is “social tourism”?

It’s a new opportunity of getting even more deeply acquainted the very goals of our travels, helped by the locals of the cities we are visiting. They can help you find events, go shopping, know cultural places and much more! Every single experience the Angels of Tourism offer might require a cost though, for eventually covering transportation tickets, gasoline, entrance tickets for museums or shows or who knows what… anyways, the amount payed for the tour will be limited to the actual amount of the expenses effectively faced by the Angel during the experience.

The main goals are the sharing of the costs of a tour, without creating any profit, and making visitors know your city, promoting economy through social and cultural inter-exchange.

So, the App does not want to take the place of the official tour guides, insted, if it will be as successfull as hoped, Tourist Angel will provide the functionality to have Official Tourist Guide (with official licence) subscribed, and will offer real “official” tours and itineraries.

The idea was presented us last year by Massimiliano and Andrea, we did like it immediately, since it completely matches our personal idea of revolutioning the way of Tourism, which we were already working on with Europeana Beacon. We are waiting the start of the crowdfunding project we enrolled in Goteo. We did develop this App which will actually be the first of a Tourism/Culture/Show-centered series.

For further information http://www.touristangelapp.com

Using standard MessageUI to send an email

This little code snipped is by far the quickest way to send an email using standard iOS7 SDK. It has surely helped me out in saving me a lot of time when I was in need of responding to an “hey we could make this email link clickable”. GRRR!

1.First of all import MessageUI as follows

#import <MessageUI/MessageUI.h>

2.Have your class implement the

MFMailComposeViewControllerDelegate

3.create a class property like this (name whatever you like, we do prefer to have explicitly talking variable names)

@property (strong, nonatomic) 
             MFMailComposeViewController *mailer;

4.finally implement a method, in which you instantiate the

MFMailComposeViewController

and compose your mail

 
-(void) sendMailTo: (NSString *) recipient {
    self.mailer = [[MFMailComposeViewController alloc] init];
    self.mailer.mailComposeDelegate = self;

    [self.mailer setSubject:@"My Fabolous Subject"];

    NSArray *toRecipients = [NSArray arrayWithObjects:recipient, nil];
    [self.mailer setToRecipients:toRecipients];

    /* You might want to uncomment the following, if you
    * have images to attach */
    // UIImage *myImage = [UIImage imageNamed:@"myfabolousimage.png"];
    // NSData *imageData = UIImagePNGRepresentation(myImage);
    // [self.mailer addAttachmentData:imageData
    //              mimeType:@"image/png" fileName:@"myfabolousimage.png"];

    NSString *emailBody = @"";
    [self.mailer setMessageBody:emailBody isHTML:NO];

    [self presentViewController:self.mailer animated:YES completion:nil];

}

5.of course we can’t let the

MFMailComposeViewControllerDelegate

behind, so you should implement the following, in order to have the full control of the exiting values of the mail controller, after he finishes his job. Implement the following in your class:

-(void)mailComposeController:
                (MFMailComposeViewController *)controller
		didFinishWithResult:(MFMailComposeResult)result
		error:(NSError *)error {
    if (error) {

    } else {
        [self.mailer dismissViewControllerAnimated:YES completion:nil];
    }
}
  1. Enjoy the results ! 🙂