yashsingh1/xdaforums huggingface dataset:
[Android Software Development] imso:
What are the fields in (Example 1) i should change with relate to my mainActivity.java file? Sorry i'm kinna new in android/java therefore i don't really know what fields to change to suit my existing codes... Can someone help? :confused:

My mainActivity.java file

File dirlist = new File(Environment.getExternalStorageDirectory() + "/VideoList");

if(!(dirlist.exists()))
dirlist.mkdir();

File TempFile = new File(Environment.getExternalStorageDirectory() + "/VideoList", dateFormat.format(date) + fileFormat);

(Example 1) I found but i do not know what are fields i should change here to suit my codes above?

private static long dirSize(File dir) {
long result = 0;

Stack<File> dirlist= new Stack<File>();
dirlist.clear();

dirlist.push(dir);

while(!dirlist.isEmpty())
{
File dirCurrent = dirlist.pop();

File[] fileList = dirCurrent.listFiles();
for (int i = 0; i < fileList.length; i++) {

if(fileList[i].isDirectory())
dirlist.push(fileList[i]);
else
result += fileList[i].length();
}
}

return result;
}
[Xoom Themes and Apps] vermiciouskanid666:
I made this last night to go with a green theme ive been working on. enjoy.:D

Everything is working. Thanks to everyone who liked this!
[Xoom Themes and Apps] publicanimal:
For some reason it doesn't work on my WiFi Xoom, the screen just goes pitch black after the Motorola boot logo until I'm fully booted.

I looked at the PNGs within the .zip and it looks like a really nice boot animation, it just doesn't work on my Xoom for some reason. I've tried other custom boot animations and they've worked fine.
[Xoom Themes and Apps] jrezin:
probably because it is .rar and not .zip?
[Xoom Themes and Apps] coolstevey:
It is also not working for me, unrared the zip then pushed to /data/local and it is a black screen when i boot up, wifi xoom
[Xoom Themes and Apps] publicanimal:
Probably not considering I extracted the rar, and moved the bootanimation.zip to /system/media. Not my first rodeo buddy.
[Xoom Themes and Apps] vermiciouskanid666:
huh...

thats weird... let me try something.
[Xoom Themes and Apps] vermiciouskanid666:
working now!

i reuploaded, downloaded and reflashed it. works on my wifi xoom. please try it again. sorry it was screwed up:eek:
[Xoom Themes and Apps] vermiciouskanid666:
let me know if its still giving you guys trouble.
[Xoom Themes and Apps] yooper:
Just downloaded and installed and all is well. Thanks a lot Verm!

For the newer folks that may be unsure how to install - download the bootanimation.zip and use Root Explorer (or equivalent) to move or copy/paste to /data/local.

After downloading, be sure that the file is labeled bootanimation.zip with no numerical characters or hyphens just before the .zip as it may not work. You can rename the file within Root Explorer by locating it and long press to select "Rename" and change back to bootanimation.zip.
[Xoom Themes and Apps] Lo Xa:
Work like a charm, it looks beautiful on my Xoom. Thank you vermiciouskanid666!
[Xoom Themes and Apps] Mandelbrot.Benoit:
Looks great! Thanks.
[Xoom Themes and Apps] publicanimal:
It's working great now, thanks! It looks really good, I'm definitely keeping this one for a while. Nice work.
[Xoom Themes and Apps] vermiciouskanid666:
I can finally link to outside images so i added a new preview and updated my post. everything is as it should be. Thanks again!:D
[Xoom Themes and Apps] dean_fx:
It doesn't go into that directory on the Xoom. Try pushing it to /data/local.

Clearly it is...
[Xoom Themes and Apps] bossjeeves:
works good! looks great! You have been thanked!
[Xoom Themes and Apps] ktd:
Great boot animation! Just pushed it and love it. Thank you!
[Xoom Themes and Apps] Botero:
Looks great! Thanks!
[Xoom Themes and Apps] vermiciouskanid666:
Thanks guys!
[Xoom Themes and Apps] tpham08901:
Looks great, but my xoom somehow loaded before the bootanimation completed
[Xoom Themes and Apps] swcowger:
Very nice job. Works like a charm on my wifi version. Thanks
[Xoom Themes and Apps] iammodo:
great work, loving it.

