Project

General

Profile

Download (25.6 KB) Statistics
| Branch: | Tag: | Revision:

magiccube / src / main / java / org / distorted / main / RubikActivity.java @ 743b41d5

# Date Author Comment
743b41d5 03/23/2023 06:49 PM Leszek Koltunski

Up target SDK back to 33.

e71baee1 03/10/2023 04:48 PM Leszek Koltunski

Dialog About.

2876aeb6 03/06/2023 01:29 AM Leszek Koltunski

Tablebase-based scrambling.

50e6c5d6 03/04/2023 12:06 AM Leszek Koltunski

Introduce InitAssets. We'll use this later to pass on references to the tablebase file to the TwistyObject (so that it can use this for perfect scrambling)

872307fe 02/15/2023 03:24 PM Leszek Koltunski

Remember last solver type in preferences.

34d6b123 01/30/2023 01:29 PM Leszek Koltunski

What's New dialog: improvements.
Remove the About dialog.

6f5a3d8b 01/25/2023 05:01 PM Leszek Koltunski

Progress with the Camouflage 3x3x3.

1c89e2a7 01/24/2023 03:44 PM Leszek Koltunski

What's new dialog
Bump version to 1.12.0

57dea1ac 01/24/2023 10:45 AM Leszek Koltunski

UI iimprovements inthe Solver screen.

67d7fb28 01/23/2023 03:51 PM Leszek Koltunski

Progress with solvers dialog.

aa622165 01/21/2023 11:31 AM Leszek Koltunski

Finally fix the 'impossible records' bug!

