Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build framework as a 3rd-party lib #3

Closed
ngvincent opened this issue Jul 5, 2015 · 13 comments
Closed

Build framework as a 3rd-party lib #3

ngvincent opened this issue Jul 5, 2015 · 13 comments

Comments

@ngvincent
Copy link

Pull the framework/ folder out, build it as a third party lib/jar

When other people write apps for PMCA, they'll just have to include that lib/jar in the build path, without having to copy the framework code.

(Optionally put that lib/jar in maven repository, so that it can be added as a maven/gradle/... dependency)

I can assist on this - Let me know if you want me to help

@ma1co
Copy link
Owner

ma1co commented Jul 6, 2015

I'm planning to do this eventually. For the time being, i'm just investigating in the APIs and it's IMHO easier to have everything in one single project. Especially because I don't know yet in which form we will release this framework, whether we have to add a custom intermediate code layer for example.

The framework directory contains just some stubs for the Sony APIs. They are more or less auto-generated from the unpacked firmware.

So I would propose to wait a bit before we really release the framework.

@ngvincent
Copy link
Author

Ok....

Do you need help in any specific item? Are you looking at the firmwares for a specific camera, or for all available cameras?

@ma1co
Copy link
Owner

ma1co commented Jul 11, 2015

Mainly testing atm... I only have an a6000, it would be great if you could test everything on your camera, too.

The stubs come mainly from the nex6 which is one of the oldest cameras with android apps enabled (just after the nex5r). The features present in this camera should (hopefully) work on most newer cameras, too.

@lh8511
Copy link

lh8511 commented Jul 13, 2015

I had the Nex-6 (now sold) and tested successfully all functions of PMCADemo until v0.6...
I tried to compile some useful code from other camera apps but the whole implementation was too changeling for my code expertise, LOL
I am now waiting to get the A7 or A7II and hopefully all should work too...

@lh8511
Copy link

lh8511 commented Oct 20, 2015

Any development on the framework (library) side?

@ngvincent
Copy link
Author

Sorry, been bit busy at work, didn't have much time to work on this

If you look at my fork, I've added code that makes it easier to browse and
dump the filesystem of your current camera (instead of just working on the
decompiled nex6). If you have an A7, share the jars?(I'll share mine later
tonight)

Think I have time to look at it in a few weeks when things quiet down
On Oct 20, 2015 6:13 AM, "lh8511" notifications@github.com wrote:

Any development on the framework (library) side?


Reply to this email directly or view it on GitHub
#3 (comment).

@lh8511
Copy link

lh8511 commented Oct 20, 2015

Ok thanks,
Will check

@lh8511
Copy link

lh8511 commented Oct 21, 2015

@ngvincent
I still do not decided which version of A7 to get! Will be probably A7ii or simple A7.
Anyway I got a dump for A7s in my disk. What Jars do you want?
-What camera do you have?

@ma1co
Copy link
Owner

ma1co commented Oct 28, 2015

Hi everyone, sorry for my late answer, I've been very busy in the last months and couldn't work on this.

In the last few days, I reverse engineered the USB communication between camera and browser plugin. I mean, nobdy wants to use IE :) I just pushed my results to the other repo.

Concerning the framework, my goal is to develop an abstraction layer with a nice scripting interface, so people can write their own scripts (probably JavaScript, since interpreters are easy to integrate) and have them interpreted on camera. That would lower the entry barrier for many people. What do you think?

@lh8511
Copy link

lh8511 commented Oct 29, 2015

Welcome ma1co.
A scripting interface would be very cool.

@tommiehansen
Copy link

@ma1co as someone that works as a designer and a front end designer that would be pretty awesome since javascript is one of the few languages i actually understand 👍

@gped73
Copy link

gped73 commented Jan 26, 2016

hi @ma1co , I have tested the python code with a7s and it work great, also the apk install well !
Now i'd like to write an app to force 4k internal recording, I am trying to build an APK from your PMCADemo project, but i am not able. I don't know very well android programming. Please what i have to do to build the APK ?
At the moment i found Android Studio, with Android 2.3 Platform SDK, but something go wrong.
Please help me, thank's a lot

@ma1co
Copy link
Owner

ma1co commented Apr 16, 2016

I've pulled out the stubs and I'm currently writing a new abstraction framework around them: OpenMemories-Framework.

@ma1co ma1co closed this as completed Apr 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants