Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Generative AI approach to native iOS and Android Code Translation: With and Without Retrieval-Augmented Generation (RAG)
Jönköping University, School of Engineering, JTH, Department of Computing.
Jönköping University, School of Engineering, JTH, Department of Computing.
Jönköping University, School of Engineering, JTH, Department of Computing.
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Smartphones are a product whose usage across the world makes it a common yet incredibly important tool. Developing for both of the most commonly used operating systems for smartphones, Android and iOS is required to reach a large market. This study seeked to investigate the potential usage of the OpenAI Assistant API with GPT-4 to translate from native iOS development to native Android development. This study was motivated by the potential financial and resourceful cost of developing natively for both platforms, the performance compromise made by cross-platform development and the ever evolving capabilities of generative AI. 

The purpose of this study was to investigate the efficiency with which the OpenAI Assistant API with GPT-4 is able to translate general code structures as well as platform-specific APIs, frameworks, and features, including software- and hardware-dependent functionalities. It also included how that efficiency is influenced when providing the latest documentation to the OpenAI Assistant API. This study involved artifact creation, observation, a literature study and an analysis of the observational data.

The conclusions of the study show that while providing the latest documentation for the OpenAI Assistant API proved to generally improve results, the OpenAI Assistant API with GPT-4 performs better in translations in which platform-specific APIs, features and functionalities are omitted entirely and the best values were found for files containing minimal logic. 

Place, publisher, year, edition, pages
2024. , p. 122
Keywords [en]
Android, app development, GPT-4, iOS, mobile development, native development, OpenAI, RAG
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:hj:diva-65484OAI: oai:DiVA.org:hj-65484DiVA, id: diva2:1879944
Supervisors
Examiners
Available from: 2024-07-22 Created: 2024-06-29 Last updated: 2025-10-13Bibliographically approved

Open Access in DiVA

fulltext(1256 kB)362 downloads
File information
File name FULLTEXT01.pdfFile size 1256 kBChecksum SHA-512
5bc87b4f6b79b7bf6d4241b535b4399ac933eb315db53e991a5712ac7d87a4404a62ad83e80f9a719b5b5d9ed9928c45b6596ac1caed264140588fda1a871508
Type fulltextMimetype application/pdf

By organisation
JTH, Department of Computing
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 366 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 1476 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf