Development freeze - Galaxy S III Q&A, Help & Troubleshooting

Hi,
I am an android developer, i bought a month ago my samsung galaxy s3. The phone works very fast, but i have a problem when developing:
Instead of showing me "force close" when i make a programming mistake, it just freezes. Before my i9300 i had an htc desire s, which i use to develop too.
Running the same program with an error, htc shows me a message of force close, galaxy s3 freezes...
I'm really angry with that.
Does it happen to you?
Thanks a lot
edit: I think i have some problem like my phone can't show me error messages :s i don't have any idea about how to solve it
Steps that reproduce the problem:
1. Create a malfunctioning app (like a default program with this activity)
public class MainActivity extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
** setContentView(10);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.activity_main, menu);
return true;
}
}
the error is on the **, it just don't have the resource that it needs
2. It gets frozen ( i can only use the notification bar or shutdown screen)
3.1 If i use notification bar and i click the options menu i get a black screen and i have to reboot the phone
3.2 if i shutdown screen and unlock it later, i get a black screen and i have to reboot it.
That's it, i wish you could help me :s

Did you tried asking for help in stackoverflow? It will suit you more for these kind of questions
《tapatalked from galaxy s3》

bala_gamer said:
Did you tried asking for help in stackoverflow? It will suit you more for these kind of questions
《tapatalked from galaxy s3》
Click to expand...
Click to collapse
i will try, thanks

Ok, i discovered a little more about my error.
What it's not working is the error management system. I mean, when an app don't response or it has an error, android shows you the typical "the app it's not responding" with force close. Well, for some reason, mine it's not working. I can't see that message, the phone just freeze.
if someone knows the answer please tell, i have already posted on stackoverflow too.
Thanks again ^^

jl1990 said:
Ok, i discovered a little more about my error.
What it's not working is the error management system. I mean, when an app don't response or it has an error, android shows you the typical "the app it's not responding" with force close. Well, for some reason, mine it's not working. I can't see that message, the phone just freeze.
if someone knows the answer please tell, i have already posted on stackoverflow too.
Thanks again ^^
Click to expand...
Click to collapse
I'm encountering the same thing on my Galaxy Tab with ICS.

Related

Would anyone be able to code this to work for the Vibrant?

http://forum.xda-developers.com/showthread.php?t=857065
It looks like a great app. the developer only tested it on his DroidX, and heres what happened when i tested it on my Vibrant (a Nexus user reported the same problem):
TopShelf10 said:
downloaded and it opens and adds apps to the ongoing just fine...however if i click on a button, nothing launches, it just closes my notification menu
Click to expand...
Click to collapse
he gave me permission to post this here to see if anyone would be able to figure it out, he thinks this might have something to do with the issue:
dhuangxda said:
Sure. As long as you site the source and keep me updated on any findings so I can update my app accordingly.
To be more specific, I think the problem is how button events/intents are handled vs. default intent of the notification content view. I'll try to post some code when I get home.
Click to expand...
Click to collapse
There's an app that works for Vibrant, dg Quickcut.
This is one more reason why Vibrant users NEED an AOSP system like CyanogenMod 6.1 instead of the Samsung crap that we've dealt with since the beginning. When will TheDudesAndroid finish with CyanogenMod Vibrant? He hasn't posted any progress on his twitter in a long time.
twitter.com/cmsgsteam (github updates)
twitter.com/thedudesandroid (main Vibrant contributor)
johnnycs said:
There's an app that works for Vibrant, dg Quickcut.
Click to expand...
Click to collapse
No the app I posted here is different...it creates a condensed button layout as opposed to cluttering your notification menu with several ongoing items
Sent from my pocket rocket!
Still seeing if anyone would be able to help out with this?

Factory

Hello!
I am just receive Nook Tablet.
I follow hxxp://nookdevs.com/NookColor_Factory_Mode/Skip_Out_of_Box_Experience and get Factory Mode.
There is interesting information on the screen
Public key modules=108342652296433033527751572104361125
On the Nook Color this string is 000000000000000000000000.
Is it different number for different NT? May be a key?
Excuse me for my English. (I am Ukrainian)
Unrelated to development
Where's the "10 posts before you can post in the dev sections" check?
Kuzma30 said:
Hello!
I am just receive Nook Tablet.
I follow hxxp://nookdevs.com/NookColor_Factory_Mode/Skip_Out_of_Box_Experience and get Factory Mode.
There is interesting information on the screen
Public key modules=108342652296433033527751572104361125
On the Nook Color this string is 000000000000000000000000.
Is it different number for different NT? May be a key?
Excuse me for my English. (I am Ukrainian)
Click to expand...
Click to collapse
Please post items like this in the "Nook General" forum.
I can be mistaken.
I think this is related to development. Idea is the try use this Public key as key for boot-loader.
The question is this Public key (from Factory mode screen) unique for each BT or no? Anybody can post this number for his/her NT?
If this number unique for others NT then I mistaken(
Kuzma30 said:
Hello!
I am just receive Nook Tablet.
I follow hxxp://nookdevs.com/NookColor_Factory_Mode/Skip_Out_of_Box_Experience and get Factory Mode.
There is interesting information on the screen
Public key modules=108342652296433033527751572104361125
On the Nook Color this string is 000000000000000000000000.
Is it different number for different NT? May be a key?
Excuse me for my English. (I am Ukrainian)
Click to expand...
Click to collapse
In /rom/devconf there is a private and a public key hash. I was asking about this some last week. Hopefully we can get someone that knows what they are doing to take a look and see if we are on to something or if it's nothing.
Sent from my Nook Tablet using Tapatalk
For example here's my hash of private key.
iuskGXrjymF5S8K4g426XB37KUA=
Sent from my DROID BIONIC using Tapatalk
You have to know what the issues are
THESE PRIVATE KEYS HAVE NOTHING TO DO WITH SIGNING THE BOOT-LOADER.
Please understand the issues.
Delete/Close thread please

[Q] Use flash as torch

First of all I'm sorry if this has been asked & answered, but I think it wasn't.
I have a ZTE Skate(aka Orange/Optimus Monte Carlo) and it has flash led, the thing is I would like to use it as a flashlight.
Please don't point me to any app or anything cuz they won't work.
Looking at Torch.apk you find this, which I think is what the app uses to control the flash led:
Code:
public class FlashDevice
{
public static final int DEATH_RAY = 3;
private static final String DEVICE = "/sys/devices/platform/flashlight.0/leds/flashlight/brightness";
private static final String DEVICE_SHOLES = "/sys/class/leds/spotlight/brightness";
The problem is that ZTE Skate doesn't have these files: /sys/devices/platform/flashlight.0/leds/flashlight/brightness nor /sys/class/leds/spotlight/brightness
I don't know if those files are generated at boot, when using camera but the thing is that with any ROM available for this device those files don't exist.
What I'm asking is if it is possible to create them, how and if they'll work.
Or a workaround to use led as flashlight.
Thank you all in advance.
Anyone?
I know for my past phones (evo 4g and droid x) I hade to try atleast 5 diferent apps/ widgets to find a working one, I guess it depends what phone you have or what device the app supports and then MAYBE it will work. ...hope I helped.
Sent from my DROID3 using XDA App
anyone found the solution?

Native email app (missing 'mark as read')

I swear to God the first time I'm installed an ICS leak, I noticed that the email app finally had the option I was looking for. When you mark some emails down the lefthandside in the checkbox, you can bring up the menu and choose mark as read, or mark ALL as read.
Now released fully, ICS does not have this, only single mails at a time by long pressing on them.
Is this something someone can modify easily? Surely I'm not alone with this missing feature? I did find another developer that had made one, but I tired (and failed) to use it. The app loads, but crashes when retrieving mails.
http://rootzwiki.com/topic/16536-mod-ics-email-mark-all-read-anyone-apk-added/
Can any clever people help out here - pretty please?
Does have that option, look hard
Hint: its an icon not menu item.
atifsh said:
Does have that option, look hard
Hint: its an icon not menu item.
Click to expand...
Click to collapse
Thanks for the reply, boy do I feel an idiot now. But, to be fair [trying to justify my stupidy], it *was* a menu option before.
**hides under nearest rock**
Mark all as read on s2
Shame that this tread does not conclude with some more detail.
because you might get it while im still in the mist.
I still have not worked out how to mark all mail as read on a S2 with a 4.0.3 set up.
could anyone please be so kind to really clear this up for us?
tanx a bundle
Rubl
[email protected] said:
Shame that this tread does not conclude with some more detail.
because you might get it while im still in the mist.
I still have not worked out how to mark all mail as read on a S2 with a 4.0.3 set up.
could anyone please be so kind to really clear this up for us?
tanx a bundle
Rubl
Click to expand...
Click to collapse
It is there,
Open email app, press menu button.....
Swyped from my Samsung Galaxy SII

[Q] Toast message "Stealth application cannot register this application"

Hello,
I just recently received mine Galaxy S5 and sometimes a toast message pops up with the message "Stealth application cannot register this application".
Does anybody know the source of this message? I've attached an attachment with a screenshot of the message.
Thank you in advance.
Marcel
Fangblade said:
Hello,
I just recently received mine Galaxy S5 and sometimes a toast message pops up with the message "Stealth application cannot register this application".
Does anybody know the source of this message? I've attached an attachment with a screenshot of the message.
Thank you in advance.
Marcel
Click to expand...
Click to collapse
Some Samsung bloatware. It's not Stealth - it's S Health: http://www.appbrain.com/app/s-health/com.sec.healthdiary
Should be able to disable S Health through the Settings > Application Manager (probably under the More... Tab on Top Right if it is like other new Samsungs) > All > S Health > Disable/Turn Off
Ah, now I see it.
I was probably too spooked to read it correctly, thirst thing I thougt was Spyware.
Thank you.
You're welcome. It definitely made me click on the thread, because I was like...wtf?

Categories

Resources