Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MVP - Print blank sudoku from mobile app #1

Closed
6 tasks done
ThomasCWright opened this issue Nov 13, 2020 · 7 comments
Closed
6 tasks done

MVP - Print blank sudoku from mobile app #1

ThomasCWright opened this issue Nov 13, 2020 · 7 comments
Assignees

Comments

@ThomasCWright
Copy link
Owner

ThomasCWright commented Nov 13, 2020

For the MVP:

  • Single html page
  • Android only
  • Available on play store
    check here
  • Single page comprised of:
    • Blank Sudoku
    • Print button
@ThomasCWright ThomasCWright self-assigned this Nov 13, 2020
@ThomasCWright
Copy link
Owner Author

ThomasCWright commented Nov 18, 2020

#2 will investigate whether beeware is the framework for me

Beeware no good

@ThomasCWright
Copy link
Owner Author

Useful link for print functionality in Android
https://stackoverflow.com/q/38983649/7312441

@ThomasCWright
Copy link
Owner Author

ThomasCWright commented Nov 21, 2020

Working through paint widget tutorial first

🍾🍾🍾
Successfully completed using p4a seee issue #9

@ThomasCWright
Copy link
Owner Author

ThomasCWright commented Nov 23, 2020

Used https://stackoverflow.com/q/38983649/7312441 as starting point, however, following error thrown

11-23 12:09:14.323 23238 5039 I python : jnius.jnius.JavaException: JVM exception occurred: file:///./blank_9x9.png exposed beyond app through ClipData.Item.getUri()

Quick search reveals promising post kivy/plyer#500 (comment)

also:
https://github.com/alecvn/kivy-android-camera#kivy-example-for-android-camera

but will create a new issue for this if next try can't make tests. Passed tests but still too big a rabbithole for task in hand. Off to backlog

@ThomasCWright
Copy link
Owner Author

Finally out of the rabbit hole and kivy seems like a viable option for my level of app development🍾🍾🍾

@ThomasCWright
Copy link
Owner Author

ThomasCWright commented Nov 30, 2020

Now post to Google Play Store:

  • Generate key
    keytool -genkey -v -keystore BVWSudoku.jks -keyalg RSA -keysize 2048 -validity 10000 -alias BVWSudoku
  • Align apk:
    zipalign -v -p 4 BVWSudoku-0.2-arm64-v8a-release-unsigned.apk BVWSudoku-0.2-arm64-v8a-release-unsigned-aligned.apk
  • Sign apk:
    /home/surfubu/Documents/android-sdk/build-tools/28.0.2/apksigner sign --ks BVWSudoku.jks --out BVWSudoku-0.2-arm64-v8a-release.apk BVWSudoku-0.2-arm64-v8a-release-unsigned-aligned.apk
  • Save key & add to .gitgnore

@ThomasCWright
Copy link
Owner Author

🍾🍾🍾🍾
Available on play store and installed for closed testers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant