yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] The_R:
The solution I can think of would need you to be familiar with the following (I am assuming you are using OpenGL ES):

- Being able to store "n" number of points that were touched by the user

- Being able to draw "quads" using these touch points

- Texturing these quads

Keep a track of consecutive points that are being touched by the user. Store these points in a queue sort of a data structure where you keep insterting the points from the end.

Then in your game's update loop have a double variable count the time passed since the the first touch was detected. Then after a certain time limit "t" has passed remove a touch point from the start of the queue. Reset the double variable to 0 and keep counting the time and removing points from the start of the queue till the queue becomes empty(the queue will ofcourse become empty if the user lifts the finger and no additional touchpoints are being added from the other end)

Now for the graphical representation for the "slash":

you read all the points that are in the queue and use each consecutive point to determine two edges of the quad, sort of like this

|-------|------|
+ + +
|-------|------|

"+" is the touchPoint

so you'd use points[0] and points[1] to calculate one quad and then points[1] and points[2] to calculate another quad and so on till you have calculated quads for all the touch points. Note: I just considered a simple case where the touch points are lying on the X axis. With a little 2d vector math you should be able calculate all the quads inspite of them not being on the same axis.

Then, all that is left now is to texture these quads. The first step of course is to draw a texture for representing the slash(using photoshop/illustrator/inkscape etc.) Then in your program calculate the texCoords for this quad strip that you just created. This can be done like so:

texCoord.u = pointIndex * 1.0f / totalTouchPoints(or totalQuadEdges);

texCoord.v = 0.0f or 1.0f depending on which end of the quad

tc1 tc3 tc5 u--->
|-------|------|
+ + +
|-------|------|
tc2 tc4 tc6

So this should produce a decent enough fruit ninja style slash I think.

If you find that the slash is not smooth enough you could try some variations like if you've got a touchpoint x1, y1 and touchpoint x2, y2. Calculate a set of intermediate points between these two points that are about a distance "d" apart from each other and then use a curve drawing algorithm like catmull rom to calculate the intermediate points between these intermediate points.

Then use this final list of points to calculate a quad strip and texture it.
[Android Q&A, Help & Troubleshooting] wporta:
Thanks, I'll try this.
[Android Software/Hacking General [Developers Only]] mynameisnafe:
Okay so basically, if you check out www.androlinux.com or search for youtube for ZedoMax, the guy has hacked ubuntu onto android.

I followed his instructions to a point, had to use rootstock to create a lucid kernel though (for lts). He provides four scripts, another file and an .IMG - I made mine.

Basically, documentation issues + a linux noob mean I cant find all the files it created on my phone, kill em all, and try again.

If somebody could take a look at the scripts and let me know what they think, I would be wholly appreciative!!

Also if anyone knows of a workaround to viewing the GUI over vnc thatd be awesome too!

Ps I know of the official version.. Thats not the solution im looking for.. As you can run apps directly in ubuntu im thinking of an interface app for it but thats another days tasking.
[Android Software/Hacking General [Developers Only]] herrsch0rdev:
Some of the ported games use SDL for the Interface, maybe that is a way?
[Android Software/Hacking General [Developers Only]] mynameisnafe:
I'll bear this in mind - my Coursework atm is modding IOQuake3 :) Thanks dude
[EVO 4G Q&A, Help & Troubleshooting] sharkboy0901:
Edit:solved
[EVO 4G Q&A, Help & Troubleshooting] -EViL-KoNCEPTz-:
His rom is odexed you'll have to use the extended mod from a deodexed rom for it to work, and if you'll need the right version 4.53 quick settings won't work on 4.67 and vice versa
[EVO 4G Q&A, Help & Troubleshooting] sharkboy0901:
I'm on a stock deodex Rom 4.67

I'm trying to put it in the Rom zip its the legacy extended quick settings

http://xdaforums.com/showthread.php?t=1443998
[EVO 4G Q&A, Help & Troubleshooting] -EViL-KoNCEPTz-:
Then you need the quick settings from a deodexed 4.67 rom, since Tommy's is 4.5x and odexed the systemui.apk won't work on your 4.67 deodexed rom, not sure why that's so hard to understand
[EVO 4G Q&A, Help & Troubleshooting] sharkboy0901:
Here is the what the op posted right from the thread it says its for 4.67 bro
[Galaxy Tab 10.1 General] mdaddy:
Last week my tablet froze at 5am (the screen was on and the clock stuck).

Since then, it randomly freezes (and sometimes reboots) -- hard lock.

I've tried wiping, new ROMs, etc. The freezes even occur in clockwork recovery.