Thanks for a bug report from Jacob Powell - if one, during scrambling, minimized the app and re-entered it, the UI lock got removed (by a call to 'unblockEverything' from RubikActivity's onResume) and one could then keep solving the object mid-scramble....

1db2a539 01/19/2023 11:20 PM Leszek Koltunski

More fixes for UI in case of extreme screen (w/h) ratios ( from 1.0 to 2.0 ).

788701a7 01/19/2023 10:55 PM Leszek Koltunski

More fixes for UI in case of extreme screen (w/h) ratios ( from 1.0 to 2.0 ).

27401bea 01/19/2023 06:12 PM Leszek Koltunski

More fixes for UI in case of extreme screen (w/h) ratios ( from 1.0 to 2.0 ).

24cd23dd 01/18/2023 04:21 PM Leszek Koltunski

Further improvements for the UI.

9dfb553f 01/18/2023 03:02 PM Leszek Koltunski

Improve UI proportions on squarish screens.

effcaf0e 01/18/2023 12:30 AM Leszek Koltunski

Progress with 'Stars' dialog.

7c487ff4 01/16/2023 10:47 PM Leszek Koltunski

Released 1.11.6 version

b1629e16 01/13/2023 12:25 PM Leszek Koltunski

Make it possible to decide about FastScramble duration fromo outside the ObjectControl.

a01e5cdc 01/05/2023 01:34 PM Leszek Koltunski

Make several objects built-in
oone fix for USE_IAP

5305fdc8 01/03/2023 03:27 PM Leszek Koltunski

Very important bugfix for an issue which probably has been the reason for many mysterious behaviours in the past: the JsonReader class cannot be a singleton! Convert it into a normal 'instanced' class.
With it being a singleton there's a major issue: when we create a new TwistyObject from a JSON file (by, for example, going to PurchaseActivity) and then we come back to the old object (by, for example, going back to the main RubikActivity) - then the JsonReader inside the old object has read the new JSON file and thus many of the 'abstract' methods in the old TwistyObject (for example getShortName()) all of the sudden start returning new values!

45831b78 01/02/2023 03:36 PM Leszek Koltunski

Purchase Pane: post-purchase dialogs.

b51ad4d6 12/29/2022 12:42 AM Leszek Koltunski

Bugfix: properly display number of stars on new installs.

6828c498 12/27/2022 10:56 PM Leszek Koltunski

fix showing the number of stars on app startup.

d05e7629 12/27/2022 01:10 AM Leszek Koltunski

Stars: introductory dialog explaining the concept of stars.

82c02259 12/20/2022 03:19 PM Leszek Koltunski

Minor

e9e744f7 12/20/2022 02:59 PM Leszek Koltunski

Changes to the initialization - initialize the 'bought objects'

00fcfefa 11/23/2022 04:03 PM Leszek Koltunski

All users who are upgrading from a version <1.11.4, where there was no concept of 'stars', get all their stars.

d7f0c07d 10/23/2022 12:15 AM Leszek Koltunski

Beginnings of support for 'Overlays': first overlay will be the rotating star which little stars fly to when one solves a level for the first time.

6142069a 09/19/2022 12:37 PM Leszek Koltunski

Progress with marking objects as free.

7480fbab 09/06/2022 03:05 PM Leszek Koltunski

Progress with marking objects as free.

c7238c67 08/15/2022 02:17 PM Leszek Koltunski

IAP part 5: new 'Purchase' activity.

a88b947f 08/14/2022 12:02 AM Leszek Koltunski

IAP, part 3: non-free objects appear in the popup with a lock icon: make the lock icon's size resolution-independent

fad10885 08/04/2022 11:18 PM Leszek Koltunski

Move the 'bandaged' button back to the main menu.

83018ac4 07/27/2022 03:36 PM Leszek Koltunski

Correct the MAX level in the leaderboard.

296219b4 07/15/2022 12:32 AM Leszek Koltunski

main,messaging: license.

a59f38d6 07/13/2022 01:07 PM Leszek Koltunski

Add Firebase Cloud Messaging and Firebase In-App Messaging

3c27ff9e 07/12/2022 12:20 AM Leszek Koltunski

Progress with central menu popup.
What remains is the colors in the Menu Level Buttons

4f3e2d90 07/11/2022 11:50 PM Leszek Koltunski

Progress with central menu popup.

0b458a90 07/11/2022 07:26 PM Leszek Koltunski

Progress with central menu popup.

d175b83d 07/04/2022 05:37 PM Leszek Koltunski

Progress with FreePlay.

7fe59aa5 07/04/2022 10:13 AM Leszek Koltunski

Correctly get the whole size fo the screen (along with thee top and bottom system bars) from the very beginning of the Activity.

03423c67 05/17/2022 12:45 AM Leszek Koltunski

Finally fix the bad bug where people could submit impossible records!

5e048300 05/02/2022 11:50 PM Leszek Koltunski

Fix for a bug when in Turkey and Azerbaijan, the names of downloaded objects which contain the letter 'I' do not get translated to upper case correctly (part 2: fix 'toLowerCase()' )

41a5dd89 04/24/2022 04:54 PM Leszek Koltunski

If we're updating an object, and it is the current object, reload it immediatelly so that the new version appears by itself.

972f9eae 04/06/2022 06:29 PM Leszek Koltunski

Bandaged 3x3: remember object state and move history.

2e3488f6 04/01/2022 01:40 PM Leszek Koltunski

Remember move history in the PLAY and SOLV screens.

81493402 03/31/2022 10:48 PM Leszek Koltunski

delete icon, object and extras files from local storage when:

1) we delete a locally produced bandaged 3x3
2) it turns out that a downloaded object is already built-in (which can happen if we download an object and then upgrade to app version which builts it in)

7cb8d4b0 03/29/2022 05:20 PM Leszek Koltunski

Mode the 'iconMode' from static variable in ObjectControl to member varaible in TwistyObject (safer)

61a7b812 03/26/2022 12:32 AM Leszek Koltunski

Bandaged 3x3: saving dialog.

bc7e49ec 03/25/2022 11:06 AM Leszek Koltunski

Improve layout in the bandaged view.

