[android-developers] Re: Home button not working as it is supposed to.

2013-06-29 Thread RichardC
Remove android:noHistory="true" see: http://developer.android.com/guide/topics/manifest/activity-element.html#nohist My emphasis below android:noHistoryWhether or not the activity should be removed from the activity stack and finished (its finish()

Re: [android-developers] Re: Home Button

2011-10-08 Thread Mark Murphy
On Sat, Oct 8, 2011 at 3:00 AM, Romain Guy wrote: > Remember that you can always boot in safe mode (by keeping the home key > pressed during boot.) In safe mode, none of the user installed apps will be > enabled/launched. Out of curiosity, is there a standard safe mode rule for tablets, which lac

Re: [android-developers] Re: Home Button

2011-10-08 Thread Romain Guy
Remember that you can always boot in safe mode (by keeping the home key pressed during boot.) In safe mode, none of the user installed apps will be enabled/launched. On Fri, Oct 7, 2011 at 11:42 PM, Zsolt Vasvari wrote: > > Yes you'll have to reboot your phone. This isn't a serious security > i

[android-developers] Re: Home Button

2011-10-07 Thread Zsolt Vasvari
> Yes you'll have to reboot your phone.  This isn't a serious security issue > (no access to private data or otherwise elevated permissions), but is > definitely something we don't want applications to be able to do. Well, it can be a Denial of Service attack, basically preventing the user from us

Re: [android-developers] Re: Home Button

2011-10-07 Thread TreKing
On Fri, Oct 7, 2011 at 4:06 PM, Sami Pardhan wrote: > Is that currently supported in the API? How would one go about implementing > it? I know the home button key event works independently of other keys, is > there a way to override the functionality so that it brings the user back to > my app?

Re: [android-developers] Re: Home Button

2011-10-07 Thread Sami Pardhan
Is that currently supported in the API? How would one go about implementing it? I know the home button key event works independently of other keys, is there a way to override the functionality so that it brings the user back to my app? Thanks, On Fri, Oct 7, 2011 at 1:42 PM, Dianne Hackborn wrot

Re: [android-developers] Re: Home Button

2011-10-07 Thread Dianne Hackborn
On Fri, Oct 7, 2011 at 1:25 PM, TreKing wrote: > On Thu, Oct 6, 2011 at 10:13 PM, Ubiracy Santos wrote: > >> the users cannot exit. the application in other words will be a embedded >> software >> > Then build your own version of the platform. Then you will have full > control. > Or implement it

Re: [android-developers] Re: Home Button

2011-10-07 Thread Dianne Hackborn
On Fri, Oct 7, 2011 at 4:13 AM, Zsolt Vasvari wrote: > Wow, that's a serious bug. So what happens if a rogue app does this? > You are forced to hard reboot the phone by holding the down the power > button? > Yes you'll have to reboot your phone. This isn't a serious security issue (no access t

Re: [android-developers] Re: Home Button

2011-10-07 Thread TreKing
On Thu, Oct 6, 2011 at 10:13 PM, Ubiracy Santos wrote: > the users cannot exit. the application in other words will be a embedded > software > Then build your own version of the platform. Then you will have full control. ---

Re: [android-developers] Re: Home Button

2011-10-07 Thread I-Sheng Lin
I am amazed that the code works. Have been looking for it a super long time sent from my Droid. On Oct 7, 2011 12:14 PM, "Zsolt Vasvari" wrote: > Wow, that's a serious bug. So what happens if a rogue app does this? > You are forced to hard reboot the phone by holding the down the power > button?

[android-developers] Re: Home Button

2011-10-06 Thread Zsolt Vasvari
Wow, that's a serious bug. So what happens if a rogue app does this? You are forced to hard reboot the phone by holding the down the power button? On Oct 7, 10:32 am, Dianne Hackborn wrote: > This will be fixed in ICS. > > > > > > On Thu, Oct 6, 2011 at 11:12 AM, TreKing wrote: > > On Thu, Oct

Re: [android-developers] Re: Home Button

2011-10-06 Thread Ubiracy Santos
the users cannot exit. the application in other words will be a embedded software -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] Re: Home Button

2011-10-06 Thread TreKing
On Thu, Oct 6, 2011 at 10:06 PM, Ubiracy Santos wrote: > Because this application will runing in taxi cars on tablets ( Native mode > ) =/ I don't know what "Native mode" is but maybe you can make your own Home Screen?

Re: [android-developers] Re: Home Button

2011-10-06 Thread Ubiracy Santos
Because this application will runing in taxi cars on tablets ( Native mode ) =/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send e

