Binpress components 2013-04-11T14:40:39+00:00 Zend_Feed_Writer http://www.binpress.com Binpress contact@binpress.com http://www.binpress.com <![CDATA[Mother Generating Processes M.G.P - Java | Spring | Frameworks]]> 2013-04-11T14:40:39+00:00 2013-04-11T14:40:39+00:00 http://www.binpress.com/app/mother-generating-processes-mgp/1392 home noreply@binpress.com http://www.binpress.comdev/profile/9413 An automated program that launches automatically several samples of processes in more than one JVM and without human intervention. With M.G.P you can save yourself from the agony of waiting to start a computer program of some private or public business that you are operating.From the Various business requirements we face in building our programs, there are some needs to achieve. For example: 1) executing processes exactly at a specific date and time chosen by the user. 2) executing independents and parallels processes. 3) executing dependents processes of previous ones. 4) executing processes by order of completion. 5) continuing or quitting the program after a failure in the last executing process. 6) stopping a process after a failure. 7) dropping human intervention from the whole procedure. &quot;Mother Generating Processes&quot; or M.G.P shows an efficient simulation in which it accomplishes each of these needs by using Spring batch, an open source framework, for process running and also by using at runtime the execution method of processes each on a separate JVM. There are other components that offer similar solutions. Quartz is one of them. It utilizes Thread pool which is managed by a JVM, an Operating System and a CPU. Thread pool could cause problems like data corruption, bad performance, Dead-locks and others knowing that it preceded the Java platform. On the other hand, creating more than one JVM will save us from these high risks caused from the overload of threads. Also, having separate JVM&rsquo;s is easier when it comes to ending or killing a specific JVM without affecting the others. From a Software component view, M.G.P can be considered as a package that contains 6 Java classes represented by 1 main process, and 5 others automatically generated, each referenced by its own application context. This is the simulation I applied to clearly cover the most important scenarios that could be faced when dealing with scheduled jobs. This way other simulations could be applied by simply developing as many processes needed that will execute programs or even act as main processes for generating others and so on. Let us see more explanation in the Program documentation. <![CDATA[Lucene full-text search Framework for Android - Java | Frameworks]]> 2012-09-24T14:30:54+00:00 2012-09-24T14:30:54+00:00 http://www.binpress.com/app/lucene-fulltext-search-framework-for-android/1147 TedraSoft noreply@binpress.com http://www.binpress.comdev/profile/14695 Lucene full-text search Framework for Android offers a rapid way to integrate and manage full text search in Android by using the best open source full-featured text search engine library – Lucene.Lucene full-text search Framework for Android offers a rapid way to integrate and manage full text search in Android by using the best open source full-featured text search engine library – Lucene. Features: Select which folders to index See processing status for indexed folders and files Schedule indexing activities in order to run these operations when phone is less used Fully functional for text files Search example provided Supports use of wildcards and fuzzy search How does it work? User selects a list of folders to index and schedule indexing (or uses default 00:30). When indexing occurs, application checks if any of the indexed files were removed from disk or updated, if any folders were removed from indexed folders list then removes associated indexed files from Lucene index, takes every folder selected for indexing and recursively process every subfolder and file in it. Files are processed by extracting text content and adding it to Lucene index. All info about indexed files and folders are kept in two tables in database. Remember that while choosing whole folders to index is better for user experience and this is the current approach it is also very simple to index simple files. Additional help info can be found in application’s manual (html file). What components does the Framework contain? The Framework contains a series of Android activities and support classes. You can use them together or individually. FullTextActivity – administration activity providing a point of access to Framework functionalities. From this activity you can access indexed files list, indexed folders list to add or remove folders, search for words in current indexed files, change schedule for indexing. Indexing occurs once a day. AlarmReceiver is started at scheduled time and IntentServiceIndex contains all the logic for processing folders and files for indexing. TextFileIndexer provides all the methods for using Lucene engine. The Framework indexes every file by extracting it’s text and adding a Lucene document with Field "contents” to the Lucene index. As it is the Framework indexes text files (it will search only in text files content). For the rest of files types you need to write your own text extractors. Some text extractors were written for : doc, docx, xls, xlsx, ppt, pptx, xml, pdf - but these are not included in the package (might be released as an addon). Of course, you can use TextFileIndexer independently of the scheduling part. FilesIndexedActivity contains the code for displaying a paginated statistic on all files already indexed. This info is kept in database ( see classes in com.tedrasoft.fulltextsearch.database and com.tedrasoft.fulltextsearch.model packages) FoldersIndexedActivity contains the code for displaying a paginated statistic on all folders selected for indexing. This info is kept in database ( see classes in com.tedrasoft.fulltextsearch.database and com.tedrasoft.fulltextsearch.model packages). AddFolderActivity is a folder selection component used to add new folders to indexed folders list SearchResultsActivity shows how a search on Lucene index can be handled and displays the results. Files found can be opened with default applications. <![CDATA[RadioStreams SDK for Android - Java | Android | Frameworks]]> 2012-06-11T05:58:40+00:00 2012-06-11T05:58:40+00:00 http://www.binpress.com/app/radiostreams-sdk-for-android/964 Mos IT Ltd. noreply@binpress.com http://www.binpress.comdev/profile/8699 The RadioStreams SDK is a radio streaming component for Android developers which simplifies the application development process while creating a radio/audio streaming app. Supports mp3, aac, aac+ and wma audio streams over http and mms protocols. Radio Streaming Framework for Android Software Developers. The RadioStreams SDK is a radio streaming component for Android developers which simplifies the application development process while creating a radio/audio streaming app. Can be integrated easily. Features Http and Mms protocols supported. Mp3, AAC, AAC+ and Wma audio streams supported. Parsing shoutcast & Icecast metadata. Works on Edge, 3G and WiFi. Simple integration. Contains full working sample. Disclaimer: RadioStreams SDK can play all WMA version 9 streams but most version 10 streams not supported. Disclaimer #2: Use of this software may require the payment of patent royalties. <![CDATA[Text Undo Manager - Java | Frameworks]]> 2012-05-31T03:17:17+00:00 2012-05-31T03:17:17+00:00 http://www.binpress.com/app/text-undo-manager/943 Ng Jackie noreply@binpress.com http://www.binpress.comdev/profile/10689 Flexible, concrete and natural undo-and-redo mechanism for your Swing text components.TextUndoManager is a library that provides natural undo-and-redo functionality for your Swing text components such as JTextField, JTextArea and JTextPane. It undoes blocks of character-based edits as a single edit unit at a time using a set of algorithms. The library comes with a number of useful functions that allow you to configure the undo-and-redo features. You can easily create a ready-to-use undo-and-redo mechanism for your text components with just a few lines of code and there's no further implementation work required on the developer's side. For the convenience of developers, the library package is fully Javadoc'ed. <![CDATA[aFileChooser - Java | Android | Frameworks]]> 2011-11-26T22:24:15+00:00 2011-11-26T22:24:15+00:00 http://www.binpress.com/app/afilechooser/647 Paul Burke noreply@binpress.com http://www.binpress.comdev/profile/6213 Android library that provides a file explorer to let users select files on "external" storage.(Complete rewrite 11/2012) Android developers often desire a way to present a user with a method of selecting a file from "external" storage. Android's Intent system gives developers the ability to implicitly hook into other app's components, but if the user doesn't have a file explorer installed, the developer must instruct them to install one, or build one, themselves. aFileChooser is an Android Library Project that simplifies this process. Features: Provides a built-in file explorer Streamlines the Intent.ACTION_GET_CONTENT Intent calling process Easily convert a URI into s java File object Determine MIME data types Follows Android conventions (Fragments, Loaders) and is extremely simple to implement Instructions Full installation instructions can be found at GitHub. <![CDATA[AsyncMvp - Java | Android | Frameworks]]> 2011-11-21T08:18:49+00:00 2011-11-21T08:18:49+00:00 http://www.binpress.com/app/asyncmvp/640 Yaroslav Sivokhin noreply@binpress.com http://www.binpress.comdev/profile/6216 Asynchronous message-based module system base on an MVP templateAndroid AsyncMvp framework helps to create module system base on MVP template and message-based architecture. Framework includes core module and helping modules: Saving user preferences Exchanging information with client server on HTTP 2-level cache Quick identification of a user's location You can find source and example also on Github