Giter Site home page Giter Site logo

customized-androidos-demo's Introduction

Demo-App

NOTE: the purpose of creating this repo is purely for debugging the app. I have posted the question on stackoverflow which you can find at http://stackoverflow.com/questions/16142877/ui-modification-of-individual-application-phone-contacts-in-ics-aosp

Here is the example scenario, In the application I was missing many classes and one of them is Timsort.java file so I needed to import it.I found that file in ICS AOSP and imported it by creating java.util package in my application src directory as shown in below screenshot.

Alt text

and TimSort.java is not there in android.jar that is why I need to import it from AOSP.

Here is how I came to know that TimSort.java is not included in android.jar

Alt text

Now when I import TimSort.java ,it tries to access some hidden method of Arrays.java class,So I need to import that class also from AOSP and so on to solve errors I need to import 3 more classes as shown in below image,

Alt text

Alt text

And at the end when I run application,I face error of "Ill-advised or mistaken usage of a core class (java.* or javax.*) when not building a core library" (It might get conflicts because of Arrays.java already exists in android.jar)

So I think I should go another way to use TimSort.java without facing such mess is to get library files as mentioned at https://code.google.com/p/android-source-browsing/source/browse/Android.mk?repo=platform--packages--apps--contacts&name=android-4.0.1_r1.2.

NOTE: My machine has Windows 7 and I am trying to modify/run the individual application of ICS AOSP.I am not having whole source tree of ICS AOSP in my eclipse.

customized-androidos-demo's People

Watchers

James Cloos avatar Mehul Joisar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.