Am I out of luck?
[Galaxy Tab 10.1 General] requist:
If it freezes both in normal mode and even in recovery, I would say you're out of luck.
[Galaxy Tab 10.1 General] mdaddy:
I just logcat'd a few lockups, no clues whatsoever :(

Time to wipe and trash.
[Galaxy Tab 10.1 General] requist:
In recovery the tab is in a known state, freshly booted, no user programs, different states or options. If it is freezing in this mode it means either the loaded image is incorrect or the handling of this image is incorrect. The handling would mean a hardware error because other tabs with exact the same image and options work normally. An error of the image would be possible without hardware error but very unlikely since loading a different image (normal mode) gives the same problems.

I would guess a problem with either sd or normal ram. No clue what a repair would cost but is it already past guarantee? (Else I would try to recover to stock rom and bring it back to the store..)
[Android Q&A, Help & Troubleshooting] rafa6571:
I saw this on deviantart and i love it... I need the wallpaper with the glass overlay on it

PD:Yeah i know that the most quickly way is ask the person who did it but many people did it and he didnt answer
[Android Q&A, Help & Troubleshooting] antrax360:
[/IMG]

Lol i did it quickly on paint. Oh lol forgot to erase the other info lol

---------- Post added at 07:23 PM ---------- Previous post was at 07:20 PM ----------

[/IMG]

There you go lol
[Android Q&A, Help & Troubleshooting] crazyforandroid:
If I was you, i would use adobe photoshop to copy one section of the wallpaper (that is not covered by widgets etc.), then i would copy that intill the size fits my screen. Next i would copy only the glass frame, and fill the inside with whatever you want.

I believe you can download it on deviantart where the guy made it...

I'm new to XDA!

Press the "thanks" button if i helped!

---------- Post added at 07:26 AM ---------- Previous post was at 07:23 AM ----------

I think he wants the red ribbon right? nice job but :)
[Android Q&A, Help & Troubleshooting] rafa6571:
Good, but i need a big one cuz what i'm gonna do with a small one like this
[AT&T Samsung Galaxy S II SGH-I777] K Rich:
Quick question, does anyone know if this is a "real" wallpaper, any if so where can I get it? It looks like a different colored Phase Beam.

PS, sorry if this should be in Q&A Red, go ahead and move if it fits better there.
[AT&T Samsung Galaxy S II SGH-I777] tysj:
https://play.google.com/store/apps/details?id=com.tribok.android.livewallpaper.icswallpaper.pro

Not free, but allows you to customize a few different types of live wallpapers
[AT&T Samsung Galaxy S II SGH-I777] justin860:
It's ics mood live wallpaper
[AT&T Samsung Galaxy S II SGH-I777] dschreiber69:
You think so? ICS mood looks like a bunch if circles... the one pictured above does look like a phase beam variation.
[AT&T Samsung Galaxy S II SGH-I777] Optimus-Prime:
The home depot sells real wallpaper :P

Sent from Optimus-Prime's SGSII
[AT&T Samsung Galaxy S II SGH-I777] avus_m3:
Beautiful wallpaper!
[AT&T Samsung Galaxy S II SGH-I777] K Rich:
it is..thats why I wanted to see if it was available
[AT&T Samsung Galaxy S II SGH-I777] motoman22x:
I think I've seen this somewhere before. I'll let you know if i find it.

Edit: Cant seem to find it
[AT&T Samsung Galaxy S II SGH-I777] jvanlew:
Flowery patterns too! Err, you know, for those of you that like that. I don't...
[AT&T Samsung Galaxy S II SGH-I777] Optimus-Prime:
Omfg yes they have the sunflower one! I mean, I've been told.....

Sent from Optimus-Prime's SGSII
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] docsportello:
Hi guys I have a big problem. Just when I was switching the battery of my note with a charged one, as usually every night, when I turnes on the phone it started on provisional mode (modalità provvisoria in Italian). I turnes it off and on again and now many apps and widget have disappeared. I suspect that my internal memory is inaccesible or it has broken, but how is it possible? And most of all, how can I try to recover it? I tried changing battery and turning the phone off and on again but it's all the same. I think only the apps.and widgets installed on the main memory appear. The others aren't there! I don't have any micro sd and I have never rooted the phone, so what I have is a stock rom. Please help me! Thanks.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] docsportello:
That's ok, it all came back to normal by itself. But what is prov. Mode by the way?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
it seems, your device was booted on safe Mode

Solution is just to restart.
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] anilisanil:
I dint know that Linux has a safe mode. What exactly happens here? Is it similar to window's safe mode?
[Galaxy Note GT-N7000 Q&A, Help & Troubleshooting] dr.ketan:
It can happen accidently, N if i remember correctly it happens when -