9530f6b0 03/18/2022 10:59 AM Leszek Koltunski

Beginnings of support for UI used to create any bandaged 3x3.

a474ccde 02/02/2022 08:35 PM Leszek Koltunski

Switch off debugging.

9eeb9c88 02/02/2022 05:00 PM Leszek Koltunski

Make sure we always display some icon in the Popup dialog, even if we fail to download one (improvement)

526a5906 02/02/2022 04:25 PM Leszek Koltunski

Restore the list of objects before resotoring the list of records; otherwise we cannot restore records of downloaded objects.

e847c553 02/02/2022 01:36 PM Leszek Koltunski

Make 'downloaded' debugs controlled by a single boolean.

aec421fd 02/01/2022 10:45 PM Leszek Koltunski

Downloaded Objects: subtle bugfix. We cannot use ObjectType in ObjectControl to check if two objects are the same because DownloadedObjects have ObjectType null !

43c2812a 02/01/2022 03:11 PM Leszek Koltunski

Downloaded Objects: bugfixes

84d746d7 02/01/2022 01:30 PM Leszek Koltunski

Downloaded Objects more or less work now.

314e9ff0 01/30/2022 11:48 PM Leszek Koltunski

Refactor RubikObject in preparation for creating RubikObjects from DownloadedObjects.

acabdd83 01/28/2022 10:17 PM Leszek Koltunski

Rename the 'network' package to 'external' since it will also deal with writing/reading files from local storage.

c651024f 01/25/2022 01:30 AM Leszek Koltunski

Downloading updates: dialog progress.

9c39179e 01/24/2022 09:37 PM Leszek Koltunski

Downloading updates: dialog progress.

804293f0 01/17/2022 03:17 PM Leszek Koltunski

Re-organize tutorial list so that we can pull this one from JSON files.

1071fb69 01/06/2022 11:46 PM Leszek Koltunski

Corrections for the UI.

6e3fcb91 01/06/2022 10:39 PM Leszek Koltunski

Remove 3 out of 4 object icons.

09cf2a36 12/07/2021 11:17 PM Leszek Koltunski

Introduce 'Simple' and 'Nice' meshes.

f12e4de9 12/06/2021 11:36 PM Leszek Koltunski

Progress with Config UI.

400ff34d 12/06/2021 01:46 AM Leszek Koltunski

Move the 'currObject' from RubikScreenPlay (WTF?) to RubikObjectList.

d433b50e 12/06/2021 12:59 AM Leszek Koltunski

In the 'magic' app, ObjectType is now only used in RubikObject and RubikObjectList classes and nowhere else.
This is a major step towards being able to download objects from an online repository.

51853bf2 11/24/2021 06:02 PM Leszek Koltunski

Improve initial detection of screenHeight.

1237d25d 11/24/2021 05:36 PM Leszek Koltunski

Beginnings of the ConfigActivity.

dd874ae8 11/05/2021 10:41 AM Leszek Koltunski

Convert the theme to be a MaterialTheme and the TransparentImageButton to be a MaterialButton - the first forced by the second, and the second because a MaterialButton gives us control over the location of the icon in top of it. We need that because of the new 'solve/scramble' split-button in the lower right of the Play screen.

b20e89d2 10/30/2021 01:46 AM Leszek Koltunski

Move the main app to the 'J1M1' object creation mode, i.e. create them from the Json files and using the Dmesh fiels as well.

Make it possible for any app descending from the 'objectlib' to use any of the J0M0, J0M1, J1M0, J1M1 modes.

338babe8 10/22/2021 02:59 AM Leszek Koltunski

Major change: separate the notion of a TwistyObject and its Node. Now,

1) the Node stays when we change objects (this makes transitions faster)
2) it's possible to just create an Object without adding it to the Screen (now app needs to explicitly create the Node and add it to its Screen itself)

4c9947bd 10/13/2021 04:14 PM Leszek Koltunski

