Commit Graph

135 Commits

Author SHA1 Message Date
Rom Walton 7764faad8b Android: Remove the "0" from the float width specifier, apparently 0 is omitted in Java. This caused a MissingFormatWidthException. 2013-03-07 11:24:20 +01:00
Rom Walton 3188b38195 Android: Move translateRPCStatus to BOINCUtils.java. Remove duplicate code from list adapters. 2013-03-07 11:24:20 +01:00
Rom Walton 58dadaf9cb Android: Update the transfers tab. Implement retry and abort commands in the UI. Calculate the transfer speed and progress the same way as the desktop UI does. Display the same status information the desktop UI does. 2013-03-07 11:24:20 +01:00
Rom Walton 67c6ec1f3e Android: Quick experiment to see if changing the default visibility of the project action buttons to gone is better. 2013-03-05 17:26:35 +01:00
Rom Walton 9e589bc463 Android: Remove dead code 2013-03-05 17:26:35 +01:00
Rom Walton 4fe7b377cb Android: Remove reference to on screen add project button. 2013-03-05 17:26:34 +01:00
Rom Walton bcf3e835b0 Android: Move add project functionality to the options menu. Frees up screen space for the project list. 2013-03-05 17:26:34 +01:00
Rom Walton 2b0f07ca8c Android: Implement projects status information in the projects tab. 2013-03-05 17:26:34 +01:00
Rom Walton c020d0299a Android: Fix service unbind exceptions. 2013-03-05 17:26:34 +01:00
Rom Walton 793bab957d Android: Fix service bind exception. 2013-03-05 17:26:34 +01:00
Rom Walton b4b0fb9d4d Android: Hook up the plumbing for the Update/Detech (previously commented out) project operations. 2013-03-05 17:26:34 +01:00
Rom Walton 4a4983a3c3 Android: Hook-up project image button event handlers when visible. 2013-03-05 17:26:34 +01:00
Rom Walton 92a3c0d585 Android: Position the buttons to the right of the project text. 2013-03-05 17:26:34 +01:00
Rom Walton 3df74cfa87 Android: Hopefully fix layout issues with the projects tab 2013-03-05 17:26:34 +01:00
Rom Walton 5ead4f3dca Android: Force display of ImageButtons. 2013-03-05 17:26:34 +01:00
Rom Walton 8df902a1e0 Android: Disable the ability of the ImageButtons to intercept click events. 2013-03-05 17:26:34 +01:00
Rom Walton a5055b8ee1 Android: Try invisible instead of gone for setVisibility, the height of the row was changing on selected and non-selected states. 2013-03-05 17:26:34 +01:00
Rom Walton 0eafd4c96c Android: Add Update and Delete buttons for each project listed, only make them visible when the project has been selected. 2013-03-05 17:26:34 +01:00
Rom Walton 67f81b2eca Android: Projects tab makeover, treat it like the EventLog tab. 2013-03-05 17:26:34 +01:00
Rom Walton c3c15aa3de Android: Last attempt to get copy selection and copy all working correctly for the EventLog. 2013-03-05 17:26:33 +01:00
Rom Walton dd39129485 Android: Make partial selections of event log messages work for email. 2013-03-05 17:26:33 +01:00
Rom Walton 98cabe983f Android: ListView.isSelected() isn't what I thought it was, use getCheckedItemIds() instead. 2013-03-05 17:26:33 +01:00
Rom Walton 4e7fadadd0 Android: onItemClickListener is what I meant. 2013-03-05 17:26:33 +01:00
Rom Walton 37e13c65ea Android: Setup OnClickListener()? 2013-03-05 17:26:33 +01:00
Rom Walton f2813235fe Android: Update the list after changing something about the selection state. 2013-03-05 17:26:33 +01:00
Rom Walton 7c6c4ab80b Android: More EventLog selection work. 2013-03-05 17:26:33 +01:00
Rom Walton 7b4fbcf7d8 Android: Ops, forgot about the adapter. 2013-03-05 17:26:33 +01:00
Rom Walton bee74813d5 Android: Fine tune EventLog row layout. 2013-03-05 17:26:33 +01:00
Rom Walton 633b3da44e Android: Add checkmark attribute to event log row layout. 2013-03-05 17:26:33 +01:00
Rom Walton dcd66c7d55 Android: Use CheckedTextView instead of TextView for the messages. 2013-03-05 17:26:33 +01:00
Rom Walton 7edb22b93c Android: Only add new messages to the event log, deleting messages confuses the message selection process. The list will be reset when the volunteer switches tabs. 2013-03-05 17:26:33 +01:00
Rom Walton 532104ae28 Android: Implement item selection and copy selection of event log items.
Android: Implement view recycling for event log items.  Improves memory usage.
2013-03-05 17:26:33 +01:00
Rom Walton d856c57379 Android: Don't use join either, it causes Android to throw some sort of ANR exception from the ActivityMonitor. Apparently there is a time limit on the execution of the onDestroy() method. 2013-03-05 17:14:16 +01:00
Rom Walton fc712178b1 Android: Use join() instead of wait() when waiting for a thread to finish execution. Wait causes an exception without some form of lock. 2013-03-05 17:14:16 +01:00
Rom Walton fef28825a2 Android: In cases where Android wants the Monitor service to shutdown, bring the ClientMonitorAsync thread down before leaving OnDestroy(). ClientMonitorAsync would continue on and bring everything back up. 2013-03-05 17:14:16 +01:00
Rom Walton b88a1da515 Android: It is always the simple bugs that get ya. 2013-03-05 17:14:16 +01:00
Rom Walton 47ca84501f Android: Remove code that was causing a null reference exception 2013-03-05 17:14:16 +01:00
Rom Walton 10e78e4586 Android: Attempt to track down why the client is no longer starting up 2013-03-05 17:14:16 +01:00
Rom Walton 7fdbbf17f8 Android: Use the compareTo string function to compare the two MD5 hashes 2013-03-05 17:14:15 +01:00
Rom Walton 6f3e45a4be Android: Use the actual MD5 instead of the class string. 2013-03-05 17:14:15 +01:00
Rom Walton b712397183 Android: Change the startup logic so that it can detect if the client needs to be stopped and upgraded based on MD5 hashes. 2013-03-05 17:14:15 +01:00
Rom Walton 173997469d Android: Update manifest to reflect the message log to event log name change 2013-03-05 17:02:59 +01:00
Rom Walton d77c8d1521 Android: Rename message log to event log 2013-03-05 17:02:59 +01:00
Rom Walton c69ae406b0 Android: Use the white email icon instead of the black one 2013-03-05 17:02:59 +01:00
Rom Walton 7d15fb4135 Android: Formatting fixes for the email message 2013-03-05 17:02:59 +01:00
Rom Walton 2321b6a4fa Android: Connect up the email to menu item to some code that will actually launch an email client to send the message. 2013-03-05 17:02:59 +01:00
Rom Walton 3c6c74af63 Android: Implement an option menu so the message log can be sent to somebody by email 2013-03-05 17:02:59 +01:00
Rom Walton f29bfbaf3c Android: Try a more friendly layout for displaying messages on small screens 2013-03-05 17:02:59 +01:00
Rom Walton 5364d626c1 Android: Java measures Unix time in milliseconds, BOINC in seconds. Multiply BOINC's timestamp for messages by 1000. 2013-03-05 17:02:59 +01:00
Rom Walton d7768af5b0 Android: Revert back to the ListView for the time being. 2013-03-05 17:01:21 +01:00
Rom Walton b283880427 Android: Switch to a table layout instead of just a list layout. The list layout didn't align the columns. 2013-03-05 17:01:21 +01:00
Rom Walton dc6aee4dcc Android: Make sure there are messages to display 2013-03-05 17:01:20 +01:00
Rom Walton ba40a6a525 Android: After looking at the outer exception, it became obvious I had the wrong control id. 2013-03-05 17:01:20 +01:00
Rom Walton 803b7bb87b Android: Android is throwing a null reference exception when trying to create the MsgsActivity, hopefully it is because I forgot the override tags. 2013-03-05 17:01:20 +01:00
Rom Walton 9a4e2c1a85 Android: First attempt at implementing the messages tab. 2013-03-05 17:01:20 +01:00
Rom Walton efe9916c20 Android: Revert previous configuration change. All the activities to the edu.berkeley.boinc package have to be configured for remote binding. 2013-03-05 17:01:20 +01:00
Rom Walton cf84368877 Android: Attempt to move the BOINC Monitor into its own process space. 2013-03-05 17:01:20 +01:00
Rom Walton b6add1668d Android: Don't restart the main activity on an orientation change. This prevents the monitor service from being restarted. 2013-03-05 16:57:51 +01:00
Rom Walton 1e94145293 Android: More changes for tracking down the rotation issue 2013-03-05 16:57:51 +01:00
Rom Walton 04c166b6e8 Android: Tweak the trace messages in ClientSetupAsync a little bit more to track down the screen rotation issue 2013-03-05 16:42:45 +01:00
Rom Walton 728f84de56 Android: Remove some of the ambiguity from the trace messages when pasting into an email message
Android: Update the CommonDefs so that the Status Activity can use its constants
Android: Fix-up comments and formatting
2013-03-05 16:42:45 +01:00
Rom Walton 549205bdd2 Android: Asset manager just expects the file name and not the full path. 2013-03-05 16:42:44 +01:00
Rom Walton f8a25cf2b2 Android: Add boinccmd to the android package, its small and useful for debugging.
Android: Install the all_projects_list.xml file at the same time as the client software.
2013-03-05 16:42:43 +01:00
Rom Walton 1be6dfbf3d Android: Clean up comment 2013-03-05 16:42:43 +01:00
Rom Walton 827f18fa09 Android: Attempt a graceful shutdown of the core client by sending a SIGQUIT instead of killing the process outright.
The UI was getting stuck in a loop where is was constantly killing the client and restarting the client which in turn was re-launching the science applications.  Both the UI and the client were unhappy.
2013-03-05 16:42:43 +01:00
Rom Walton 0f0fe585ba Android: Use a 96x96 image for the BOINC icon on Kindle Fire and other high-res devices 2013-03-05 16:42:43 +01:00
Rom Walton 98e6925cad Android: Add suspend reason text for when the battery is charging or overheating 2013-03-05 16:38:41 +01:00
Rom Walton 16f47655ed Android: Launch the core client in daemon mode which automatically redirects stdout and stderr to files. Useful for debugging. 2013-03-05 16:38:41 +01:00
Rom Walton 57eac3cb4f Android: Okay, really move the projects tab in front of the tasks tab. 2013-03-05 16:38:41 +01:00
Rom Walton 11c39dcf3c Android: Fix the use of ca-bundle.crt on Android. We ended up copying the BOINC client instead of the bundle. 2013-03-05 16:38:41 +01:00
Rom Walton 41529dbc1e Android: Rename the settings tab to preferences 2013-03-05 16:31:08 +01:00
Rom Walton 6d886fd8ea Android: Enable the messages tab
Android: Move the projects tab so that it appears before the task tab
2013-03-05 16:31:08 +01:00
Rom Walton f5723a4a30 Android: Enable the package for debugging
Android: Enable the use of landscape mode for viewing the UI
2013-03-05 16:31:08 +01:00
Joachim Fritzsch 2097bbdbc8 - android/BOINC/: rename of MainActivity to BOINCActivity
- android/BOINC/: getVersionCode added to AIDL
- android/BOINC/: reduce import warnings
2013-03-05 14:52:38 +01:00
Joachim Fritzsch f9d022788d - android: kill client process on startup to allow update
- android: bugfix in preferences tab
- android: rename of preferences
- android: deletion of unused components
2013-03-05 14:05:04 +01:00
Rom Walton e36173c3cc android: Deploy the CA Bundle along with the BOINC client, the BOINC client should detect the CA Bundle file in the current directory and use it for SSL connections 2013-03-05 13:53:58 +01:00
Rom Walton b5cc5732d1 android: placeholders so the UI will compile 2013-03-05 13:42:01 +01:00
Joachim Fritzsch ad00e99b80 android: project attach bug fix 2013-03-05 13:42:00 +01:00
Joachim Fritzsch 51c7c80894 android: -layout multi project and other optimizations\n -redesign of start up\n -autostart code now in BootReceiver 2013-03-05 13:42:00 +01:00
Rom Walton 8feec9e6a0 android: Use the executable name 'boinc' instead of boinc_client. It tracks with what we are doing with the self extracting archive and the other platforms. 2013-03-05 13:33:26 +01:00
Joachim Fritzsch b07a7368c7 android: file permission fix 2013-03-04 17:53:44 +01:00
Joachim Fritzsch c1f83367d9 android: BOINC multi project manager capabilities 2013-03-04 17:53:35 +01:00
Joachim Fritzsch 028fb5827c android: interface for project added 2013-03-04 17:48:45 +01:00
Joachim Fritzsch 6d9f42590e android: AIDL interface for project applications 2013-03-04 17:48:45 +01:00
novarow 54812bc2ab android: deletion of architecture try-outs 2013-03-04 17:48:45 +01:00