[Library] Electra - simple persistence framework for android - IDEs, Libraries, & Programming Tools

Electra for android is simple persistence framework with compile time processing.
Primary design goals:
Easy to use and configure.
Easy integrate with existing code. Electra like database wrapper.
Compile time processing. No reflection.
Simple beans.
Expression builder.
RxJava support (optional).
https://bitbucket.org/txdrive/electra/

Just post here an example of exression builder:
List<User> users = em.select(User.class)
.where(gt("age", 18), lt("age", 25))
.from(100) //offset 100
.max(10) //return only 10 records
.list();
also for rxJava .listObservable()
I would like to get feedback questions , etc

Related

[PROJECT][OPENSOURCE] - Mobile Adventure Game Engine - First Post: 9/03/09

Hi everyone. I am starting a new Open Source project using VB.net to allow the community to build Adventure Games ala SCUMM / SCI / AGI etc... Users will be able to create games similar to Zak McKracken, Monkey Island, Maniac Mansion, Day of the Tentacle, Space Quest, Kings Quest, Police Quest, Full Throttle, etc...
Some Key Engine features:
*Point and Click game play
*GUI's
*Inventories
*Control of Multiple game characters
*NPC's
*Cutscenes
*Sounds
*Pathfinding
*Hotspots and Masks
*Lighting effects
*Z-Buffering
*Saving/Loading game states.
*And more
Game editing will be done eventually through an editor. But the files will consist of editing:
*Directory structure to contain images and sound and scripts
*XML Scripts
*Engine- Game Player
The game engine is open source. Although with every release, the compilation code will be modified as to make sure noone can get into the game contents.
The project is in design stage currently. So its fresh. What I need is a few experienced VB.NET developers. Not necessarily in .NET CF or Mobile development. But just in VB.NET. In particular I need help writing pathfinding functions.
I am also in search for a mobile VB.NET programmer who can help with the development of reading XML files more efficiently than I know how to write and also for someone to help with game compilation functions and Z-buffering. If you are interested, post here and let me know your sourceforge account and what your applying for. The site is here:
https://sourceforge.net/projects/mobilemage/
cool~looking forward to it!!!
Thank you. In a few days I should have basic Room loading done. That will probably be the first release for it.

[Library] DroidParts — the missing Android framework

