Commit Graph

500 Commits

Author SHA1 Message Date
Joachim Fritzsch 3d8993b4dd android: run CPU benchmarks if no project is attached, i.e. during first run, right after installation. allows project initialization regardless of suspension state. 2014-03-04 10:36:46 +01:00
Joachim Fritzsch 6abb6991ea android: preferences. click on checkbox also triggers checkbox. 2014-03-04 10:01:12 +01:00
Joachim Fritzsch 62e464791d android: preference layout. also move checkboxes in dialogs to the right, consitent with main preference screen. 2014-03-04 09:50:01 +01:00
Joachim Fritzsch b2d12c4b51 Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-03-04 09:28:29 +01:00
Joachim Fritzsch 2815ee52ca android: re-introducing suspended notification preference. 2014-03-04 09:27:59 +01:00
Rom Walton fd39d79ad3 - Tag for 7.3.8 release
client_release/7.4/7.3.8
2014-03-03 15:26:29 -05:00
Joachim Fritzsch 81b28af866 android: added text for network suspension due to quota to StatusFragment. 2014-03-03 13:13:07 +01:00
Joachim Fritzsch fac6fc11bc android: layout changes in Preferences:
- hide status box if value is 0
- change text style of description from italic/black to normal/gray
- move checkbox to right
2014-03-03 12:45:01 +01:00
Joachim Fritzsch b2508bcb1a android: bugfix. set period for daily transfer limit, otherwise no effect. 2014-03-03 11:51:45 +01:00
David Anderson 20c11bccf7 fixes for Android/x86 build scripts, from Jon 2014-03-02 22:47:24 -08:00
Rom Walton f59aec574a - Tag for 7.3.7 release
client_release/7.4/7.3.7
2014-02-26 19:09:58 -05:00
Rom Walton 8d45f344e4 MISC: Update all_projects_list.xml for desktop and Android software. 2014-02-26 18:57:45 -05:00
Rom Walton c341ada0ef - Tag for 7.3.6 release
client_release/7.4/7.3.6
2014-02-26 10:18:19 -05:00
Joachim Fritzsch 6962718d72 android: bugfix. NPE when attaching project / AM without web rpc base url. 2014-02-26 15:51:57 +01:00
Joachim Fritzsch 9b2968f65d android: bugfix. nosuchmethoderror in AttachProjectListActivity on Gingerbread devices. 2014-02-26 15:47:47 +01:00
Joachim Fritzsch 35ed285bd6 android: bugfix. nosuchmethoderror in NoticesFragment on Gingerbread devices. 2014-02-26 15:28:38 +01:00
Rom Walton 826f67106a - Tag for 7.3.5 release
client_release/7.4/7.3.5
2014-02-21 11:38:27 -05:00
Joachim Fritzsch ea8a00da2b android: bugfix. use webRpcUrlBase only for lookup_account and create_account RPCs, not for project attach. 2014-02-21 17:15:50 +01:00
Joachim Fritzsch f0644ddb1b android: typo in client socket name. no functional impact. 2014-02-20 21:08:05 +01:00
Rom Walton 33624a66f3 - Tag for 7.3.4 release
client_release/7.4/7.3.4
2014-02-20 14:17:19 -05:00
Rom Walton 2cbd7caacc android: Remove corrupted Polish translation 2014-02-20 14:11:45 -05:00
Joachim Fritzsch f161120f25 android: bugfix. trigger read of cc_config after change to set flags immediately. 2014-02-20 13:58:29 +01:00
Joachim Fritzsch eb2a13db21 android: bugfix. NPE from PlayStore when returning to NoticesFragment. 2014-02-20 13:29:40 +01:00
Joachim Fritzsch a82cdea440 android: better handling of co-existance of multiple BOINC based apps.
- name client socket uniquely to avoid interference
- cancel notifications after closing app to make splash Activity only entry point
2014-02-20 12:23:00 +01:00
Joachim Fritzsch a97a8f297b android: bugfix. do not show web RPC URL base in registration Actvitity as project URL. 2014-02-20 11:10:59 +01:00
Joachim Fritzsch cf17faffb9 android: bugfix. add webRpcUrlBase to serialization code, otherwise HTTPS address is not available to GUI. 2014-02-20 10:28:21 +01:00
Rom Walton 1f0a9582f5 - Tag for 7.3.3 release
client_release/7.4/7.3.3
2014-02-18 17:33:25 -05:00
Rom Walton 64b8f00081 android: Update curl compatible CA bundle for SSL communication. 2014-02-18 16:46:11 -05:00
Joachim Fritzsch 5b9f60786e android: optimization of 'about' dialog layout. 2014-02-18 21:21:18 +01:00
David Anderson 5bde5d30cc Client (Android): tweaks to about box 2014-02-18 11:26:19 -08:00
Joachim Fritzsch 649967d28b android: bugfix. re-try if inital layout of preferences fails due to a stopped background service. 2014-02-18 15:38:45 +01:00
Joachim Fritzsch 57ca62c0d3 android: add broadcast receiver to start background service when charger connected. 2014-02-18 15:21:42 +01:00
Joachim Fritzsch 409987e0f5 android: remove 'exit boinc' as menu option, let system take care of it. client closes itself after 30 seconds of GUI RPC inactivity. 2014-02-18 14:56:10 +01:00
Joachim Fritzsch 273c3563b8 android: revise notifications
- computing notification shows executing tasks and button to suspend
- suspended notification is not optional anymore. low priority to keep icon out of status bar.
- new notices appear as notification. multiple new notices cause a single notification with multiple lines. notice notifications are optional in preferences.
2014-02-16 11:36:51 +01:00
Joachim Fritzsch b1fc7d2459 android: added disk access interval preference. 2014-02-14 16:22:31 +01:00
Joachim Fritzsch ef60e181d5 android: added preferences to suspend when screen on. default is true. sets user_active in device status RPC. 2014-02-14 15:17:52 +01:00
Joachim Fritzsch ea512862fb Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-02-13 14:35:44 +01:00
Joachim Fritzsch c0f8b38a3d android: execute service in another process. communication between UI and service through AIDL interface. 2014-02-13 14:35:21 +01:00
Rom Walton 4f6b289842 - Tag for 7.3.2 release
client_release/7.4/7.3.2
2014-02-12 16:28:44 -05:00
Joachim Fritzsch 8b2ddaad3d android: redraw menu every time it is opened to update number of tasks/notices and other changing information. 2014-02-12 13:09:38 +01:00
Joachim Fritzsch 6cd7210e1b android: sort notices by creation time, latest first. 2014-02-12 12:16:53 +01:00
Joachim Fritzsch e241f5560b android: bugfix. Handle null in getEventLogMessages, reported through PlayStore console. 2014-02-12 11:33:13 +01:00
Joachim Fritzsch 11fe5a7969 android: include vendor into check for incompatible apps to prevent malware. 2014-02-12 10:56:00 +01:00
Joachim Fritzsch b56028c21d android: disable BOINC when incompatible app is installed. 2014-02-11 16:26:33 +01:00
Rom Walton ab813b6ce9 - Tag for 7.3.1 release
client_release/7.4/7.3.1
2014-02-10 13:49:34 -05:00
Rom Walton 91a74d7b35 android: prepare a beta build with the new UI for Android. 2014-02-04 11:13:26 -05:00
Joachim Fritzsch 8da6ecbd20 android: bugfix. clear back stack after successfully finishing the project attach wizard. 2014-02-04 11:23:38 +01:00
Joachim Fritzsch b7b7e83af8 android: bugfix. clear back stack after notification intent avoids confusing back button behavior. 2014-02-04 11:19:43 +01:00
Joachim Fritzsch f07baff34c android: bugfix. export main activity to make it startable from notification. 2014-02-04 11:00:18 +01:00
Joachim Fritzsch d0aa08730d android: bugfix. make 'stationary device mode' opt-in, since detection is not reliable. 2014-02-02 14:51:33 +01:00
Joachim Fritzsch 01f0eadf8c android: use Unix domain sockets for GUI RPCs. 2014-01-31 14:03:50 +01:00
David Anderson 58a0bd1cdd locale: reset corrupted languages 2014-01-30 17:13:02 -05:00
Joachim Fritzsch 261dcb1be2 android: bugfix. fix for activity hierachy for 'up' navigation. 2014-01-30 13:15:49 +01:00
Joachim Fritzsch 6945da37cf android: HTTPS support. adding logic to use web RPC base URL, if available. 2014-01-30 12:53:13 +01:00
Joachim Fritzsch b289e5e08d android: bugfix. project details fragment shows information for projects attached via URL. 2014-01-30 11:20:09 +01:00
Joachim Fritzsch 5cf2edd099 Merge branch 'android-new-layout' 2014-01-30 10:29:07 +01:00
David Anderson c4f4421ff0 client/manager/server: use HTTPS for web RPCs if possible
The web RPCs done by the client during project attach
(lookup_account, create_account)
have an email address and password hash in their request.
Network sniffers could potentially see these,
so we should use HTTPS for these RPCs if possible.
However, not all BOINC projects have SSL-enabled web servers.
So I did the following:

