This repository contains all the source code examples from my LiveLessons course on "Concurrent Programming with Android".
LiveLessons is hosted in the following web site
https://github.com/douglascraigschmidt/LiveLessons
If you think the Android project LiveLessons listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of LiveLessons.
Item | Value |
---|---|
Java File Count | 131 |
Supported screen sizes | [mdpi, ldpi, hdpi, xhdpi] |
Target SDK Version | 17 |
Minimum SDK Version | 8 |
Activity Count | 7 |
jar files used | android-support-v4.jar android-support-v4.jar android-support-v4.jar |
Required Permissions | android.permission.INTERNET android.permission.WRITE_EXTERNAL_STORAGE |
There are 3 image files in LiveLessons. The names of the image files are listed as follows.
default_image.png ic_action_search.png ic_icon.png
The following screenshort is generated from the image listed above.
LiveLessons has the following Java source files.
com.example.expressiontree.AndroidPlatform.java com.example.expressiontree.CalculatorGUISuccinct.java com.example.expressiontree.CalculatorGUIVerbose.java com.example.expressiontree.CommandLinePlatform.java com.example.expressiontree.ComponentNode.java com.example.expressiontree.CompositeAddNode.java com.example.expressiontree.CompositeBinaryNode.java com.example.expressiontree.CompositeDivideNode.java com.example.expressiontree.CompositeMultiplyNode.java com.example.expressiontree.CompositeNegateNode.java com.example.expressiontree.CompositeSubtractNode.java com.example.expressiontree.CompositeUnaryNode.java com.example.expressiontree.EvalCommand.java com.example.expressiontree.EvaluationVisitor.java com.example.expressiontree.ExprCommand.java com.example.expressiontree.ExpressionTree.java com.example.expressiontree.ExpressionTreeFactory.java com.example.expressiontree.FormatCommand.java com.example.expressiontree.InOrderIterator.java com.example.expressiontree.InputDispatcher.java com.example.expressiontree.InputHandler.java com.example.expressiontree.InstrumentedExpressionTree.java com.example.expressiontree.Interpreter.java com.example.expressiontree.IteratorFactory.java com.example.expressiontree.LeafNode.java com.example.expressiontree.LevelOrderIterator.java com.example.expressiontree.MacroCommand.java com.example.expressiontree.Main.java com.example.expressiontree.MainActivity.java com.example.expressiontree.NullCommand.java com.example.expressiontree.Options.java com.example.expressiontree.Platform.java com.example.expressiontree.PlatformFactory.java com.example.expressiontree.PostOrderIterator.java com.example.expressiontree.PreOrderIterator.java com.example.expressiontree.PrintCommand.java com.example.expressiontree.PrintVisitor.java com.example.expressiontree.QuitCommand.java com.example.expressiontree.SetCommand.java com.example.expressiontree.State.java com.example.expressiontree.SuccinctModeInputHandler.java com.example.expressiontree.SynchronizedExpressionTree.java com.example.expressiontree.TreeOps.java com.example.expressiontree.UserCommand.java com.example.expressiontree.UserCommandFactory.java com.example.expressiontree.VerboseModeInputHandler.java com.example.expressiontree.Visitor.java com.example.expressiontree.VisitorFactory.java edu.vuum.mocca.ButtonStrategy.java edu.vuum.mocca.ButtonStrategyMapper.java edu.vuum.mocca.DownloadWithAsyncTask.java edu.vuum.mocca.DownloadWithMessages.java edu.vuum.mocca.DownloadWithRunnable.java edu.vuum.mocca.ResetImage.java edu.vuum.mocca.ThreadedDownloadsActivity.java example.imagetaskgang.Filter.java example.imagetaskgang.FilterDecorator.java example.imagetaskgang.GrayScaleFilter.java example.imagetaskgang.ImageEntity.java example.imagetaskgang.ImageTaskGang.java example.imagetaskgang.MainActivity.java example.imagetaskgang.MainConsole.java example.imagetaskgang.NullFilter.java example.imagetaskgang.Options.java example.imagetaskgang.OutputFilterDecorator.java example.imagetaskgang.PlatformStrategy.java example.imagetaskgang.PlatformStrategyAndroid.java example.imagetaskgang.PlatformStrategyConsole.java example.imagetaskgang.PlatformStrategyFactory.java example.imagetaskgang.ResultsActivity.java example.imagetaskgang.TaskGang.java example.pingpong.BinarySemaphore.java example.pingpong.MainActivity.java example.pingpong.MainConsole.java example.pingpong.Options.java example.pingpong.PingPongThreadBlockingQueue.java example.pingpong.PlatformStrategy .java example.pingpong.PlatformStrategyAndroid.java example.pingpong.PlatformStrategyConsole.java example.pingpong.PlatformStrategyFactory.java example.pingpong.PlayPingPong.java null.BarrierTaskGangTest.java null.BuggyQueueTest .java null.CyclicSearchWithCyclicBarrier.java null.CyclicSearchWithPhaser.java null.GCDRunnable .java null.GCDRunnable .java null.GCDRunnable .java null.LeasePool.java null.LeasePoolStrategy.java null.LeasePoolStrategyConcurrentHashMap.java null.LeasePoolStrategyRWLock.java null.LeasePoolStrategyStampedLock.java null.LeasePoolStrategySynchronized.java null.OneShotExecutorCompletionService .java null.OneShotExecutorService .java null.OneShotExecutorServiceFuture .java null.OneShotSearchWithCountDownLatch.java null.OneShotThreadPerTask .java null.Options.java null.PalantirManagerTest.java null.PingPongWrong .java null.SearchResults.java null.SearchResults.java null.SearchTaskGangCommon .java null.SearchTaskGangCommon .java null.SearchTaskGangCommonCyclic .java null.SimpleAtomicLongRWL.java null.SimpleAtomicLongSync.java null.SimpleBlockingQueueTest .java null.TaskGang.java null.TaskGang.java null.TaskGangTest.java null.TestExecutor.java null.TestInterrupted.java null.TestRunnable.java null.TestThread.java null.ThreadJoinTest.java null.UserOrDaemonThread.java