yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] iamatechnoob:
Haha yeah just checking to make sure its not some special app that does something else special :good:

Well, but -25 probably won't make much of a difference right? I have group 3.
[Galaxy S II Q&A, Help & Troubleshooting] andrewwright:
Have a go and see.
[Galaxy S II Q&A, Help & Troubleshooting] iamatechnoob:
Will do right after I do a nandroid :)

Thanks for the help anyway!
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
Just check the link below to gain some info on OC/UV before proceeding ma8 :)

http://xdaforums.com/showpost.php?p=34153152&postcount=15576
[Galaxy S II Q&A, Help & Troubleshooting] iamatechnoob:
Read that before, twice!
[Galaxy S II Q&A, Help & Troubleshooting] umair42:
So undervolting is useless.Display takes much power so decreasing brightness is the only way to save maximum juice.
[Galaxy S II Q&A, Help & Troubleshooting] Sun90:
well, its not that 'Undervolting' is useless, but while doing so u have to take some risk, which IMO do always bring about bad results (rather than saving some Juice on ur batt, it might cause instability most of the time ).

So it would be better, the same is left to devloper's of Kernel's since they know what they r doing :)
[Galaxy S II Q&A, Help & Troubleshooting] andrewwright:
This is why I have said little steps first.

I'm not going to say I'm right when a Rc is here saying don't do it but there are risks in pretty much every thing on xda.
[Galaxy S II Q&A, Help & Troubleshooting] iamatechnoob:
Pretty damn right you are, I guess that's how xdadevelopers came to rise isn't it? :victory:

But well to each his/her own, there seems to be a healthy bunch of people on this forum that loves their undervolting but yes I agree that to tech noobs like me, maybe we shouldn't mess around so much unless we know for sure what we're doing haha :)

Thanks for the help everyone! Appreciate it!
[Android Q&A, Help & Troubleshooting] GTMoraes:
[Q] Phone get stuck with screen locked. Rebooting starts an endless "startloop"

Hi, I have this Galaxy S3 i9300, with Wanam ROM and Boeffla-Kernel 2.12.

Sometimes, when I lock the screen, it just freezes in there. I'm unable to wake it up, and the LED keeps flashing the last notification.

Most of the time, I get notice of it when I receive a notification (it rings) and the phone cannot wake up. Calling and trying to trigger another notification does not wield any results.

