Giter VIP home page Giter VIP logo

Comments (5)

pdykmans avatar pdykmans commented on September 3, 2024

Hello Jochen,

Sorry to contact you this way, but I'm not very familiar with Github yet. So, I didn't see any other possibility...

First a bit of background;

I just joined Github to take part in this Sony App development. As a C# programmer I should be up to speed with Java in no time I guess. However I'm still very much confused about Android programming, Gradle, and how OpenMemories ties it all together.

In an effort to get started, I just installed Android Studio and downloaded the FocusBracket app from user Obs1dium. My goal was to start "somewhere" and create an APK file that I could then load onto my A6000 using the pmca-gui application. And while I managed to build the APK file, it doesn't want to load onto the camera. But this was just a quick test. No big deal...

Now for my actual question;

Would you maybe have some time to get me jump started? There's just too many loose ends for me right now. Like: can we use Android Studio? Is there a Sony device emulator? What's wrong with my APK that it doesn't load? etc...

Your help would be appreciated!

Thanks,
Philippe

from openmemories-framework.

ma1co avatar ma1co commented on September 3, 2024

@pdykmans

can we use Android Studio?

Yes, I recommend you to use it.

Is there a Sony device emulator?

No. You can use the Android emulator or your phone for very simple apps. But as soon as you use Sony's proprietary APIs, the app will crash in the emulator, because the APIs are only available on cameras.

The easiest way to develop is using adb. Using OpenMemories-Tweak, go to the developer tab and turn on wifi and adb. Connect the camera and your computer to the same network. On your computer, run adb connect <your camera's ip>. In Android Studio, click the run icon and select your camera. The app should start on the device. Set your camera's auto-power-off-setting to 30min to prevent it from shutting down.

What's wrong with my APK that it doesn't load?

Please provide us with the error messages. I guess that you might have certificate problems. Uninstall the original FocusBracket app from your camera and try again. You can't update an app if it is signed with a wrong certificate.

from openmemories-framework.

pdykmans avatar pdykmans commented on September 3, 2024

Thanks for the info ma1co!

Meanwhile I managed to compile APK's in Android Studio. I just made a couple beginners mistakes. But I can now load and run them on my A6000 without problems :-)

My next steps will be to look into some of the apps already available and see if I can add some value. Just to get familiar with the environment, which is 90% new to me.

Just one more question, if you don't mind; I have been looking high and low for documentation on the Sony API. But whatever function or namespace that I google-search for, I always end up with references to OpenMemories or Android. Do you know of any documentation from Sony? E.g. what functions are available on which of their cameras?

Thank you!
Philippe

from openmemories-framework.

ma1co avatar ma1co commented on September 3, 2024

No, there is no official documentation, everything we know was found through reverse engineering. I'd recommend you to look at existing apps.

Regarding availability on different cameras: There are comments in the stub files (e.g. MediaRecorder was added in API version V3 = 2.3). You can find the list of supported cameras with their respective API versions here (e.g. A6000 is 2.4 = V4).

from openmemories-framework.

pdykmans avatar pdykmans commented on September 3, 2024

Ok, thanks a lot ma1co!

from openmemories-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.