yashsingh1/xdaforums huggingface dataset:
[General Questions and Answers] rapterj:
Alright so here's the deal:

I'm working on this app (let my raise my "nerd" level to a new maximum, by stressing that it is a Magic: The Gathering app for the WP7. Nerd level raised.)

So - at any rate - I start out with a wonderously fluid Silverlight front-end. Works like a charm. Keeping it simple at first, I get the ball rolling with a simple life counter function, using local variables only. Flawless. Then I figure I'll raise the bar of challenge a little, and import a simple dbusing SQL CE loaded from Wizards of the Coast official online card database. My app has a "fairly" quick search engine that goes through the entire set of cards and displays a list of the cards with text. Again, pretty damn flawless. Now here's the pickle. Because my SQL CE DB of the cards is pre-built into the app, it is, by default and no way to change it: read-only. I want to load and create a new DB on the fly, by reading a simple .txt file, and parsing out prices. Ideally, this DB would be created once, and everytime afterwards, simply updated. Now I can read and modify the Database easily, however, when i try to read the .txt file from the online source, it fails with epic certainty. Even more bothersome, I can't get the bloody thing to run efficiently in the background.

So to the question at hand: Does anyone know of a quality way to read a .txt file from an online source, parse successfully into a database, and do so as a background task?

Thanks
[General Questions and Answers] jarnmo:
Could you elaborate on how exactly does it fail? Also, by "on background", do you mean that you are trying to update the database on a background agent (which I would not suggest in your case) ?

edit: Looks like it's a bit old thread. Are you still having this issue?
[General Questions and Answers] rapterj:
Well, by fail - I mean it either doesn't update the database at all - or it crashes and the program terminates.

And why would a background agent not be recommended? I like the idea of BG agent simply because i'm assuming the average user is going to be impatient and close out the app before the db actually updates the prices...at which point, it would be ideal if this were running as a background agent because otherwise i've discovered that just stopping DB search/edit halfway through sometimes hangs or crashes when you try to get back into the db.

Ideally, i'd like this thing to be pretty glitch free. I suppose i could do like every other app out there and only grab a price when a single card is selected, but ideally i would like the entire price database to be accessible in an "offline" mode. Its only a single text file updated weekly.
[General Questions and Answers] jarnmo:
I see you're point on using a BG agent, but are you familiar with the limitations? You probably don't want to limit the sync to the moments when the phone is plugged into a power source, so periodic task would be your only choise. However, those are memory, cpu and clock time (25 seconds) constrained, run approximately every half an hour (can not be changed) and you can't start them instantly. Also, they need to be rescheduled every two weeks and there's a limit of how many BG agents can be scheduled for a device on total (can be as low as 6). So, you can only schedule the BG agent in your app, you can't start it immediately, if the completely sync process takes more than 25 seconds the agent would get killed and if the text file is somewhat huge you could run into the memory constraints of the agent.

I don't think there's anything you can do to make the sync succeed if user choses to close or suspend the app while it's syncing. I thought of an another option though: maybe you could just load the data for a card when it's drawn and store it to the database together with the last update time. Then in future you could first check if the database has up to date info on the card and use that instead of loading it from the web. Or maybe you could load the data for all the cards in the decks when the game starts.
[General Questions and Answers] rapterj:
Yeah. my solution for the time being is to see if there is an updated pricing text file online, and updating the silverlight accordingly (ie a "New prices available" button that appears if there are new prices) and a big ass warning box that warns users to not exit the app during an update.

however, i'm still having issues with parsing the bloody the txt file in-code. its a pipe-dil txt file so, it shouldn't be this complex to parse into a new table. i'll post up what some of the code looks like tonight for my parsing engine.
[General Questions and Answers] jarnmo:
Sure, post ahead and I'll see if I can help you with that.
[EVO 4G Themes and Apps] adio01:
A few people have been asking me to publicly release these icons, so here they are!!! Im using Desktop Visualizer to set these, but any other custom launcher will also do.

Whats New In This Release?

1. Better icon ogranization

2. More colors!

3. Three new icons (thanks m4rcus)

Whats To Come In The Next Release?

1. Better icon calibration

2. More game icons! (just started doing these)

3. More application icons! (hook me up with some requests!)

MOLTEN GLOW................ RedHot MikG

INFECTED GLOW............... WarmMikG

CYBORG GLOW .............. CM7

--How to apply icons with desktop visualizer--

(note only do this if your launcher doesnt support icon switching)

1)Download desired icon pack, download desktop visualizer from the play store

