Question for fellow Android developers:
the standard Android API does not offer access to the "beam-assisted auto focusing functionality" of the camera. I am wondering how we can access that part of the function via android SDK or NDK?
I am looking through the source code of the camera, seems lots of .C files in the Kernel section relate to camera operation. Is that the only good starting point?
thanks so much for any input!!!
Related
Hey guys,
I'm in the very very early stages of my masters work and I was toying around with the idea of using an Android tablet for part of it. I want to ask you devs what can be done when modifying the Android OS itself specifically in terms of a few things.
1. Logins - I would like to implement a classic user/password combination with levels of access for user, administrator, and some sort of superuser.
2. Restriction of User account - I would like to lock the user into one particular application. It must be relaunched when the device is booted and if the application crashes (hopefully not!) it must be restarted. Additionally, no market access, web access, etc.
3. Remote management if possible
4. Data encryption if possible
5. Prevent anything from being introduced from USB ports, SD slot, etc if unwanted.
I guess this brings me around to - is Android even the most suitable platform for such an endeavor. I'm not sure, to be honest, but I would love to get into development myself and this seems like a great way to learn. This is all just one part of a much larger project that I don't want to discuss just yet so sorry for being lax on details.
Thanks guys!
Android runs a virtual machine system called dalvik, in which each application gets it's own insuranceof the machine. It's implemented in such a way that each application gets assigned a user id, which unfortunately for you means each app is a different user, at least to the system. That's going to be a major wrench in the multi user plans. taking that into consideration, to have the same level of control over your tablet you'd have to give even the most basic user level "root" access or else the apps will start crapping their collective pants. As far as unwanted usb, there are a few apps that implement this functionality freely available through the market. Same with remote management. What I haven't seen yet is total encryption and I don't know enough about it to say it's possible or not. Seems feasible though.
My advice: write a custom login screen widget and then bake all these features into a pretty rom.
I'm going through all the features of the current version of Android Studio (version 1.0.2) and am frustrated by the documentation. There is existing documentation at JetBrains, but much of it appears to be out of date. I've wasted a fair amount of time trying to follow some sections of documentation only to finally decide that they are simply incorrect; then, of course, I have to work through the system by trial-and-error.
My question is: Is there any comprehensive documentation for the current incarnation of Android Studio? The best I've found so far is the book, "Android Studio Development Essentials" by Neil Smyth. Even that, however, spends far more pages on Android development in general than on the Android Studio too.
As an example, take a look at https://www.jetbrains.com/idea/help/accessing-module-settings.html. The first step is to bring up the Project Structure dialog. That comes up fine, but appears to have been completely redone and the very next step, "click Modules", doesn't appear to be pertinent any longer. Furthermore, the "Modules page" that that should bring you to doesn't seem to exist any more (at least I couldn't find it anywhere). This (i.e., module) information seems to be retained in the app.iml file (the module is called "app"), but I don't see where it can be modified in the GUI.
I have a few questions about Android Studio (given the above), but will post them separately.
Thanks for any pointers .
Barry
-------------
UPDATE:
From IntelliJ Support:
Online documentation is for IDEA, not for Android Studio. Android Studio is a narrow tool for Android development, so it doesn't have all IDEA features.
Android Studio is based on IDEA core code, but it is developed by Google.
Closing this item out. (Although, not to put too fine a point on it, I still don't know where good/accurate/current documentation is for Android Studio (Google?).)
I'm trying to understand modules in Android Studio 1.0.2. How they are configured, edited and stored.
It's easy enough to create a new module (File->New Module) and the information gets stored in the module's iml file (e.g., app.iml).
However the documentation regarding about editing a module (https://www.jetbrains.com/idea/help/modules.html) seem to be out-of-date and I don't understand if/how facets are used (and/or are applied).
Can modules be edited in the UI?
Are facets still used in this version of Android Studio (1.0.2) and, if so, how are they viewed/edited?
I'm new to Android Studio so that may be part of the problem -- e.g., I'm not familiar with modules and facets in the earlier implementations.
Thanks!
Barry
-----------
Update:
-----------
From IntelliJ Support:
This description is for IDEA projects. AS doesn't have facet (it uses only one facet - Android).
Android Studio is based on IDEA core code, but it is developed by Google.
I'm still not sure how modules may or may not be pertinent for Android Studio, but apparently facets aren't (other in the degenerate case mentioned above) and it doesn't appear that there is any current documentation that is specific to Android Studio (at least, not yet -- hopefully Google is working on some (?!)).
Closing this out.
i would like to write a replacement for active display on my victara handset. i have a fair amount of android development experience but no experience reverse-engineering an application. it seems motorola is not interested in opening up active display to the developer community, so i need some help! if you would like to assist me with the reverse-engineering portion of this project and have the requisite experience, please send me a message.
thanks.
symnem said:
i would like to write a replacement for active display on my victara handset. i have a fair amount of android development experience but no experience reverse-engineering an application. it seems motorola is not interested in opening up active display to the developer community, so i need some help! if you would like to assist me with the reverse-engineering portion of this project and have the requisite experience, please send me a message.
thanks.
Click to expand...
Click to collapse
You're right, they are not interested in opening up the toolbox for their proprietary software. That's why I said to each manufacturer apart from the other one. Android is open source but that's it.
What are you wanting to change?
matt99017d said:
You're right, they are not interested in opening up the toolbox for their proprietary software. That's why I said to each manufacturer apart from the other one. Android is open source but that's it.
What are you wanting to change?
Click to expand...
Click to collapse
99% of it. i don't like the font, i don't like the direction of the swipe to open (i want it to be consistent with lollipop's lock screen, which is swipe from the bottom up) there should be color, not just white (color is more energy efficient, anyway) there is no indication of current battery status, cell status, or wi-fi status. no notification count... so, basically, just about everything. i doubt it would be very difficult, but i would need access to the api for the hardware ir sensors, sleep-active screen renderer, and sleep-active digitizer.
I'd pay for something like that so I could finally root and flash a rom on my moto x2 without missing moto display
The only uwb apis i find available are under development in the AOSP main branch. These seem to be available as a system api in android 12 developer preview but I understand this can only be flashed on pixel phones.
I am also unable to find the driver library for it on android source's external libraries, libraries for nfc such as libnfc and libnci are available. Are there libraries for samsung's uwb as well?
I was unable to find any information online. Can someone please point me in the right direction?
Thank you very much.