I used file expert to copy it across and rebooted got the proper android boot logo first ( the text android)

changed permissions and it worked a treat.

thank you very much. you have been thanked.
[Xoom Themes and Apps] jrenascimento:
Works perfectly. Great work. Thank you very much!
[Xoom Themes and Apps] bundles:
Thanks it looks awesome on my xoom. dont mind having to reboot anymore.....
[Xoom Themes and Apps] djshady07:
Works great guys, very nice work. Thanks!
[Xoom Themes and Apps] ekoandrew:
@OP

I am getting a Flickering Glitching Red Motorola Icon before it changes to Boot Animation?

How do I get rid of this problem, to get a Smooth Transition?
[Xoom Themes and Apps] mscott998:
works perfectly in ICS :-) just use root explorer and move the zip into the /system/media folder and reboot :-)
[Xoom Themes and Apps] majdinj:
great job my dear
[Xoom Themes and Apps] |shaneo|:
working great here thanks alot
[Vibrant Q&A, Help & Troubleshooting] ajpatel325852:
How bad is the GPS on MIUI? and will the Heathens GPS fix (props to jellete) work?

the GPS fix thread is: http://xdaforums.com/showthread.php?t=974702
[Vibrant Q&A, Help & Troubleshooting] xriderx66:
no, it won't thats for the earlier versions, like 2.2/2.2.1

Miui is 2.3 and we have not received any drivers for 2.3 for GPS so we cannot fix it.
[Vibrant Q&A, Help & Troubleshooting] rubbamade:
cant we just...call me crazy...use miui/cm7 whatever...and build some sort of emulator for the navigation program to run it in a Gingerbread environment using froyo drivers?

example: like running Windows programs in a Linux environment or like XP compatibality mode in Win7
[Vibrant Q&A, Help & Troubleshooting] jthomas84:
Miui 1.9.16 GPS Lock issues

Bump.

Still having lock issues on Miui 1.9.16 on my Fascinate. I dont see anyway to upload a screenshot but here is the link to it on Miui.us:
[Vibrant Q&A, Help & Troubleshooting] Shortbus-Driver:
Ive been running miui for months now,i use the gps on a daily basis!

dont tell me gps doesn't work on miui.....thats BS. It works just fine!

Not only do i use it for business but also for geocaching.

Sometimes you have to reboot it to kick start it but then its fine.

Use the "LE" or ReVaMpEd,they use "angry gps"...not 100% sure if the standard miui.us does or not but as i recall gps worked otherwise i wouldn't still be on it
[General Questions and Answers] dannysissons:
when i've perm-rooted my phone but just need to get S-off clearance.

i'm following a guide, but when i come to put the commands in the command prompt on my laptop, it says adb is not a recognised command or a batch file?

any ideas??

cheers
[EVO 4G Android Development] Theonew:
The link for it is here: http://www.htcphones.net/honeycomb-on-3-htc-smartphones/. This is still in development and I wouldn't suggest it be for everyday use. It still has bugs at this point but it's a taste of Honeycomb.

I did not in any part develop this or is responsible for any damages. Have fun.:)
[EVO 4G Android Development] LiL xSOULJAx:
awesome first download !

will tell yuh my results
[EVO 4G Android Development] XsMagical:
isnt Honeycomb for tablets only?
[EVO 4G Android Development] Theonew:
It was designed specially for tablets but developers and hackers will do otherwise.
[EVO 4G Android Development] aalopez10:
I wanna see how many people will blow ur spot after this thread ...honeycomb alpha for the evo been release wayyyyyyyyy back on feb. Lol
[EVO 4G Android Development] sirmx:
Yup, and it's all just a hack job until Google releases the source code... which they aren't doing anytime soon.
[EVO 4G Android Development] rstuckmaier:
^^^This^^^
[EVO 4G Android Development] Igotsanevo4g:
That is the worst, most unaccurate article ive seen in a long time. *barf*

