Giter Site home page Giter Site logo

mattprecious / smstimefix Goto Github PK

View Code? Open in Web Editor NEW
5.0 4.0 5.0 3.79 MB

Automatically adjusts the time stamp of incoming SMS messages for users affected by network/Android bugs on Rogers, Fido, Sprint, and more.

Home Page: http://mattprecious.com/projects/smstimefix

License: Apache License 2.0

Java 85.37% Python 13.22% JavaScript 1.41%

smstimefix's People

Contributors

mattprecious avatar

Stargazers

 avatar  avatar  avatar  avatar Ty Smith avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

smstimefix's Issues

Does not function with TextSecure

This doesn't seem to work for TextSecure (a Whisper Systems app that allows sending and receiving and storing encrypted SMS and MMS messages). My default messaging app seems to compensate for the incorrect "sent" time by default, however TextSecure does not have a feature to do this (presumably not all networks behave this way: I'm on Sprint). The sent times are all in GMT. I'm on Android 2.3.6 Transform Ultra (rooted, but stock everything).

Old Messages

Make it very dumb just to get it out there. Only option would be to set the latest time/date to change (i.e. adjust all messages before yesterday at 3pm (this time should be the ADJUSTED time)).

Force Close - Null Pointer Exception

Source method: FixService.getLastMessageId()

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.library.FixService: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2969)
at android.app.ActivityThread.access$3300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.mattprecious.smsfix.library.FixService.getLastMessageId(FixService.java:142)
at com.mattprecious.smsfix.library.FixService.onCreate(FixService.java:102)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)

Force Close - SQLiteDiskIOException

Exception class: android.database.sqlite.SQLiteDiskIOException
Source method: DatabaseUtils.readExceptionFromParcel()

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.library.FixService: android.database.sqlite.SQLiteDiskIOException: disk I/O error
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2969)
at android.app.ActivityThread.access$3300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:156)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:330)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:366)
at android.content.ContentResolver.query(ContentResolver.java:260)
at com.mattprecious.smsfix.library.FixService.onCreate(FixService.java:95)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
... 10 more

Fix Old Messages not working

i am on Sprint with a Galaxy S5 with stock 4.4.2 firmware and using SMS Time Fix 2.4.4. All of my MMS messages that i receive are timestamped 27 hours in the past. so i am trying to use the "Fix old messages" function but not having any luck. e.g. suppose i receive an MMS and the time is Jun 20, 9:00 AM. the MMS will get dated Jun 19, 6:00 AM. i try to set the Starting date to Jun 20, 8:59AM and Ending date to Jun 20, 9:01AM, add 27 hours, MMS.... 0 messages were updated. i also try Starting date of Jun 19, 5:59AM and ending date Jun 19, 6:01AM but still "0 messages were updated"