2)Unzip icons and place them on your /sdcard/

3)Long press on your home screen

4)Select widgets

5)Select Desktop Visualizer widgets

6)Select desktop visualizer small(1x1SS)

7)Click the green gear android widget that desktop visualizer has created

8)Click Select Icons

9)Click Image File

10)Select Gallery

11)Find the icon image you want in your gallery and select it

12)Now your image should be selected so press Select Action

13)Click Launch application

14)Select the desired application to match your selected icon

15)Change the label color, touch effect, ect, to desired settings

16)Hit ok at the bottom of your screen and enjoy the new icon

If you really like these icons feel free "donate" or "thank" :)

Have an app/icon that you would really like to see added to the Glow pack? Private message me with the name/link of the image and ill see what i can do.

DOWNLOAD LINK: The zips inside are NOT flashable

http://www.mediafire.com/?ucu9cq7skdgc0
[EVO 4G Themes and Apps] AaronM7:
Thank you for making and sharing these. You, sir, do fine work.

However, why is the "molten" pack so much smaller than the other 2?
[EVO 4G Themes and Apps] Diablo67:
Very nice brother,looks good,might have to integrate these into my new rom im working on.It has a green overglow.
[EVO 4G Themes and Apps] adio01:
The Molten ones are the original, the other two are just run by Photoshop in a batch edit so im guessing that has to do with the size differences.
[EVO 4G Themes and Apps] drtwrk127:
Great job, OP, and thanks for the icons! Anyway of getting them in a darker blue? I'm running CM with the Steel Blue theme chooser theme, and these would just be the icing on the cake :p

Also, you may want to post these here http://xdaforums.com/showthread.php?t=824656 to get some more exposure.
[EVO 4G Themes and Apps] adio01:
SteelBlue below, Hopefully they are not to dark of a blue... haha enjoy. ;)

Oh and btw thanks for the suggestion ill post up a link in that icon collection.
[EVO 4G Themes and Apps] burnrate13:
Any idea where to get the wallpaper on the Infected screenie?

Pleasantly Mad.
[EVO 4G Themes and Apps] BlazinThat:
Reppin MPLS
[EVO 4G Themes and Apps] max-555:
you (and all other too) can check it here. Maybe you will find it.

http://xdaforums.com/showthread.php?t=1476077
[EVO 4G Themes and Apps] adio01:
Ill attach it below, i think i found it on zedge and made minor alterations so no bubbles would appear under the clock.
[EVO 4G Themes and Apps] burnrate13:
+1 thanks loving these icons great job.

Pleasantly Mad.
[EVO 4G Themes and Apps] adio01:
Haha oh yeah UMN. :)
[EVO 4G Themes and Apps] BeInGarvey:
These icons go great with ICS GB for CM7 or the theme u have in the screenies (I think its Sculpted if i remember correctly). Thanks for sharing, I frickin love this community!

BeInGarvey
[EVO 4G Themes and Apps] drtwrk127:
Perfect!! Thanks again ;-)
[EVO 4G Themes and Apps] ohsomomo:
nice man, i like them alot
[EVO 4G Themes and Apps] emcp422:
Call me a noob, how do i apply these on decks ics ?
[EVO 4G Themes and Apps] adio01:
Umm I cant remember what launcher decks runs... but unzip them, put the folder from the zip on you sdcard, then hold down on a icon on your launchers home screen and select change icon or something along those lines and you should see all the icons in your gallery. If you are using a launcher that cannot swap icon images then download desktop visualizer off Google Play and apply them through that app.
[EVO 4G Themes and Apps] mad82109:
Anyone know the font being used in the "infected glow" screenshot? Thanks in advance.
[EVO 4G Themes and Apps] Pneuma1985:
k you threw an outter glow on preexisting icons??? Pretty easy no?
[EVO 4G Themes and Apps] adio01:
Umm no... ive taken the original apps icon image, cut out what needs to be made red or black colored from those images, built the image back together with the new colors then added the glow effect. Ill be the first to admit im no photo editing expert or graphics designer but I originally made these for myself and people asked me to release them. It takes longer then you would think to try to manipulate the icons preexisting colors to get the right look, its not like i just loaded a bunch of icons into Photoshop, tossed on a a hue saturation and said hey, look at these cool icons I made. But if you think you can do the same or better in like a "pretty easy" time feel free to show me up :)

Oh and btw if you feel like hating on someone go check out that other guys glowing theme because those images are literally loaded in and out of gimp. I should know he asked me how to make the effect.

