Eric House
0337b97b57
begin bluetooth work. Add new class that logs when BT comes on and
...
goes off. Sketch out always-on listening socket, but it's not called
yet.
2012-01-18 18:30:53 -08:00
Eric House
7a90f71d41
up version strings
2012-01-17 18:23:26 -08:00
Andy2
f475356c87
up strings for new release
2011-12-21 06:46:42 -08:00
Andy2
a86ffa39ba
up strings for next beta
2011-12-16 20:59:40 -08:00
Andy2
0d6b5914b9
revert to standard launchMode to get proper from-Launcher behavior and
...
specify a pair of flags when background-launching GamesList that
strips any stack it has and doesn't launch a new instance. Seems to
fix the problems with launching from notifications and invite emails.
But then I've thought this fixed before.
2011-12-16 19:02:20 -08:00
Andy2
46efe15f4e
up version and change notes for new release
2011-12-07 19:06:03 -08:00
Andy2
b242d70029
up target SDK to pull in multitouch APIs
2011-12-01 05:40:50 -08:00
Andy2
223d2d6e92
set configchanges on chat activity -- it handles orientations changes fine.
2011-11-04 07:11:34 -07:00
Eric House
30387bc528
up version codes
2011-11-03 21:27:43 -07:00
Andy2
6e58963231
sign up to handle keyboard/orientation changes for dict browser
2011-11-03 05:32:36 -07:00
Andy2
b08f9770cf
add dictionary browser. For now it just adds items to the list that
...
give the position so I can get a feel for how it works. Will use this
to figure out the right API for a dictionary iterator.
2011-10-23 19:35:15 -07:00
Andy2
214debca47
up strings for beta 37
2011-10-18 06:16:15 -07:00
Eric House
0b54b190b6
make lookup dialog a mere dialog rather than an activity to fix
...
too-slow transitions to and from it. Works by keeping code in
separate custom view and not setting buttons or anything else on the
dialog.
2011-10-14 18:39:39 -07:00
Andy2
c3ba50c905
up strings for beta 35
2011-10-07 18:59:32 -07:00
Andy2
152a9175c6
use dialog theme for lookups -- just works now, though didn't at first.
2011-10-06 18:44:59 -07:00
Andy2
e292056b9c
add new activity (with layout) to replace dialogs for word lookup.
...
Lots of code moved there from BoardActivity.
2011-10-06 06:26:46 -07:00
Eric House
ced5da45a5
remove unused string ref
2011-09-15 18:05:45 -07:00
Andy2
14608d2deb
listen for SD card events via BroadcastReceiver registered in
...
AndroidManifest rather than created programatically: only with this
can I get EJECT events to work. Replacement class has static
register/unregister methods which DictsActivity uses.
2011-09-12 18:28:43 -07:00
Andy2
06571d0478
up constants and update changes list for new release
2011-09-09 18:17:28 -07:00
Andy2
79acccc6bf
record, commented out, attempt to send NBS message. sendDataMessage()
...
crashes internally, and googling finds lots of reports/questions and
no answers. It appears NBS is broken on Android, at least for CDMA.
Might want to revisit on a newer OS version that the 2.1 I'm running
now.
2011-08-25 06:52:12 -07:00
Andy2
5c8afa06ce
version string and changelog for beta 33
2011-08-21 12:07:45 -07:00
Andy2
4345fc1543
fix failure of renamegame feature when orientation changes while
...
dialog is up. I'm making two fixes, either of which is enough: saving
the rowid across teardown of the activity; and changing the manifest
to not tear down the activity. The reason for the latter is that the
teardown is unnecessary and wasteful. The former's just safer coding.
2011-08-07 20:22:11 -07:00
Andy2
f8715feea6
update version and changelog for b32
2011-08-06 23:08:42 -07:00
Andy2
6f7279a6b0
fix crash that happens whenever orientation changes while there's a
...
dialog up in DictsActivity. (There are still problems updating the
UI, e.g. indicating the current loc of a moved dict.)
2011-08-06 23:03:11 -07:00
Andy2
6cde6be6a5
up version and changelog for beta 31
2011-08-06 14:29:58 -07:00
Andy2
9bed15179d
version update -- getting ready for next beta!
2011-07-14 18:53:45 -07:00
Andy2
cd15a9e6e3
fix, I think, problems with launch mode and non-main activities.
...
singleTop is necessary, as with singleTask we get the whole actvity
stack nuked on every launch. Open a game into BoardActivity then
background Crosswords; when you re-launch from the launcher or hold
the home key you're back to GamesList. But with singleTop incoming
invite schemes would launch a second instance because though there was
one running it wasn't in the same task as the browser firing the url
to redir.php. The solution there is to move the scheme intent from
GamesList to DispatchNotify, which is already handling notifications.
There the addition of a second launch flag means that an existing
instance will always see the launch through its onNewIntent -- under
tests I've come up with so far, anyway.
2011-07-13 18:42:03 -07:00
Andy2
29c2e0bfd6
fold intent filters together
2011-07-11 20:05:45 -07:00
Andy2
f7a0255dc4
needs to be singleTask, not singleTop, to avoid having a new GamesList
...
activity launched when launch-by-scheme happens when responding to an
invite.
2011-07-11 19:54:41 -07:00
Andy2
bd7d608c64
combine the two GamesList Activity elements. For some reason it
...
didn't work before to have the custom URL launch stuff in the existing
one but it does now.
2011-07-10 10:36:14 -07:00
Andy2
0c4191805f
Merge branch 'android_branch' into android_invite
...
Conflicts:
xwords4/android/XWords4/res/values/common_rsrc.xml
xwords4/android/XWords4/res/values/strings.xml
xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/CurGameInfo.java
xwords4/linux/scripts/discon_ok2.sh
2011-07-07 18:50:22 -07:00
Andy2
3ccc323465
update version and change info for next beta
2011-07-06 19:00:06 -07:00
Andy2
6620b42abd
clean up new game dialog (thanks K.T.!): remove title bar, add some
...
spacing and make it scrollable for when in landscape mode.
2011-06-10 22:51:54 -07:00
Andy2
53b2a3a6b5
Merge branch 'android_branch' into android_invite
...
Conflicts:
xwords4/android/XWords4/res/values/common_rsrc.xml
2011-06-06 18:55:21 -07:00
Andy2
056261fe9e
up version number/strings
2011-06-06 06:49:47 -07:00
eehouse@eehouse.org
2fae0842c4
Merge branch 'android_branch' into android_invite
2011-05-16 06:44:04 -07:00
Andy2
740c5dd46c
up constants and change message for new release
2011-05-16 06:43:42 -07:00
Andy2
249402758a
add new activity for starting a new game. Has four buttons and
...
(eventually) explanatory text. Currently more-or-less works,
including sending an email with a link that when clicked launches
Crosswords. (Still need to respond to that link on receipt, but I'm
at least pulling out the necessary fields.)
2011-05-06 06:52:10 -07:00
Andy2
2294159c7c
change sufficient to get a custom scheme in browser to launch me. Had
...
to duplicate an activity element which is bad and maybe won't work
everywhere so try to fix this. But this *does* work in 2.2 emulator.
2011-05-04 19:04:02 -07:00
Andy2
a87f90b6e9
up version for b26
2011-05-03 18:47:16 -07:00
Andy2
ecc5357ef8
up version info, and collapse two locations into one resource entry.
2011-04-25 20:46:23 -07:00
Andy2
21ab1d6d55
constants: toward beta 24
2011-03-30 18:58:06 -07:00
Eric House
58cb40b08e
claim to handle keyboardHidden change so it'll be ignored.
2011-03-14 18:32:36 -07:00
Eric House
c0dd42d0ba
let's see if not claiming to handle orientation changes stops Samsung from ignoring my portrait-only setting.
2011-03-14 06:57:17 -07:00
Andy2
84d0823341
prevent board from displaying in portrait mode.
2011-03-11 19:07:05 -08:00
Andy2
552a5ff6da
up constants for beta 23
2011-03-11 06:45:49 -08:00
Andy2
f21ddedc59
go back to singleTop for GamesList to see if it fixes the occasional
...
Activity duplication I'm seeing on-device.
2011-03-04 07:13:00 -08:00
Andy2
a344f26d1b
add static boolean that controls whether logging is on (for java).
...
Add an Application subclass that fetches the value from a preference,
a checkbox setting in advanced prefs, and modify the static when
that's changed at runtime.
2011-02-28 20:07:07 -08:00
Andy2
69638d8aa9
fix string so we get called on boot
2011-02-28 18:36:47 -08:00
Andy2
6df2abecb6
don't use special launchModes for GamesList *but* do invoke it from
...
DispatchNotify so that an existing instance will be reused rather than
a new on created on top of the stack.
2011-02-26 19:47:33 -08:00
Andy2
1529319a60
add vibrate permission; get RelayReceiver notified on boot so can set
...
initial timer.
2011-02-23 07:39:14 -08:00
Eric House
ab71ac8847
add game name to chat activity title
2011-02-22 19:55:57 -08:00
Andy2
a4e995742f
bring back RelayService, which RelayReceiver now delegates to for the
...
work of pinging relay on timer. That work, which can cause receiver
to exceed its timeout if there are e.g. problems resolving hostnames,
must be done in a thread and Receivers aren't supposed to have
threads. Seems to work as well as it did before and also fixes
force-restart bugs when the network is slow/unavailable.
2011-02-21 18:12:15 -08:00
Andy2
07fd2f6bb8
add title to chat activity
2011-02-21 06:51:47 -08:00
Andy2
5ede3b19f0
up constants for beta 22
2011-02-19 08:41:14 -08:00
Eric House
1e3f094289
up constants for b21
2011-02-18 22:50:37 -08:00
Andy2
1400de489d
implement chat with an activity rather than a little dialog. Include
...
history, and store it in the game record in the DB (new column). This
will allow to not drop chat messages that arrive in the background,
though that's not implemented yet.
2011-02-16 06:55:46 -08:00
Andy2
be4bb3a73e
set launchMode of GamesList activity to singleTask. This seems to be
...
the only way to have it wind up on top *and without it being a second
instance of the activity* when relaunched in response to a move-made
notification. Even passing the SINGLE_TASK flag to the relaunching
Intent doesn't accomplish this.
2011-02-14 07:04:34 -08:00
Andy2
c60e48b156
RelayReceiver should not be launched in new process since that
...
prevents its communicating with/updating a game that's already
running. User presumably wants the current app state updated when
possible.
2011-02-09 06:32:07 -08:00
Andy2
d3717c579e
add ACCESS_NETWORK_STATE permission
2011-01-06 08:08:36 -08:00
Andy2
1fbdd62372
up version num/strings
2010-12-09 07:21:56 -08:00
eehouse@eehouse.org
b389478350
Revert "register for notification of network going up and down; start using"
...
This reverts commit 77fe3952da
.
2010-12-07 18:12:02 -08:00
Andy2
77fe3952da
register for notification of network going up and down; start using
...
that information to connect and not. There seems to be no way to get
notified when a socket's underlying transport goes down (might not
even want to) so this will be the best way to have the arrows go red
when the device goes into airplane mode.
2010-12-06 20:19:17 -08:00
Andy2
fc88742978
up constants for b19
2010-11-16 21:06:43 -08:00
Andy2
aff3c9a931
stop requiring 1.6 sdk when runs fine on 1.5
2010-11-07 15:12:37 -08:00
Andy2
6da013af9d
up constants for beta-18
2010-11-07 14:04:37 -08:00
eehouse@eehouse.org
64cc199e1a
Merge branch 'relay_proxy' of ssh://xwords.git.sourceforge.net/gitroot/xwords/xwords into relay_proxy
2010-11-05 05:10:24 -07:00
Andy2
23924ff74e
add new activity that's popped up on creation of a networked game to
...
ask only for the room name to make it as easy as possible to
get started.
2010-11-04 19:48:46 -07:00
Andy2
40e42b79c5
up version numbers and strings -- getting ready for release
2010-10-30 09:11:47 -07:00
Andy2
01e926e8b3
up sdk version to silence warning
2010-10-19 18:42:32 -07:00
Andy2
737b146093
Receiver replaces Activity as target of alarms. This seems to prevent
...
flasing to the front when alarms fire which was causing all kinds of
grief. But: not yet tested on device.
2010-10-16 08:07:48 -07:00
Andy2
34428b3460
new Activity class
2010-10-12 18:28:05 -07:00
Andy2
6ad074182f
make GamesList singleTop so notifications go to existing activity
2010-10-08 17:33:44 -07:00
Andy2
0df651027f
Merge branch 'android_branch' into relay_proxy
...
Conflicts:
xwords4/relay/crefmgr.cpp
2010-09-20 19:55:53 -07:00
Andy2
bca8300495
changes for b16: version strings and changes summary text.
2010-09-20 19:48:52 -07:00
Andy2
ddedcee3eb
remove commented out foo -- needed to save before prev submission.
2010-09-20 19:39:35 -07:00
Andy2
9b98d89722
add mimeType entry to data. This coupled with the right apache
...
AddType config means the browser doesn't get a chance to download
dicts, giving users one less way to get confused.
2010-09-20 19:38:26 -07:00
eehouse@eehouse.org
ecd0280353
Merge branch 'android_branch' into relay_proxy
2010-08-26 18:36:55 -07:00
Andy2
0f3867b995
up constants/version for beta 15
2010-08-26 18:22:18 -07:00
Andy2
48ac79be51
GamesList starts a repeating alarm that invokes a new activity that
...
launches the service. Service can now do a single check with the
relay, notify if needed, and exit (but doesn't yet.)
2010-08-19 08:45:18 -07:00
Andy2
25e7889c28
checkpoint: add service that's launched at app start and spawns a
...
thread that stops itself immediately. Eventually that thread will
check the relay for pending moves, put up a notification offering to
open the game that has moves pending, and schedule itself to run again
later before stopping itself.
2010-08-19 07:47:11 -07:00
Andy2
269bd15a45
change constants for beta 14
2010-08-10 06:12:09 -07:00
Andy2
d0a632d3ff
up version to b13 so can be tagged to match.
2010-07-18 14:40:53 -07:00
Andy2
c0819c5a9f
up constants for beta 12
2010-07-12 19:16:11 -07:00
Andy2
f0a5fa6034
up version numbers/strings for beta 11
2010-07-04 12:56:59 -07:00
Andy2
3b9240ca84
up version strings/numbers
2010-06-30 21:24:17 -07:00
Andy2
6a4e9f2c43
up versions in preparation for new release
2010-06-29 21:15:19 -07:00
Eric House
3be95e5d7e
up version string and code
2010-06-20 10:02:53 -07:00
Eric House
94b3e16b7b
add versioning codes required by market; up beta so they match.
2010-06-06 09:04:08 -07:00
eehouse
c5a0384d79
include name of game in title of game-configure screen
2010-05-27 02:58:27 +00:00
eehouse
bfee36bf56
add minSdkVersion and targetSdkVersion
2010-05-12 11:47:22 +00:00
eehouse
e48caca6ac
make configure activity default theme like others after finding a
...
divider drawable that shows up.
2010-05-04 12:30:55 +00:00
eehouse
72587eb023
remove SMS stuff. No point in confusing users before the feature can
...
work.
2010-05-01 02:47:56 +00:00
eehouse
d5d1b04084
set Theme.Light on GameConfig activity again. It doesn't draw
...
correctly with the default (black) theme; in particular, the dividers
between players get a layout height of 0.
2010-04-25 18:13:49 +00:00
eehouse
673495985f
better titles for activities
2010-04-25 03:37:52 +00:00
eehouse
0c1e76acaf
use the default white-on-black style for prefs and game config. Not
...
sure why I made it different early on.
2010-04-25 03:37:23 +00:00
eehouse
7fadce15ef
add menuitem to main games list view that brings up view of all
...
installed dicts. Currently allows to delete them. Later should allow
invoking a browser like DawgShow.
2010-03-14 05:01:55 +00:00
eehouse
0fc42fe85c
get rid of unused DictActivity
2010-03-13 23:11:11 +00:00
eehouse
5ef7697c05
download dicts under app control (with new activity) and save them
...
locally rather than leave them in the browser's downloads directory.
Fix code that expects all files in local storage to be games (since
dicts are now there too.)
2010-03-13 23:10:58 +00:00
eehouse
93ad1f3b30
get rid of BlockingActivity, using instead dialogs inside
...
BoardActivity. Block jni thread after it posts to the UI thread to
put up the dialog, and in a dismiss listener on the dialog release the
blocked thread. Seems to work.
2010-02-21 04:56:37 +00:00