Android :: Understanding Menu Call Back Code
Jun 13, 2009
I see this example of MenuCallback code, but i don't understand where is the reference 'ImageManager.IImage image' comes from? How is that image get created and passed it to MemuCallback?
View 2 Replies
Jul 15, 2010
This is my first android device and i'm loving it... but one thing that irks me is the use, or lack thereof, of the back button.
As I am navigating menus and options in the Settings, I cannot simply go back one menu using the back key. For example, if I go to Settings->Battery Manager->Battery Profile Options and want to go back to the Settings screen, I cannot.
Pushing the back button does nothing and I can only go back to the Settings menu by going Home, then re-entering.
Another quirk regarding the back button is when reading emails. Using a regular email account such as Hotmail, I cannot simply read an email and go back to the inbox using the button.
It makes navigating the phone very tedious.
View 5 Replies
View Related
Nov 10, 2009
Dunno if this has been covered and maybe this is a stupid question. I have not had the phone long enough to have much call waiting experiences but the times I did, I noticed I had to press menu and then go thru a menu to "click over" to the other call. This is g=fine and dandy from the comfort of your couch but is not advisable if you are driving a car. Is there a one button shortcut to go to the other call without having to look at a menu?
View 2 Replies
View Related
Dec 15, 2009
Is it possible to make a call from an activity and make sure the activity doesn't keep running while the call is in session? And, once the user is done with the call (by pressing the hangup button or whatever), the call log screen wouldn't get shown and the user would be directed to a new activity within the application. I know there's ways to detect calls and call hangups through services, but, I'm not sure if it's possible to make an activity from an app pop up as soon as a call is over.
View 2 Replies
View Related
Jul 15, 2009
I have searched the forums and the htc documentation, but cannot find any way to press a number key during a call. You know those numbers that you dial where you get a voice saying for option "A", press 1, for option "B", press 2, etc.The only way I can seem to bring up the keyboard is by pressing the call button, but then it seems as though android wants to transfer the call to the number I am entering.Does anyone know of a way to enter the number for the call you are on?
View 3 Replies
View Related
Aug 18, 2010
I need to enable a MenuItem when a previous screen (Activity) returns. I tried this code:
...
((MenuItem)findViewById(R.id.menu_how)).setEnabled(true);
...
but a null pointer exception is launched. BTW, the menu_how is set to false in xml; and the code is part of onActivityResult(int requestCode, int resultCode, Intent data) call.
View 1 Replies
View Related
Oct 15, 2010
I'm getting all kinds of errors when using res/menu/menu_home.xml, and my project won't build. That's when I remembered that there was a way to create menus from java code instead of declaring it via xml. Does someone remember how to do that?
View 1 Replies
View Related
Sep 12, 2010
This might be a simple question, but I've been looking around and can't find the answer,
well, as my title said, is there any code to show the context menu on the android from a code, instead press the menu button? eg. when i touch the screen then it'll call the context menu?
View 1 Replies
View Related
Aug 5, 2009
I need to exclude an activity from appearing in recent launched menu, but i am not able of adding android:excludeFromRecents="true" in AndroidManifest.xml, I have to do it in runtime. Does anyone knows if there is possible to set FLAG_EXCLUDE_FROM_RECENTS to the activity?
View 2 Replies
View Related
Aug 5, 2009
I need to exclude an activity from appearing in recent launched menu, but i am not able of adding android:excludeFromRecents="true" in AndroidManifest.xml, I have to do it in runtime. Does anyone knows if there is possible to set FLAG_EXCLUDE_FROM_RECENTS to the activity?
View 1 Replies
View Related
Aug 1, 2009
I must to new a thread. I know how to implement this issue by Menuifest.xml, see also: http://groups.google.com/group/android-developers/browse_thread/threa...
But my question is how to add share menu of Gallery by java code not Menuifest.xml. My code is as below:
code:.........
But registerReceiver always return null, and there is no menu added to Gallery's Share.
View 4 Replies
View Related
Aug 1, 2009
I know how to implement this issue by Menuifest.xml, see also:
Google Android Developer Group related issue
But my question is how to add share menu of Gallery by java code not Menuifest.xml.
My code is as below:
CODE:........
But registerReceiver always return null, and there is no menu added to Gallery's Share.
View 1 Replies
View Related
Aug 3, 2010
So i rooted with Droid Does rom, because i heard its nice and fast and what not. So basically the only problem i have with it is this.
When on a call, the proximity sensor doesnt work, so the screen goes black. And when i press the end call button to turn the screen back on it just ends the call. Is this normal? Or a known issue?
View 10 Replies
View Related
May 23, 2010
I have two questions:
1) Before the update, there was a sound that indicated when the call was ended. Anyway to get that back?
2) Has anyone figured out a way to change the end button behavior that was previously controlled by the Spare Parts app? I would like to end button to go home and then go to sleep but Spare Parts can't do it under the new software. Any ideas?
View 8 Replies
View Related
Oct 8, 2010
In an effort to reduce duplication, I have my app's workspace split into 3 projects:
Main (A library project, where all of the common code lives)
Free (To make the free version)
Paid (To make the paid version)
Behavior in the free version and the paid version must differ sometimes. How can I "call into" the final projects from the library project? Here is some sample psuedo-code to illustrate my question: Code...
View 4 Replies
View Related
May 9, 2010
How to handle the key events for HOME, MENU, BACK after making these keys as a soft keys?
Requirement: The Device doesn't going to have any hard keys. So we want to bring these keys as a soft key and handle these keys events.
View 5 Replies
View Related
Nov 11, 2010
Kind of new to Android, and definitely don't know too much about the devices. I was wondering whether every android device out there has a menu and back button? I just wanna make sure we could assume this as a fact...
View 3 Replies
View Related
Aug 30, 2010
I'm using LauncherPro plus and cannot get back to the call screen to disconnect the call, the one in progress, if i leave that screen for any reason like to go to the home screen.If I switch over to HTC Sense I just hit the phone button from the home screen and it takes me back to the call in progress and I see a red 'end call' button.Is there a solution for this problem other than , just don't leave the call screen?
View 2 Replies
View Related
Nov 9, 2009
I am working on a device that does not have a hardware Home, Back or Menu button. I am trying to create a soft keyboard with only these three keys but I have not been able to get it working. Does anyone have any insight into my problem?
I first looked into injecting keypresses into a WindowManager but this functionality seems to have been removed.
I then looked at creating a custom soft keyboard but that will not work either. Custom soft keyboards only inject their input into the text fields they are attached to. I can't send a Home, Back or Menu keypress to the Android system.
I finally got the Home button working by using this intent to tell Android to go to the Home screen: Intent HomeIntent = new Intent(); HomeIntent.setAction(Intent.ACTION_MAIN); HomeIntent.addCategory(Intent.CATEGORY_HOME);
Unfortunately, I have not found an Intent to send for Menu and Back.
View 2 Replies
View Related
Mar 9, 2010
I have a device with no hard buttons, on which I need to get Android running. The basic port is done, but I need to provide access to Home, Menu, and Back. The Archos tablets put soft buttons in the status bar, and I'm told that the android-x86 folks have implemented this as well (though I haven't found it in their source yet).
View 2 Replies
View Related
Nov 12, 2010
I'm attempting to call start Activity(myIntent) from the click of a menu button but my application crashes at that point. The same start Activity call works fine from a regular button click, so, I assume the menu button is missing information about the context? Or maybe I'm totally off the mark here. So what's the correct way to have a menu item take me to a specific Activity? I've revised my code based on the initial set of advice. Still crashing in the same place. The debugger doesn't enter the exception clause, the app just dies. Code...
View 2 Replies
View Related
Jun 9, 2010
How can I make an app or maybe service that looks like (Nexus One touch buttons) for the navigation keys (Home, menu,Back, Search)
The buttons should always be visibly and always stay on top and send the command to the app thats running.
Someone have ideas and sample codes how to do that?
*I see an app with name (Smart Taskmanager) wich always detect when you touch the right side of the screen and then detect when you slide the finger to left.
So I think its possible, with this function I think its possible to implementate the code to simulate the (Home, Meny, Back, Search) buttons.
*I also see and test an app wich show a "cracked display" always ontop so that tecnic maybe shold be useful to always show the buttons/bitmanp on top.
Thoose function, to show the button and catch the "touch event" and send the event to the active program, thats what i dont can figure out how to do.
View 2 Replies
View Related
Dec 30, 2009
Is it possible to add custom menu items to the native Contacts app or even to the Call Log?
View 2 Replies
View Related
Jun 8, 2010
How can I get the "home" "menu" "back" and search buttons to light up?
View 4 Replies
View Related
Jun 26, 2010
Are the users able to convert the apk file of my app back to the actual code?If they do is there any way to prevent this?
View 1 Replies
View Related
Oct 22, 2009
I tend to use the phone in dark places often. I dim the screen but the little ball and the other menu buttons stay bright. Is there any way to dim them or just turn them off?
View 3 Replies
View Related
May 1, 2010
So the HOME MENU BACK and SEARCH key lights go out and randomly sometimes come back on like if I play a movie from TV.COM. Is there some way I am accidently turning them OFF?
View 3 Replies
View Related
Oct 3, 2010
Very simple question but I can't work it out.
On the Galaxy S when I first went to 'applications' it would list all of the applications in a grid form, however for some reason it now has them in a list form.
How do I change it back?
View 2 Replies
View Related
Apr 4, 2013
I update my Galaxy S2 SHV-E110S to JB but Menu and Back button not working.
View 1 Replies
View Related
May 6, 2012
What are the back,home nd menu bar called in the nexus?
and can i install it on my galaxy s?? GT-I9000
View 6 Replies
View Related