Device is restarting and if you tap menu button few times, it enters in safe mode, you can read ' safe mode' at Lt lower part of screen, widgets gets disappeared from screen, some fuctions dont works. but just restarting device manage to put back in normal state.
[Samsung Galaxy Nexus] prking07:
Does anybody have the Stock ics icons in red? Or any place i can get them? Thanks
[Samsung Galaxy Nexus] coldfusionb:
I would like to have some red icons also.
[Samsung Galaxy Nexus] turdbogls:
what exactly are you looking for....systemUI icons or app icons in red?

there is HOLO red theme over at rootzwiki, if you want some red app icons, let me know which ones and i may be able to help you out on that.
[Samsung Galaxy Nexus] coldfusionb:
Really would like red icons for app drawer, Handcent, Gmail, and chrome. Thanks
[Samsung Galaxy Nexus] turdbogls:
To get the icons in the app drawer to change you would have to decompile those apps and throw in the themed app then throw it into a flashabe zip....which is not in my wheel house. I can post some themed app icons that you can apply to the home screens with a custom launcher but I cannot do anything to change icons system wide
[Samsung Galaxy Nexus] Zer0_Cool:
If you open the apk with an archive manager, you can drop the icon into the appropriate drawable res folder, without recompiling or resigning, and it will be system wide. However, this will most likely break if the app is updated.
[Samsung Galaxy Nexus] coldfusionb:
That would be great.
[AT&T Samsung Galaxy Note I717] Dangry:
Really wanting to pick up one of these Notes but, as I learned with my HTC Desire, I ran out of space for my applications rather quickly (until I rooted it), so I'm wondering if the Note suffers from the same issue of not enough space on the stock RoM? I really don't feel like rooting it but if that's the solution then so be it but I'm a bit of an app whore and I need space for them all.

Thanks all.
[AT&T Samsung Galaxy Note I717] Dangry:
Any input appreciated.... Probably still getting one but I just wondered if app space has been an issue for anyone?
[AT&T Samsung Galaxy Note I717] Coffinfeeder:
You have 11gb after all the system files are on there. That should be plenty, and if it isn't you can always save apps to sd.
[AT&T Samsung Galaxy Note I717] Dangry:
On my old desire only 512 MB or so was dedicated to app storage so it got consumed quickly, just wasn't sure if the Note had a similar spec for its internal memory.

I made the mistake of going back to BlackBerry and I've been out of the android loop for a bit but I'm coming back!
[AT&T Samsung Galaxy Note I717] studacris:
That is the internal sdcard for user storage...not apps

The data partition (where user apps are installed) is a bit over 2gb.

Way less than 11 but still should be plenty
[AT&T Samsung Galaxy Note I717] abakarxda:
Dude, I just bought the note about a 10 days ago, I'm not sure but it seems like i have a problem with the storage. My problem is that, I downloaded many games and all the data of those games that i downloaded stored automatically to the internal memory of the phone not to my SD card. Now my 32 GB SD is empty and my phone memory is full. I don't know what to do, if I ever move any of the data to my SD card then i can't play that game it will asked to download the data again. My phone is not rooted. I was wondering if rooted, does it going to help.
[AT&T Samsung Galaxy Note I717] wish777:
Can't u click menu on some of those games and see if it will allow you to place backups or saved data to another file? And redirect it to external sd card ?
[AT&T Samsung Galaxy Note I717] SKyRocKeting727:
Just move the data to your SD card.

It should look like this after.

-Once you go NOTE, you'd say 4 inches a Joke
[AT&T Samsung Galaxy Note I717] VonEsch:
Apps can only be saved to the ~16 GB on the phone/internal sd card. The external is pretty much for music/videos/pictures. You can root, install titanium backup and backup apps to external SD. Then if you run out of space, uninstall less used items and you can restore from where you left it vs re downloading and starting over. Not perfect, but it's this way on a few phones (Droid bionic comes to mind)
[AT&T Samsung Galaxy Note I717] abakarxda:
I call Samsung and they told me the phone was designed like that. There is nothing to do
[AT&T Samsung Galaxy Note I717] Dangry:
Mine is on its way! Can't wait, bout to poo my slacks! LOL
[Vibrant Q&A, Help & Troubleshooting] TheKevin:
So my phone does this cute thing where it'll stay on for about a minute, boot into the Rom and then turn off at any given moment. I was running this rom for close to a year or so? It stays on the longest with the charger plugged in but eventually shuts off. It charges the battery. I tried different batteries too, but got the same result.

