Android : How To Add 3rd Party Package In Droid Framework?

Sep 30, 2009

I have developed my java library package & I want to use this package from other Android applications such as Gallery and Music. so I've put this package under framework/base/core/java/com/<package name> also made entry of AIDL files in Android.mk file located at framework/ base folder , but java files in above locations are not getting compiled. But if i put my package under framework/base/core/java/android folder then my package is build successfully. But I do not want to change the name of my package so I'm putting my package under com folder. Pls suggest a way to solve above problem.

Android : How to add 3rd party package in droid framework?


Android :: Package Manager Get Size Of An Installed Package?

Feb 12, 2009

i work on custom Application Manager and try to get the disk usage of installed package. So PackageManager.getpackageSizeInfo was removed from SDK on 0.9->1.0 update android.content.pm. PackageStats(String pkgName)(cacheSize, codeSize, dataSize) returns always "0" Size of phys. file (java.io.File) in "/data/app" seems wrong/not completely. Has anybody any solution to get the total disc space used by an installed package?

View 4 Replies View Related

Android : How To Access Another Third Party App In Droid?

May 20, 2010

How to access another third party application from my application in android?

View 1 Replies View Related

Android :: Can't Access Package Private Fields In Android.widget Package?

Oct 7, 2010

I'm attempting to override an Android View class to tweak the functionality just slightly. But I need to modify a field that does not have a setter method. I've placed the subclass in a package called android.widget. Why can't I access any of the package-private member fields? I notice that the compiler says they "cannot be resolved," rather than not being accessible. Does this have something to do with how Android.jar is built?

View 2 Replies View Related

Android :: Way To Go About Learning Droid Framework?

Sep 21, 2010

I just started looking at the android framework and was wondering what was the best way going about getting good at it. I started with a text game and created a simple bubbleWrap game next. But am not sure if I'm going about it the right way now, so I thought I'd ask some of you more experienced Android people out here. Are there any courses online that would be beneficial? Any books that helped y'all?

View 3 Replies View Related

Android : Need An EventBus Framework For Droid

Mar 13, 2010

Can anybody recommend a good framework for handling events in Android? These would be business logic events like UserUpdatedEvent. I am looking for something similar to the EventBus provided by GWT-EVENT but for a JVM that supports weak-references.

View 1 Replies View Related

Android : Need Droid-Framework Code

Nov 11, 2010

I am new to android.I have Downloaded the android-sdk and i have installed it.it is working good.now I what to now where we can locate the android Frame work code.I searched all through the android sdk I am not adle to find it.Can any one help me where the android framework code is located in my system.

View 1 Replies View Related

Android :: Want Block Service Like Network Of 3rd Party App In Droid?

Oct 29, 2010

I want to block access to any service like Network for particular 3rd party application.

For e.g. Email app, I want to block network usage form my application.
or any game or app using network for advertisement, I want to block access to network for that app

so how can i get permission list and block permission from my application?

eg i want to change permission of app A by app B.

View 1 Replies View Related

Android :: Where To Get Droid Framework Java Sources?

Aug 20, 2010

Where can I get all latest Android Java framework classes sources?

View 4 Replies View Related

Android : Want To Add An Aidl File In Droid Framework

Feb 15, 2010

I want to add an aidl file in android framework so i can import it in two applications(one binds remotely to the other).How can i do that?

View 3 Replies View Related

Android :: Debug Droid Framework With Eclipse And Emulator?

Jun 10, 2009

I need to debug android's java framewoek layer like telephony so how to debug that.

View 3 Replies View Related

Android :: Reuse Default Droid Contact Search In 3rd Party Application - Possible?

Jul 14, 2010

At the moment I am trying to evaluate if it is possible to reuse the android contact search in a 3rd party application.

I got the problem that I have to implement a contact list/picker including a filtering possibility for the contacts list. That means that the standard android picker opened by an intent does not help me. So I decided to implement the list/picker on my own which is not that difficult. But I need to be able to offer the android search dialog in my own implementation as well.

So is it possible to reuse the standard contact search mechanism in an own application? (the contact search available e.g. in the default contact list) Or do I have to implement this one on my own?

View 1 Replies View Related

Android :: Images In Droid.R.drawable Considered Safe For Third-party Developers To Use?

May 19, 2009

Are the images in android.R.drawable considered safe for third-party developers to use?

View 3 Replies View Related

Android : Launch Third-party Droid Apps I Installed Through Intent Directly?

Nov 15, 2010

My question is how to launch the third-party android applications I installed through Intent directly?

View 2 Replies View Related

Android : Want Access To Droid Device Menu In Robotium Framework?

Nov 21, 2010

I would like to know is there any way to access to Android menu with help of Robotium framework ? (http://code.google.com/p/robotium/) This used in Android test applications. This is very powerful framework! You just include it in your test application source code. I can't found any way to access to Android device menu .. I want to programmatically select GPS activation line from menu ... Is it possible with Robotium ?

View 2 Replies View Related

Motorola Droid :: Charging Droid With 3rd Party Chargers / Screen Wierdness

Nov 27, 2009

I've noticed some odd behavior when using a wall charger for an Amazon Kindle 2. The moment I plug in the charger it's as if there are fifty phantom fingers touching the screen repeatedly. I've heard others report similar behavior with various other non-moto chargers.the Kindle charger charges the Droid just fine, as does my Blackberry charger that I use at work. I just plug them in and immediately turn the screen off. I've been using those for 2 weeks and haven't noticed any ill effects as long as I turn the screen off immediately after plugging in the charger.At first I thought that any standard USB micro charger with the proper voltage should work without any issues. That is obviously not the case, but it leaves me wondering what causes the odd screen behavior. Are some chargers just not shielded properly? Is it EM interference activating the touchscreen? Or is the moto charger just special somehow? Maybe some EE type out there can figure out or explain what the deal is with this.

View 1 Replies View Related

Motorola Droid :: Charging With 3rd Party Cables?

Nov 8, 2009

I purchased some additional microUSB cables for use with my Droid at work and home so I'm not carrying one around all the time. I've found that the third party cables will not charge the Droid when plugged into the AC plug. The cable supplied by Motorola works fine, so I know it's not the AC plug. The cables do work as data connections when plugged into my laptop. Did I just buy crappy cables, or is there something special about the Moto cable?

View 48 Replies View Related

Motorola Droid :: What 3rd Party Programs Do I Need To Root?

Oct 6, 2010

i am seriously considering joining the root party, but the number of 3rd party programs needed seems daunting. can anyone compile a list of all the software/download links you need to do it correctly? i have already read the following threads and am pretty set on using BuglessBeast 0.5 as my new ROM.The Official One-Click Rooting Solution for Droid Thread LATEST: V2.0.4.Painless and Thorough ROM Switching in Under an Hour.i know those threads mention Motorola Drivers, Soup or Root, ROM Manager, Nandroid, CW Recovery, and a few other programs. which ones do i absolutely need, and is there possibly an easier way than the one posted above to load BuglessBeast after i am done with the root? when i first started looking up info, i figured rooting would be the hard part; now it appears that loading the new ROM is much more complicated. i know there is alot of info already posted here, but sifting through it all for the useful bits is an arduous task. please be nice to the newb!

View 18 Replies View Related

Motorola Droid :: Where To 3rd Party Apps Located?

Apr 3, 2010

I want to back up all the free and paid apps in my Moto Droid, but can't seem to find where they're located using Astro. Are they in the phone memory? On the SD card? Regardless, I can't find any of them.

View 8 Replies View Related

Motorola Droid :: Framework-res.apk Won't Apply

May 28, 2010

whenever i try to apply the framework-res.apk in metamorph it just gets stuck for up to 30 minutes before i just stop it. I have tried on 3 different themes and none of them work. Why is this?

View 6 Replies View Related

Motorola Droid :: Get Rid Of Repeating SMS Notifications With 3rd Party Apps?

Nov 8, 2009

I just downloaded the Handcent SMS app and really like it. However now when I get an incoming message, I get two quick notification alerts back to back. is there a way to get it back to just one notification alert while keeping Handcent?

View 2 Replies View Related

Motorola Droid : How To Change Framework-res / Launcher?

Jun 10, 2010

Ok, so I've made changes to the status bar and other items, re-zipped the folder, placed it on the sd card and used the following command to update the file using terminal emulator..

View 9 Replies View Related

Motorola Droid :: Other Party Hear Me Speaking From Tunnel On Calls

Dec 31, 2009

Does anyone else experience poor sound quality on the other end? People always complain that it sounds like: I am in a tunnel, underwater, or on speakerphone. When none of the above are true. I hear everyone fine, but for them it is not mutual. My phone is a droid on verizon.

View 6 Replies View Related

Motorola Droid X :: Tether / Hotspot Via 3rd Party / Bandwidth Limits?

Oct 31, 2010

When you use tether or hotspot via 3rd party or rooting are you still bound by the 2gb or 5gb limitation?

View 3 Replies View Related

Motorola Droid :: Incoming Call - Can Connect But Can Not Converse With The Other Party

Aug 3, 2010

I am having an intermittent problem with my phone. Some time when I receive a call, I can connect, but can not converse with the other party, yet the call contiues. I have to hang up & call the person back . This is only a problem with incoming calls.

View 5 Replies View Related

Motorola Droid :: Music Strarts And Stops On Its Own - And Party Shuffle Too

Aug 19, 2010

Stock 2.2 and player. music strarts and stops on its own............and party shuffle too

View 6 Replies View Related

Motorola Droid : When Running 3rd Party Apps Similar To Those Installed

Jan 7, 2010

I have a few apps running which are similar to installed ones, eg K9-Mail Beta, Quick Settings and ENotify. Since they are doing similar things to the installed ones, are there certain things I must do if I have them running, ie should I be trying to turn off the installed ones?

View 2 Replies View Related

Motorola Droid X :: Revolution Themes - No Dock Only Getting Framework

Oct 11, 2010

I am rooted without ROM the only thing I have its 928DroidBlackGlassX-DroidX-OTA2315-DeOdexEERR-THEME, but when I install any other theme I don't get the dock, like when I install the fabulous revolution, I only get the framework. I don't get the dock, why?

View 2 Replies View Related

Motorola Droid X :: 10% Battery In Themed Framework Apks?

Nov 1, 2010

Why did I do this? Well, I wanted to use Fightspit's circular battery icons. The DX's icons only change every 20% which is kind of useless for the icon set I wanted. It's easy to swap out icons (via 7zip) but adding icons creates a lot of problems. This forced me to come up with a workaround. Here's the process in case anyone else has been trying to do this.

---------------

Whats needed:
ApkManager
The themed framework-res.apk file
Extract framework-res.apk from any themed zip file
Or adb pull it from your THEMED phones system/framework directory

Stock framework-res.apk file
Extract this from TBHs deodexed 2.3.15 leak
Or adb pull from your STOCK phone

Batter and charging icons
I use 0, 5, 10, 15, 20, 30, 40, 50, 60, 70, 80, 90, 100 battery icons since the DX only reports battery readings in 10% increments.
I have 20 charging pngs. You can have more or less but youll have to modify some XMLs (see below) to get them to work.
You can use UOT Kitchen to generate battery icons. There are, also, other icons floating around on XDA. Just be careful to use HDPI compatible types.

The attached decompiled XML files (these go in the DECOMPILED drawable-hdpi folder along with the batter icons). Edit these if you add or remove pngs.

7zip or Winrar (I prefer the former for modding .apk files)

Working knowledge of DOS (optional) or patience

DIRECTIONS:
Stock framework-res.apk prep
Extract ApkManager (you can put this anywhere. I have it on c: to make things easier in DOS)
Put your STOCK framework-res.apk in the place-apk-here-for-modding folder
Run the script and DECOMPILE (Option 9) the apk. The decompile folder will be in the projects folder.
Delete the STOCK framework-res.apk from the place-apk-here-for-modding folder
Move the DECOMPILED framework-res.apk folder from projects into the main ApkManager folder. This will be your repository of stock files that you will need later

Themed framework-res.apk prep
At this point you should have NOTHING in your modding folder AND project folders
Put your THEMED framework-res.apk in the modding folder
From the ApkManager root folder, DELETE the log text file
Run the script and DECOMPILE (Option 9) the themed apk.
After the decompile is done, close the script and open up the newly created log.txt file
In the log youll see some .9.png errors in /res/drawable-hdpi folder. These are files that were not decompiled properly because some required information (9patch) was missing. Each of those 9.png files will be decompiled (wrongly) and then renamed to .png. Therefore for every SINGLE 9.png error file, there will be one USELESS .png file. NOTE: If you try to recompile with these broken 9patches, the resultant apk WILL cause you to bootloop.

Lets pause here for a bit:
All the 9.png files listed in the error log, as stated before, are BROKEN. The decompile script aapt (apktool) decompiles these broken 9.png files, makes a copy of said files, and renames the copies as *.png.
So, there are, actually, two broken files (one 9.png and one .png) for every error in the log. You have to delete BOTH of these files and replace them with healthy files from the stock framework we decompiled earlier. If you skipped that, go back up and do it. The awesome thing is that there are hundreds of healthy 9.pngs and even more .png files in your THEMED framework decompiled folder. Locating each of this files (sometimes 30 x 2) is a pain. My workaround is to use good ol DOS. You dont have to do the next few steps with DOS but you have to reach the same end.

Enter the dra¦ er decompiled framework-res folder in /projects.
Copy/mark the error 9.pngs into MS Word (or whatever you use). Keep Word and DOS open till were done with this part.
Using find and replace do the following:
Copy everything before the 9.png file and find/replace that with del.
Copy everything after .png and find/replace it with NOTHING (dont type nothing)

The outcome should be:
del first_example.9.png
del second_example.9.png
and should contain all the broken .9.png files

In DOS, cd to decoded frameworks folders drawable-hdpi folder
Copy and paste the contents of the Word file into DOS to delete all the broken 9.png files.
Go back to MS Word and find/replace .9.png with .png

The outcome should be:
del first_example.png
del second_example.png
and should contain all the broken, renamed .png files.

If you didnt close the DOS window, just copy and paste the modified contents of your Word folder into DOS to delete all the broken .png files. If you closed the DOS window, shame on you :P. Youll have to open DOS again and navigate back to the decoded frameworks drawable-hdpi folder first.
You should have removed both the BROKEN .9.png and .png files from the decompiled frameworks drawable-hdpi folder
Head back to MS Word one last time and edit the files to look like this

copy first_example.9.png c:APKManagerprojectsframework-res.apk
esdrawable-hdpi
copy second_example.9.png c:APKManagerprojectsframework-res.apk
esdrawable-hdpi
etc.
The c:... will vary depending on where you put your APKManager folder. If you put it somewhere else, copy the location from your address bar.

Head back to DOS and cd to your STOCK folders drawable-hdpi folder.
Copy the contents from MS Word into DOS and this will copy the healthy .9.png files to your THEMED decoded frameworks drawable-hdpi folder.
You can close MS Word and DOS at this point.
Replacing the battery icons and xml files.
Navigate to your THEMED decompiled frameworks drawable-hdpi folder.
Paste your new battery icons into this folder (overwriting all the existing ones). The files to look for are stat_sys_battery_X.png and stat_sys_battery_charge_animX.png
You should also replace ic_lock_idle_charging and ic_lock_idle_low_battery (I use the fully charged and the battery unknown pngs respectively)
Replace the xml files with your modified ones. The files to replace are stat_sys_battery.xml and stat_sys_battery_charge.xml.

Rebuilding your framework-res.apk
At this point you should have your THEMED framework-res.apk in the modding folder and your THEMED, decompiled framework-res.apk folder in the project folder (with your new png and xml files.)
Go back to the APK Manager main folder and run the script.
Compile the apk (Option 11)
You will be asked if this is a system apk. Choose YES.
You will be asked if you want to copy all unmodified files from the oringal apk. You can choose NO.
Sign the APK (Option 12).
Go into the modding folder, you will find a signedframework-res.apk
Open (DONT EXTRACT) signedframework-res.apk with 7zip or Winrar.
Open (again, DONT EXTRACT) the themed framework-res.apk (also in the modding folder) with 7zip or Winrar
Delete, from within 7zip, the META-INF directory and AndroidManifest.xml file from signedframework-res.apk
Copy, inside 7zip, META-INF and AndroidManifest.xml from your original themed framework-res to signedframework-res.apk Dont unzip anything.
Still in 7zip, navigate to /res/drawable-hdpi in both the original, themed framework-res.apk and signedframework-res.apk. Delete everything BUT the new (stat_sys_battery stat_sys_battery_charge) xmls and battery and charging .pngs from signedframework-res.apk. If you used my files, there will be only 40 items left.
Finally, copy (still in 7zip) everything BUT stat_sys_battery.xml, stat_sys_battery_charge.xml, and the battery and charging .pngs from the themed framework-res.apks drawable-hdpi folder to signedframework-res.apks drawable-hdpi folder.
Your modified framework-res.apk is ready to be pushed to your phone.

Putting the files on your phone.
Either push signedframework-res.apk to your phone via adb or
Create an update.zip for use with clockwork recovery. You can also take the themes zip file and replace the framework-res.apk as well. (I like this). Or you can just make one if you like.
Reboot your phone if you used adb and welcome to 10% heaven.

Im hoping our themers will incorporate the 10% hack into their themes. For them its only a matter of replacing the (2) xml files before compiling the theme.

Ill try to answer any questions as best I can.
Also, please donate to the DEVs (not me!) if you can. This little task took me almost a week (after work and no SSF4 for me ) to figure out. Imagine how much work is required to bring ApeX, RubiX, ZapX etc¦

Grab the Apex rEVO and NexTheme mods and files at:
REVOlution theme with 10% Circle Battery MOD and NexTheme 10% Circle Battery Mod.

Decompiled XML files

View 27 Replies View Related

Motorola Droid X : How To Upload Stock Services.jar / Framework-res.apk?

Sep 21, 2010

If anyone can upload the stock services.jar and stock framework-res.apk from their 2.1 Droid X (it's in the /system/framework folder), I will be forever in your debt. I (stupidly) overwrote mine when installing a theme and now I can't update to 2.2 with my modified files. I know I can flash the .sbf, but I am trying to avoid that.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved