kopia lustrzana https://github.com/ge0rg/aprsdroid
Add digipeated packets to export log
rodzic
24f6fc18ee
commit
1ff0f0f8a2
|
@ -376,12 +376,12 @@ class StorageDatabase(context : Context) extends
|
|||
def getExportPosts(call : String) : Cursor = {
|
||||
if (call != null)
|
||||
getWritableDatabase().query(Post.TABLE, Post.COLUMNS,
|
||||
"type in (0, 3) and message LIKE ?",
|
||||
"type in (0, 3, 5) and message LIKE ?",
|
||||
Array("%s%%".format(call)),
|
||||
null, null, null, null)
|
||||
else
|
||||
getWritableDatabase().query(Post.TABLE, Post.COLUMNS,
|
||||
"type in (0, 3)", null,
|
||||
"type in (0, 3, 5)", null,
|
||||
null, null, null, null)
|
||||
}
|
||||
|
||||
|
|
|
@ -497,7 +497,7 @@ trait UIHelper extends Activity
|
|||
val packet = c.getString(COLUMN_MESSAGE)
|
||||
fo.print(ts)
|
||||
fo.print("\t")
|
||||
fo.print(if (tpe == TYPE_INCMG) "RX" else "TX")
|
||||
fo.print(if (tpe == TYPE_INCMG) "RX" else if (tpe == TYPE_DIGI) "DP" else "TX" )
|
||||
fo.print("\t")
|
||||
fo.println(packet)
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue