[Q]Changing Activity - Android Software Development

I want to Change my Activity when i click on an Item, but it crashes at startup, can someone help me?
thx
€: Got it!

Related

[REQ] Disable action when touching clock on Home Screen.

Hello guys. This is a request thread. When you are at the home of the TF3D if you touch the numbers you go to the clock settings, however I would like to disable the action so it just do nothing.
Is it posible to do ??
Has anyone done it before?
Thankx!!
charly_mx said:
Hello guys. This is a request thread. When you are at the home of the TF3D if you touch the numbers you go to the clock settings, however I would like to disable the action so it just do nothing.
Is it posible to do ??
Has anyone done it before?
Thankx!!
Click to expand...
Click to collapse
I would like this also. I keep hitting it by accident.
and when you try to see the appointments i just go to the clock properties... i just want to disable that action, is it posible via manila editing?? or its a deeper fix?
Me two. Can anyone help?
Agree. Me too. This is so boring. How could we block this clock when we touch it?
Please can anyone help?
Maybe the soft SSMAPa could fix this issue.
arturobandini said:
Agree. Me too. This is so boring. How could we block this clock when we touch it?
Please can anyone help?
Maybe the soft SSMAPa could fix this issue.
Click to expand...
Click to collapse
Yes it can, I changed the action to startup tomtom, but that is also annoying because you keep hitting it accidentaly...
SSMapA
yes, people, use ssmapa, you can change click link location to any other one.
Thank you.
Works like a charm...
No action when clicking on TF3D clock
Use SSMaPa app and link 'Time click' to PrgDoNothing.exe
[URL="http://forum.xda-developers.com/showthread.php?p=2941662&highlight=prgdonothing#post2941662"]http://forum.xda-developers.com/showthread.php?p=2941662&highlight=prgdonothing#post2941662[/URL]
Ater all, they made it
Tomasecek said:
Use SSMaPa app and link 'Time click' to PrgDoNothing.exe
[URL="http://forum.xda-developers.com/showthread.php?p=2941662&highlight=prgdonothing#post2941662"]http://forum.xda-developers.com/showthread.php?p=2941662&highlight=prgdonothing#post2941662[/URL]
Click to expand...
Click to collapse
Well this the best solution.
great work..
thanks
It works just great!!!
Thanks for the replies guys!

can someone help me with this?

i dont know what happened but now when i try to add a program to my programs list this comes up with the text overlaping the icons (see pic) and when i try to select one it will not add it to the program shortcut page. can someone help me out. Thanks
btsride said:
i dont know what happened but now when i try to add a program to my programs list this comes up with the text overlaping the icons (see pic) and when i try to select one it will not add it to the program shortcut page. can someone help me out. Thanks
Click to expand...
Click to collapse
I would definatelly do a hard reset if i were you... This usually solves these types of problems. Are you on stock ROM, or have tried any weird tweaks in your device? Or could be a program that conflicts with the whole thing.. Aaaanyway, hard reset at first

[Q] Please help with an ideea

Hi, does anyone has an idea how to implement an Brightness Screen Filter like the one here : http://www.appbrain.com/app/screen-filter/com.haxor
I need a starting point and I can't figure out how to do it. I have tried with an always on top transparent activity but I don't think this is the solution.
Thank you
Not even a single idea ?
Still no ideea ?
How about GLSurfaceView and opengl rendering...?

[Q] Add changelog/info pop-up at app start?

Hello! i have started making an app for android, and im really really a beginner. however, i got the app working (its a soundboard) but i would like a info screen to pop up when you start the app. i think its really easy to do, but i totally have no idea of how to doing it... can someone please help me?
bump... can someone help me quick with this minimal problem...
OK, this should be pretty simple.
Create a boolean value in the shared preferences, let's call it firstRun. In onCreate() you will check whether this value exists in the preferences. If it does not (or if it's set to true), you know it's the first run and you can show a dialog and set the value to false. If the value exists and is set to false (once you access the value for the first time it will automatically be created in the preferences), then you won't show anything as it is not the first run.
Showing a changelog is just an extension of this process.

[Q][solved] Beginner problem with OnCreateOptionsMenu

Hi,
I'm a french Android rookie, so excuse my english and my perhaps naive questions...
I am developing an app for Android (minSdk 14).
My main activity is a Processing PApplet, which has to be fullscreen, without an action bar.
From this activity, I want to launch a view to pass variables to my applet. I use onCreateOptionsMenu to open the options menu.
When I press the only item on this menu, I launch a "activity_settings"activity.
So far so good, but it bothers me that the user has to press the Options button, then the "Settings" button in the options menu.
So I tried to directly launch my "activity_settings" activity in onCreateOptionsMenu, without inflating the options menu.
It works the first time, but then "activity_settings" doesnt want to open any more ...
If I do the same thing using onPrepareOptionsMenu instead of onCreateOptionsMenu, it works and works again without problems ...
I do not understand why! If any nice coder wants to explain to me ... that would be nice!
Another issue, I cannot capture the size of an OnTouch event .
Code:
@Override
public boolean onTouchEvent(MotionEvent event) {
Log.d("Touched", String.valueOf(event.getSize()));
return super.onTouchEvent(event);
}
LogCat always shows "Touched" 0.0
Is it because of my device? Samsung GT7560 (Galaxy Trend)
Thank you in advance!
marzinp said:
Hi,
I'm a french Android rookie, so excuse my english and my perhaps naive questions...
I am developing an app for Android (minSdk 14).
My main activity is a Processing PApplet, which has to be fullscreen, without an action bar.
From this activity, I want to launch a view to pass variables to my applet. I use onCreateOptionsMenu to open the options menu.
When I press the only item on this menu, I launch a "activity_settings"activity.
So far so good, but it bothers me that the user has to press the Options button, then the "Settings" button in the options menu.
So I tried to directly launch my "activity_settings" activity in onCreateOptionsMenu, without inflating the options menu.
It works the first time, but then "activity_settings" doesnt want to open any more ...
If I do the same thing using onPrepareOptionsMenu instead of onCreateOptionsMenu, it works and works again without problems ...
I do not understand why! If any nice coder wants to explain to me ... that would be nice!
Another issue, I cannot capture the size of an OnTouch event .
Code:
@Override
public boolean onTouchEvent(MotionEvent event) {
Log.d("Touched", String.valueOf(event.getSize()));
return super.onTouchEvent(event);
}
LogCat always shows "Touched" 0.0
Is it because of my device? Samsung GT7560 (Galaxy Trend)
Thank you in advance!
Click to expand...
Click to collapse
Regarding the onCreateOptionsMenu, It works the first time only because this method is called only once when the activity is created, and the options menu is created.
The onPrepareOptionsMenu is called every time it the menu is shown, like every time you go back to the activity (The activity is resumed not created).
alphascript said:
Regarding the onCreateOptionsMenu, It works the first time only because this method is called only once when the activity is created, and the options menu is created.
The onPrepareOptionsMenu is called every time it the menu is shown, like every time you go back to the activity (The activity is resumed not created).
Click to expand...
Click to collapse
Thanks a lot, I didn't figure that! Ishould have!
For the second part of my question, it's definitely my device that isnt able to mesure pressure nor size of the touch.
Showing pointers from the dev options gave me the answer. Now I have to figure another way of capturing the touch size...
marzinp said:
Thanks a lot, I didn't figure that! Ishould have!
For the second part of my question, it's definitely my device that isnt able to mesure pressure nor size of the touch.
Showing pointers from the dev options gave me the answer. Now I have to figure another way of capturing the touch size...
Click to expand...
Click to collapse
See:
https://groups.google.com/forum/#!topic/android-developers/10pF8EUEuy0

Categories

Resources