"HTC Evo 4G runs 2.1 eclair" WTF?! We've been on froyo for like 9 months. O_o
[EVO 4G Android Development] fixxxer2008:
yes but this will be a hacked up rom, it was never meant for smartphones. ill stick to gingerbread.
[EVO 4G Android Development] Theonew:
This is not official and will not be official. Hackers and developers create roms like this. Its not like its a beta of an official honeycomb for EVO which will not happen. This is like a custom modded rom with the sense of Honeycomb and some feature which would take a while to get properly working.
[EVO 4G Android Development] evomattnc:
The article is pretty horrible, the port is from r2doesinc though. Of course we all know this won't work right yet but it won't stop me from playing with it...
[EVO 4G Android Development] r2DoesInc:
heres my original port. http://t3hh4xx0r.com/projects-2/dev-ports/honeycomb/evo

as you can see, back in feb :)
[EVO 4G Android Development] r2DoesInc:
wow. that article was horrible. and you had to trace it back through three other articles before you could even get to the info page :P
[EVO 4G Android Development] fixxxer2008:
tbh i never liked the look or feel of honeycomb at all.
[EVO 4G Android Development] clark44:
Androidball portesd it to the evo...
[EVO 4G Android Development] r2DoesInc:
no

.
[EVO 4G Android Development] r2DoesInc:
me neither :P
[EVO 4G Android Development] clark44:
Ya. I never seen uh release anything for the Evo. His Twitter is full of links
[EVO 4G Android Development] fixxxer2008:
androidball is not a reliable dev at all.
[EVO 4G Android Development] theultimatev:
This was released sooooooo long ago. I was super excited, but now i'm over it...

Waiting for Sense 3.0 on GB! :) that'll be an amazing port to evo and until then i'm preoccupied with Savaged-Zen rom and theming out AOSP
[EVO 4G Android Development] cordell12:
always gotta be so damn negative, troll on
[EVO 4G Android Development] :
Good thing this post isn't negative. I can only read positive posts.
[EVO 4G Android Development] MagnusRagnarok:
honeycomb.....nice try....
[General Questions and Answers] ericsmart:
:eek: first-timer and just rooted mytouch 4g. Took me whole month to do some researching and blah. Now, I'm getting there but still....hard. i give you example why. You see, the most of it required for everyone to watch youtube how to make it work but it is sucks because I am DEAF and in youtube giving instructions how to do it, and it does'nt come with CC(closed captions). Basically i am just watching video and have no idea what it saying. after many attempts and back to factory stock. Now, for last few days no problem and i am currently run FR-Sense-Faux with Royal Glacier. And its still seems no changes.

What I'm looking for is simple, speedy, eye catching icons with theme and easy to handle.

here i am thinking i am crazy to ask for....help :confused:

need to remember please don't recommend me to watch youtube unless it's including CC(closed captions)

thanks
[General Questions and Answers] GuestD2558:
One thing I always make sure that I do is to make a nandroid backup of my phone from the recovery boot menu before flashing any new roms. Believe me, you'll learn to love that feature.

As far as the look and feel of the phone, you can always try different homes. I use Launcher Pro which has all kinds of neat little page transitions, a nice app drawer and seems to be customizable beyond just the dock backgrounds and icons.
[XPERIA X10 General] kantk20111:
..is it just me it is it really bad?

I'm using wolf breaks 2.2 ROM and basebamd 52 and the GPS signal I get here in Singapore is terrible

Sometimes.I don't get signal at all. I want to know if this is.just me it is the X10 really that bad at GPS.my dad's iPhone gets signal immediately ...mine doesn't