Force Close - SQLite Exception

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.library.FixService: android.database.sqlite.SQLiteException: no such column: sort_index: , while compiling: SELECT body, person, sub, subject, retr_st, type, date, ct_cls, sort_index, sub_cs, callback_number, _id, priority, read, ct_l, tr_id, st, msg_box, thread_id, reply_path_present, m_cls, read_status, failure_cause, ct_t, status, retr_txt_cs, d_rpt, error_code, m_id, m_type, v, exp, pri, service_center, address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, NULL AS body, NULL AS person, sub, NULL AS subject, retr_st, NULL AS type, date, ct_cls, sort_index, sub_cs, NULL AS callback_number, _id, NULL AS priority, read, ct_l, tr_id, st, msg_box, thread_id, NULL AS reply_path_present, m_cls, read_status, NULL AS failure_cause, ct_t, NULL AS status, retr_txt_cs, d_rpt, NULL AS error_code, m_id, m_type, v, exp, pri, NULL AS service_center, NULL AS address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM pdu WHERE ((msg_box != 3 AND (m_type = 128 OR m_type = 132 OR m_type = 130))) GROUP BY thread_id HAVING date = MAX(date) UNION SELECT thread_id AS tid, date * 1 AS normalized_date, body, person, NULL AS sub, subject, NULL AS retr_st, type, date, NULL AS ct_cls, sort_index, NULL AS sub_cs, callback_number, _id, priority, read, NULL AS ct_l, NULL AS tr_id, NULL AS st, NULL AS msg_box, thread_id, reply_path_present, NULL AS m_cls, NULL AS read_status, failure_cause, NULL AS ct_t, status, NULL AS retr_txt_cs, NULL AS d_rpt, error_code, NULL AS m_id, NULL AS m_type, NULL AS v, NULL AS exp, NULL AS pri, service_center, address, NULL AS rr, NULL AS rpt_a, NULL AS resp_txt, locked, NULL AS resp_st, NULL AS m_size FROM sms WHERE ((type != 3)) GROUP BY thread_id HAVING date = MAX(date)) GROUP BY tid HAVING normalized_date = MAX(normalized_date)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3043)
at android.app.ActivityThread.access$3500(ActivityThread.java:129)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: no such column: sort_index: , while compiling: SELECT body, person, sub, subject, retr_st, type, date, ct_cls, sort_index, sub_cs, callback_number, _id, priority, read, ct_l, tr_id, st, msg_box, thread_id, reply_path_present, m_cls, read_status, failure_cause, ct_t, status, retr_txt_cs, d_rpt, error_code, m_id, m_type, v, exp, pri, service_center, address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, NULL AS body, NULL AS person, sub, NULL AS subject, retr_st, NULL AS type, date, ct_cls, sort_index, sub_cs, NULL AS callback_number, _id, NULL AS priority, read, ct_l, tr_id, st, msg_box, thread_id, NULL AS reply_path_present, m_cls, read_status, NULL AS failure_cause, ct_t, NULL AS status, retr_txt_cs, d_rpt, NULL AS error_code, m_id, m_type, v, exp, pri, NULL AS service_center, NULL AS address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM pdu WHERE ((msg_box != 3 AND (m_type = 128 OR m_type = 132 OR m_type = 130))) GROUP BY thread_id HAVING date = MAX(date) UNION SELECT thread_id AS tid, date * 1 AS normalized_date, body, person, NULL AS sub, subject, NULL AS retr_st, type, date, NULL AS ct_cls, sort_index, NULL AS sub_cs, callback_number, _id, priority, read, NULL AS ct_l, NULL AS tr_id, NULL AS st, NULL AS msg_box, thread_id, reply_path_present, NULL AS m_cls, NULL AS read_status, failure_cause, NULL AS ct_t, status, NULL AS retr_txt_cs, NULL AS d_rpt, error_code, NULL AS m_id, NULL AS m_type, NULL AS v, NULL AS exp, NULL AS pri, service_center, address, NULL AS rr, NULL AS rpt_a, NULL AS resp_txt, locked, NULL AS resp_st, NULL AS m_size FROM sms WHERE ((type != 3)) GROUP BY thread_id HAVING date = MAX(date)) GROUP BY tid HAVING normalized_date = MAX(normalized_date)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:178)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:134)
at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:373)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:409)
at android.content.ContentResolver.query(ContentResolver.java:247)
at com.mattprecious.smsfix.library.FixService.onCreate(FixService.java:95)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3033)
... 10 more

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.library.FixService: android.database.sqlite.SQLiteException: no such column: d_ppt: , while compiling: SELECT body, person, sub, subject, retr_st, type, date, ct_cls, sort_index, sub_cs, callback_number, _id, priority, read, ct_l, tr_id, st, msg_box, thread_id, reply_path_present, m_cls, read_status, failure_cause, ct_t, status, retr_txt_cs, d_ppt, error_code, m_id, m_type, v, exp, pri, service_center, address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, NULL AS body, NULL AS person, sub, NULL AS subject, retr_st, NULL AS type, date, ct_cls, sort_index, sub_cs, NULL AS callback_number, _id, NULL AS priority, read, ct_l, tr_id, st, msg_box, thread_id, NULL AS reply_path_present, m_cls, read_status, NULL AS failure_cause, ct_t, NULL AS status, retr_txt_cs, d_ppt, NULL AS error_code, m_id, m_type, v, exp, pri, NULL AS service_center, NULL AS address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM pdu WHERE ((msg_box != 3 AND (m_type = 128 OR m_type = 132 OR m_type = 130))) GROUP BY thread_id HAVING date = MAX(date) UNION SELECT thread_id AS tid, date * 1 AS normalized_date, body, person, NULL AS sub, subject, NULL AS retr_st, type, date, NULL AS ct_cls, sort_index, NULL AS sub_cs, callback_number, _id, priority, read, NULL AS ct_l, NULL AS tr_id, NULL AS st, NULL AS msg_box, thread_id, reply_path_present, NULL AS m_cls, NULL AS read_status, failure_cause, NULL AS ct_t, status, NULL AS retr_txt_cs, NULL AS d_ppt, error_code, NULL AS m_id, NULL AS m_type, NULL AS v, NULL AS exp, NULL AS pri, service_center, address, NULL AS rr, NULL AS rpt_a, NULL AS resp_txt, locked, NULL AS resp_st, NULL AS m_size FROM sms WHERE ((type != 3)) GROUP BY thread_id HAVING date = MAX(date)) GROUP BY tid HAVING normalized_date = MAX(normalized_date)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3043)
at android.app.ActivityThread.access$3500(ActivityThread.java:129)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4701)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: no such column: d_ppt: , while compiling: SELECT body, person, sub, subject, retr_st, type, date, ct_cls, sort_index, sub_cs, callback_number, _id, priority, read, ct_l, tr_id, st, msg_box, thread_id, reply_path_present, m_cls, read_status, failure_cause, ct_t, status, retr_txt_cs, d_ppt, error_code, m_id, m_type, v, exp, pri, service_center, address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM (SELECT thread_id AS tid, date * 1000 AS normalized_date, NULL AS body, NULL AS person, sub, NULL AS subject, retr_st, NULL AS type, date, ct_cls, sort_index, sub_cs, NULL AS callback_number, _id, NULL AS priority, read, ct_l, tr_id, st, msg_box, thread_id, NULL AS reply_path_present, m_cls, read_status, NULL AS failure_cause, ct_t, NULL AS status, retr_txt_cs, d_ppt, NULL AS error_code, m_id, m_type, v, exp, pri, NULL AS service_center, NULL AS address, rr, rpt_a, resp_txt, locked, resp_st, m_size FROM pdu WHERE ((msg_box != 3 AND (m_type = 128 OR m_type = 132 OR m_type = 130))) GROUP BY thread_id HAVING date = MAX(date) UNION SELECT thread_id AS tid, date * 1 AS normalized_date, body, person, NULL AS sub, subject, NULL AS retr_st, type, date, NULL AS ct_cls, sort_index, NULL AS sub_cs, callback_number, _id, priority, read, NULL AS ct_l, NULL AS tr_id, NULL AS st, NULL AS msg_box, thread_id, reply_path_present, NULL AS m_cls, NULL AS read_status, failure_cause, NULL AS ct_t, status, NULL AS retr_txt_cs, NULL AS d_ppt, error_code, NULL AS m_id, NULL AS m_type, NULL AS v, NULL AS exp, NULL AS pri, service_center, address, NULL AS rr, NULL AS rpt_a, NULL AS resp_txt, locked, NULL AS resp_st, NULL AS m_size FROM sms WHERE ((type != 3)) GROUP BY thread_id HAVING date = MAX(date)) GROUP BY tid HAVING normalized_date = MAX(normalized_date)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:178)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:134)
at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:373)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:409)
at android.content.ContentResolver.query(ContentResolver.java:247)
at com.mattprecious.smsfix.library.FixService.onCreate(FixService.java:95)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3033)
... 10 more

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.FixService: android.database.sqlite.SQLiteException: no such column: htc_category: , while compiling: SELECT _id FROM sms WHERE ( htc_category= 0) ORDER BY _id DESC
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3140)
at android.app.ActivityThread.access$3300(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2202)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: no such column: htc_category: , while compiling: SELECT _id FROM sms WHERE ( htc_category= 0) ORDER BY _id DESC
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:158)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:114)
at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:372)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:408)
at android.content.ContentResolver.query(ContentResolver.java:245)
at com.mattprecious.smsfix.FixService.getLastMessageId(FixService.java:69)
at com.mattprecious.smsfix.FixService.onCreate(FixService.java:48)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3125)
... 10 more

