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.

Android : Need An EventBus framework for droid


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 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 :: 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 : 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.

View 2 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 : 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 :: 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 : 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 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

Motorola Droid X :: Ninja Morph - Replace Image In Framework

Nov 15, 2010

maybe im having a brain fart and cant remember a step im missing. I'm trying to replace an image in the framework. I have the new image I want on my sd card in a folder called "theme" and it is a .png image. I go into ninjamorph, newproject>system>framework>framework-res.apk>res>drawable-hdpi>scroll to the image I want to replace and select it. it says select the image you want to replace it with and sends me to my sd card I go to my theme folder, and theres no images there... the .png doesnt show up. I have also tried putting it in my galley, root of the sd card, several places. and none of them show up... I ont get it... did I miss a step somewhere?

Ive done it before but its been a while so maybe im forgetting something? (oh and to add to the confusion, three other .png images I have in there do show up, just not the ones im trying to swap.) only difference I can see between the .png's im trying to use and .png images that do show up, it that the ones that show up are ".png" and the ones that are not showing up are ".PNG" I dont see why caps would make a difference, and I cant seem to get them to not be caps...

View 2 Replies View Related

Motorola Droid :: Constant Force Closes After Editing Framework-res.apk

Jul 15, 2010

I am running Pete's virgin deodexed FRF84B, with Chevy's LV 1.0 Ghz kernel.

I edited .png files in framework-res.apk; the sdcard preparing icon and also the usb connected icon.

I used this method:

Use terminal, since ADB doesn't work.
su
cp system/framework/framework-res.apk /sdcard

(edit files on your computer opening the framework as an archive using 7zip. put the file on the sd card)

assuming that you aren't in SU anymore..

su
cp /sdcard/framework-res.apk system/framework
chmod 644 system/framework/framework-res.apk
sync
reboot

(found here: Best way to edit/mod "framework-res.apk" in FROYO? - Droid Forum - Verizon Droid & the Motorola Droid Forum)

They are not the .9 png files, and the icons changed without problem, but immediately after a reboot almost every program on my phone is force closing.

View 24 Replies View Related

Android :: Is There A UI Framework?

Aug 15, 2010

When I write web apps I rely on frameworks like jQuery, likewise in WinForm I use DevExpress's UI.Is there a UI framework with fancy looking buttons, graphics, transitions etc etc that I can rely on to build great looking apps ?

View 1 Replies View Related

Android :: What Is Framework?

Jun 3, 2010

What an Android Framework is? What does it do? How should I answer? Also what is the role of API's such as Activity Manager, Location Manager etc in the Framework?

View 1 Replies View Related

Android :: Which Javascript Framework?

Oct 18, 2010

I am going to develop an app runs on both Android and desktop, so UI will be built on html , javascript, css. User experience is very important, I am looking for a javascript UI framework has great UI, animation and response time. A great UI framework but slow (cause user annoying) is not acceptable in my case.There are many javascript frameworks available. Can you guys share the experience of how they behave on Android ?

View 6 Replies View Related

Android :: Security Framework Available?

Sep 10, 2009

Which security framework is available or can be ported to android ?

View 3 Replies View Related

Android :: How To Add New Method In Framework?

Jan 25, 2010

After that I make update-api, then make successfully.the problem is when I develop in eclipse, the eclipse won't recognize the new getBitmap method and won't get apk build.Is there anything else I should do to let eclipse work with the new method?

View 4 Replies View Related

Android :: Version Of .NET Framework

Dec 22, 2009

Is anyone aware of any projects out there to port a version of the .NET framework to the Android platform, kind of like Mono.Touch?

View 4 Replies View Related

Android :: Bug In Framework Connecting To Url?

Apr 11, 2010

I tried many different ways to connect to this url link but android keeps crashing saying the stack is corrupted, take a look. If anyone got the time on their hands to give it a try or give me some tips would appreciate it! :) Link does work try it on winamp or some music app...

Log Output: 04-11 10:30:17.908: DEBUG/dalvikvm(15329): [ 04-11 10:30:20.119 15329:0x3beb F/unknown ] 04-11 10:30:17.908: DEBUG/dalvikvm(15329): stack corruption detected: aborted / Used code to connect: URLConnection cn = null; URL url = new URL(_url); cn = url.openConnection(); // after openConnection() it crashes

View 5 Replies View Related

Android :: How To Replace Framework's AP

Dec 30, 2009

I would like to write a standalone screen locked AP of Android to replace the default one(androidframeworkspoliciesasephonecomandroidinternalpolicyimplLockScreen.java) Does anyone know how to replace the default AP of framework? Is it possible to replace framework AP without modify any framework code?

View 2 Replies View Related

Android :: Implementing A Framework ?

Nov 16, 2010

I have 2 apps which should both contain some similar activities.... Now I decided to write a new app, some kind of "framework", which contains these activities, to avoid to write the code twice. How can I use these activities in my other 2 apps ? Whats the common approach for doing this? Adding the "Framework app" to the build path of the two other apps won't work.....

View 3 Replies View Related

Android : Need Best Framework For Phone

May 20, 2010

I'm new in android ,some body help me on,what is the best framework for android? is there any eclipse Plugin?

View 6 Replies View Related

Android : Bluetooth BUG In The Framework / How To Fix?

Nov 15, 2010

I have a problem with bluetooth scan mode.

View 3 Replies View Related

Android : How To Add Permission In Framework?

Sep 13, 2010

How can I add some permission in framework , is it any way to do this ??

View 2 Replies View Related

Android : Way To Add Resource In Framework?

Sep 10, 2009

I have requirement to implement button in lockscreen. So i have added new image here *frameworksasecore es drawable.* And i have modified the Keyguard_screen_lock.xml. Here i have added the ImageButton view. And i have even modified the strings.xml to display different string. As in the following discussion it has told like this. *You must not add public resources because it would change the public API and thus make your Android phone/device potentially incompatible with other Android devicesYou must not add public resources because it would change the public API and thus make your Android phone/device potentially incompatible with other Android devices.* ** *Please find the previous discussion in the bellow link*

View 2 Replies View Related

Android :: Augmented Reality Framework?

Dec 21, 2009

I am planning to develop an augmented reality application for Android phone. Does anyone know if there is any existing framework for augmented reality which could be used for such applications?

View 11 Replies View Related

Android :: Using Instrumentation Testing Framework

Oct 17, 2010

How do I use instrumentation testing framework to test flow between activities? The example goog gives is for one activity only.

View 4 Replies View Related







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