Not sure what the issue could be. Any ideas?

Thanks!
[Vibrant Q&A, Help & Troubleshooting] younix258:
Have you tried a diff rom to rule that out?? Otherwise, might be a short or you might just have a deep-seated mb issue..

Sent from a cell tower to the XDA server to you.
[HTC One S] hah2110:
Does anyone's phone get really hot with very little use?
[HTC One S] Reviewers:
It's the first batch so could be defective.
[HTC One S] gatorrph:
My wife's Nexus One gets really hot too. I wonder if it is a side effect of being so thin, not much mass to act as a heat sink so the battery can't dissipate it anywhere except to the back wall of the device?
[HTC One S] Tecardo:
Mine. Isn't really hot ... I think it's an error of your device.
[HTC One S] Taiko0:
Mine too, and now it just died on me and I can't get it on again :-(
[HTC One S] jaywhy13:
Black or grey?
[HTC One S] SFP:
My observation is that it runs much cooler than my NexusOne.
[HTC One S] samovog:
Mine gets a little hotter when doing something intensive with it...
[HTC One S] Taiko0:
Grey, why?
[HTC One S] Reviewers:
Colors don't mater.
[HTC One S] Leviathan2k:
No, not really. It gets pretty warm when charged for a while, and once when I took a test video in the car (15 minutes ongoing 720p recording) - in normal use, I feel no warmth at all.
[HTC One S] richiesuk:
no major heating issue here, after playing games for 1-2 hrs...

just lukewarm
[LG Thrill 4G] lazylu:
Is there. A way to enhance the Front camera looks Real bad
[LG Thrill 4G] Markyzz:
Nope.

What do you expect from a 1.2MP camera?

Sent from my CM7 Thrill
[LG Thrill 4G] BigCiX:
Good lighting is your best bet here.
[Captivate General] surferpunk858:
I have a Samsung Captivate with a broken screen. I Do Not have auto mount installed, therefore it is impossible to mount the drive because i can not navigate. Has anyone had any luck with any programs forcing the phone to auto mount the drive; or has anyone had luck retrieving contacts/files off the phone with a broken screen? Any help is appreciated! Thanks!
[Captivate General] TRusselo:
use adb to pull your contacts & data files... hope you had usb debugging turned on.... might work in recovery.. never tried.

next time have your contacts save and sync to google. then you can just login to gmail to see/get use your contacts.

important files should be saved to external sd card whenever possible for this reason too.
[Samsung Epic 4G Touch] iamAtR:
I can't remember what ROM I was using but when I got a new text message the slider on the TW lock screen was blue instead of orange and I loved it. Any clue on how to change that?

Thanks.
[Samsung Epic 4G Touch] euphoria:
I believe you are speaking of Blazer ROM. Best ROM out there IMO.
[Samsung Epic 4G Touch] iamAtR:
I prefer the battery and feel of calk3 but I really loved the blue slider. Looks great with my black and white lock screen. I wannit lol
[Samsung Epic 4G Touch] euphoria:
I honestly don't know all too much but it would be really simple to get it to work on Calkulins. You will just need to talk to someone slightly more educated than me. It has something to do with extracting it from the build.prop or something like that... haha as I said I don't know all too much.
[Samsung Epic 4G Touch] iamAtR:
I just like when there's a zip to flash problem solved lol
[Android Q&A, Help & Troubleshooting] Evostance:
I'm using the default ICS email application to connect to the exchange server at work and the application is perfect for me. Easy to use, nice and clean etc.

However, I have one major issue. You can't set sync periods, so for instance..Automatically Push emails between 9-5 Monday-Friday and outside those times, don't sync.

This is needed as I get automatic emails every hours but obviously I dont want these going on through the night. You could say turn the phone off, but I am required to have it on loud for on call work.

Does anyone know if I can use Tasker to modify the settings in the email app depending on the time? I could keep doing it manually, but would be easier if Tasker took care of it for me
[Android Q&A, Help & Troubleshooting] kalhimeo:
I am looking for the exact same thing. Note that it already exists for K9 mail client.

If anybody finds anything, please let us know !

Cheers
[Android Q&A, Help & Troubleshooting] Evostance:
I've managed to get it for between hours using Tasker and Synker. No joy on days though
[Android Q&A, Help & Troubleshooting] gfinockio:
Could you share how?
[Android Q&A, Help & Troubleshooting] klisanor:
In k9mail one can turn off notifications at night, not sync. Are you sure that sync can be turned off at night in k9?
[Barnes & Noble Nook Tablet] Indirect:
CLICK IT
[Barnes & Noble Nook Tablet] Indirect:
It's started. Just click the link in OP, check your hair, and come say hi!
[Barnes & Noble Nook Tablet] SilentStormer:
Awwww man, just as I got on Google+ last night to join up, then you edited your post with the dead link. Hope you do this again soon.

