wiki:IABTransactionsDetector

Version 13 (modified by gandrade, 3 years ago) (diff)

--

IAB Code Migration Engine

Project Details

Purpose of this project

Improve OpenIAB usability.

Project Description

  • Phase 1: IAB code migration engine: create a Web page with two boxes and a button in the middle of them. The left box is an input box where the developer pastes the source code of it’s Android App with Google IAB “calls”. After pressing the button, the engine inserts the OpenIAB code in the right box. He then can copy that code to their IDE.
  • Phase 2: Develop an import mechanism to import the SKUs (items bought inside the App) into our platform. The import mechanism an work in one of the following ways: 1) CSV exportation in Google Play backoffice and importation in Aptoide backoffice 2) API calls from Aptoide to Play to retrieve the existent SKUs 3) scraping of the Play backoffice with the Developer credentials. The proof of concept consists in retrieving the SKUs in one of the ways.

Project Source Code

Source Code

Road-map

First Week (12 July – 17 July)

-> Tutor meeting and goals definition;

-> Set up the work environment;

-> Study In-App Billing documentation;

-> Examine project's feasibility;

-> Initial internship presentation;

Weekly Reports

First Week (12-17 July) :

-> Initial presentation.
-> Assessment made with Marta from Management and my mentor, Marcelo Benites.
-> Studied In-App Billing (IAB) documentation.
-> Experimenting Google's TrivialDrive2 to learn how does IAB work with Google Play.
-> Discussed results with mentor and revised project's feasibility.
-> Internship initial presentation.

Second Week (18-24 July) :

-> Studied OpenIAB's basic principles and how to add it to an App.
-> Created simple site with HTML,CSS and JavaScript? to serve as an initial base.
-> Assessment made for the first phase of the project with my mentor.
-> Deployed site on GitHub?.
-> Very simple conversion tests made.
-> After finding a lot of difficulties with Java code parsing, found a library called Roaster that would turn the process really simple. To use this library, I had to submit the user's code to a JAX-RS resource and use Roaster in there.
-> Installed Eclipse Java EE and started learning JAX-RS by creating a webapp that used Jersey and Tomcat.
-> Studied “Developing RESTful APIs with JAX-RS”
-> After finishing this test webapp, I migrated the simple site I had already made and will now study the Roaster API to figure out the most efficient way to implement the Google-to-OpenIAB conversion system.

Trainee details

Trainee Name

Guilherme Andrade

Past Experience

Bologna Degree in Telecommunications and Informatics Engineering @ IST and a 3-month internship at Bluecover Technologies.

Current Situation

Starting the Bologna Master Degree in Telecommunications and Informatics Engineering @ IST.

Motivation for the Project

Eager to learn the most I can about Android programming and how to integrate in-app payment solutions and how to monitor them.

Mentor

Marcelo Benites