Eric House
29afb19cb4
permissions: ask when opening SMS game
...
Add post-open test for SMS and then ask for SMS permission, giving
rationale if the OS says I should. Meant adding a new interface for
rationales and wiring that in. It's a bit spaghetti and I may think of a
cleaner way later.
2016-12-16 21:04:15 -08:00
Eric House
5f6cf35d93
permissions: move opening game to BoardDelegate
...
When opening a game that sends via SMS, check if it has permission and
offer to remove the config if it doesn't, removing a similar check from
pre-opening code. (Here it'll catch e.g. games opened from the
GameConfig process.) Sends/receives without SMS permission are already
caught by existing catch{} blocks, so there's no crash.
2016-12-16 07:35:30 -08:00
Eric House
e9d0b61254
Merge branch 'android_branch' into android_sdk_23_take_3
2016-12-15 08:10:06 -08:00
Eric House
ca0ee429bb
logging and string changes
2016-12-15 08:09:28 -08:00
Eric House
c398af2ac9
perms: ask for the set needed to open a game
...
rewrite perms23 class to use Builder pattern, making it easier to pass
more than one required permission. Use that (with hard-coded set for
now) to check and ask for permissions a game needs to communicate. Offer
to remove the comms methods the user doesn't want to permit (but that's
not implemented yet.)
2016-12-11 20:54:24 -08:00
Eric House
0237403a26
Merge branch 'android_release' into android_branch
...
This will probably not compile...
2016-11-28 20:19:54 -08:00
Eric House
6171d9ce90
prep a quick-fix release, with string changes
...
Two crashes reported on the Google Play store in the 112 version have at
least easy work-arounds: catching exceptions and doing nothing. In both
cases that should be harmless, so assuming the causes are rare it's a
good move.
2016-11-28 20:02:38 -08:00
Eric House
f415cf22ca
change strings for next release
2016-11-28 19:19:03 -08:00
Eric House
e0f0666b1c
wifi: make invitations work
...
Add UI, minor thanks to recent refactoring, to allow invitations via
wifi direct. Uses a mapping of all currently known device mac addresses
to names, with only the latter shown to users. Works well, though
something I changed seems to have causes devices to start losing track
of their connections to each other.
2016-11-21 21:10:16 -08:00
Eric House
33326d38a7
wifi direct: harvest and send mac address
...
Grab and store the local device's mac address. Add p2p as a type of
address, represented by the mac address of the recipient. Include the
local device's address in invitations sent when specified by user. Now
the WifiDirectService class is being passed a packet and the address of
the recipient; it will next need to set up sockets with every device it
encounters and map them to their mac addresses so that it can do a send.
2016-11-14 08:06:53 -08:00
Eric House
540a720fb7
up release strings
2016-10-25 20:06:10 -07:00
Eric House
cdf22ec913
remove dual-pane toast from startup
2016-09-04 09:40:46 -07:00
Eric House
c16fda23af
up strings for new release
2016-09-02 21:37:37 -07:00
Eric House
cd0de1daa7
ready for interim release
...
up version strings and make a toast DEBUG-only
2016-08-29 06:33:27 -07:00
Eric House
16b9bab719
up version strings and changes list
2016-08-19 11:58:10 -07:00
Eric House
6cc67b2347
always show toast announcing dual-pane mode
...
on startup, even for non-debug builds. And move the string into a
resource for localization.
2016-08-19 11:37:24 -07:00
Eric House
c4d7626ae1
tweak toolbar layout to fit better
2016-08-18 12:00:18 -07:00
Eric House
0a41471410
use dimen resource for toolbar button size
...
I need a way to have the buttons be smaller when the view's in a
fragment in dualpane mode. This probably is isn't the fix but it's worth
preserving.
2016-08-15 16:42:09 -07:00
Eric House
fd0bf23915
remove volume-keys-zoom option
...
Seem sit hasn't worked in a while on newer devices and nobody's
complained. We all pinch to zoom now.
2016-08-15 16:23:24 -07:00
Eric House
d15eab013d
remove zoom button and menu
...
Everybody has multi-touch phones now.
2016-08-15 16:13:01 -07:00
Eric House
8fdc2b90ea
explain before exiting when dual-pane enabled
2016-08-15 14:03:01 -07:00
Eric House
34b7f9de4d
tweak string
2016-08-15 08:18:11 -07:00
Eric House
3baeb79a45
cleanup: "message" => either "chat" or "move"
2016-08-12 11:18:56 -07:00
Eric House
06fb4ef0ee
improve experience switching dualpane mode
...
better strings, and explain when pref changed that user must restart for
it to take effect. Actually restarting from inside prefs delegate is
hard enough I'm not doing it for what should be advanced users.
2016-08-10 11:56:05 -07:00
Eric House
08269c8962
offer to turn on dual-pane mode for upgraders
...
When a device is a tablet and not a first-time install, put up an offer
to enable dual-pane mode. Change confirm-alerts to include
do-not-show-again box, and use that. Add menu item, hidden when not in
dual-pane mode, to turn it back off. Exit app after posting a
notification and a toast on changing that preference so it'll take
effect.
2016-08-02 21:49:17 -07:00
Eric House
377ac269c9
Turn enable-dualpane prefs back on. Ignored so far.
2016-07-10 13:12:29 -07:00
Eric House
c3817ef452
change version strings for new release
2016-07-08 06:18:07 -07:00
Eric House
88d8e61620
cleanup; tweak string
2016-07-02 12:28:57 -07:00
Eric House
3bc60c59d0
Add option to remove relay from a game once it's been turned off.
2016-06-26 15:53:26 -07:00
Eric House
e703ae7ec5
get rid of Main activity. Next release I need to find a way at launch
...
time to choose between dual-pane and regular mode that doesn't mess
up sending Intents and make it harder to prevent there being
multiple instances of activities that are supposed to be single-top.
2016-06-26 14:28:17 -07:00
Eric House
6c5b5489ad
cleanup: Remove some commented-out code
2016-06-26 13:53:59 -07:00
Eric House
372b0c2f1e
when user tries to turn on the preference disabling relay play and has
...
relay games in play, warn, and only disable if confirmed.
2016-06-24 21:19:30 -07:00
Eric House
aef5e5e046
add preference, off by default, to disable relay play. This is for
...
people who use the app for standalone play only and don't like the
battery implications of it hitting the network (which it does too
often right now.)
2016-06-21 06:08:25 -07:00
Eric House
a4ab8658fb
something's adding line in a different format to .gitignore files; go
...
with it.
2016-06-20 07:25:32 -07:00
Eric House
44c4d50051
Add config.xml file and use to enable dualpane option for CrossDbg builds
2016-06-07 04:31:31 -07:00
Eric House
f8cfb9cc44
change string and enum name to indicate Bluetooth is where the connect
...
failure is.
2016-05-21 14:35:53 -07:00
Eric House
608533d189
Merge branch 'from_android_beta_106' into android_branch
2016-05-03 06:44:39 -07:00
Eric House
c013c152d7
up version strings for release 107 (f-droid only is the plan)
2016-05-02 21:56:11 -07:00
Eric House
b2c4bd9e23
better chat text hint
2016-04-07 09:30:29 -07:00
Eric House
70c0db6504
chat: add hint string, and make textfield full width
2016-04-06 11:06:10 -07:00
Eric House
c35020ef97
Merge branch 'android_branch' into android_dualpane2
...
Conflicts:
xwords4/android/XWords4/archive/R.java
2016-03-13 17:27:02 -07:00
Eric House
d25d33689a
put a colon after chat sender's name in display
2016-03-13 12:50:09 -07:00
Eric House
a157c9bb43
up strings and changelog for release
2016-03-12 17:39:18 -08:00
Eric House
b7694b67d2
Merge branch 'android_branch' into android_dualpane2. Compiles after a ton of conflict resolution and some file removal. No idea if it runs, but little confidence.
...
Conflicts:
xwords4/android/XWords4/.gitignore
xwords4/android/XWords4/archive/R.java
xwords4/android/XWords4/res/values/strings.xml
xwords4/android/XWords4/res/values/styles.xml
xwords4/android/XWords4/res_src/values-ba_CK/strings.xml
xwords4/android/XWords4/res_src/values-ca_PS/strings.xml
xwords4/android/XWords4/src/org/eehouse/android/xw4/BTInviteDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/BTService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/ChatDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/DelegateBase.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/Delegator.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/DlgDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/DwnldDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/GameConfigDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListActivity.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/GamesListDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/InviteDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/ListDelegateBase.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/MultiService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/NewGameDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/PrefsDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayGameDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/RelayService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/SMSInviteDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/SMSService.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/StudyListDelegate.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/XWActivity.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/XWListActivity.java
xwords4/android/XWords4/src/org/eehouse/android/xw4/loc/LocItemEditDelegate.java
xwords4/android/scripts/adb-install.sh
xwords4/android/scripts/find-and-ant.sh
2016-03-11 22:19:37 -08:00
Eric House
4f3d620cd6
in search of why some game summaries never load: show a different
...
state string when the load has timed out.
2016-03-04 08:34:47 -08:00
Eric House
bf3c0021a6
up version and changelog for new release
2016-02-19 07:10:28 -08:00
Eric House
bec115568e
remove FIXED -- was a one-time thing
2016-02-04 20:45:17 -08:00
Eric House
856bb89749
drop french, since there are better dictionaries; don't say FIXED for
...
languages that didn't have the thing before
2016-02-03 20:53:58 -08:00
Eric House
2cb989022c
up name and version code for new release
2016-02-03 20:40:46 -08:00
Eric House
37bf8179aa
add to list of languages thefreedictionary.com supports (and put tmp
...
FIXED! in its name for people who got used to it being broken)
2016-02-03 20:39:48 -08:00