Coder Social home page Coder Social logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Does this only happen in landscape mode?  What app do you have on the screen 
when the 
phone sleeps so that it stays in landscape mode while sleeping (most phones 
have auto-
rotate disabled on Home Screen)?

Original comment by [email protected] on 17 Nov 2009 at 1:27

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Yes this only happens in landscape mode (when the phone is laid sideways). 

There are no active open apps open on the home screen, and the homescreen only 
changes to landscape view when the sms is received -i.e. if I wake the phone 
manually when laid on its side the homescreen still displays in portrait view. 
I 
therefore suspect the SMSPopup/HTC Messaging apps are only instigating the 
change in 
view when the message arrives.

I am not using any other messaging apps, and I have also tested using taskiller 
to 
kill all other apps and the issue has still occured. I have attached an mp4 
video 
showing the issue.

Original comment by [email protected] on 17 Nov 2009 at 10:26

Attachments:

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Awesome, thanks for the video.  Can you try disabling auto-rotate in the phone
settings and see if this prevents the problem?

Auto-rotate was enabled in the more recent versions of SMS Popup, I suspect 
this is
causing the problems as HTC's home probably isn't hanlding auto-rotate 
correctly.

Original comment by [email protected] on 24 Nov 2009 at 7:25

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
I've just tested it, and disabling auto-rotate in the phone settings does 
prevent 
the issue occuring, although obviously not an ideal solution if you regularly 
use 
apps in a rotated position.

Original comment by [email protected] on 25 Nov 2009 at 10:05

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Yep, not meant to be a final fix, just confirming my suspicions.  This is 
really a
problem with HTC's code not handling auto-rotate correctly (at least it seems 
that
way).  The only way to be sure is to get a log dump of the crash - if you'd 
like to
help with that then let me know.

Otherwise I can add an option to configure SMS Popup auto-rotate, so you can 
turn it
just off for the app rather than the whole system.  There is also another type 
of
auto-rotate called "behind" where the visible app takes on the orientation of
whatever app is behind (so when HTC's app is behind it won't autorotate and when
another app is it will).  All options are here:
http://developer.android.com/intl/fr/guide/topics/manifest/activity-element.html
#screen

Original comment by [email protected] on 25 Nov 2009 at 4:10

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Ok I'll have a dig around and find out how to get a dump of the logs over the 
next
few days. Will get back to you once I figure it out.

had a quick look at the android:screenOrientation and I guess a disable auto 
rotate
option in the SMSpopup app would be the best way to go, as the 'behind' option 
will
have a reliance on whichever 3rd party app is in the background at the time of 
the
sms being received, and guess this could be more prone to issues?

Original comment by [email protected] on 25 Nov 2009 at 4:33

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Do dump the logs go to Settings -> Applications -> Development -> Turn on "USB
debugging".

Go download the Android SDK, and unzip it to a directory:
http://developer.android.com/intl/fr/sdk/index.html

Plug in your phone and from the "tools" directory in the SDK run "adb logcat 
-d" (or
if you want you can dump it out to a file by running "adb logcat -d > log.txt".

You need to do this just after the Force Close message appears.

I believe "behind" is the default behavior ... it works fine, but basically 
will mean
you cannot use the landscape soft keyboard if the message arrives while you're 
on the
home screen ... almost all other apps have auto-rotate enabled so it would work 
fine
for the rest.

Original comment by [email protected] on 25 Nov 2009 at 4:55

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Ok. I've attached a log file. I used an app called 'log colletor' to get hold 
of it
so hope it gives the info you need. If not i'll try using the method above but 
wont
be able to try for a few days.

Original comment by [email protected] on 25 Nov 2009 at 7:21

Attachments:

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Only solution to this problem is to add an option to switch on/off autorotate 
...
will try and add this soon.  Hopefully HTC fixes this on their side in future 
updates.

Original comment by [email protected] on 19 Dec 2009 at 7:38

  • Changed state: Accepted
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
If possible, can you try this beta release out with this feature and let me 
know if
you find any issues:
http://android-smspopup.googlecode.com/files/SMSPopup-1.0.7-beta.apk
(look under Additional Settings -> Autorotate Always On for the new option, 
this will
disable autorotate if the app beneath the popup doesn't support it - like Home)

You should also uninstall and re-install from the Market after testing, 
otherwise you
may not get future updates.

Thanks!

Original comment by [email protected] on 20 Dec 2009 at 2:51

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
No Problem. I've just tried it without any issues. Seems to work a treat.

I've tested with apps beneath in both portrait and landscape and it applies 
itself
inline with the appropriate app as expected. I'll keep the beta on a couple of 
days
to see if I have any issues but it seems to manage the issue quite well.

Thanks for your work on this. appreciate it.

Original comment by [email protected] on 20 Dec 2009 at 3:24

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
1.0.7 still seems to be pretty solid. I've not had any further issues.

Original comment by [email protected] on 22 Dec 2009 at 11:27

from android-smspopup.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 2, 2024
Great, glad to hear it's working.  Will post 1.0.7 up to the Market shortly.  
Thanks
for testing!

Original comment by [email protected] on 23 Dec 2009 at 2:57

  • Changed state: Fixed

from android-smspopup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.