SMS Time Fix doesn't autostart on x10 Mini Pro with CM Gingerbread

SMS Time Fix works, but it doesn't autostart. Device:

Sony Ericsson x10 Mini Pro
Android 2.3.7
Kernel 2.6.29-nAa-14
Modversion MiniCM7-2.2.1-mimmi

I suspect that this has something to do with the receivers. Please change the receivers. For instance, make it so that SMS Time Fix starts when the phone has connected succesfully with the carrier's phone network.

Fix auto-start on ICS

The service isn't auto-starting after boot on ICS, specifically the Galaxy Nexus.

Roaming Only

Investigate the ability to have a 'roaming only' option.

Web Help Page

Move the help page out of the app and onto the web.

Force Close - Index OOB

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.FixService: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 65
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3195)
at android.app.ActivityThread.access$3300(ActivityThread.java:136)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2243)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5068)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.CursorIndexOutOfBoundsException: Index -1 requested, with a size of 65
at android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
at android.database.AbstractWindowedCursor.checkPosition(AbstractWindowedCursor.java:214)
at android.database.AbstractWindowedCursor.getLong(AbstractWindowedCursor.java:99)
at android.database.CursorWrapper.getLong(CursorWrapper.java:132)
at com.mattprecious.smsfix.FixService.getLastMessageId(FixService.java:147)
at com.mattprecious.smsfix.FixService.onCreate(FixService.java:102)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3181)

Increased Logging

Add very verbose logging all over the app to help figure out bugs.

Look into whether or not to write to a dedicated log file on the SD card or to just write to the standard Android log and ask users to install a log dumper.

Freeze - ANR

DALVIK THREADS:
(mutexes: tll=0 tsl=0 tscl=0 ghl=0 hwl=0 hwll=0)
"main" prio=5 tid=1 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x400275e0 self=0xd048
| sysTid=2679 nice=0 sched=0/0 cgrp=default handle=-1345002112
at android.os.BinderProxy.transact(Native Method)
at android.content.ContentProviderProxy.bulkQueryInternal(ContentProviderNative.java:376)
at android.content.ContentProviderProxy.query(ContentProviderNative.java:414)
at android.content.ContentResolver.query(ContentResolver.java:264)
at com.mattprecious.smsfix.library.FixService.onCreate(FixService.java:95)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2223)
at android.app.ActivityThread.access$2500(ActivityThread.java:132)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1102)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:150)
at android.app.ActivityThread.main(ActivityThread.java:4293)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)

"Binder Thread #2" prio=5 tid=8 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x40519200 self=0xb2b88
| sysTid=2686 nice=0 sched=0/0 cgrp=default handle=3269368
at dalvik.system.NativeStart.run(Native Method)

"Binder Thread #1" prio=5 tid=7 NATIVE
| group="main" sCount=1 dsCount=0 obj=0x405189a0 self=0x1619c8
| sysTid=2685 nice=0 sched=0/0 cgrp=default handle=1448328
at dalvik.system.NativeStart.run(Native Method)

"Compiler" daemon prio=5 tid=6 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x40514fc8 self=0x246e90
| sysTid=2684 nice=0 sched=0/0 cgrp=default handle=2387536
at dalvik.system.NativeStart.run(Native Method)

"JDWP" daemon prio=5 tid=5 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x40514f18 self=0x246c90
| sysTid=2683 nice=0 sched=0/0 cgrp=default handle=1446040
at dalvik.system.NativeStart.run(Native Method)

"Signal Catcher" daemon prio=5 tid=4 RUNNABLE
| group="system" sCount=0 dsCount=0 obj=0x40514e58 self=0xba590
| sysTid=2682 nice=0 sched=0/0 cgrp=default handle=735920
at dalvik.system.NativeStart.run(Native Method)

"GC" daemon prio=5 tid=3 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x40514db0 self=0xba458
| sysTid=2681 nice=0 sched=0/0 cgrp=default handle=738280
at dalvik.system.NativeStart.run(Native Method)

"HeapWorker" daemon prio=5 tid=2 VMWAIT
| group="system" sCount=1 dsCount=0 obj=0x40514cf8 self=0xba320
| sysTid=2680 nice=0 sched=0/0 cgrp=default handle=3269304
at dalvik.system.NativeStart.run(Native Method)

Past Only

Add some sort of functionality for past only. May be possible to group into #11, may not.

MMS?

A lot of comments about it not working for MMS... will have to test using 2 phones.

Rules

Enable users to add customized rules for when to apply the changes.

e.g. Within +/- 1 hour of phone's time
e.g. Greater than +/- 1 hour of phone's time

Force Close - Class Not Found

java.lang.RuntimeException: Unable to instantiate service com.mattprecious.smsfix.library.FixService: java.lang.ClassNotFoundException: com.mattprecious.smsfix.library.FixService in loader dalvik.system.PathClassLoader[/mnt/asec/com.mattprecious.smsfix-1/pkg.apk]
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3102)
at android.app.ActivityThread.access$3300(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2202)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: com.mattprecious.smsfix.library.FixService in loader dalvik.system.PathClassLoader[/mnt/asec/com.mattprecious.smsfix-1/pkg.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3099)

Force Close - Null Pointer Exception

java.lang.RuntimeException: Unable to create service com.mattprecious.smsfix.FixService: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3195)
at android.app.ActivityThread.access$3300(ActivityThread.java:136)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2243)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:5068)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.mattprecious.smsfix.FixService.onCreate(FixService.java:99)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3181)
... 10 more

By Contact

Choose contacts to apply adjustments to. Sounds like a very unique case..

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.