Thanks for.any help
[XPERIA X10 General] Bwyan Benton:
Might be a problem with the ROM. Im on stock 2.1 and the GPS is far from bad....its excellent actually. Never had a problem yet.
[XPERIA X10 General] sopdogg:
For me, GPS works extremely well on 2.1 but custom roms appear to be off in location and connection. It is always some 60 meters from my true location. Sometimes GPS doesn't connect for me. Using WB's rom too but as a tablet style device because of the GPS issue.
[XPERIA X10 General] laill:
The reason is very simple

The gps setting of 2.1 is specify for your region while the 2.2 gps setting is from AOSP.

In unmodded custom rom,gps will connect to gps server in north l america,so it is normal to be slow.

I've modded my gps setting,specified for Hong Kong ,Macau and China,on 2.2,it locates sometimes faster than 2.1 usually 10s(besg reccord is 2.5 s to locate)

You can mod the gps setting yourself,pretty easy

cheers,

L

Sent from my rooted FreeXperia X10
[XPERIA X10 General] sopdogg:
I would love to modify my gps settings. I am on my phone so it is not easy for me to do a search, but can you direct me to where a thread might be to mod the settings?

Thank you sir!
[XPERIA X10 General] tot31:
I hope this will help you, http://xdaforums.com/showthread.php?t=732030
[XPERIA X10 General] gregeberts:
WTF? GPS server in North America?? GPS operates by using satellites in space to triangulate your location, not a GPS server. There is no such thing!
[XPERIA X10 General] bra1n0uk:
I use my GPS atleast three times a week on wolfs rom with no problems at all.

I depend on GPS for my work so if there was even a slight glitch i would change rom or go back to stock.

Im on bb 54. And from UK....
[XPERIA X10 General] laill:
WTF!

I mean the NTP server,please google it if you dont know about it.

Who dont knoe that we use satellite to locate?

Go to /system/etc/gps.conf

Open it and you will see

NTP_SERVER=europe.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.google.com

SUPL_PORT=7276

By modding this file,gps can fast like the hell

Cheers,

L

Btw,wb's rom has europe NTP server by default

Sent from my rooted FreeXperia X10
[XPERIA X10 General] kantk20111:
What number did you use to get to the settings? The number in that thread is not doing anything.... (*#*#1472365#*#*)
[XPERIA X10 General] laill:
This is my setting for Hong Kong

NTP_SERVER=[0123].cn.pool.ntp.org

XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.cn.com

SUPL_PORT=7276

If you want to find some ntp server,this can help

http://www.ntp.org/

Cheers,

L

Sent from my rooted FreeXperia X10
[XPERIA X10 General] kantk20111:
So I'm in singapore, and when it goes to the ntp pools page, It says this:

To use this pool zone, add the following to your ntp.conf file:

server 3.sg.pool.ntp.org

server 0.asia.pool.ntp.org

server 2.asia.pool.ntp.org

So, using your method, would I do this?

NTP_SERVER=3.sg.pool.ntp.org

XTRA_SERVER_1=0.asia.pool.ntp.org

XTRA_SERVER_2=2.asia.pool.ntp.org

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

SUPL_HOST=supl.sg.com

SUPL_PORT=7276

I'm not completely sure how to edit this to work. Any help is appreciated.
[XPERIA X10 General] laill:
For the ntp server, I think it may good enough to have a try

But the supl_host,may be using google is better?

Aha,just had a quick test,indoor testing

Sent from my rooted FreeXperia X10
[XPERIA X10 General] Mayazcherquoi:
I can not get a lock at all (in Australia) using Wolfbreaks CM 6.1.3 v061 ROM :-/ Even before and after I had modified the gps.conf file :-/

Has anybody else in Australia solved this (and if possible, post their gps.conf file contents)?

Thanks :)
[XPERIA X10 General] ripp2003:
thanks, this is exactly what I was searching for ;-)
[XPERIA X10 General] sopdogg:
Money!!!

Switched my settings to:

NTP_SERVER=us.pool.ntp.org

XTRA_SERVER_1=north-america.pool.ntp.org

XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin

XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

Worked like a charm!

Thanks so much!
[XPERIA X10 General] vaguin70:
im using official 2.1 and google maps 5.3.1, this gps is the best for me, its fast and quite accurate, i love using the street view for certain countries
[XPERIA X10 General] kantk20111:
Guys, I think I found the solution. After I did this, my GPS took less than 15 seconds to triangulate my position to a 50 meter area.

All I did, and it made me feel really stupid actually, is I let the GPS triangulate my position using Wifi first. After that was done (Both use Wireless networks and GPS were ticked in location and security), my GPS locked on to me with ease. Weird, but it worked!

idk how much it'll help others with problems, but it's worth a try. First, with both GPS and wfii on, let Maps triangulate your position. Then turn off both and turn on ONLY GPS and it should work.

Cheers
[Epic 4G General] snowmanwithahat:
This is kind of specifically targeted at anyone who might have some information on the release of the SGS II on Sprint, but I'd also love to hear some speculation from otherwise uninformed individuals.

Reason being that I am seriously considering a Nexus on Sprint when it drops in a week... which has the obvious issue that it's being released a whole year after the first SGS and after the international SGS II. It just seems like a bad decision. The only other alternative is the EVO 3D which I'm really not interested in because of the size, gimmicky 3d, and I really think the performance of the SGS II is going to rock the socks off the Evo 3D (unconfirmed).

So what do you guys think, soon after the evo 3d? If it launches in July or something I'd be very pissed that I picked up the evo 3d in that case...
[Epic 4G General] Darkshneider:
Nexus S is a keyboardless Epic, SGS II is about the same size as the Evo 3D, the 3D can be turned off, no news about SGS II release date for Sprint.
[Epic 4G General] boomerbubba:
One might extrapolate from the history of the SGS I line in 2010: IIRC, the original GSM-based reference model was announced by Samsung about this time of year and then released in early summer in Europe. The U.S. variants were announced in late spring or early summer, and the first actual releases (the GSM-based Vibrant on T-Mobile and Captivate on AT&T) occurred in July. Sprint had the first CDMA variant (also adding a Wimax 4G radio and keybord) around Sept. 1. It took about six more months to get the U.S. models mostly debugged and upgraded to a current version of Android (Froyo).
[Epic 4G General] muyoso:
Yea, if I had to guess its gonna be late summer/early fall before there is a SGSII on Sprint.
[Epic 4G General] XtaC318:
Same size? The galaxy s II is the second smallest phone to date, lol... It's only 8.xx mm thick!
[Epic 4G General] 063_XOBX:
Thin != size...

It's 8.xx mm thick but 5 inches tall.
[Epic 4G General] Darkshneider:
What he said. The SGS II has a 4.3" screen, same size as the Evo. So it might be the same size, more than likely, itll be a bit bigger.
[Epic 4G General] musclehead84:
I can't wait. My epic will be retired.

Sent From My Evo Killer!
[LG Optimus 2x] Ghostace:
So I just installed ModKitchen on my Optimus-2X (P990), and wondering if I can restore my settings from a backup of my previous stuff in Rom Manager so I used advance restore and restored /data and /cache. Now my phone keeps restarting every time it reaches the Boot animation screen and I can't access ClockWorkMod Recovery by holding down volume-down while turning on the phone, it will instead go into S/W Upgrade and stay at there forever. Maybe theres a way to make the S/W upgrade thing "upgrade" my phone back?
[LG Optimus 2x] Kickasskev:
Try this thread

http://xdaforums.com/showthread.php?t=1007825
[Thunderbolt Q&A, Help & Troubleshooting] bmx5656:
Are there any apps that I should keep running and not have my task killer kill? I'm rooted BTW.

Also I have seen improvement using a task killer so please keep this on topic to my question, no preaching about how task killers are not worth it. Thanks.
[Thunderbolt Q&A, Help & Troubleshooting] distortedloop:
Seriously, you shouldn't be using a task killer at all except if there's a misbehaving app that won't stop on its own. This is linux, not Windows.