1. Do not restore object scrambling if we freshly upgraded from some version older than 1.9.0
2. Bugfix for a recently introduced crasher in the Play screen.

2da68298 10/13/2021 01:59 PM Leszek Koltunski

Create the 3 Popups only on first button click - this time we can have the final screen dimensions (and also it starts faster ) Before we weree getting the screen size from before hiding navigation bars, which made the height smaller, which made the number of obejcts and levels in the popups sometimes too small!

33f6abfd 10/05/2021 10:53 PM Leszek Koltunski

Remove the 'setupObject()' redundant API.

c65a5efe 10/05/2021 03:40 PM Leszek Koltunski

Further simplifications.

e019c70b 10/05/2021 03:12 PM Leszek Koltunski

Remove the concept of a 'TwistyActivity' altogether.

9523ae28 10/05/2021 02:12 PM Leszek Koltunski

Hide most of the TwistyActivity methods inside objectlib.

e4f656d1 10/05/2021 12:52 PM Leszek Koltunski

Simplifications

2afc6754 10/05/2021 11:58 AM Leszek Koltunski

Move RubikControl to objectlib (as 'ObjectAutomator')
Hide ObjectPreRender inside objectlib and move its APi to ObjectControl.

8ab435b9 10/04/2021 10:11 PM Leszek Koltunski

1. Remove 'db level' from objectlib (this belongs to the app!)
2. change ScreenPlay's 'mObject' to be an ObjectType.

05c20dad 10/04/2021 02:17 PM Leszek Koltunski

Simplifications

eaf46415 10/02/2021 12:07 PM Leszek Koltunski

Move PreRender to objectlib.
This code is now shared betweeen the Rubik and Tutorial activities.

d2556e79 10/01/2021 11:31 PM Leszek Koltunski

Move yet more code to objectlib.

88a3e972 10/01/2021 11:27 PM Leszek Koltunski

Move more code to objectlib.

c4175d85 10/01/2021 10:33 PM Leszek Koltunski

Simplify TwistyObject's API.

318c0a7d 10/01/2021 04:33 PM Leszek Koltunski

Reename ObjectList to a more logical ObjectType.

7ac0ee88 10/01/2021 04:31 PM Leszek Koltunski

Simplify ObjectList: now there's just one object per size.

3f7a4363 09/29/2021 04:07 PM Leszek Koltunski

Remove all files that have been separated into a new library 'objectlib'

588ace55 09/29/2021 12:14 PM Leszek Koltunski

Prepare the 'objectlib' package to be separated into a library module

bdbbb4c5 09/28/2021 11:47 PM Leszek Koltunski

Refactoring: split the 'objects' package into two, 'objects' and 'objectlib'.
The point: we're going to need to move the 'objectlib' stuff into its own library module, and that's because we're going to create a new app module which needs access to it.

214e301a 09/06/2021 02:59 PM Leszek Koltunski

Fix the problem reported by Samsung -

1. Fire off the app
2. minimize it, select 'Multi window'
3. put some other app in the lower half of the screen
4. close the lower app
5. our app used to fail to display the upper and lower menu bars.

598de3ee 07/15/2021 05:08 PM Leszek Koltunski

add possible scrolling to the 'object' popup in case the grid of objects does not fit on the screen.

7aa4c349 07/09/2021 02:42 PM Leszek Koltunski

Progress with RubikControl.

03822c33 06/30/2021 09:56 PM Leszek Koltunski

Fix a rare crash.

809c3432 06/30/2021 06:05 PM Leszek Koltunski

Introduce a BlockController - a watchdog which makes sure the Touch and UI blocks do not take too long.
If it detecs a long block, it unblocks and reports the situation to Crashylytics.

55e6be1d 06/29/2021 01:37 PM Leszek Koltunski

Abstract the part that controls the 'Locked' and 'Back Moves' buttons from the two activities: the main one and the tutorial one.
This code had been duplicated there.