yashsingh1/xdaforums huggingface dataset:
[Nook Color Themes and Apps] elessarelfstar:
So, I found the images for the center nook menu button in system/framework/framework-res.apk/res/drawable-mdpi.

The images are called stat_arrow_down.png and stat_arrow_up.png

I know that if I simply delete them or replace them, the menu will still pop up, right? I've dug around in some of the jars, etc, and I can't figure out where to go from there.

Can anyone point me in the right direction?
[Epic 4G General] Kitteh298:
Heylo! I have started going to the ymca and doing mile runs I am looking for an app that I can time my laps and get the total time out of them and save those times as text, etc.

Suggestions? I'm using the app; Stopwatch And Timer right now but i cant save my times..

Lastly, thanks! ;)
[Epic 4G General] crawrj:
Ultrachron can send to email.
[Epic 4G General] Kitteh298:
ahh cool its free, downloaded. Will test when I have free time :D
[Epic 4G General] Kitteh298:
Hm well this app is nice. But only email logs.. kinda lame.
[Epic 4G General] crawrj:
This one has what you are looking for and is only $2.99. Stopwatch +
[Epic 4G General] crawrj:
OK last one. StopWatch by coolcode.org is free and says Save/Copy/Send Result. Haven't tried it though.
[Epic 4G General] Kitteh298:
hehe i was all about spending like 5 dollars on an app that could save logs but that has really slipped away. ill try the free one, thanks for being here, :)

that free stopwatch is awesome, though i did like how ultrachron would say how long your lap was. thanks a bunch :))
[Defy Themes and Apps] rznag:
DefyBatt & DefyLivepaper - Battery Widget & Livewallpaper for Defy scaling in 1% Step

I wrote a Battery Widget for the Defy scaling in 1% Steps.

It`s quite simple at the moment, but was just for me.

So, if someone wants to have it, here`s the download:

http://db.tt/v8WROJt

Version 1.1:

-More Styles (Numbers, Numbers + %, Text)

-More Colours

Version 1.2:

-Choose Size

Screenshot (Widget on left side middle): 58%

If you like to get automatic updates or to donate something to me, i have a version for 0,50€ in the Market.

https://market.android.com/details?id=com.rznag.deffbatt

But will also update this file here, if i have a new version available.

Now also as livewallpaper:

URL=http://www.pic-upload.de/view-8817036/snap20110208_174901.png.html][/URL]

Link to apk:

Dropbox - DefyLiveWallpaper.apk - Online backup, file sync, and sharing made easy.

or as qr:

