Coder Social home page Coder Social logo

milkcocoa0902 / kosenmobile Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 725 KB

豊田高専のお知らせをチェックするためのAndroid APPです。その他、単位計算なども出来ます。

Home Page: http://me.milkcocoa.info

License: MIT License

C# 99.87% Go 0.13%
kosen aspnetcore dotnetcore3 xamarin-android

kosenmobile's Introduction

kosenmobile's People

Contributors

milkcocoa0902 avatar

Stargazers

 avatar Natsuki Ikeguchi avatar

Watchers

James Cloos avatar  avatar

kosenmobile's Issues

初回インストール時に無駄なものが端末にインストールされている

アプリデバッグ時、端末にインストールすると過去のxmlやらdbが勝手に湧き出てくるせいで正しくデバッグが行えない。
キャッシュ等を削除しても無限に湧き出てきて迷惑この上ない。

これらの解決方法が不明なため、下記の対応を取る。

  • Syllabus関連
    新たに SHA1 エンドポイントを実装し、起動時にファイル整合性を確認する

  • RSS関連
    新たに Inquiry エンドポイントを作成。これは、IDを指定するとサーバ上のDBの中身を返してくれる
    通所通りデータベースオープン
    何件かランダムに Inquiry に問い合わせ。
    一致していればそのまま。
    不一致ならばデータが間違っていると判断して、ファイルを再度作り直す。

DBの配置パス

ファイルエクスプローラにより、KosenMobile APPのデータベースファイルが削除された。
ファイルの保管場所に問題がある可能性。

そこで、配置場所の変更を検討

NavigationViewを実装したActivityの作成

NavigationViewの初期化処理をそれぞれのActivityでやるのはめんどくさいので、baseクラスを作成してそれをもとにしたActivityへと移行する。

例:

class NavigationViewActivity{}

class SyllabusActivity : NavigationViewActivity{}

DBが読み込めない

Android.Database.Sqlite.SQLiteException
no such table rss (sqlite code 1);
while compiling;
SELECT id, title, detail, hash FROM rss ORDER BY date DESC, (OS error -2; No such file or directory)

詳細をそのまま翻訳すると ファイルが存在しない もしくは rss というテーブルがない.
File.Exists() によるとファイルは存在している.
また,PCにて同様の操作をしたところ,クエリは正常に処理される.

発生端末
HUAWEI MEDIAPAD M3

Syllabus.xmlが不完全

Syllabus.xmlのデータが欠けてる
多分、AddじゃなくてTryAddしなきゃいけない

RSS詳細ページが表示されない

関連 #7

RSSの詳細がWebサイトではなくPDFである場合にはWebViewはその内容をレンダリングすることが出来ない。
そのため、PDFかどうかを判定してIntentを発行する仕組みを作る必要がある。

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.