Nowadays, the mobile cloud synergy has uncovered the horizon to the creation of new systems that implement code offloading to sustain power hungry applications. While the approach has been widely encouraged to save energy and increase responsiveness of the smartphones. The need to offload or not to cloud is questionable, as many are the problems that prevent the use of code offloading in practice.By developing a deep understanding about the core functionality and components of an offloading system, we highlight the drawbacks and introduce the solutions to counter them. We developed a code offloading framework based on annotations to evaluate our ideas. The results demonstrate insights about how the offloading process can be exploited beyond its core principles.