top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration
Print Preview

Library Package Dependencies on Android

+1 vote
28 views

When building custom packages into the AOSP, I know that we can link with prebuilt jars, but can we also link with prebuilt, or alternatively build library _packages_?

Our situation is this:
We've built a home screen replacement that is spread over two android projects, one containing common source code and resources used for a variety of our projects, and the other containing the launcher specific source code and resources. We've be able to build our launcher along with AOSP, and include the jar produced by the common project, but it's not clear how to acquire the resource definitions and the resources contained in the common project. A quick perusal of these forums didn't turn anything promising up.

So, question is: is it possible to utilize the resources of an external package in a package that I'm building along with AOSP, and if so, how is it done?

posted Jul 20, 2013 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

Similar Questions
+5 votes

Isn't there a Package on Fedora repo that you can install so as to view files on Android Phones by USB.

+2 votes

As far as I know, when using forceStopPackage(), the alarm registered by this package will automatically unregistered. So does the same logic fit for jobscheduler? Please clarify

+2 votes

I changed the Android kitkat framework to add the logging statement whenever an application creates an intent. For the same I did changes in the file framework/base/core/java/android/content/Intent.java . However, there are different overloaded methods in this file for creating the intent. Some have the package info but other don't have.

Please let me know how to got the package from which the intent is created.

+3 votes

I've been trying to figure out how an android app is installed by browsing AOSP.

The PackageManagerService.java has the gids for the corresponding permissions by parsing the platform.xml file.

PackageInstallerActivity parses and checks for any existing packages and then invokes the InstallAppProgress

I was able to follow the paths where the package is parsed and validated and PackagerManager.installPackage() method is invoked to install the package. I know this makes a native call to the JNI library. The corresponding aidl file is IPackageManager.aidl.

What I want to know is where can I find the Native cpp code related to this aidl mentioned above?


Useful Links with Similar Problem
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...