The weird part is this: When I restart it, the OS starts as it should, but it "skips" the lockscreen (when I restart my phone, first thing I'm presented is the pattern lockscreen, all Android default), and it goes directly to the home screen. The touch screen is unresponsive (but it does vibrate when I press any of the two bottom buttons), but phone is still alive (few animations plays smoothly).

Then it restarts. The startup LED (fading blue to bright blue) doesn't turn off (normally it would turn off even before the lockscreen is presented).

Disabling the lockscreen wouldn't solve the problem, nor does starting on "safe mode". Same issue.

Booting into CWM and wiping data/cache folders solves it, but resets my phone. Restoring a backup (data folder only) also works.

Funny fact is that even with a fresh backup (which works), it might just hang up like before (although I didn't modify/install anything).

Logging files should give me some info, but I don't know how to retrieve them, let alone on this condition.

The only step I did so far to try to solve it was to disable a notification program (Logical, it seems to hang up when I receive a notification, and as a wipe to the data folder solves it, I presume it's an rogue app. But never, ever I had a problem with this app, but who knows if on an update, it's crashing my phone)

Does anyone have any information regarding to this? I've never seen something like that.

How do I recover my logfiles during an emergency?

-----------

Had another lock-up. No notifications received and the notification app was disabled. How do I get the log file?
[HTC Sensation] eymas:
It's strange actually, When I wanted to listen to music and increase my volume a bit the button ceased to function.

Oddly enough it works fine in the bootloader, any idea what the problem is here?

EDIT: Now it begins to worsen by the fact that I can't mount it on my computer(Listed as malfunctioning)

Using a regular HTC sensation with Codename Lungo of 27th of June, S-OFF.
[Other SmartWatches] ACdev:
I assume everyone saw this article - http://www.dailymail.co.uk/sciencet...art-WATCH-makes-calls-comes-built-camera.html. What an achievement ahead of the main companies fighting for this area of the market. The watch looks like it has been designed well from the images, allbeit perhaps a little large. The price of £150 seems extremely reasonable. Let me know your thoughts.
[Other SmartWatches] ClearD:
That's the Z1 Rock watch, or a clone of it. Literally almost identical. Check the specs on my site here. It's very very old news, and was not the first device to run a standalone OS, or even the first to run android.

Is it neat? Sure. It's also HUGE though, and runs an older version of Android than the ACTV, which came out before this one. As for the price, currently, 150 pounds equates to about 227 US dollars, and for that price, I'd rather have the actv I think.
[Other SmartWatches] speedyink:
"Teenager tries to take credit for someone elses Smart Watch"

There, fixed the title. This is an open source (I guess that's what they call it) watch body. The chinese company makes the watch, buyers who commit to massive quantities can choose color, logo, and name to sell as their own.

This watch in the past has been branded as the Z1 watch and the Vega Watch. It's not new..at all. And it's quite frankly not a very good watch phone. As ClearD was talking about the Motoactv just slays this thing in terms of power.
[Other SmartWatches] vectron:
Is this the same as Neptune Pine? http://www.neptunepine.com/product.html

Eitherway, its a wrist phone, not a smart watch. The whole idea of smart watch is to be a remote extension of the smart phone, not a replacement of it. You get notification, and decide if you want to act on it. In my opinion, wrist watch is a different category. Beside, I'm not sure if I would find it too healthy to wear most of the day 3G receiver/transmitter on my wrist with all that electromagnetic waves circulation :) At least with my smart phone its either on a dash board mount in the car when I'm driving, or the desk away from me when I'm at work, or somewhere on a table at home. Smart watch is just a bluetooth gadget ;)
[Other SmartWatches] ClearD:
Nah, the Neptune pine is way better. Like... In every aspect. Lol

Sent using XDA-funded carrier pigeons
[Other SmartWatches] ronaldheld:
I would not mind trying it out if a developer helps out. Not on AT&T so how useful the phone would be is something I am uncertain about.
[Other SmartWatches] Jarocks:
The Neptune Pine looks too good to be true and smells like vaporware.

Tapatalked from my Galaxy Note 8.0
[Other SmartWatches] SayWhat10:
Just got an email about it for preorder,looks intriguing!
[Other SmartWatches] Tweh:
The story sounds very familiar to the Neptune Pine kid. Except this one looks way better:

http://qz.com/53508/neptune-smartph...one-watch-could-beat-apples-iwatch-to-market/
[One (M7) Q&A, Help & Troubleshooting] EVOXGSR:
Hey guys, I just purchased a Google Edition HTC One and I'm waiting to receive it from shipping. My question is can I flash ROMs from the HTC One international version? Im not exactly sure how the Google Edition is identified so I'm not sure if I'm suppose to be sticking to this forum section for international unlocked devices or AT&T version for instance.

I know that despite it is a Google Edition, if I recall correctly, it's just possibly an AT&T or T-Mobile variant. So I just wanted to know, if I am going to be flashing ROMs onto this Google Edition HTC One, which version of the phone I should be in for forum sections before I cause irreversible damage. I really want to get Paranoid Android or Revolt ROM onto it ASAP.

Thanks for any insight
[One (M7) Q&A, Help & Troubleshooting] Aerys:
Hope so!
[One (M7) Q&A, Help & Troubleshooting] dryspuri:
So, this is the forum you want, go to original android dev in this forum, these roms are there but still waiting resources from google!!, if you are asking about sense roms, i think you will be able flash them once you achieve s-off and supercid
[One (M7) Q&A, Help & Troubleshooting] EVOXGSR:
Is there a reason why I must stay specifically in original android development? The ROM I'm eyeing is in the android development section. I'm not looking for any sense ROMs. I love the stock experience with the ability to change DPI's on my apps. That's it. Sorry if I'm not understanding it all right away, so I will be in HTC One forum but cannot jump into android development section just yet? I don't get what you mean by resources from google.

quick side note question, is the google edition bootloader unlocked?

Thanks for the quick responses :)

edit: i just realized Revolt ROM 4+, the one I'm looking to load, is in android original development. didn't mean to confuse anyone.
[One (M7) Q&A, Help & Troubleshooting] EVOXGSR:
Anyone have answer to my earlier questions?
[One (M7) Q&A, Help & Troubleshooting] jonny68:
I wonder why anyone would want to buy a Google search edition phone but all you simply have to do is flash an appropriate ROM on the normal HTC One.
[One (M7) Q&A, Help & Troubleshooting] a box of kittens:
To answer your question.. I'm sure you'll be able to flash any roms you would like...don't see a reason why not same hardware basically
[One (M7) Q&A, Help & Troubleshooting] yeyoeddy:
You can flash roms from the international version make sure have the things that are required for the rom you like take a look around there's plenty already :laugh:
[One (M7) Q&A, Help & Troubleshooting] EVOXGSR:
thanks.
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
So today i have had nothing but problems with flashing roms. I was on the PAC rom nightlies, but decided to go back to touchwiz roms due to the wifi calling. I tried flashing wicked v4, booted fine but once i reboot, got stuck at the samsung boot logo. tried reflashing/wiping/flashing other roms, including PAC again, all would result in getting stuck at the samsung boot logo. so i used odin to go completely back to stock. That wouldnt boot at first, so i tried wiping data in stock recovery, luckily that got it to boot. I then re-rooted and tried to flash infamous 2.5. same thing, got stuck at the samsung boot logo. finally, i was able to get infamous google edition to boot, but isnt what i want (since it doesnt have wifi calling), but is the only thing i could get to boot.

So does anyone have any idea why my phone is being so moody, or am i just having a bad day?

edit:i will attempt to try and flash infamous 2.5 when i get out of work to see if my phone is in a better mood, but right now i just need a working phone

edit 2: if its relavent, before i used odin, i was using twrp recovery, but after odin, i used clock work mod touched
[T-Mobile Samsung Galaxy S 4] Vicious89:
I also having the same problem, by just rebooting on jedi it goes into bootloop. My guess is either the kernel or the recovery (no expert). On my friends ATT it bootlooped only because I didn't flash the required Ktoons kernel. As for Tmobile I'm not sure of the bootloops, but to fix it i just dirty flash a rom and it works but it happens usually after i flash some add ons.
[T-Mobile Samsung Galaxy S 4] AxAtAx:
Both of the problems here are kernels, change to another kernel, should fix these problems.

Good luck

If that does not work, come back here, we will figure something else out.
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
just tried flashing infamous 2.5, this time with ktoonz kernel, same result, stuck at samsung.

Going to try wicked v4 this time
[T-Mobile Samsung Galaxy S 4] mgbotoe:
You tried infamous with it stuck kernel?

But I know what you mean been experiencing that with some Rom as of late not sure what's the deal...

Famously Infamous
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
yes i have tried it with the kernel it comes with, same result.

still downloading wicked.
[T-Mobile Samsung Galaxy S 4] mgbotoe:
What recovery are you using? I know twrp latest is very buggy for most people...also I heard its not fully cleaning people phones for a flash and what not..Im quite sure its a recovery bug for you
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
ive used twrp before i odind back to stock. but now i have been using clockwork mod touch, still having the same problem
[T-Mobile Samsung Galaxy S 4] LIL_ROOKIE:
after flashing kernal wipe cache,dalvik and fix permissions that should work
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
i have been doing that after every new flash.

anywho, wicked v4 is booting with ktoonz kernel, and after a reboot its continuing to boot, so im not going to press my luck and stay on wicked. though i still would like to know whats going on.
[T-Mobile Samsung Galaxy S 4] norml:
You're not "formatting data" correct? Should only "wipe data". Not format.
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
no im not formatting data lol i know the difference
[T-Mobile Samsung Galaxy S 4] norml:
LOL, I'm sorry, just that I have seen soooo many ppl getting bootloops or stuck samsung screens, because of that and also not knowing exactly what to wipe. Just trying to help.:o:victory::highfive:
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
its no problem
[T-Mobile Samsung Galaxy S 4] 31337_haxer:
Check SD card

I had a similar issue where my S4 just decided to go into a bootloop on the way to work. A coworker of mine's wife's S3 did the same exact thing and we were finally able to pin it down to both having a SANDISK 32GB micro sd card. Once I pulled the card (after having ODIN'd back to stock and pulling my hair out my desk =/) the phone booted right up. Since all I had on there was music I stuck it in after the phone booted, reformatted it from the stock odin restore (MDL), and I haven't had any issues since. Just figured I'd let you know what caused me to go insane for a few hours since it wouldn't boot after flashing anything at all and only occasionally boot from a clean odin restore or fresh wicked flash. After talking to another guy at work that has a note II, S3, and S4 apparently I'm not the only one that's had this issue pop up.

Since I fixed it I've been running Infamous GE (Infamous Kernel) and The leaked GE 4.3 build without issue.
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
Wow, SanDisk sd cards have been really sucKing lately. I'll try taking out my sd card if it ever happens again
[T-Mobile Samsung Galaxy S 4] cocokasper:
I'm using a PNY SD card... just flashed the 7.2 version of infamous, and out of 20 boot attempts, 2 or 3 booted past the GS4 logo.

seems to work if I go back into recovery and factory reset, boot again, and that's the only way I've gotten past the GS4 screen.

Im using TWRP
[T-Mobile Samsung Galaxy S 4] TheAtheistOtaku:
I've since figured out the problem. For whatever reason when you wipe the cache & dalvic with twrp, sometimes something happens where your internal memory fills up completly, leaving you with no space. Formating the internal from twrp fixes that, but of course you loose everything not on your sd card. Can confirm this problem in twrp 2.6.0 also, since it happend a few times for me

I now just use clock work mod touch, and haven't had the problem since. Pity though,I prefer twrp
[MDA II, XDA II, 2060 ROM Development] gotan:
hi i would like to know how u guys put up icons in the tray like power off etc..

i know its in the software.. but i want to customize mine. other software doesnt show functions to put up in tray.. tnx1
[MDA II, XDA II, 2060 ROM Development] Rudegar:
hhmmm not sure what it is you are asking

do you mean how you program as in c++ or something to put icons there ?

or do you just want to add your own icons to the bar ?

if so then maybe there is some program which let you add your own

but i guess the program would have to be made specialy to add functions to the bar dont know of any such program myself

try http://www.freewareppc.com
[MDA II, XDA II, 2060 ROM Development] Cyber-mate:
Have a small utility called True Toolbar. What it does it minimizes the opened apps to the traybar so that you refer to them when you want. Of course such a practice eats up your RAM. But you need to disable any "Close button" apps such as Spb Plus!

You can customize it to your choice of icons and even groups...
[MDA II, XDA II, 2060 ROM Development] iggy:
Go to this site and scroll down to PHM TrayLaunch

http://www.phm.lu/Products/PocketPC/PowerToys/
[MDA II, XDA II, 2060 ROM Development] xda2jojo:
Its a PHM Tray Launcher

I am using the Broadcom BT Stack and need much memory...one of that program(s) are also a memory eater...like the PHM Tray Launcer and SmartFilter...anyway its an everybodies option...pm me for the cabs or search...

thanks
[HTC Desire C] kaleem11:
Hi. I need orignal rom of htc desire c nfc version. Country doesn't matter but it would be great if it is uk rom. Thanks.
[Java for Android App Development] Wampirate:
Hey,

I want to learn how to create android games, I know how to write 2D games in C++ using Allegro library.

I've recently started to learn java so that I can make such games for Android devices.

I have two books - "Android Game Programming for Dummies" and "Beginning Android Games" -

the thing is the latter is too complicated for me, and they are using frameworks which is kinda advanced - I want to start from very simple apps so that I can really understand how it all works.

The former on the other hand started well, I've learned how to make activities and switch between them, show bitmaps and simple shapes like rectangles.

However the first game in this book is a card game that is turn based - and I want to make something different entirely - a game where I need timer events - what it means is that every given amount of time some actions are executed.

How do I do it ?

Here's part of my code where I would like to include a timer and actions that will be executed.

This code shows 3 rectangles in random positions and a circle. When I touch the screen, the circle is redrawn there.

public class GameView extends View{

private Paint redPaint;
private int circleX;
private int circleY;
private float radius;
List<Obstacles> listaL = new ArrayList<Obstacles>();
List<Obstacles> listaR = new ArrayList<Obstacles>();
List<Obstacles> listaT = new ArrayList<Obstacles>();
List<Obstacles> listaB = new ArrayList<Obstacles>();

protected void onSizeChanged(int w, int h, int oldw, int oldh)
{
super.onSizeChanged(w, h, oldw, oldh);
for (int i=0;i<3;i++)
{
Obstacles obs = new Obstacles();
listaL.add(obs);
}
Random rand = new Random();
for (int i=0;i<listaL.size();i++)
{
listaL.get(i).y=rand.nextInt(400)+20;
listaL.get(i).x=rand.nextInt(760)+20;
}

}

public GameView(Context context) {
super(context);
redPaint = new Paint();
redPaint.setAntiAlias(true);
redPaint.setColor(Color.RED);
circleX = 100;
circleY = 100;
radius = 30;

}
[MENTION=439709]override[/MENTION]
protected void onDraw(Canvas canvas)
{
canvas.drawCircle(circleX, circleY, radius, redPaint);
redPaint.setStrokeWidth(1);
for (int i=0;i<listaL.size();i++){
canvas.drawRect(listaL.get(i).x,listaL.get(i).y,listaL.get(i).x+40,listaL.get(i).y+40,redPaint);
}

}
public boolean onTouchEvent(MotionEvent event)
{
int eventaction = event.getAction();
int x = (int)event.getX();
int y = (int)event.getY();
switch (eventaction)
{
case MotionEvent.ACTION_DOWN:
circleX = x;
circleY = y;
break;
case MotionEvent.ACTION_UP:

break;
case MotionEvent.ACTION_MOVE:
break;
}
invalidate();
return true;

}
}
[Java for Android App Development] nikwen:
There is the Timer class in Java with a schedule method.

Check this: http://javarevisited.blogspot.de/2013/02/what-is-timer-and-timertask-in-java-example-tutorial.html
[Java for Android App Development] Wampirate:
Okay thanks I'll try this.

However, is this how I am supposed to do it in android apps/games? I've read that I should measure deltatime so that on different devices it all runs equally fast. How do you make games such as linerunner where the obstacles move towards you?

I can make such a game in c++, where every time timer is executed x coordinates of obstacles are reduced by a constant so that it looks as if they were moving towards the player
[Java for Android App Development] nikwen:
Of course, measuring the delta time and then calculating the movement is better if you want it for moving things.

I thought you want to do something every 2 or more seconds. In that case the delta time would be useless.
[Java for Android App Development] Wampirate:
I want to do it every 1/60 of a second :D

Can you guide me how to implement the loop that measures the delta time and executes actions?

BTW: The method you gave the link to me works but its a bit laggy on my phone.
[Java for Android App Development] nikwen:
Here you go. That should work:

boolean running = true;
int oldTime = System.currentTimeInMillis();
int newTime;
while (running) {
newTime = System.currentTimeInMillis();
int deltaTime = newTime - oldTime;

//example for moving an image:

int step = speed * deltaTime;

//TODO: move the image
}

EDIT: Of course, put this into a new Thread:

Thread thread = new Thread() {
[MENTION=439709]override[/MENTION]
public void run() {
//TODO: Code from above goes here
}
};
thread.start;

---------- Post added at 02:56 PM ---------- Previous post was at 02:47 PM ----------

This tutorial should be exactly what you are looking for: http://www.javacodegeeks.com/2011/06/android-game-development-tutorials.html

I used it, too. ;)

However, using an engine like AndEngine makes every thing much easier.
[Java for Android App Development] sak-venom1997:
I guess you should study Thread Synchronization using java that might just do the trick

As u mentioned you have C++ experience I strongly recomend you to code using NDK its lots faster and will give a vast platform via Open GL ES
[Java for Android App Development] nikwen:
However, programming with the NDK is much harder. And there are less tutorials.
[Java for Android App Development] Wampirate:
Thanks a lot guys! Especially you nikwen, answering to all my questions:D You both got thanks from me.

I will try and implement the delta time timer solution.

[MENTION=5106366]sak-venom1997[/MENTION] As I wrote my C++ experience was only in 2d, allegro library, not a big deal. I didn't learn OpenGL.

I was drawing some bitmaps and a I can't understand one thing. I have a sprite, a png file which has all the poses of the character in it, and each one of them is 41x41 pixels. They are connected so that if I want to make a movement animation I have to show some of them one after another.

The thing is when I want to draw a piece of a bitmap, and my source rectangle is 41x41 and so is the destination rectangle, it cuts some of the character.

Why is it that I have to make my source rectangle 1,5 times bigger than it is in reality? Each pose in sprite is 41x41.

Not sure if you can follow what I mean ;D I use this drawBitmap(Bitmap bitmap, Rect src, Rect dst, Paint paint)

My sprite.png is 123 pixels high - and there are 3 rows of different stands, so obviously one is 41 pixels high. So is their width. Yet when I make my source rectangle 41x41 it only draws some of the stand. I have to say for example new Rect(0,0,62,62) to get the first full stand visible.
[Java for Android App Development] nikwen:
Welcome. :)

Are you sure that the original images are 41x41? That sounds like strange dimensions.

Could you please post some code? We cannot help you without your code (just the important parts). ;)