Sent from my CM9 Alpha 0.02 Nook Tablet
[Barnes & Noble Nook Tablet] Cubanluke88:
Schedule the next one so I can not be at the bar when you do it :p
[Barnes & Noble Nook Tablet] Indirect:
I'll host a new one tonight.
[Barnes & Noble Nook Tablet] SilentStormer:
Damn, I'm gonna be gone to a friends :-P

Sent from my CM9 Alpha 0.02 Nook Tablet
[Barnes & Noble Nook Tablet] Cubanluke88:
Sweet, just got in from a day of riding...I'll be there :D
[Barnes & Noble Nook Tablet] Indirect:
Everyone click the god damn link. :P
[Barnes & Noble Nook Tablet] SilentStormer:
Hopefully be there the next time. Had to miss it.

Sent from my CM9 Alpha 0.02 Nook Tablet
[Barnes & Noble Nook Tablet] old_fart:
it sez it wants to install "Voice and Video: plug-ins to continue... yikes !
[Barnes & Noble Nook Tablet] SilentStormer:
Is there gonna be one tonight! i can make it this time!
[Barnes & Noble Nook Tablet] Indirect:
I'll host one when I'm done hanging out with my girlfriend.
[Barnes & Noble Nook Tablet] SilentStormer:
Kk, I'm excited to be there this time

Sent from my CM9 Alpha 0.02 Nook Tablet
[Barnes & Noble Nook Tablet] SilentStormer:
Guess the girlfriend thing went a little *late* huh? ;-)

Sent from my CM9 Alpha 0.02 Nook Tablet
[HTC One X] Chaoticaa:
What I've done:

HTCdev unlocked bootloader

Installed Official Clockworkmod Touch Recovery 5.8.2.4

Flashed SuperSU v0.87

Installed MarketEnabler 3.1.1.3 from Google Play

Set provider as T-Mobile via MarketEnabler

Result:

Was able to browse and find Chrome Beta on the Play store, but couldn't download it.

Solutions attempted:

Installed Superuser 3.0.7 from Google Play

Installed BusyBox 7.8.2 from Google Play

Ran BusyBox and installed successfully

I know I can just get the APK from the forums here on XDA, but I'd like to know what I can do to get MarketEnabler to work. Any help would be really appreciated.
[HTC One X] M@31:
What are other people using instead of Market Enabler....

It is really frustrating for me, not living in Canada or in USA.

Anyone find a solution yet? Can't seem to find one anywhere!
[HTC One X] Chaoticaa:
Oh this thread is very outdated. It turns out it was working, but Chrome Beta also has another restriction requiring you to have a US-based IP. Alternatively, you can just install any APK you find of the app (there's a few here on XDA) and then go to the Play Store and it'll give you the option of updating, then you can download the app whenever you want.
[Verizon Droid Incredible 2] Dark7star:
I was able to unlock the the bootloader and get CWM installed, and even have CM7 running on my Droid Inc 2.

The question I have is: Do I need to have S-OFF? If so how should I go about gaining S-OFF?

:confused:
[Verizon Droid Incredible 2] werdna87:
No s-off is not necessary but very nice to have so I would recommend trying to get it
[Verizon Droid Incredible 2] Dark7star:
What way would you sugest to gain S-OFF?

I have read thought a ton of articles and I basically understand what needs to be done. I just dont know witch is best for the current setup I have on my phone.

My Phone:

INC2

Hboot .98

Version: 2.3.7

ROM: CM7
[Verizon Droid Incredible 2] werdna87:
I believe you need to downgrade first. It's a really simple process there's a thread around with a program that does it for you. I would suggest backing up your current setup first as I will run the ruu and put you back at stock
[Verizon Droid Incredible 2] Dark7star:
Is it this thread?

http://xdaforums.com/showthread.php?t=1466295
[Verizon Droid Incredible 2] werdna87:
No that's to unroot. You want this one http://xdaforums.com/showthread.php?t=1298990
[Verizon Droid Incredible 2] Dark7star:
Hmmm, that would have been fun. <facepalm.gif>

Can I say noob?

Anyway, Thanks for your help.
[Verizon Droid Incredible 2] werdna87:
Haha its ok man. I only know this cause I had to do it for a friend. Never actually had an inc2, I went from inc1 to rezound :-D