- Change get_project_config.php to return an additional
  <web_rpc_url_base> element.
  This is SECURE_URL_BASE (if specified in the project's
  project.inc config file) or, if not, the master URL.
- This new element is parsed into the PROJECT_CONFIG structure.
- In calls to create_account and lookup_account,
  the Manager uses PROJECT_CONFIG::web_rpc_url_base
  if it's available, else the master URL.

So, the new Manager/client uses HTTPS for RPCs to projects
that have updated their get_project_config.php,
and specify a SECURE_URL_BASE with https:// prefix.

Android note: I added code to parse the new config element,
but didn't change the higher-level code;
Joachim will need to do this.
2014-01-28 13:25:59 -08:00
Joachim Fritzsch 7b5112d32c android: bugfix. avoid login working screen from appearing in history, i.e. restarted by hitting the back button. 2014-01-21 18:51:48 +01:00
Joachim Fritzsch 9a82cd5916 android: bug fix. solved race condition in rendering the project details layout. 2014-01-19 14:27:36 +01:00
Joachim Fritzsch d8e83d2f7b android: various navigation improvements.
- disable up button on inital project selection screen
- keep navigation selection persistent through orientation changes
- navigate to projects after finishing attach process
2014-01-19 13:38:51 +01:00
Joachim Fritzsch 6ee09ea659 android: introducing navigation drawer.
- navigation bar swipes in from the left
- all navigation items migrated into this bar
- shows number of items for Tasks and Notices in the bar
- new splash screen with BOINC logo
- projects have information screen including slideshow
- status on most other selections visible on bottom
2014-01-18 19:37:40 +01:00
Joachim Fritzsch 8f37174679 android: new layout, missing classes in previous commit. 2014-01-17 06:48:38 +01:00
Joachim Fritzsch 7edb62fb9c android: new layout, initial commit.
Moving layout from TabHost to ActionBar. Activities in tabs become fragments. Requires Android support library v7.
2014-01-17 06:48:37 +01:00
David Anderson dc023c51c1 android: Import updated translations 2014-01-07 12:59:46 -08:00
Joachim Fritzsch e3d3b90c5e android: change of platform based project list filtering to ignore plan classes. 2014-01-07 12:07:23 +01:00
Joachim Fritzsch 65bd27c24d Merge branch 'master' of ssh://boinc.berkeley.edu/boinc-v2 2014-01-05 17:37:23 +01:00
Joachim Fritzsch 42b4283e58 android fix for UI problem. initial layout while loading did not show text, i.e. 'starting...'. 2014-01-05 17:36:29 +01:00
Joachim Fritzsch bc583bd401 android: fix for UI problem. popup dialog for power source preferences had overlapping checkbox and textview on Android API v16. 2014-01-05 17:26:41 +01:00
David Anderson ab9d926be7 Android Translations (import) 2014-01-02 10:47:04 -08:00
Joachim Fritzsch 7ebe5319bb android: fix in .gitignore, 'boinc' not just matching client binaries, but also entire source directory. 2013-12-13 17:26:48 +01:00
Joachim Fritzsch 6a171fe9cf android: completely remove dummyjni from Java code, was causing UnsatisfiedLinkErrors upon startup. 2013-12-13 14:52:44 +01:00
Joachim Fritzsch d770bc3b7d android: added charger type preference.
- fix layout size of leglevel dialog
- refector preference code, more readable
- add charger type preference (ac vs usb vs wireless vs battery)
2013-12-13 14:46:29 +01:00
Joachim Fritzsch 4eb156edb8 android: support for stationary devices
- detect whether battery is present,
- if not, skip checks for battery heat, battery level and charger status
- by sending positive dummy data to the client
- remove category Power from preferences
- code to detect wired internet connection, treat as wifi
- refactor DeviceStatus class, to have detection code in edu.berkeley.boinc.client rather than .rpc
2013-12-12 16:44:49 +01:00
Rom Walton f7edff7296 android: Skip a few exceptions on clean installs, gui_rpc_auth.cfg isn't created until after the client is started for the first time. 2013-12-06 18:55:40 -05:00
Rom Walton 8d6d0b93f3 android: Remove reference to dummyjni which was causing an unhandled exception during startup 2013-12-06 18:48:16 -05:00
Rom Walton 4818951281 android: Remove obsolete files 2013-12-06 18:46:34 -05:00
Rom Walton 14c8cea7cf android: Fix build environment check. 2013-12-03 15:34:02 -05:00
David Anderson b842cb1cbb android: update localization files for Android 2013-12-03 08:04:19 -08:00
Joachim Fritzsch a491bd2e29 android: refactor, added class missing in previous commit. 2013-11-25 16:38:11 +01:00
Joachim Fritzsch e5aa855b7b android: refactor of Monitor class, moved RPC related function into new ClientInterfaceImplementaion with extends RpcClient. Added Javadoc style comments for both classes. 2013-11-22 14:19:14 +01:00
Joachim Fritzsch 80d3c96c26 android: notification, when clicked, take user back to last tab instead of restarting. 2013-11-21 15:22:26 +01:00
Joachim Fritzsch 7e39bcce98 android: fixed spelling mistake in strings.xml 2013-11-21 14:27:40 +01:00
Joachim Fritzsch 4479661766 android: Manager code for multi platform support. 2013-11-17 13:52:37 +01:00
Joachim Fritzsch f173f76ef5 android: adapted gitignore to multi platform support. 2013-11-17 13:52:13 +01:00
Joachim Fritzsch 5c100bcc92 android: remove compiled libraries from git, need to be recompiled on individual machine.
If not recompiled on local machine, System.loadLibrary() throws UnsatisfiedLinkError due to not matching signatures.
Recompile locally by running ndk-build in the Android project's root directory, i.e. BOINC.
2013-11-16 17:50:57 +01:00
Joachim Fritzsch 3a5103a5f6 android: specified supported architecture platforms in Application.mk for automated ndk-build. 2013-11-16 17:42:28 +01:00
Joachim Fritzsch 768f0d7876 android: fix typo in x86 build scripts. 2013-11-16 15:08:01 +01:00
Rom Walton 94d5ab4adf android: Fix references to ca-bundle.crt 2013-10-22 14:50:55 -04:00
Rom Walton 7179b0e27b android: Use different toolchain directories. OpenSSL appears to be sensitive and will not successfully compile if built for a different CPU architecture first. (temp file?) 2013-10-22 13:59:26 -04:00
Rom Walton 83ad0d47a0 android: Make sure all the toolchains exist 2013-10-22 13:16:04 -04:00
Rom Walton d1cd5d3f8e android: more tweaks for the various CPU Architectures 2013-10-22 13:00:50 -04:00
Rom Walton bfe8ee6921 android: Attempt to fix OpenSSL compile problem on x86/mips 2013-10-22 12:02:04 -04:00
Rom Walton 6ebd9d1984 android: Add a script to just compile BOINC for all CPU Architectures 2013-10-22 11:39:37 -04:00
Rom Walton 4b4a5c360f android: Bug fixes for previous commit 2013-10-22 11:37:36 -04:00
Rom Walton efc25bbd78 android: Add cross-compile scripts for the x86 and MIPS CPU architectures 2013-10-22 11:19:42 -04:00
Rom Walton c8fbb7e799 android: Filter out the old ARM based platform in the playstore. 2013-10-22 09:49:59 -04:00
Rom Walton f83b5bae25 android: Remove previous playstore filter used to limit BOINC to ARM CPUs
android: Add placeholders directories for where cross-compiled BOINC clients will be stored in the APK.
2013-10-22 09:40:26 -04:00
David Anderson 8b07b965df android: Bulk import of localization text 2013-10-21 09:17:36 -07:00
David Anderson 27cbee2001 android: Bulk import of localization text 2013-10-21 09:16:25 -07:00
Joachim Fritzsch 4f38e2a59b android: added visit website to project controls. 2013-10-17 19:32:13 +02:00