Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Well I see that you implemented auto start after boot completed already? Sadly 
it did not work for me today... :-/

Original comment by [email protected] on 24 Aug 2010 at 8:26

from kraigsandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Yes, the alarms should automatically reschedule themselves when the phone 
reboots.  Do you see this problem with the built-in alarm as well?  What kind 
of phone and which version of the android OS are you using?  If the problem 
exists in the stock alarm as well, your operating system is probably not 
sending the ACTION_REBOOT broadcast when it restarts.

If you put alarm klock into debug mode (by selecting application settings -> 
debug mode) you should see a popup during reboot that says 'rescheduling alarm 
1' etc for each alarm that is to be rescheduled after a boot.  If this dialog 
does not pop up, it means the application did not receive the ACTION_REBOOT 
broadcast.

Original comment by [email protected] on 24 Aug 2010 at 1:33

from kraigsandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
I think I found the reason why it did not work: It was because the app has been 
installed on the SD card. I have patched the default installation target to SD 
card so all apps that do not specify explicitly that they should be installed 
in the phone memory get installed on the SD card.
So it was my fault.

But, you may set the install location to phone memory for froyo just to make 
sure this does not happen again. - > 
http://developer.android.com/guide/appendix/install-location.html
Thank you for your fast response.

SJ
(HTC Desire , Froyo 2.2)

Original comment by [email protected] on 24 Aug 2010 at 7:07

from kraigsandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Already have an outstanding bug to do so:
http://code.google.com/p/kraigsandroid/issues/detail?id=22

It will be a bit tricky in order to maintain backward compatibility, though, 
haven't gotten around to messing with it yet... (the app currently works back 
to 1.6).

Original comment by [email protected] on 24 Aug 2010 at 7:17

  • Changed state: WontFix

from kraigsandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
You should NOT allow to install on SD card I think. On boot completed you will 
not get a call of the broadcast receiver when the app is on the SD card.  Your 
app is an Alarm Service: 
http://developer.android.com/guide/appendix/install-location.html#ShouldNot

Concerning backward compatibility:
At least it says "When your application is installed on a device with an API 
Level lower than 8, the android:installLocation attribute is ignored and the 
application is installed on the internal storage."

Original comment by [email protected] on 24 Aug 2010 at 7:53

from kraigsandroid.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 19, 2024
Oh, interesting.  Thanks for the pointer.  That certainly makes resolving that 
issue easier :-)

Original comment by [email protected] on 24 Aug 2010 at 8:00

from kraigsandroid.

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.