marketlink: https://market.android.com/details?id=com.rznag.liveDefy
[Defy Themes and Apps] Homesicktexan:
I'll give it a shot. Any special way to install it?
[Defy Themes and Apps] rznag:
No, just download. If Dropbox cuts the .apk you`ll have to add it manually.

Happened to some people on german forum. Install it like every other app.

Add as widget to homescreen.
[Defy Themes and Apps] Perilla_:
Can you post a screenshot?

Thanks you.
[Defy Themes and Apps] Homesicktexan:
It did drop the .apk extension. What a great widget. Thanks for making it small and unobtrusive!
[Defy Themes and Apps] Homesicktexan:
It's just a tiny number with a % symbol. You can choose black or white text. It's smaller than the numbers in the status bar but not by much.
[Defy Themes and Apps] zorgblaubaer:
I did something similar, but as a notification instead of a widget. If anyone is interested: http://dl.dropbox.com/u/1464041/MotoCharge.apk

The images are taken from this thread: http://xdaforums.com/showthread.php?t=724778
[Defy Themes and Apps] chaihg:
Guys you built such wonderful apps and never oublished it. Both of them are beautiful. Thanks again
[Defy Themes and Apps] martinml:
How does it work? I mean, is the % real? Or does it estimate it, like Battery Left?

Edit: okay, I'll answer myself, you're using /sys/class/power_supply/battery/charge_counter. I didn't know about its existence! Great work! I wonder if we could modify the original Motorola APK to read that instead of /sys/class/power_supply/battery/capacity, so we don't need any extra software, hmm...

Edit 2: I was curious and searched. There seem to be two places where "capacity" is used. They are in /xbin/ssmgrd and /bin/charge_only_mode, both binaries. Would it be possible to hex-edit the "capacity" string to "charge_counter"?

Edit 3: whoops, somebody already thought of this. I'll take the discussion there so I don't hijack your thread :)
[Defy Themes and Apps] Perilla_:
Don't autoupdate, right? I loaded at 24%, looked the file and was 24. Some tests later, I looked the file again and was 22. It still at 24.

Thanks for it, it's a first step ;)
[Defy Themes and Apps] gdodinet:
This is nice. This is a bit small for me though. I'd love it if you could make text color, opacity and size configurable as well as provide an option to not show the % sign. Thanks.
[Defy Themes and Apps] rznag:
New Version.

More Styles.

More Colours.

See Post 1.
[Defy Themes and Apps] rznag:
New Version

-Choose Size

See Post 1
[Defy Themes and Apps] chaihg:
Great work as I said before. But here is some feedback to keep you chewing :)

I have no complaints regarding the widget that shows the percentage on home screen, but the other widget in the notification bar looks really good but works less. It gets stuck at times and we have to launch it again to check if its doing fine. After a long standby, it shows "FULL" even though the battery is in very low state. We need to launch the app from notification bar to get it showing the real % again.

Thats it for now. :)
[Defy Themes and Apps] gdodinet:
Thanks ! Looks great now :)

Actually i experiment the same issue with Circle Battery widget. However i just realized i hadn't excluded it from the task killer (didn't use any with froyo on desire but seems like i need one with 2.1). If you're using a task killer, maybe this is worth checking.
[Defy Themes and Apps] SimboXXX:
Great wgt, thanks.
[Defy Themes and Apps] chaihg:
I never used a task killer after knowing what they do to your apps. :)
[Defy Themes and Apps] karx23:
Thank you for this nice widget.

Although my phone says it's fully charged, the widget says it's only 94%. I wonder what motorola is doing???

Also, your widget goes to 101% when fully charged. I don't know if it's a phone's bug or just your wigdet.

Could you also add some features when press the widget? Like show the battery use?
[Defy Themes and Apps] Alessandro71:
Can you add some kind of battery charging monitor? I mean, when the phone is docked and charging you can't see the battery level unless you reach the phone and turn the screen on. Can you use the notification led such as when charging it blinks red and then steady green once fully charged?
[Defy Themes and Apps] rznag:
1. I know, thats motorola related. The moto batterydisplay shows full when you reach 95% and switchs to full. My widget shows all the time the real value.

So it`s no bug in my widget, it`s motorola. Perhaps it`s to protect the battery in case of overcharge ?!

2. It`s planned to add this feature, but at the moment i`m ill. So you have to wait.
[Defy Themes and Apps] karx23:
Ok thank you!
[Defy Themes and Apps] sirdamnedone:
Get well!

And make a notification bar solution, this is what i missed(too)... great app btw. :)
[Defy Themes and Apps] someAZdude:
Just bought this on the market. It is nice to have a working battery indicator for my defy. Thanks!
[Defy Themes and Apps] hohosanta:
Hi

Can you make same app with just black colored number Which means just "77" at the notification bar. Thank you :)
[Defy Themes and Apps] sam352:
Good APK =O I download it!
[Defy Themes and Apps] sp8y:
Been using this for a day or two & I'm very impressed with it - much more accurate than the basic Motorola one.

As mentioned above it would be nice to have an option for it to be placed in the notification bar.

Keep up the good work & hope you feel better soon :)
[Defy Themes and Apps] mrt3k:
Thanks for the tool.

But: It shows just charging? So its no use as long as I use the phone in daily life, without havig it plugged into the charger? Did I get it correct?

Sorry, but in my opinion this is not too useful - is it really not possible to program it also for the usual discharging time?
[Defy Themes and Apps] SimboXXX:
You misunderstood (ok, it wasn't 100% clear) - try it, it works perfectly.
[Defy Themes and Apps] bobbyphoenix:
Yeah it's a bit confusing with saying it only shows charging. I gave it a try, it shows exact amounts either way. I plugged it in, and it showed 50%, then 51%, so it does show charging amounts, but then I unplugged it, and it stayed at 51%. I played with some apps, and then went back to homescreen, and it dropped to 50%, so it shows discharging too. Maybe you should change that. Just say "Shows exact battery amount" or something. Great app. If it keeps accurate I will surely donate, or buy it from market. Thanks so much. :D

EDIT 1-31-2011 - So I'm also using Mini Info for disk use, but it also shows battery, and I noticed Moto goes up to the next value at 5% intervals (I know overall Moto uses 10% invervals, but getting to the next one they use 5%). I mean If I watch it charge your indicator will show 54%, and Mini Info will show 50%, but when yours hits 55%, Mini Info goes right to 60%. Why Moto why? Cheat me of 5% battery! LOL Thanks again.
[Defy Themes and Apps] joey198209:
Works great dude!! Thnx
[Defy Themes and Apps] izzat001:
Thanks!!!
[Defy Themes and Apps] rznag:
You misunderstood it.

I edited the starting post. It was ment in this way that only a string shows charging, when it`s charging.

The Batterylevel is shown ALL the time, doesn`t matter if charging or discharging. When you use your phone, the gui shows a decreasing batterylevel, when you charge it shows the increasing batterylevel PLUS a string charging in lower sizes. If you choose a bigger size the string doesn`t fit the widget and you only see the batterylevel and no string, but if the batterylevel changes the gui also does. So you see in realtime every % that is loading.

I thought if it`s discharging there is no need for an extra string showing that it is discharging.

The main task of this widget is not to show if your phone is charging or discharging, but to show the accurate batterylevel all the time.
[Defy Themes and Apps] Step666:
Nice little widget, thanks for making it available.

Just one small point (not a criticism, just an observation) - there doesn't seem to be any difference in colour between the white and grey text on my handset...
[Defy Themes and Apps] gramps50:
Great app DefyBatt 1% I don't know if this is possible but it would be great if would show as a notification and replace the Moto one.

Thanks
[Defy Themes and Apps] Borowik13:
Great app, thanks for your great work.
[Defy Themes and Apps] borisxiao:
I think switching the font to Clockopia would make the looking far better .
[Defy Themes and Apps] kenninaz:
hi,

the widget is displaying correctly... except that it charges to over 100%??? i plugged it in and forgot about it for awhile... now it's at 118%!
[Defy Themes and Apps] rznag:
The value is just calculated by the system itself. If you have flashed new, took battery off or something else the value for "first" loading is guessed by remaining voltage. So it shows for example 50%, but it only is at 24%. If you then charge it, the system shows 100% but realbatterylevel is 80%. So it`s possible that it can show 118%.

If you have charged it to maximum, the system stores this value and from now on it shows every time only ~100% maximum.

So this is not a error, it`s just a incorrect value because of not configured battery.

So if you take it now off the charger, it will jump to 100% and for the next charging you will stop at ~100%. It`s ~ because it can be +/-2.

Would be nice if the battery could store 118%, but thats sadly not possible.
[Defy Themes and Apps] breezasib:
What do I need to change in the framework or services jar for circle mod to support this 1% functionality?
[Defy Themes and Apps] rznag:
You can`t get 1% functionality by changing framework or services.jar.

I don`t know what you exactly mean, but if you mean circle styled widget, than you have to write your own, wait until i have a circle style what i`m also working on, or write to the owner of the original circle mod that he inserts the code to read also the motorola variable for battery and not just read the batterylevel the android way, like it`s said in the api.

And if you want all batteryapps to work i think it`s just possible with a kernelmodul. I`ve tried also a bit with this around but did not get a good solution until now.
[Defy Themes and Apps] breezasib:
I meant I can get the circle battery indicator to replace the normal android battery in top right by just decompiling and recompiling the framework-res.apk. That will only do the normal 10% stepping. Thought I would be able to decompile the services.jar to change the the code to use the 1% method.
[Defy Themes and Apps] rznag:
Perhaps it`s possible. Haven`t seen the code for battery in services.jar, but never decompiled one and looked for it.

Have you successfully decompiled and compiled a services.jar and changed code in it ? Not just hexedited.

Normally it`s done with a broadcast receiver which captures battery_changed events and if he catches one, he updates the gui. So i don`t know if the code for this is really in services.jar. Perhaps services.jar just shows initially the view for the battery but it`s updated by another broadcastservice.

Haven`t really investigated in this. Perhaps someone else knows more about this or has successfully changed code in services.jar.

I will have a look at it, but not at the moment. Too much other stuff to do.
[Defy Themes and Apps] peetr_:
That's definitely right, if you edit framework-res.apk and maybe services.jar, you get it 1% running in the right top corner, with the icons you like. Just take a look on other phones. I had it this way on X10 mini.
[Defy Themes and Apps] martinml:
Some help: http://xdaforums.com/showpost.php?p=11354820&postcount=10
[Defy Themes and Apps] NPeete:
Option to start Power Usage on click

Hi,

Great widget, missed function until I've found it now.

I just have a little request for the developer to consider: It would be great if there were be an option to start Power Usage Statistics when clicking on the widget. Now I use the Beautiful Widget's Battery indicator where the following intent is starting for the statistics:

com.android.settings/.fuelgauge.PowerUsageSummary

by the action: android.intent.action.POWER_USAGE_SUMMARY (got it by logcat)

Thank you in advance even if you think about it.
[General Topics] macguyvok:
I'm a software developer by profession, but I've been writing django backed websites for years now, and given some recent issues with my Captivate and some custom roms, I've been thinking about building a site for custom roms.

My thoughts basically boil down to this:

- Version tracking of roms is good

- Central place for files related to the rom is good (Boo MegaUpload!)

- Searching Roms by Device is hard (example: My friend has a backflip. XDA has no roms for it, AndroidForums has 4. Google should be a last resort, not your only option)

- Metadata is useful (base os version, base rom, etc.

- Comments and rating are useful.

I have a database layout almost done, and I see no reason this can't be for WinPhone 7, Android, Symbian, etc, etc. But before I go on, I wanted to know if people had an interest in this? I would want to have support for Rom Manager's update system, and anything equivalent for Phone7, etc.

I suppose, I should also mention I co-locate two servers already, and have 1TB of bandwidth a month on my 2TB server... so I should be good for a little while before running into issues...

Thoughs? Comments?

--M
[General Topics] Omen87:
That would be absolutely amazing.
[General Topics] macguyvok:
That's the kind of reaction I was hoping for.

I'll flesh out the backend some; see what comes of it. Not much of a graphic designer, but that'll come later.

-M
[General Topics] roflha:
Definitely worth it. Nothing against this forum, but sometimes it can be tricky to find the ROMs you are looking for, scattered amongst the topics.
[General Topics] Electrolight:
Which is why I think this guy has a great idea and should consider archiving live wallpapers, boot animations, etc anything for customizing devices.
[General Topics] macguyvok:
Hadn't considered doing more than roms... might. (Most likely would just be a file upload with attached category... and then the ever popular search function.)

Depending on how work goes today, I might just start on this, and get the backend models written.

-M
[General Topics] quake101:
I think this is a great idea. :)
[General Topics] ladywings:
This is a great idea!
[General Topics] BQ Ninja:
Definitely a cool idea, although if you'd planned on hosting the ROMs, that TB of bandwidth will run out pretty quickly.
[General Topics] souljaboy:
been there , done that

http://www.techeye.net/software/htc-threatens-rom-site-with-legal-action
[General Topics] the_scotsman:
Plus the fact you'd be looking at a LOT more than 1TB per month if the site was even partially popular...
[General Topics] snellc001:
Great idea if possible.
[General Topics] flxdms:
It would definitely be amazing.
[General Topics] qman66:
any ideas for the site name?
[Bada Software and Hacking General] sabianadmin:
I would like to begin an initiative to port the Android Dalvik JVM to Bada. This would open up access to Android applications on the Bada platform and even allow for the creation of hybrid applications.

If you are interested in the project please put forward your advice and offer your assistance.

I am personally quite busy with other side projects but would love to create a bit of momentum and get this off the ground.

Hope this finds you all well.

Comment away :-)
[Bada Software and Hacking General] stephenlb4u:
Grt...:):)....i am tester basically and i dont have any knowledge on programming...plz let me know if i could help you in anyway....
[Bada Software and Hacking General] t0mm13b:
I think this could create a lot more work than intended because:

Bada would have to somehow support Intents/Activities

Same can be said about the UI (this could open up a can of worms) trying to match up Android UI with Bada UI aspects such as lists, menus etc

How can a dalvikvm based app be executed - we're talking about multilayers - am not sure if Bada can launch an app in this way

Dalvikvm machine under Android, is the main engine, under Bada, the C++ Runtime executes the binary, we're talking about a binary launcher launching a dalvikvm, in turn to launch a dalvikvm bytecode, that kind of process could consume far too much memory.....

Its too early to say yet at this stage on the bada SDK if it has the necessay support in place to enable this project to get off the ground

Just my 2cents :D
[Bada Software and Hacking General] sabianadmin:
Good points. We need to establish how exactly android launches applications using Dalvik.

Does anyone know which libraries and dependencies Dalvik relies on in android?

We could create a wrapper which allows dalvik to be launched as a standard Bada app and then run a given application. Thoughts?
[Bada Software and Hacking General] t0mm13b:
I did try port python 2.6 to bada last year and failed miserably due to the limited api's in place, unfortunately for bada, the majority of the API's are not there because the underlying architecture is nucleusRTOS which has a hacked up newlib and also a crappy compiler by codesourcery.
[Bada Software and Hacking General] ghuk:
so does that mean that bada platform is not good?
[Bada Software and Hacking General] t0mm13b:
I would not jump to that conclusion either...

Bada SDK has a lot of "growing up" to do... give it a chance :)

Who knows.... maybe bada 2.0 might have linux in place, instead of nucleusRTOS, for full head on linux sdk compatibility, multitasking.... who knows... just watch this space and wait and see.... ;)
[Bada Software and Hacking General] sabianadmin:
Lets not focus on the kernel space for a second, at a user space level what BSD libraries are there?
[Bada Software and Hacking General] senseilink:
i really thinkt hat one of the fastest ways to get a new OS on all waves mobiles is to collect some money and put it as a bounty for the releaser :)

i mean, it's already a LOT of work to port a new OS on a mobile phone, it's even harder if it's free D:
[Bada Software and Hacking General] sabianadmin:
http://www.engadget.com/2011/02/08/myriad-alien-dalvik-runs-android-apps-on-any-phone-starting/

This company proved my point. Nice working being interested in something that is clearly worth being interested in guys.... *Facepalm*
[Bada Software and Hacking General] badelemental:
@sabianadmin : really it would be great if it could happen to bada. Your idea was great to port dalvik on bada. Are you working on it?? just curious !!
[Bada Software and Hacking General] anghelyi:
Maybe this http://www.engadget.com/2011/02/08/myriad-alien-dalvik-runs-android-apps-on-any-phone-starting/ will be ported to Bada, too...
[Bada Software and Hacking General] sabianadmin:
Yep been working on it for a couple of days. talking to a few people and getting and trying to figure out how to make a self contained dalvik wrapper (Myriad use Qt, we could do the same if someone ports Qt to Bada :-/ ). it really shouldn't be *that* hard to do.

@anghelyi i posted that link like 2 posts ago?!
[Bada Software and Hacking General] lokhor:
It'd be pretty sweet if you could get in touch with Myriad and find out about their Alien Dalvik
[Bada Software and Hacking General] wavedroid:
Damn If you want to Port android to the Samsung wave go to the androidport site

We gonna port android 2.2 to the samsung wave (and we finally got an working ARM7 tool)

Just if you want this go to us

Just wait for that we been finished and you'll can do anything you want
[Bada Software and Hacking General] bsbharath1987:
sabianadmin started this topic with the intention of discussing about the possibility of porting Dalvik VM to bada and not the whole android. That topic has been discussed and closed elsewhere.
[Bada Software and Hacking General] sabianadmin:
Once again proving your sheer stupidity. I am talking about running the Dalvik JVM to run android applications. Did you even read what we have been talking about here? This has nothing to do with porting the Android platform to the Wave.

Go troll on your own forums buddy.
[Bada Software and Hacking General] Otacon_ahs:
I dont' know, but it seems that porting Myriad it would be more easy, interesting and powerful for run android apps, than porting android OS.

When they would release the source code?
[Bada Software and Hacking General] sabianadmin:
The only problem is that Myriad uses Qt and so far we have not ported Qt to bada... Anyone want to give it a go? (yeah i know about the bada-lighthouse project)
[Bada Software and Hacking General] Retrospect:
Myriad

I'm new to this forum and just found this discussion via Google while looking for some related details on Dalvik.

Isn't the Turbo Dalvik from Myriad closed source, seems like a commercial product aimed at companies?
[Bada Software and Hacking General] Retrospect:
While porting Dalvik might not be to hard (on same architecture) it seems to be more difficult to obtain the dependencies needed to actually run any Android apps.

I suspect Dalvik relies on some underlaying functionality to be present.
[Bada Software and Hacking General] :
answer for request for dalvik for bada
[Bada Software and Hacking General] Retrospect:
Just as I expected we can forget about Myriad for now.

Porting Dalvik seems like the only option right now.
[Bada Software and Hacking General] sabianadmin:
Yeah i doubt we will ever get it directly but we might be able to port the runtime once its included somewhere