Comments (5)
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.
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.
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.
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.
Ok, thanks a lot ma1co!
from openmemories-framework.
Related Issues (20)
- Is it possible to make a app that can show Luts when use slog mode?
- Can we get this to work with the Sony A7iii? HOT 4
- How to Bulb shooting? HOT 2
- OpenMemories 1:32:02 recording limit
- Question: Is there a method to shift camera's CMOS by 1-pix?
- question: is it possible to higher burst raw photo count? (turning off curtain) for 24fps video purpose HOT 1
- There is still time limit on A7 with firmware 3.2
- adjustAperture - How to set a value? HOT 1
- Question: Working on A7III? HOT 1
- ILCE6000 firmware v3.21 HOT 1
- Open Memory update for A7III (ILCE-7M3)? HOT 1
- support for a6100 HOT 1
- Development environment
- Documentation: Live preview API HOT 1
- Can't install Openmemories Tweak on SONY RX10 (I) HOT 1
- Question: a5100 firmware setting for [AF w/ shutter] (to enable back button focus) HOT 1
- A7III time limit HOT 2
- SDK Problem
- BULB shooting
- Question setting shutter speed and iso
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openmemories-framework.