[Library] Photo Handling / Capture Library - IDEs, Libraries, & Programming Tools

Hello everyone,
Been working on a new Library called picturePerfect (github.com/drose379/picturePerfect) which is being made to take the pain and confusion out of allowing your users to select photos from their gallery, and capture photos from their camera. So far in the README file, you will see that I am starting off with selecting and processing images from the Gallery.
As of now, I am looking for any feedback that the community here may have as to what they would like to see in this library. The question really is "In photo selecting, capturing, processing and handling, where do you feel your code getting messy or out of control?"
By providing some feedback with the answer to that question, I believe it will help me build this library to the very best it can be.
Keep in mind the library is under heavy development and is still in very early stages, if you would like to stay updated on the development, feel free to give the repository a "star" or "watch" it on GitHub.
Thanks a lot for the feedback, and I hope this library will be able to help you sometime in the future! :good:
-Dylan R.

Nice library , easy to use , I would recommend you to publish some of the repo , so you can import directly from build.gradle! :good:

Related

[APP] Barcode Scanning Application

Hello all,
I was hoping you could take a moment and provide some feedback on a software project that myself and a group of others created for a business module we are taking.
The idea is a simple (and certainly not unique!!) one.
1. Take Picture of Barcode
2. Decode
3. Get Amazon results for that barcode
The software (attached) has been thrown together just to demo the concept. It uses a web service to do the decoding which makes it pretty slow, it is not production quality software, it is just for testing the concept.
If you have a second and give it a go, please take a second and answer the following:
1. Did it work?
2. Would you use it? (If not, why not)
If you don't feel like downloading it, it would be great if you could take a second and reply saying why you don't want to, e.g. "I just don't think I would find it useful.."
Thanks,
Scott
P.S. Sorry if this is not the correct place on the foum to post this, but it seemed the most appropriate.
P.P.S. I tired to attach the source to this as I am not sure how to create a cab and so this might not run correctly on peoples phones that have not run .NET apps before, but the attach page kept timing out...
Great stuff!!!
I have not downloaded the app.
Here's why:
There are other FREE barcaode apps out there that do the same but query more than one system.
Suggestion
Expand your query to other database
Market your product by telling what's different from the others
Will try this...I'll give some feedbacks after few days...cheers
Definetly going to try this out. Thanks for posting, and ill report back also, after some testing. Thanks again.
dschoenike
Cheers for the feedback. Just a word of warning, this is a really really REALLY rough prototype.
@tricsio: Thanks for the feedback, this is exactly the sort of feedback we were looking. Our plans to expand this are:
1. Do image recognition on the device to remove need for sending big files
2. Instead of querying amazon directly with barcode as we do now, send it through an intermediate webservice that we control, which will search multiple sites and return this list back to the device.
3. We also considered things like integrating it with our University's library system to check if a book is available, on loan, the shelfmark etc.
@admins that may read this, I didn't notice the sticky before posting, I am going to read it now and edt the post if it violates any of the rules, sorry about that.

[PRJ] [OSS] Updated: Trailcompanion - GPS Application for trekking/walking

Hi there!
I've started this project to make an application to track myself when i'm out walking with my lovely touch pro.
Now i would like to make it open source and free for all trekking amateurs, and i'm posting this here to get some advice and to see if someone is interested.
I would like to make a simple and beautiful application, that doesen't drain the battery and that allow to record and repeat trails, store waypoints, integrate some mappings and exchange data with google earth or others apps. It might include some geocaching features and online sharing stuffs as well...
The project is hosted on http://code.google.com/p/trailcompanion/
and i've set up a development blog here: trailcompanion.wordpress.com
I'm not releasing any cabs soon, just some source code to start and see what we can get...
however, if someone would like to be involved just show up here!
*Edit 2009-08-30:
I've posted some updates and sample screenshots on the devel blog:
http://trailcompanion.wordpress.com/2009/08/30/post-holydays-update/
You could take a look at TrackME.
They also have a web interface.
It's all good, except for the sql requirement.
For my part, for small data, I prefer flat files.
screenshots
Here the screenshots:

Looking for bugs.

Im looking for bugs with the nexus 7 (4.2 software) that can be recreated and printscreened. Ive been looking through the forum and found a few but havent found ways to recreate them on my nexus. I need to do this as part of my Uni course so any help would be appreciated! Thanks
Use the screenshots provided by the users that are experiencing bugs (with there consent of course)???
Wilks3y said:
Use the screenshots provided by the users that are experiencing bugs (with there consent of course)???
Click to expand...
Click to collapse
I could try this, but its also preferable for my grade if I try and find ways to stop them happening too.
chrisftw92 said:
Im looking for bugs with the nexus 7 (4.2 software) that can be recreated and printscreened. Ive been looking through the forum and found a few but havent found ways to recreate them on my nexus. I need to do this as part of my Uni course so any help would be appreciated! Thanks
Click to expand...
Click to collapse
Of course it's for Uni... Not some pathetic little blog trying sensationalist journalism for some adsense cash..
CrazyPeter said:
Of course it's for Uni... Not some pathetic little blog trying sensationalist journalism for some adsense cash..
Click to expand...
Click to collapse
Twas my first thought as well. No Uni project would be set up like this, especially not a real research project.
Really?
"Module CPU4000 Core Skills
OSS Assignment
Interacting with an Open Source Software Development Community
Marks from this assignment will contribute 50% of the overall mark for the module.
Aims
• to develop awareness of the process of open source software (OSS) development.
• to develop confidence and initiative in interacting with an OSS development community.
• to display skills in verbal communications.
Task 1 Start and maintain a diary or blog
Start a diary or set up a blog for the assignment and continue to post entries throughout. Keep a record of everything you do towards the assignment and every response from the community.
Task 2. Find a suitable Open Source Software Development Project
Find an active open source software application in an area that interests you.
A few examples of areas where one or more sites have already proved suitable are given below, but you should not feel restricted to these areas alone.
personal finance package currency converter
music editor / mixer music instrument tutor e.g. guitar
music synthesis media player
image manipulation and tagging video editor / standards converter
text editor web development / web browser
game (various) game development environment
flight simulator desktop publishing
integrated office package social networking
language translation blog
code development environment architectural design package
mobile device app development operating system
virus checker screen grabber / recorder
voice over IP system project management
database management system email package
Some examples of where to look for OSS development projects are:
Sourceforge
Apache Software Foundation
Mozilla Foundation
Google code
Eclipse Foundation (also via Google code)
Ohloh
Search engine (any) search for <open source> followed by keywords
describing an applications that interests you.
To determine whether the development community is active, locate the forum or reporting part of the site and check the dates of recent postings and responses. Also check the analysis and metrics for the project at
If the application is clearly inactive, make a note of what you have found, but then STOP and look for something else. It is quite normal to find that your first choice of site is inactive, so don't leave it too long before you reach that conclusion and move on. If you post a question and nobody has replied after a few days, it’s time to move on.
Task 3. Do something to interact with the community
Here are a few examples:
• Work through a tutorial or some other documentation. Find something that is unclear, confusing, or is out of date, and write an amendment. Submit your improved version.
• Become familiar with the application. Then pick a question that has been posted on a forum, investigate the issue raised and post a comment either answering the query satisfactorily, or contributing in some way that will help others work towards a solution.
• Investigate an existing bug report and try to duplicate the circumstances that gave rise to the problem. Then make a change to something and see if the bug is repeatable. Try to narrow down the circumstances when the bug will / will not appear. Report your findings to the development community.
(This is known as 'reducing' a bug. For an explanation and an example of a list of known bugs in a project, see: )
• Download some software or some small element (e.g. a library function) and get it working properly. Devise some tests and write up the results. If the software doesn't perform exactly as described in the documentation, take action as appropriate: if you are unsure, post a question on a forum, but check for previous reports first. If you are quite sure, submit a bug report describing the circumstances, or amend the documentation and submit the revised version to the community. Follow up the response.
• Specify improvements or suggest one or more new features that you would like added to the software.
There are many possibilities and so you should not be limited by these suggestions. What is important is that you interact in a constructive manner with an OSS development community.
Task 4. Make a presentation
Make a short presentation to the class, describing what you have done and the nature of the interaction that took place. The presentation should last about 5 minutes, after which you should invite questions.
Describe what you have done and the nature of the interaction that took place. Include evidence of your contribution, either by linking to the website where your work is apparent, or by screen shots.
Explain the choice of package and the evidence that convinced you the community is active. If you started to investigate a project that subsequently proved to be unsuitable, briefly mention the details and the reason why you abandoned it.
Date of Presentations: Week commencing Monday 3rd December
The presentation may be recorded to show the External Examiner.
Marking Scheme
Nature and depth of the interaction 50%
Presentation 50%
Grade A: Substantial and serious interaction described in an exemplary presentation
Grade B: As above, but less of an interaction, or with some deficiencies in presentation
Grade C: As grade A, but the interaction was minor or there were some serious deficiencies in the presentation.
Grade D: Trivial interaction and/or serious deficiencies in the presentation.
Grade E or F: No interaction and/or very poor presentation.
Any Questions?
If in doubt, don’t struggle. Come and see me in room C2-7a. Roy Attwood
File: Core-Skills-OSS-assignment-Sept12.doc
Updated 16 Oct 2012 RA
"
For a blog ey?
chrisftw92 said:
"Module CPU4000 Core Skills
For a blog ey?
Click to expand...
Click to collapse
Haha - Robyr and CrazyPeter just got owned. :laugh::good:
We don't already have enough of these 4.2 bashing threads, now we have to help you with your homework?
closing this as if you want help with your homework you should be able to search and find the bugs and fins ss to use as well...OR pm users that report said bugs and ask for ss's maybe...

Launch MetroTube's YouTube player from within you app

Hey All!
We've finally set up a URI schema so that other developers can take advantage of our YouTube player UI.
A detailed blog post on how to get this implemented:
http://lazywormapps.com/metrotube-uri-schema.html
One of the articles written about the update:
http://www.wpcentral.com/developers-can-now-use-metrotube-uri-app-app-communication-latest-update
If you do implement this, make sure to give us the heads up so we can see how others are making use of it.

[Library] BobEngine - Easy to use 2D game engine for Android

Hello, XDA!
I have created my own 2D game engine that utilizes OpenGL and sports many features to help make programming 2D games for Android as quick and simple as possible. I created this engine for use in my own projects but then I thought why no make it open-source? I think other people could benefit from this and input from other developers could help fine tune this thing so it's as good as it can be.
So I gave my engine the name "BobEngine" after my online alias and uploaded the first public release called "BobEngine 1.0 Thingama" to GitHub. That was months ago and now I've finished working on the next update: BobEngine 2.0 Shishka.
I've got a post on my website detailing what's new in update: http://www.bobbyloujo.com/2015/01/bobengine-20-shishka-update.html
BobEngine uses a similar structure to GameMaker games so if you've ever used that you may be interested in BobEngine. BobEngine uses a specialized BobView to display the content of Rooms. Rooms are collections of GameObjects which each have a graphic and attributes such as x and y positions, width, height, angle, frame, etc... Rooms and GameObjects also have step, newpress, and released events built in. The step event happens each frame, the newpress event happens when a new pointer is touched on the screen, and the released event happens when a pointer is lifted from the screen.
There are many other tools included with BobEngine and the best way to start learning how to use them is have a look at the examples that are included! In the GitHub repository you'll find an Android Studio project called "BobEngine". This project contains the "bobEngine" library module that you'll need to include in your own projects if you want to use BobEngine. Also in the BobEngine project are modules for each of the included examples. Currently there are examples that demonstrate the structure of a BobEngine game, how to use input from the touch screen, and how to manipulate the camera. I'll be creating more examples in the future to show off all the things you can do with this engine!
All the methods and data members in BobEngine are internally documented and the examples include a lot of internal documentation to help you out as well.
I'll keep updating the library with new things as I think of them. If there is anything you think should be added go ahead and post about it in this thread.
Benjamin Blaszczak
a.k.a. Bobby Lou Jo
@Bobbyloujo on Twitter
Edit: Forgot the GitHub link: https://github.com/Bobbyloujo/BobEngine
@Bobbyloujo
Thanks man will try this today and welcome 2 xda :highfive:
Thanks sir...pls give us some game template made from your lib
Great job man. It looks great.
I will try as soon as possible
Sylvain
Thanks man. Will surely try it out. good work.
Awesome, just what I've been looking for. Thanks!
nice work, and thanks for putting your time and effort into it.
Could this be used to recreate "biomenace" for android?
Thanks everyone!
@berlyshells Anything you want to see in particular? I could probably throw together a Flappy Bird clone real quick or something...
@verbuyst It certainly looks doable if you put the time and effort into it.
Bobbyloujo said:
..
Click to expand...
Click to collapse
im not really looking for anything in particular..probably any game source with comments (of the functions/what for is this code etc..) inside the code would be nice haha i just requesting but its you're choice sir im sorry im just a newbie
TIA
A new example has been added to the repository per @berlyshells request. This example is called Jumpy Bug and it is a Flappy Bird clone. It demonstrates what a full game programmed with BobEngine looks like.
Bobbyloujo said:
....
Click to expand...
Click to collapse
thank you very much sir..you are indeed a good hearted person..this is what i really love on xda
While working on my most recent project I made a few changes to BobEngine. The changes have been uploaded to GitHub.
Changes:
The extra functionality provided by BobActivity has been moved to a new class - BobHelper. A BobHelper can be used by any activity. When using a BobHelper, be sure to call its onResume() method from your activity's onResume() method. BobActivity still functions the same way it did before. BobHelper is useful for when you want to use some other kind of activity has your application's main activity but still want the extra functions from BobActivity. For example, if you want to use BaseGameActivity from the BaseGameUtils library for Google Play services.
SplashActivity has been totally changed because, frankly, it sucked before It is now an abstract class. Create your own activity for showing splash screens and extend SplashActivity. Implement the setup() and end() methods. In the setup() method, call addSplash(R.layout.your_splash_layout, time_in_ms) to add a splash screen to show as defined by an xml layout. You can add up to 10 layouts. Add them in the order you want them to show. The end() method is called after the last splash screen has been shown. In the end() method, start an intent for your main activity and then call finish() to close the splash screen activity.
Other small changes.
How many games have made using library? Looks cool)
Thanks..I tried AndEngine and it failed to import on my Android Studio.
Marshal3 said:
How many games have made using library? Looks cool)
Click to expand...
Click to collapse
Uhm... about three. There's Plane Popper, Crazy Taxi Driver, and I just finished Bounce the Beach Ball. Other than that, I've made a few examples that you can find in the repository - including a Flappy Bird clone. Also, I've been working on a platformer.
basil2style said:
Thanks..I tried AndEngine and it failed to import on my Android Studio.
Click to expand...
Click to collapse
Let me know if you need any help with BobEngine!
Hello again, XDA!
I've updated BobEngine again. This update brings the following major additions:
Gamepad support! You can now get input from any standard gamepad using BobEngine. A new example has been added to the Android Studio project that shows and explains how to use this new gamepad support. The example is called controllerexample.
Multiple quads per GameObject. Up until now, a GameObject consisted of a single textured quad (well, two triangles that form a quad). Sometimes it is useful to have many quads grouped together. If you use this, note that all the quads for each GameObject must have the same graphic. This is a very niche feature that I added for a particular purpose but didn't end up using myself. If you'd like an example of what can be done with this, let me know and I'll make one.
Some other miscellaneous stuff has been changed as well. It's been so long since I posted an update that I forget everything I changed! One useful change I made was to the camera features. Rooms now have their own camera values, meaning if you change the camera in one room, then switch to another and change the camera there, then switch back to the first room the camera will be where you left it in the first room.
BobEngine can of course still be found here on GitHub: https://github.com/Bobbyloujo/BobEngine
Here's a video showing off gamepad support: https://youtu.be/vRdaaaJnqGk
As always, if you have any questions feel free to ask. Also, if you've made anything with BobEngine I would love to see it! Whether it's something big or something small I'd love to see how others have used my engine
If you haven't already, please follow me on Twitter. My handle is @Bobbyloujo and I post updates about the games and things I'm working on there pretty frequently. Right now I'm working on something pretty big!
Another new update today!
Changes:
* TextDisplay object added! TextDisplay is a GameObject that can be used to output text! Text can be centered, aligned left or right. A new example has been added to show how this new object can be used.
* A new 'visible' attribute has been added to GameObjects. Setting gameObject.visible to false will cause the object to be hidden so it isn't drawn.
* The getAngle() function in Room.java was broken. It has been fixed so now getAngle() and getAngleBetween() both work properly.
* The getRatioX() and getRatioY() functions sometimes would not work properly on some devices. This has been fixed.
* When using multiple quads per GameObject, the performance has been increased. This was done by collecting vertex data from the quads in a way that does not require the concatenation of many arrays.
As always, the repository can be found here: https://github.com/Bobbyloujo/BobEngine
It'll really help me out if you follow me on Twitter: https://twitter.com/Bobbyloujo
And like my Facebook page: https://www.facebook.com/BobbyLouJo
If you have any questions or would like to report a bug, please leave a message in this thread or PM me on XDA, Twitter, or Facebook.
Have a great week!!
Version 3.0 Bobsled
It's been a while, but in the time since my last update I've added a lot of new things to BobEngine. Since it's such a big update, I'm giving it a new version name: v3.0 Bobsled. Here goes:
RoomCache - In BobView.java you will find a new static class called RoomCache. As the name implies, RoomCache is used for storing and retrieving instances of Rooms. The nice thing about RoomCache is that you can call getRoom(Class roomType) with any class type that inherits Room and the function will return an instance of that room type, even if you haven't manually added a Room of that type to the cache. The function getRoom(...) will search the cache for an instance of roomType and return it if one is found OR it will create a new instance of roomType using reflection and return that. You'll also notice that there is a getRoom(Class roomType, Object... args) function. If you have created a room type that takes parameters other than (BobView view) like a default Room does, you can use this method to pass the required arguments to initialize a new instance of that room type if need be. The cache holds a specified max number of Rooms. When the cache is full and a new Room is added, the oldest Room is removed. You can make your own RoomCaches, but each BobView has it's own cache with an initial size of 3. To access it from your BobView, just call getRoomCache().
Along with RoomCache, BobView has received two new goToRoom overrides: goToRoom(Class roomType) and goToRoom(Class roomType, Object... args) for switching to rooms retrieved from the RoomCache.
Input events (newpress, released) are now handled on the main thread (same thread as step event). Handling game logic on the separate input thread was causing a lot strange glitches in my games when values were being changed when I was not expecting them to be changed. Now, input will be handled on the same thread just before the step event.
For even more convenience and even quicker game development, a new constructor has been added to GameObject: GameObject(Room room). This will automatically assign an instance ID number AND add the object to the room. What typically looked like this before:
Code:
GameObject object = new GameObject(room.nextInstance(), room);
room.addObject(object);
Now looks like this:
Code:
GameObject object = new GameObject(room);
So simple! The old constructor is still there and behaves the same way for those who want it and for backwards compatibility.
Setting GameObject.visible to false will now hide all Quads belonging to that GameObject. This will not change the Quad.visible field for any Quad. Also, similarly to GameObject, Quads are now added to the GameObject when initialized.
Animations can now be played once and looped for a limited number of times. animationFinished() will return true when an animation has finished playing.
Animation class - a new class has been added to GameObject.java. This class can be used to predefine animations with a start frame, end frame, fps, and loop times.
Previously, I was using 3 coordinates for each vertex. I learned it's possible to use only 2 in OpenGL. Since the 3rd vertex is not needed, I changed the code to use only 2 vertices. I'm not sure if this actually caused any performance improvement.
Graphic.Parameters class - A new class in Graphic.java allows you to predefine Graphic parameters to use with GameObject.setGraphic(Graphic.Parameters params). Useful for when you want to switch between graphics on a GameObject often.
A new method in the Graphic class called setDimensions(int width, int height) allows you to set the height and width of the DPI level image you want to use for setGraphic(Graphic g, int x, int y...). Previously, you would have to use setPreciseGraphic(...) if you had different sized images for different DPI levels that have multiple graphics on them.
Set the color intensity of all GameObjects on a specific layer using Room.setLayerColor(int layer, float r, float g, float b, float a).
Graphics management (this is a big one):
The Room, Graphic, and GraphicsHelper classes have been updated to improve and simplify management of graphics for large games. A new GraphicsHelper.cleanUp() method makes it easy to manage graphics. You can choose points in your game to call cleanUp(). When called, Graphics that have not been used recently will be unloaded and removed from the GraphicsHelper. Graphics have a new public field called 'persistent' which when set to true will cause the graphic to remain loaded when cleanUp() is called. All non-persistent Graphics will survive through a set number of cleanUp() calls before they are removed. If a Graphic is removed but then a GameObject tries to use it again, it will automatically be re-added to the GraphicsHelper and reloaded.
You can also manually call:
Graphic.load() to load a graphic after is has been added to the GraphicsHelper.
Graphic.unload() to unload a graphic
Graphic.remove() OR GraphicsHelper.removeGraphic(Graphic g) to unload and remove a Graphic from the GraphicsHelper.
OKAY, I think that's just about everything. I actually had to look through the changes in the GitHub commit to remember all the things I've changed xD There are a few other small changes but I didn't think they were important enough to list. Now I want to ask you guys something:
Is there any interest in a full-blown tutorial series for BobEngine?
I could start with the basics, then explain more advanced features like graphics management. I could also take requests for certain tutorials. I could even cover general game development topics and how to implement them with BobEngine. Doing this would be a lot of work so before I dive in I really want to gauge the level of interest in BobEngine. So far, it's been difficult to tell how many people are interested because I haven't gotten an overwhelming amount of replies here but every once in a while I get a PM or email asking for help. So if you're using BobEngine raise your hand!
And of course: if you've made anything with BobEngine I would love to see it! I've seen a few things and it makes me happy to see you guys using getting some use out of my engine.
Thanks for your time! If you have any questions, just ask. You find any issues with BobEngine, post them here or on GitHub and will fix them. Also don't forget to let me know if you're using BobEngine!
Once again, the repo can be found here: https://github.com/Bobbyloujo/BobEngine
Thanks again,
Ben a.k.a. Bobby Lou Jo
Twitter: https://twitter.com/Bobbyloujo
Facebook: https://www.facebook.com/BobbyLouJo
you are great and i should more from you
I am a new man in the electronic area, and you have developed your own staff, you set a good example for me.
Jackiefire said:
I am a new man in the electronic area, and you have developed your own staff, you set a good example for me.
Click to expand...
Click to collapse
Thanks! Your support means a lot.

Categories

Resources