Let the phone manage its own memory. Many times using a task killer just makes things worse. There's plenty of reading material on why if you google for it, so I won't bother with long details.

Start here on xda though: http://xdaforums.com/showthread.php?p=6426198

If you really think memory management is an issue, there are two apps I consider safe to use. AutoStarts which can prevent certain apps from starting up on their own, and AutoKiller, which isn't really a task killer, despite the name, but a way to tweak Android's own internal memory management parameters.

In linux, free memory is wasted memory, you want those apps "running" in the background so that when you want to switch to them, they're pre-loaded. Most of them aren't doing anything anyways, they're just sitting there idle until you open them...
[Thunderbolt Q&A, Help & Troubleshooting] bmx5656:
Hmm despite my statement about keeping this on topic, I haven't seen that article till now. That article makes more sense than people just preaching. I'm going to try it. Thanks
[Thunderbolt Q&A, Help & Troubleshooting] distortedloop:
Wow I totally didn't see your second sentence about don't tell you not to use one... D'oh! Living proof that we only see what we want to see.

Hope the article was interesting and might have changed your mind.
[Thunderbolt Q&A, Help & Troubleshooting] theebest:
2 words... midget porn. /thread
[Galaxy S I9000 General] kami2k:
Hi, i want to know when i watch movie or video songs, the backlit light of home/menu buttons are always on, i want to know how i can disable it? i have jvk rom
[Galaxy S I9000 General] buntoo:
It is the bug present in JVK & all other official beta ginger Roms. Hope they'll fix it in the final release.
[Galaxy S I9000 General] PAGOT:
you could maybe try this http://xdaforums.com/showpost.php?p=12529554&postcount=478 no idea if it works , BACKUP before and if something gets bad you have been warned :)
[Galaxy S I9000 General] mossy1963:
@buntoo

It is a feature :-)
[Galaxy S I9000 General] buntoo:
Annoying feature :p

p.s It ain't a feature :rolleyes:
[Galaxy S I9000 General] kami2k:
lets see then its a bug r a feature ;)
[Galaxy S I9000 General] alelas:
If you consider it a bug, use the CWM3-compatible zip in recovery to make it like it was in 2.1-2.2-2.2.1

Yoou can find the link to the file in my signature
[Galaxy S I9000 General] kami2k:
I have done the backlit fix from your patch, thanks
[Streak 5 Q&A, Help & Troubleshooting] nthknd:
Have problems with 351 how do i go back to 347 where can i find the rom at?
[Streak 5 Q&A, Help & Troubleshooting] TheManii:
There is no pkg available for 347, you can restore with nandroid but your baseband and other firmwares wont change
[Streak 5 Q&A, Help & Troubleshooting] nthknd:
Thanks
[Captivate Q&A, Help & Troubleshooting] mthayer1:
Ok so i loaded this rom last week. So far no problems except one. I can't seem to set up email account. Help..

Otherwise this rom is GREAT.. battery life is exceptional. I would like to see a blue theme instead of green, but that's ok.

Good Job xMerk.
[Captivate Q&A, Help & Troubleshooting] zelendel:
what rom was it?
[Captivate Q&A, Help & Troubleshooting] mthayer1:
xMerk V1 b5

I would of posted in that section, but i am not allowed to post there yet.
[Captivate Q&A, Help & Troubleshooting] mthayer1:
HELP!!!!!

I don't want to have to flash another rom.
[Captivate Q&A, Help & Troubleshooting] zelendel:
Might want to look in the thread as that rom has not been updated in a long time. js5 is not even used alot anymore. I would try a reflash
[Streak 5 General] carhigh:
I really need something for missed calls or voice mail. I cant believe there aren't any other mentions of this issue in my searches !!!!
[Streak 5 General] valest:
Well,you should be able to see your *HOME* LED KEEPS ON IF YOU GOT ANY MISSED CALL OR SMS.At least this is what happens on my streak,and I am using 2.2.2 14917,with streak led installed.

r