Re: [android-developers] Re: Home Button

2011-10-06 Thread TreKing
On Thu, Oct 6, 2011 at 9:48 PM, Ubiracy wrote: > I tried in many ways, I could not intercept the button in this case. =/. Good. You're not supposed to be able to do this. What you currently doing is an exploit which Dianne just confirmed will be fixed soon, so your app is going to break in the

Re: [android-developers] Re: Home Button

2011-10-06 Thread Kristopher Micinski
Uff... You can't do it, you just can't, and if you're designing your stuff so that you should, you're doing it wrong :-(... Try another design approach? Kris On Thu, Oct 6, 2011 at 10:48 PM, Ubiracy wrote: > I try this, but doesnt work. Im coding in the 2.2 version. The home button > is disabl

Re: [android-developers] Re: Home Button

2011-10-06 Thread Ubiracy
I try this, but doesnt work. Im coding in the 2.2 version. The home button is disabled, but when I use progressdialog it enables the *home* button. I tried in many ways, I could not intercept the button in this case. =/. I'll try to modify the keyboard layout by disabling home. Any ideas? --

Re: [android-developers] Re: Home Button

2011-10-06 Thread Dianne Hackborn
This will be fixed in ICS. On Thu, Oct 6, 2011 at 11:12 AM, TreKing wrote: > On Thu, Oct 6, 2011 at 8:36 AM, Ubiracy wrote: > >> I have a native app and i need this :( my tablet only do this ( open >> application on boot and don't close ), but when i use the progressdialog >> this lock method

Re: [android-developers] Re: Home Button

2011-10-06 Thread Sami Pardhan
IcedNet, how did you guys implement the plastic shield to keep fingers away from the System Bar? On Thu, Oct 6, 2011 at 6:39 AM, IcedNet wrote: > They won't view it as a bug, but yes, I suppose in your case, you > could see it as such. > It's only a bug if the behavior is not what they desire it

Re: [android-developers] Re: Home Button

2011-10-06 Thread TreKing
On Thu, Oct 6, 2011 at 8:36 AM, Ubiracy wrote: > I have a native app and i need this :( my tablet only do this ( open > application on boot and don't close ), but when i use the progressdialog > this lock method doesn't work.. bugs?! The bug is probably allowing you to hack / exploit the key

[android-developers] Re: Home Button

2011-10-06 Thread Ubiracy
Hm...good idea.. Streets Of Boston! I'll try to do this :D -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-deve

[android-developers] Re: Home Button

2011-10-06 Thread Streets Of Boston
What happens if you put this this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD); into the *onCreate *of you Activity? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Re: Home Button

2011-10-06 Thread Streets Of Boston
I surprised this works :) Anyway, this method doesn't work for you when a progressdialog, i.e. an alertdialog, is showing. A solution could be to *not* use progressdialogs or any other dialogs in your app. Instead use DialogFragments or Activities having the theme Theme.Dialog. -- You received

[android-developers] Re: Home Button

2011-10-06 Thread IcedNet
They won't view it as a bug, but yes, I suppose in your case, you could see it as such. It's only a bug if the behavior is not what they desire it to be. We have used a plastic shield to keep fingers away from the System Bar and disabled the action bar in our kiosk apps, perhaps you can discuss lim

[android-developers] Re: Home Button

2011-10-06 Thread Ubiracy
I have a native app and i need this :( my tablet only do this ( open application on boot and don't close ), but when i use the progressdialog this lock method doesn't work.. bugs?! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To pos

[android-developers] Re: Home Button

2011-10-06 Thread IcedNet
Yes, yes it does, but it flies in the face of good Android design --- in other words, you should not do that to your users -- the lock screen isn't for that. Peace, Dan On Oct 6, 9:02 am, TreKing wrote: > On Thu, Oct 6, 2011 at 7:48 AM, Ubiracy wrote: > > This work... > > >       @Override > >

Re: [android-developers] Re: Home Button

2011-10-06 Thread TreKing
On Thu, Oct 6, 2011 at 7:48 AM, Ubiracy wrote: > This work... > > @Override > public void onAttachedToWindow() > { > > this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD); >super.onAttachedToWindow(); > } > Doing that prevents the device from go

[android-developers] Re: Home Button

2011-10-06 Thread Ubiracy
This work... @Override public void onAttachedToWindow() { this.getWindow().setType(WindowManager.LayoutParams.TYPE_KEYGUARD); super.onAttachedToWindow(); } but if a have a progressdialog this method doesn't work. =/ -- You received this me

Re: [android-developers] Re: Home Button in Android

2011-03-19 Thread Ashish Raut
Hi, When i installed the application (Without closing last confirmation screen which automatically come up after installed) and open directly there are two buttons OPEN and DONE (Without pressing DONE) i will open the application and going to the last screen of my app. and then press HOME button af

Re: [android-developers] Re: Home Button in Android

2011-03-18 Thread Raja
E Sent from my Motorola phone. Rocky wrote: >yes, it is absolutely correct. > >On Mon, Mar 14, 2011 at 11:24 AM, Ashish Raut wrote: > >> In my Android manifest: Launcher and Main activity is starting activity >> is it correct way? >> >> Regards, >> AshishR >> >> >> On Mon, Mar 14, 2011 at 11:1

Re: [android-developers] Re: Home Button in Android

2011-03-17 Thread Rocky
yes, it is absolutely correct. On Mon, Mar 14, 2011 at 11:24 AM, Ashish Raut wrote: > In my Android manifest: Launcher and Main activity is starting activity > is it correct way? > > Regards, > AshishR > > > On Mon, Mar 14, 2011 at 11:10 AM, Ashish Raut > wrote: > >> >> I have also one problem

[android-developers] Re: Home Button in Android

2011-03-14 Thread Ashish Raut
In my Android manifest: Launcher and Main activity is starting activity is it correct way? Regards, AshishR On Mon, Mar 14, 2011 at 11:10 AM, Ashish Raut wrote: > > I have also one problem related with HOME button, > Problem is: when i clicked on HOME button and go to the Desktop, > and again s

[android-developers] Re: Home Button in Android

2011-03-14 Thread Ashish Raut
*According to me* *In manifest file i have to add one TAG for each activity :* android:alwaysRetainTaskState = "true" is it correct way ? Please reply me, Regards, AshishR On Mon, Mar 14, 2011 at 11:24 AM, Ashish Raut wrote: > In my Android manifest: Launcher and Main activity is starting act

[android-developers] Re: Home button LongPress issue.

2010-11-15 Thread Muhammad
yes on Activity A as well as on Activity B On Nov 15, 1:06 pm, AJ wrote: > Do you calling finish() on Activity A while launching Avticity B? > > Thanks, > AJ > > On Nov 15, 4:12 pm, Muhammad wrote: > > > Hi > > I need Immediate help!! > > > When i launch app after splash screen Activity  A is la

[android-developers] Re: Home button LongPress issue.

2010-11-15 Thread AJ
Do you calling finish() on Activity A while launching Avticity B? Thanks, AJ On Nov 15, 4:12 pm, Muhammad wrote: > Hi > I need Immediate help!! > > When i launch app after splash screen Activity  A is launched .In > activity A there is a button on clicking that button Another Activity > B is bei

[android-developers] Re: Home button in Beagle board

2010-08-30 Thread Will
Install bar control and add a home button in the notification bar. http://www.4shared.com/file/6QzHkKk-/Bar_Control__110_.html On Aug 27, 4:15 am, SREEHARI wrote: > Hi All, > > I am testing some android apps in a beagle board with Android 2.1. But > I came to know that there is no home button in

[android-developers] Re: Home button in Beagle board

2010-08-27 Thread AJ
from adb shell type the following command "adb shell input keyevent 3" Thanks, AJ On Aug 27, 1:15 pm, SREEHARI wrote: > Hi All, > > I am testing some android apps in a beagle board with Android 2.1. But > I came to know that there is no home button in the board. I have to > test some home apps

[android-developers] Re: HOME Button

2009-02-24 Thread Immy
I tried it out.. Works perfect.. :) Thanks a lot.. Regards, Immanuel On Feb 24, 7:50 pm, "deepdr...@googlemail.com" wrote: > sending an Intent with action android.intent.action.MAIN and category > android.intent.category.HOME might do the trick > (haven't tested that myself) > > On 24 Feb., 1

[android-developers] Re: HOME Button

2009-02-24 Thread Immy
How do i do that? I couldn't find a way to do that in the code. A intent receiver is already defined for action android.intent.action.HOME and category android.intent.category.LAUNCHER in the manifest... Thanks for replying, Immanuel On Feb 24, 7:50 pm, "deepdr...@googlemail.com" wrote: > se

[android-developers] Re: HOME Button

2009-02-24 Thread deepdr...@googlemail.com
sending an Intent with action android.intent.action.MAIN and category android.intent.category.HOME might do the trick (haven't tested that myself) On 24 Feb., 14:12, Immy wrote: > On click of some button, is it possible to perform the operation or > call the method the HOME button calls by defa