Facebook has a popular library Bolts which helps in asynchronous processing on Android better. They claim to be better than Android native AsyncTask both in efficiency and code readability. I now see that Google is shipping its own version of Tasks as part of the Google API for Android in the GMS library. They APIs look very similar to Bolts. Has there been any comparison between these two libraries -- in terms of efficiency etc. I have to include GMS for a bunch of other stuff in my app -- so if GMS Task is comparable to Bolts Task -- it may be better not to include Bolts and thus decrease the size of the package.
Google GMS Task vs Bolts Android Task
929 Views Asked by exifguy At
1
There are 1 best solutions below
Related Questions in ANDROID
- Delay in loading Html Page(WebView) from assets folder in real android device
- MPAndroidChart method setWordWrapEnabled() not found
- Designing a 'new post' android activity
- Android :EditText inside ListView always update first item in the listview
- Android: Transferring Data via ContentIntent
- Wrong xml being inflated android
- AsyncTask Class
- Unable to receive extras in Android Intent
- Website zoomed out on Android default browser
- Square FloatingActionButton with Android Design Library
- Google Maps API Re-size
- Push toolbar content below statusbar
- Android FragmentPagerAdapter Circular listview
- Layout not shifting up when keyboard is open
- auDIO_OUTPUT_FLAG_FAST denied by client can't connect to localhost
Related Questions in GOOGLE-API
- Google Logging API - What service name to use when writing entries from non-Google application?
- Why I receive CERTIFICATE_VERIFY_FAILED from google adwords api?
- Google plus API not return the Email address
- getting google contacts using shuttlecloud
- finished with non-zero exit value 2 when I use google login api
- Unable to authenticate with Google through the Java SDK for reading spreadsheet data
- Youtube API - Listing hidden videos of my channel using OAuth
- How to update ACL of a file in Google Cloud Storage using Java API
- What is the difference between Android API and Google API?
- Freebase Search API - Get All Results
- Google Developer API V3 for video upload in YouTube C#.net
- Google places maps Api web service post new place
- Limited number of rows returned from Google spreadsheet and the Sheets Api
- Gmail API: Insufficient Permission
- Use custom image for google signin button
Related Questions in FACEBOOK-ANDROID-SDK
- onActivityResult called twice
- Facebook SDK 3.0 Logout Not Working in android Application from any other Intent
- During facebook login results are never returned
- Android : How to find owner of the Facebook app id?
- What is the use of Facebook Android Key hash for sample apps?
- How to get post id using ShareDialog?
- GraphRequest﹕ Warning: Request without access token missing application ID or client token
- Android - Facebook Analytics App Install Event not triggered
- Android - Will Facebook App Install event count's fresh installation more than once to same device
- Android FacebookSDK V4.20 Login and Logout using LoginManager
- Android facebook sdk : Login works without proper key hash
- Invalid key hash error, even though the key matches
- Facebook SDK 4.0 share callback not call Android
- FB SDK 4.0 for Android: User still logged even the permission was removed?
- How to set up Android Studio to build Facebook SDK?
Related Questions in BOLTS-FRAMEWORK
- Implementing tasks that can be canceled in Bolts Framework (BFTask)
- Bolts framework continueWithBlock error
- Unit Testing Bolts Tasks With Continuations (Android)
- Google GMS Task vs Bolts Android Task
- Saving multiple PFFiles in parallel in Swift3
- AWS ios SDK - uploading objects to AWS S3
- iOS App Distribution - xcode12 - Code signing "Bolts.framework" failed
- Bolts Apple Mach-O Linker Error
- Parse and facebook sdk -duplicate symbol
- What does ParseUser.signUpInBackground() return in case of Error?
- Slack App Development with firebase cloud functions and bolt library
- How to resolve this repository error ? Nothing seems to work
- Using Parse and Bolts Frameworks for Back4App on tvOS
- runOnMainThread vs Handler in android - when to use which one for the mentioned scenario
- Max concurrent BFTasks with Bolts-iOS
Related Questions in GCMTASKSERVICE
- Google GMS Task vs Bolts Android Task
- GCMTaskService - One Off Task setPersisted, setRequiredNetwork(Task.NETWORK_STATE_CONNECTED) and setRequiresCharging Android
- onRunTask never gets called
- GcmNetworkManager OneoffTask called very often, Problems detecting network state changes on Android N
- Scheduling a long task in GCMNetworkManager
- GCM Network Manager losing jobs
- Firebase JobDispatcher - how does it work compared to previous APIs (JobScheduler and GcmTaskService)?
- GcmNetworkManager maximum number of scheduled tasks
- Buttons in android push notification
- Using GoogleAPIClient in Background Services
- How to Remove an unused GcmTaskService service?
- Android GCMNetworkManager - Running a job between a specific timeframe everyday
- make GcmNetworkManager periodic task work even after exiting the app?
- Syncing GcmTaskService with database changes
- How to solve this issue i want to send notifications
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I am just speculating here but I think that google basically copied Parse's library and made some small adjustments.
The API is essentially the same.
Most classes have the same name, structure and public methods.
Here are a few differences I noticed:
task.continueWith(continuation), the default scheduler for the continuation is the scheduler of the original task whereas with google's version it is the main thread schedulerWhich one should you use?
If you are using GMS, probably google's.
If you are not using GMS and want to stay away from it (e.g. publishing app outside Play Store devices) use Parse.
I haven't measured or seen anyone measuring it but I think the results will be the same.