×

A method of refactoring Android applications for smart watches

  • US 20180285100A1
  • Filed: 09/07/2016
  • Published: 10/04/2018
  • Est. Priority Date: 12/24/2015
  • Status: Abandoned Application
First Claim
Patent Images

1. A method of refactoring Android applications for smart watches, comprising:

  • 1) for a given Android application, creating an empty folder Mobile, migrating source codes of the Android application to the Mobile folder, and automatically generating a Wear module in a root of the Android application;

    2) adding codes to support smart watch features in the Wear module, and adding a watch-specific dependency library; and

    copying the source codes of the Android application to the Wear module;

    3) replacing API in source codes of the Android application copied into the Wear module by an API suitable for Android Wear for smart watches; and

    4) reducing page layout of the Android application by a reduction ratio corresponding to size ratio of a smart phone to a smart watch;

    identifying all view components on a page of the Android application, reducing down to a dimension of each of the view components to fit a screen width of the smart watch, and sorting the view components based on priorities.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×