Also since we are being critical of each others work your ICS them for MikG has the ugliest navbar and lockring I have seen in a while. Go for something more like an SOSX look :P or else good job haha.
[EVO 4G Themes and Apps] reaper559:
Sorry I'm kinda new to this how do I set these I'm using swipperrats miui I can't seem to figure it out I have unzipped and tried using desktop Visualizer not sure how to do this thanks for the help

Sent from my swiper
[EVO 4G Themes and Apps] adio01:
Check the OP I put up a very detailed (16 steps :rolleyes:) tutorial for anyone having questions.
[EVO 4G Themes and Apps] reaper559:
Where do I find the open??

Sent from my swiper
[EVO 4G Themes and Apps] reaper559:
Op arty spell correction lol

Sent from my swiper
[EVO 4G Themes and Apps] adio01:
No idea what your talking about.... haha
[EVO 4G Themes and Apps] reaper559:
U said "check out the OP I put up" where do I find it at (THE OP) srry for the inconvenience

Sent from my swiper
[EVO 4G Themes and Apps] adio01:
Check out the the very first post in this thread its below my screen shots.
[EVO 4G Themes and Apps] mad82109:
Does anybody know the font used in the second picture?
[EVO 4G Themes and Apps] adio01:
DroidSansMono I think.... :confused:

Its from the Warm Mik 3.1 theme. Heres the fonts.
[EVO 4G Themes and Apps] Pneuma1985:
Yes I know and I wasnt hating but im about to! I was just pointing out that it doesnt actually take that long you make the style and copy it over... Simple as that... And yes I do know how long it takes ive made several icon packs myself along with about 5 full sense themes so I know how long it takes! I dont care what you think honestly both the lockring and the navbar are right out ics frameworks...Both Tabs and phone ics sdks's... But im guessing you wouldnt know that... You probably havent seen ICS yet!

Take your garbage icons and and put them where they belong...In the Trash!
[EVO 4G Themes and Apps] m4rcus:
would be pretty awesome if there was a color matching the ICS one.. the blue-ish one.
[EVO 4G Themes and Apps] adio01:
You used the ICS on screen buttons for the navbar, umm... have you seen ICS lol. Also you pulled a sense 3.0 lock ring image from the sdk? Granted i haven't dug through the sdk as thoroughly as you im sure, but Google really dropped the ball on that image. :p Anyway im not going to argue anymore, if you dont like my work quit bumping this thread and let it die in the "trash" like many before it have. Its as simple as that, but thanks for your input!
[EVO 4G Themes and Apps] adio01:
This should be pretty close to what your looking for I think.
[EVO 4G Themes and Apps] Pneuma1985:
You didnt say anything about the buttons you said the navbar they are two completely different things... Do some actual themeing and maybe you'll know what your talking about before you give an ill formed response! The buttons themselves are are from a mixture of honeycomb and ics with the hue/saturation changed! Thats why there are rosie mods! I could careless where your thread is in the forum standings. I will post w/e I want... And yes I didnt make those images google did... Just pulled theme from various google frameworks : ICS & Honeycomb!
[EVO 4G Themes and Apps] adio01:
Sorry ill be more specific next time, let's just go with the bottom bars icons. Also I know the basic workings of the Rosie.apk so you can stop inferring I'm some clueless noob who has no idea what he's talking about. Anyway I already said I'm done with this annoying bickering, sorry if I offended you :-) I just found your comments of "easy" and "trash" quite hostile as I am sure anyone would. Ill just be sure to get the seal of approval from the garbage man the next time someone asks me, or I decide to post up something I made.

Edit: Btw where can I find one of the several icon packs you have made?
[EVO 4G Themes and Apps] m4rcus:
id love to dl that zip but it seems the upload failed. tried the browser too file has onlx like 554bytes
[EVO 4G Themes and Apps] adio01:
Sorry about that not sure what went wrong. Seems to be working now.
[EVO 4G Themes and Apps] Pneuma1985:
Cm7 forums! But since multiupload was seized by the us government the links no longer work! And there wasn't any reason to get hostile I didn't call it trash till you went all psycho on me. And there are about a hundred other icon packs just like this one buried in the many threads of xda and every other android site! My point was that outterglow seems to be the new fad...
[EVO 4G Themes and Apps] adio01:
Lol I didn't go all "psycho" you gave your opinion on my work so I gave mine on yours. Anyway I have a exam to study for, then I'll see of I can find some of the 100 other icon packs like this one and build my garbage collection ;-)
[EVO 4G Themes and Apps] mike208:
Can you do orange?
[EVO 4G Themes and Apps] m4rcus:
yep it works now and you really came pretty close to that color. loving it.

although i feel they could be a little more..... dark/blue so it appears a little more... mature?

you even nearly have icons for any app i use too. just missing 1 or 2 like root explorer, dict.leo or airdroid but i already found a good replacement for them. still wouldn't mind you adding them if you feel like it ;)

thank you really.
[EVO 4G Themes and Apps] adio01:
I just pulled those icons off of Google Play ill get to them, and organize all the different color sets of these icons better when I get a chance (probably this weekend). Anyway orange is attached below for now.
[EVO 4G Themes and Apps] m4rcus:
ohgodthanks.

made you another screen. hope it helps with the adjustment.
[EVO 4G Themes and Apps] timpot07:
Hi! thanks for your wonderful work.. I wonder if you can add some popular games like angrybirds, temple run, etc. to cyborg icons? :D

ps. Can you please attached also your pattern in psd format and some tutorials on how to make the icon cyan? TIA. :D
[EVO 4G Themes and Apps] m4rcus:
anyone alive? :D
[EVO 4G Themes and Apps] KingRedHot:
Hey man, glad to see you got your icons up. I still use yours too finish off my theme on my evo :D

Swyped from my Epic Touch™ using Tapatalk2-beta5 ;)
[EVO 4G Themes and Apps] adio01:
Ill get to these icons I have only just started doing games. Thanks! Dont expect to see much for now though, I have a lot of tests and papers coming up so ill be really busy with school... Done May 12th though!

Haha thanks mpitcher225, I have been missing redhot on my evo! I was planning on upgrading to ICS soon since the sprint VVM.apk is out and attempting to make a mock up of some to look like your RedHot Serenity in ICS blue :) I love all your work lol

Update!! Nothing big though check the OP
[EVO 4G Themes and Apps] KingRedHot:
Thanks man, i wanna see your blue twist on the Red Hot Serenity when you finish :D

Swyped from my Epic Touch™ using Tapatalk2-beta5 ;)
[EVO 4G Themes and Apps] m4rcus:
heh thanks for adding the icons and even naming me in the OP ;)

did you add them to all the packs? to the ics one too?

and since I'm still on my phone and not really able to check, did you already adjust the colors? if not when do you think you can spend a little of your time on that? ;)

edit: just dled, i love you man. nohomo though ^^

btw adio01, dont you get priv. msgs or is my browser just bugging?
[EVO 4G Themes and Apps] sharky17:
These are awesome! Thanks so much.
[EVO 4G Themes and Apps] cmonsterf50:
These are beautiful. Really like the idea.
[EVO 4G Themes and Apps] timpot07:
Ok bro. Thanks again. I think i already did it in photoshop. Cyan outerglow and cyan/black color overlay.:-D
[EVO 4G Themes and Apps] wtmaxx25:
Molten

Whats the File name for the HTC clock weather wiget for the molten theme?
[EVO 4G Themes and Apps] adio01:
These are only icons, if you want that clock you have to flash http://xdaforums.com/showthread.php?t=1329376 over MikG 3.0
[EVO 4G Themes and Apps] reaper559:
@m4rcus what are u using I saw the pic of ur status bar pulled down and that is tight what rom or them are u using???

Ps. I am using swiperats miui rom I want whatever ur using that **** is tight any help would be appreciated thank you guys

Sent from my swiper
[EVO 4G Themes and Apps] mcwups1:
One request...

I see you have the FoxNews icon....so, I hope you don't ignore my request.....

But.....could you make an MSNBC icon?!?!?

LOL...thanks if possible....if not, no biggie.
[EVO 4G Themes and Apps] adio01:
Ill get to it, I cant promise it will be anytime soon because im pretty much studying 24/7 for finals until may 12th :o
[EVO 4G Themes and Apps] m4rcus:
slim ics.. nearly 400mb ram free still with 720p video playback.. loving it. http://www.slimroms.com/
[EVO 4G Themes and Apps] mrflex:
Just wondered if it was possible to get this in rasta or Jamaican black green and yellow colors?
[EVO 4G Themes and Apps] Christiancs1969:
Nice

Sent from my GT-I9100 using Xparent Cyan Tapatalk 2
[EVO 4G Themes and Apps] justgonecrazy:
Was never a fan of black and red but damn this looks good.
[HTC EVO 3D] died4u525:
My EVO 3D will jump from random percentages up to 100% charged. During one charge it'll go from 81% to 100% within just 5 minutes with the light turning green. The next time it'll go from 93% to 100% skipping the numbers in between. I'm pretty sure it started after I rooted my phone but before I put a custom ROM on it. I ran it for a month or 2 rooted stock and it has continued doing this with a custom ROM. I don't understand why its doing this.

This actually has me wondering if my battery is even charging fully or if its just reporting that it jumped up to 100% when its only within a few percentage points of the previous reading. I'm using Battery Monitor Widget so I have a log of this happening. The only time it didn't happen was the one time that I unplugged my phone repeatedly once it got up to 80%. I unplugged every few minutes until it hit 100%. Then it reported that it increased a few percent every 5 minutes until it hit 99% at which point it always takes a long time to reach 100%.

Does this happen to anyone else? Anyone have any idea whether it really is charging fully or what is going on?
[HTC EVO 3D] demo27vol1:
This sometimes happens to me too and the 99% stall has been like since I got the phone on launch day. Usually a reboot while unplugged sets it to the correct %.
[HTC EVO 3D] bloodrain954:
Same problem. I can't wait to get rid of this phone for the GS3
[HTC EVO 3D] tgruendler:
Fixed that for ya.
[HTC EVO 3D] gunfromsako:
The EVO3d has horrible battery state reporting... Plain and simple. As long as you're around 4350mv you should be fully charged.
[HTC EVO 3D] DVinti:
Every once in a while mine will do this, when I shut it off and pull the battery then reboot it seems to stop it for a few weeks.
[HTC EVO 3D] Cuppeerr:
Have you tried calibrating the battery? Battery Calibration app
[HTC EVO 3D] rebel0508:
Try this

I had a similar issue.

Try this:

Drain the battery all the way down.

Once drained, make sure the device is powered off (should be already due to depleated battery) and plug it in USB to your computer. Don't use the wall charger.

Let it charge for a couple hours (Don't be fooled by the LED). Poer the device back on. It should read 100%.

Use as normal. Not sure why this helped, but it might be a concept similar to trickle charging a car battery.
[HTC EVO 3D] Scougar:
!!!!!!!!!!!!

You should really be at a max of about 4185. Have you tested the battery with a multimeter to see if it is at 4350, because if it is... that is rather dangerous.

As for the post directly above mine, trickle charging is bad for the battery if it's left continually on, it should be at max capicity for too long otherwise you will damage the battery.
[HTC EVO 3D] gunfromsako:
I'm going to have to disagree... The og evo has a stock 1500mAh battery and everyone who had one knows that 4200 mv was fully charged. Now the 3D comes with a stock 1730mAh which is full around 4350 mv

OG evo

View attachment 945687

EVO 3d

View attachment 945691

As you can also see in the second picture my battery jumps from 83 to 100 horrible reporting...
[HTC EVO 3D] fccfreak:
I have also noticed this similar issue. When i charge my battery to 80% then it after short time dropped to 60%. i have seen this behavour just once or twice.

personally I am very happy with the battery performanece as I can get easilly over 48 hours even more.
[HTC EVO 3D] GrimReaper24:
Can depend on the type of battery.. Some can be shot or old... Also some roms have scripts in it that help cal the battery... Which can do some funky stat readings....

I haven't had this issue since I been running a stock build..... Have you let it die dead and let it get a full charge over night?
[HTC EVO 3D] died4u525:
When I first flashed viperROM 2.1.1 I followed some instructions I found in a forum, I think, for calibrating the battery. If I remember correctly, what I did was charge the battery to 100%, clear the battery stats (which I've since read is just a placebo), drained the battery till the phone died, charged to 100% again, let the battery drain till it died a 2nd time and the charged it to 100% again. Then I used it normally. This procedure didn't seem to do anything, positive or negative.

And after reading the posts by @gunfromsako I looked at Battery Monitor Widget, which I've been using for quite some time, and my phone gets up to 4361mV. Not only that but after looking those numbers over I notice that it can climb to 4359 or 4361 before it ever reaches 100% charged. Then when it finally gets to 100% it can already be back down to 4258. Look at my screenshot. It went from 4359 at 99% charged to 4258 at 100% charged! AndI've actually seen it at 4359 when it's just 78% charged. What is the deal with this phone?!?

View attachment 946318
[HTC EVO 3D] GrimReaper24:
Have you tried any other non tweaked roms to see if it fixes it? Also try another battery..