DroidParts is a carefully crafted Android framework that includes:
DI - injection of Views, Fragments, Services, etc.
ORM - efficient persistence utilizing Cursors & fluent API.
EventBus for posting event notifications.
Simple JSON (de)serialization capable of handling nested objects.
Improved AsyncTask & IntentService with Exceptions & result reporting support.
Logger that figures out tag itself & logs any object.
RESTClient for GETting, PUTting, POSTing, DELETing & InputStream-getting, also speaks JSON.
ImageFetcher to asynchronously attach images to ImageViews, with caching, cross-fade & transformation support.
Numerous Utils.
Fragments support: native on 3.0+ and either pure SupportLibrary or ActionBarSherlock-backed on 2.2+.
The main site is droidparts.org (can't post links) with a manual and links to GitHub & StackOverflow.
Please let me know which topics need more coverage and I'll answer here & include them in the guide.
Cool. Thanks.

[Q] [DEV][Gradle] How to make a modular Application ?

Hi guys,
I'm currently working on an app for a company that asked me to make it modular.
Actually the app contains different features and the company would like to be able to compile the differents flavors of the App via Gradle.
If I understood correctly the current flavor solution offered in Android Studio doesn't fit my needs as if I have like 5 differents modules I'd have to make a flavor for : feature 1, feature 1 + 2, feature 1 + 2 + 3, feature 1 + 2 + 3 + 4, feature 1 + 2 + 3 + 4 + 5, feature 2, feature 2 + 3, ...... and so on.
So how can I say to gradle I just want to compile this part of my code ?
And how can I manage my code in a clean way for my app to understand which modules are enabled or not ?
Thanks a lot for your answers !
Not sure I'm understanding the problem. Create the flavors and in each of the src/<flavor>/ directories you can specify a build.gradle file and in that gradle file you can add dependencies for other modules. So this modular code would exist in <project root>/libprojects and the separate flavors would then conditionally include that code as a dependency. Make sense?
.
libprojects/module1
libprojects/module2
libprojects/module3
src/flavor1/build.gradle
src/flavor2/build.gradle
/src/flavor3/build.gradle
Each of those build.gradle files in the separate flavors could include dependencies for modules that it needs. Remember, code in a flavor takes precedence over code in src/main/java. So use that to your advantage to creating modular code.
Thanks a lot for your answer
It kinda give me an answer for the concept of isolating code on libraries. But the code isn't the biggest issue for me. Is it possible to put the resources (drawable and raw) in the libs so that I can grab them only on the required flavor of my app ? And do this via gradle dependency as I would have too much flavors otherwise.
Thanks again
joplayer said:
Thanks a lot for your answer
It kinda give me an answer for the concept of isolating code on libraries. But the code isn't the biggest issue for me. Is it possible to put the resources (drawable and raw) in the libs so that I can grab them only on the required flavor of my app ? And do this via gradle dependency as I would have too much flavors otherwise.
Thanks again
Click to expand...
Click to collapse
FYI, make sure you tap "reply" in the future so a person's post is "quoted" otherwise that person, me, doesn't get notified you responded from XDA. I just happened to click back on this post. Didn't receive a notification.
When you say libs do you mean "libprojects" folder or do you mean libs as in creating a jar file with those resources? Don't forget you can copy the dependencies from another flavor if you need to at compile time. Not sure if that would help in your scenario.
shafty023 said:
FYI, make sure you tap "reply" in the future so a person's post is "quoted" otherwise that person, me, doesn't get notified you responded from XDA. I just happened to click back on this post. Didn't receive a notification.
When you say libs do you mean "libprojects" folder or do you mean libs as in creating a jar file with those resources? Don't forget you can copy the dependencies from another flavor if you need to at compile time. Not sure if that would help in your scenario.
Click to expand...
Click to collapse
Sorry, bad old reflex
Actually that is my problem. How am I supposed to isolate my features ? Should I make an Android library ? Should I brutally use gradle to isolate some files ?
Thanks again
joplayer said:
Sorry, bad old reflex
Actually that is my problem. How am I supposed to isolate my features ? Should I make an Android library ? Should I brutally use gradle to isolate some files ?
Thanks again
Click to expand...
Click to collapse
It really depends on what you mean by isolate features. If you mean paid vs free app then you should undoubtedly isolate those features with a gradle variable that is set at compile time and read from at runtime via the BuildConfig class.
Code:
if (BuildConfig.IS_PRO) {
... some code
}
It's more of a mess to exclude code then to just make a single code source where you conditionally include/exclude based on compile time variables.
shafty023 said:
It really depends on what you mean by isolate features. If you mean paid vs free app then you should undoubtedly isolate those features with a gradle variable that is set at compile time and read from at runtime via the BuildConfig class.
Code:
if (BuildConfig.IS_PRO) {
... some code
}
It's more of a mess to exclude code then to just make a single code source where you conditionally include/exclude based on compile time variables.
Click to expand...
Click to collapse
Thanks a lot I think this kind of syntax might help me.
To make things clear the product will be compilable for different end products. One might want geolocalization, another not. As features end up taking space in the APK I need to exclude them from compilation. And finally this app must be compilable out of Android Studio so Gradle is my only savior ! And I'm far from beeing a Gradle expert so thanks for your answer I'll look at it

XAP/DLL/EXE Hacking Tool (disassembler, decompiler, compiler)

.NET decompiler with support for XAP applications. Allows hackers developers to decompile assemblies and resources in a code editor, make changes and compile the code back to the assembly.
Click to expand...
Click to collapse
View on GitHub
Features:
Decompile .NET assemblies to C# and allow editing/compiling the high-level code back to CIL
Edit CIL instructions in method bodies
Modify assembly structure
Edit and extract assembly resources
Edit the contents of a XAP by adding, removing or swapping files, or using internal editors for certain resource types.
Integrated editors for text, hex, manifest, resource, XML and XAML.
XAP package manager (compatible with Windows Phone and Silverlight applications) allowing to view and extract XAP contents.
Does laundry, has mastered Italian cuisine, cleans and makes mind-blowjobs when asked kindly and treated right.
Click to expand...
Click to collapse
Some of your skills that could be useful may be:
Blogging: You can write down the results of your testing, your ideas and stuff about .NET Rain the way you see it.
UI/UX design: You don't have to bother with WPF implementation. Photoshop designs are good enough.
C#/WPF programming: You can contribute to the code quality and all user-related features of the application.
C# Reflection mastery: The "core" is in a very alpha state and is full of bugs. The are many planned new features, too.
Donations: They will be wisely spent.
Crowd-funding experience: You can help with raising money to pay for community-hired professionals to write code that will later remain open-source.
Virgin goat blood: For recreational uses.
Click to expand...
Click to collapse
Not going to lie, I laughed at that last part in the description. Very good work. Thanks for sharing!
I laughed at the git hub title for DLL editing : DLL Deep Throat XD
lol WUT!
Edit : Screen****s ? XD
jepp nice way to word some things , but please let us not use the kind of words here
and yes real good jop
I live to serve the forum rules, so fear not. GitHub is quite liberal, on the other hand
Let me know how do you like it because as of a while I'm experimenting with great new substances.
The effects of which include, but are not limited to, reviving this old project into The Tool for Windows 10.
So I'd love some (a lot of) "pre-"feedback. Try it out. Open issues on GitHub. Help me make it awesome.
Cheers

Software Tree Announces JDXA, The KISS ORM for Android

JDXA is an innovative, flexible, and easy-to-use Object-Relational Mapping (ORM) product that simplifies and accelerates the development of Android apps by providing intuitive, object-oriented access to on-device relational (e.g., SQLite) data. Adhering to some well thought-out KISS Principles, JDXA boosts developer productivity and reduces maintenance hassles by eliminating endless lines of tedious SQL code.
JDXA provides a simple yet powerful, and flexible ORM solution. JDXA easily supports inheritance, one-to-one, one-to-many, and many-to-many relationships and offers a POJO (Plain Old Java Objects) friendly non-intrusive programming model, which does not require you to change your Java classes in any way:
No need to subclass your domain classes from any base class
No need to clutter your source code with annotations
No need for DAO classes
No source code generation
No pre-processing or post-processing of your code
The SDK comes with extensive documentation and many working sample projects. Please visit softwaretree dot com to learn more about JDXA and the KISS Principles, to check code snippets, and to get a free trial download.
Great product. JDXA is very easy to use.

Categories

Resources