tag:blogger.com,1999:blog-556059086866018353.post4186869992369781460..comments2020-08-20T01:37:48.291-07:00Comments on Playing with Androids: Registering for TIME_TICK After a Reboot in AndroidKeithhttp://www.blogger.com/profile/08290487955346801787noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-556059086866018353.post-4106880821103903072020-08-20T01:37:48.291-07:002020-08-20T01:37:48.291-07:00Same problem for me. AndroidMain does not exist in...Same problem for me. AndroidMain does not exist in my example:<br /><br />```<br />08-20 01:35:28.660 4494 4494 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.wifi/com.example.wifi.AndroidMain}: java.lang.ClassNotFoundException: Didn't find class "com.example.wifi.AndroidMain" on path: DexPathList[[zip file "/data/app/com.example.wifi-wfD48gjtZGqsPqHSkwOI-w==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.wifi-wfD48gjtZGqsPqHSkwOI-w==/lib/arm64, /system/lib64]]<br />```Leitaohttps://www.blogger.com/profile/02314492906172112690noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-89199098734982769962014-10-31T10:41:51.720-07:002014-10-31T10:41:51.720-07:00I have a error? help me please
java.lang.ClassNotF...I have a error? help me please<br />java.lang.ClassNotFoundException: Didn't find class "com.example.AndroidMain" on path: DexPathList[[zip file "/data/app/com.example-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example-1, /vendor/lib, /system/lib]]Anonymoushttps://www.blogger.com/profile/14054612090665469803noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-86686788494794131822014-06-14T09:07:49.340-07:002014-06-14T09:07:49.340-07:00when I use TIME_TICK for minute then missing one m...when I use TIME_TICK for minute then missing one minute each hour<br />why missing one minute log report in each hour ?<br />Anonymoushttps://www.blogger.com/profile/16951309991370508284noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-1596544064938764102012-04-09T15:16:07.158-07:002012-04-09T15:16:07.158-07:00Nice, but how do you stop the service and the noti...Nice, but how do you stop the service and the notifications that keep coming every minute without uninstalling the application?<br />Once the service is bound to the registered receiver, I could not stop the service once started because it was bound to the registered receiver even when I called stopService(intent) with a static intent from the same app that started the service.Android Newbhttps://www.blogger.com/profile/07560093896149334420noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-70380454544713978832010-12-16T01:43:51.231-08:002010-12-16T01:43:51.231-08:00intent.getAction().compareTo(Intent.ACTION_BOOT_CO...intent.getAction().compareTo(Intent.ACTION_BOOT_COMPLETED) == 0<br />should be written as<br />intent.getAction().equals(Intent.ACTION_BOOT_COMPLETED)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-23335487004736111382010-07-20T02:55:14.028-07:002010-07-20T02:55:14.028-07:00can use TIME_TICK for second?can use TIME_TICK for second?learningandroidhttps://www.blogger.com/profile/03064629169330176421noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-60108787103693556252010-04-06T14:07:44.558-07:002010-04-06T14:07:44.558-07:00Doh ... ignore my 1st comment, I get it now ...
it...Doh ... ignore my 1st comment, I get it now ...<br />it's the broadcast receiver that gets the ticks ... hence its the target of the intent filter ...<br /><br />I should RTFC ... I still think my 2nd comment is germain ... :)Larry Cablehttps://www.blogger.com/profile/04347398978168612489noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-57556024550136655152010-04-06T14:04:38.950-07:002010-04-06T14:04:38.950-07:00BTW is it just me (as a newbie to Android) or is t...BTW is it just me (as a newbie to Android) or is the whole programming model just a bit "clunky" and non-intuitive?<br /><br />:)Larry Cablehttps://www.blogger.com/profile/04347398978168612489noreply@blogger.comtag:blogger.com,1999:blog-556059086866018353.post-28882637436728995882010-04-06T14:03:34.374-07:002010-04-06T14:03:34.374-07:00curious why you register the TIME_TICK action on t...curious why you register the TIME_TICK action on the receiver in the manifest and not on the service?Larry Cablehttps://www.blogger.com/profile/04347398978168612489noreply@blogger.com