Android :: Linking To Android Camera Libraries From C++
Feb 4, 2009
I tried posting this question to the Android Internals mailing list, but that list seems to be inactive.I am trying to gain access to raw camera data on the G1 from native code (JNI C++) so that I can do real time image processing on camera frames at 15 fps. This will not work in the Java API because it takes too long for the camera preview callback to load the data.I am using the CodeSourcery C++ cross-compilation toolchain for ARM development on Windows.
View 2 Replies
Oct 3, 2012
I compiled the AOSP Gingerbread for Samsung Galaxy Fit. Wenever i replace the libcam.so, libcameraservice.so, and the libcameraclient.so and delete the seccam libraries my ROM boot well but i want to fix them . Here is the logcat of the error
Logcat error in camera libraries. This is the logcat
E/AndroidRuntime( 618): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 618): java.lang.UnsatisfiedLinkError: Cannot load library: link_image[1962]: 609 could not load needed library 'libsystem_server.so' for 'libandroid_servers.so' (link_image[1962]: 609 could not load needed library 'libcameraservice.so' for 'libsystem_server.so' (link_image[1962]: 609 could not.
[code]....
View 1 Replies
View Related
Dec 6, 2009
My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies
View Related
Sep 20, 2010
I am really struggling with linking menus together. The app I want to create is a collection of menus that leads to url links to various sites I plan to open within the application. I have created a list activity menu with 8 options and I have eight classes with further options. My problem is how to link the menus together. I ask the question and someone said that I should map. Here is the code:
public class MyList extends ListActivity {
private static final String Cp = null;
private static final String Pp = null;
private static final String L2 = null;
private static final String L1 = null;
/** Called when the activity is first created. */
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
// Create an array of Strings, that will be put to our ListActivity
String[] names = new String[] { "Pp", "Cp", "L1", "L2", "Bt", "Se", "As", "Travel"};
// Create an ArrayAdapter, that will actually make the Strings above................
View 1 Replies
View Related
Jul 6, 2010
I have a WebView which may contain data that appears to be getting "auto linked". Something that looks like an email address is becoming clickable, even though it's now within an <a> tag or has an onclick attribute. How do I disable this auto-linking? I've looked through the WebView docs, as well as the WebSettings docs, but didn't seem to see anything that mentions this behavior.
View 2 Replies
View Related
Jun 23, 2010
First off; I know the implementation of this should be discussed on the framework list, but I'm putting this idea out on here to see if there is a need for it. I've recently worked on a project where the designer wanted a 2 x 3 grid of icons as the apps "home" page. This threw up an interesting situation because to do this using the best resolution possible it seems we would either need to copy the actual icons into multiple directories, or create a resource alias file for each icon, neither of which is ideal (think 30+ icons across the app which needed duplicating). What I'm wondering is if there is a need for a single file which contains all of the resources to use within another resource directory. To give you an idea of the problem I'll scale it down to 3 icons which have mdpi and hdpi variants;
drawables/icon1.png drawables/icon2.png drawables/icon3.png drawables-hdpi/icon1.png drawables-hdpi/icon2.png drawables-hdpi/icon3.png
As the Dell Streak is a WVGA device that identifies itself as a large- mdpi device we wanted to use the -hdpi icons for it, but this would result in three new files containing resource aliases; drawables-large-mdpi/icon1.xml drawables-large-mdpi/icon2.xml drawables-large-mdpi/icon3.xml What I'm wondering is should this be a single file which contains a list of all the imports. For example;
drawables-large-mdpi/imports.xml which contains;.......
View 7 Replies
View Related
Aug 5, 2010
I'm trying to link my contacts with my Facebook friends so I have their pictures etc in my phonebook/messaging. The problem is that when I try to link them, it only displays my Facebook friends from E-Z. It won't display/let me link to any contacts before E in the alphabet.
View 1 Replies
View Related
Sep 10, 2010
I was really excited today when I saw the Tools r7 and ADT 0.9.8 were available and the latter had this note;
Fixes problems with handling of library project names that contain characters that are incompatible with the Eclipse path variable. Now properly sets up the link between the main project and the library project.
I create the library (foolib - no spaces, no caps, no punctuation). So far so good. I go to the main project, go to preferences --> Android. In the library box I add the new library. It appears. I press Apply. I press OK.
Nothing happens.
I return to the preferences, the library is no longer there JUST LIKE BEFORE.
View 2 Replies
View Related
Jul 13, 2010
I looked around for info on this in the group but couldn't find any... so far in my OpenGL programming I've just done everything directly, but I was curious if anyone had written any "wrapper" libraries for it besides min3d. Min3d is great (or is getting there) but it's GPL'd, making it unsuitable for a commercial product (if my understanding of the license is correct).
View 5 Replies
View Related
Oct 15, 2009
We have been using gdbserver to debug our JNI code as follows. We have been less than successful -- breakpoints do not always get activated, sometimes we get SIGILL, and we seldom ever get a useful stack when the debugging stops on SIGSEGV, sometimes the program dies with SIGTRAP!!!
We have occasionally been able to have debug sessions with s/n, but since pretty much every SEGV has resulted in either a damaged stack, or at least, gdbserver can not find the stack, it's a pain.
Is there something we are missing? Is there some reason to use the 4.2.1 vs 4.3.1 toolchain? (Why are there two toolchains? I assume because of bugs in each that are fixed in the other... which bugs?)
We guessed that the "dalvik" process that we wanted to debug was app_process --- we found this out by looking at /proc/XXX/cmdline on our running activity.
This is what we do typically do(repo sync directory is in /build/m1 for me)
invoke:/build/m1/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi- gdb
(some of us use -tui, some of us run it under Xemacs, etc.)
We then do:
CODE:..........
We then start our activity, adb shell, discover the PID of the activity, discover the IP of the phone with "netcfg", and:
app_15 1815 49 107468 15744 ffffffff afe0d4a4 S org.credil.thomas_watson.videophoneservice
# gdbserver 0.0.0.0:1234 --attach 1815 Attached; pid = 1815 Listening on port 1234 Remote debugging from host 132.213.238.4
(gdb) target remote 132.213.236.179:1234
This is with a physical device. With an emulator, one has to, of course, run the adb forward stuff. (Too bad that doesn't work with a real device too, as then I would not need to run gdb over the wireless)
Program terminated with signal SIGKILL, Killed. The program no longer exists. (gdb) target remote 132.213.236.179:1234 Remote debugging using 132.213.236.179:1234 Error while mapping shared library sections: /system/bin/linker: No such file or directory. warning: .dynamic section for "/build/m2/out/target/product/generic/ symbols/system/lib/libc.so" is not at the expected address (wrong library or version mismatch?) ... many more GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. tkill () at bionic/libc/arch-arm/bionic/tkill.S:52
(gdb) break sendframe Breakpoint 1 at 0x80401086: file /build/m1/packages/apps/ VideoPhoneService/libvideophoneservice/src/rooster.cpp, line 96.
(gdb) c Continuing.
Program terminated with signal SIGTRAP, Trace/breakpoint trap. The program no longer exists. (gdb)
(btw, an annoyance about googlegroups is that it seems that it looks at my SMTP from header, rather than From:... This basically means that I can not post from gmane.org via NNTP, which is a shame. Is there a secret NNTP access on googlegroups.com, I wonder?)
View 7 Replies
View Related
Jun 17, 2009
I need to know the footPrint of Android and its various Libraries
- Hide quoted text -
View 2 Replies
View Related
Apr 1, 2009
Is it possible to use a native C/C++ library? If so, are there any restrictions for those libraries to be used?
View 3 Replies
View Related
Oct 14, 2012
I'm currently making a purely math and algorithm-based C++ library. Will I be able to use it when developing for Android? How? I guess writing some Java wrappers, but will it then be usable on all JVMs?
View 3 Replies
View Related
Jul 1, 2010
I have developed two separate applications 1) android 2.1 that takes user input / registers , shared pref and stuff and 2) Google Maps GPS on target Google APIs 7. Now, I would like to embed the second project in first . That is, after the user registers it will bring up Maps and suggestions and stuff. How can I use both the targets (Apis ) together in a single App?
View 1 Replies
View Related
Oct 31, 2010
I have heard that the iPhone does not support dynamic linking. I want to know whether any mobile platforms support dynamic linking, such as Android or BlackBerry?
View 2 Replies
View Related
Feb 3, 2009
Is there any way to link directly to an application in the Marketplace? You know, so you could use something like AdMob to launch the Marketplace and bring users to your app. Or to launch the Marketplace from a URL or something. Been trying to figure out how to do this. Anyone sniff any G1 traffic yet?
View 6 Replies
View Related
Aug 24, 2010
I'm quite new to Android so please excuse if this is the wrong forum, but I have searched up and down and also this list, but is there no way to externally link from my website into the market to show my app within a desktop browser and not on the device? I mean similar to the iTunes links where you can view the application details right in any browser.
View 4 Replies
View Related
Feb 16, 2014
How to make a android app support Deep Linking?
View 7 Replies
View Related
Nov 24, 2013
linking two android galaxy s3 phones together, as in whenever one phone receives a text the other gets an alert and can view the the other phones incoming and outgoing texts. how and the steps to do it.
View 1 Replies
View Related
Oct 14, 2010
I need to add few shared libraries to the andriod as part my application installation. Can you please suggest right information resources regarding the same.
View 2 Replies
View Related
Sep 30, 2010
Is it possible to use third-party libraries for display pdf?I mean to use custom pdf view, in which I can pass pdf url and view it in new Activity.I want include libs into project and use their as resources.
View 9 Replies
View Related
Dec 26, 2009
I have to add java libraries javax.xml to the my android project, while I am trying to add them it shows the error "Conversion to Dalvik format failed with error ".
View 7 Replies
View Related
Oct 2, 2009
I'm building an app where I want to architect the app layer separately from the service layer (not android services). So I'll create a service interface(the apis) and then create a class(es) that implement that service interface. Inside the android application layer, I want to code to just that service interface. I think this is similar to how the google maps apis works. the api interface and stubs are in the framework, then each device actually provides the implementation. I don't need to go that far, but I am wondering how I package this up. One, where would I put these interfaces, so I can code to them in the app layer (like Activities). Second, how do I tell Android where the implementing classes are? I'm guessing this is somewhere in the manifest? For now I think I would probably just build the service implementation with the application source code, if that's easier. Eventually I'd like to break that out and drop it in as a 3rd-party jar.
View 4 Replies
View Related
Sep 4, 2009
With the NDK I can wrap a native library so I can call the methods from Java and package that library into my application.
Say I want to package a custom version of SQLite, is there any way to override the system library for SQLite, so I dont have to reimplement the SQLiteDatabase class?
View 4 Replies
View Related
Apr 17, 2010
I'm working on a project with a group that is using Eclipse, but I'm using Netbeans. Up until today this wasn't an issue. When updating from the repo they have added some source code as a library under a directory called /lib-src. When I try to compile the code I get an error that it can't find certain packages... these are the packages under /lib-src.
Using NetBeans I can add the library as a folder so now the references to those packages are happy. However, I'm getting this new error when compiling:
UNEXPECTED TOP-LEVEL ERROR:
CODE:.........
I can include the build-impl.xml file if you need it, but I don't think that is main issue.
View 2 Replies
View Related
Apr 12, 2010
I am completely new to the NDK.
I have done a couple of the tutorials including the hello from jni one and another one that calculates the sum of two numbers.
They involved using cygwin and the ndk to create the library so file and I have a bit of a grasp on how to insert my own libraries into the libraries layer of Android.
I have now been asked to access the native libraries on Android and see what I can use them for.
My question is can I do this?
The STABLE-APIS.txt document is a bit vague and mentions the following as Stable C++ API's in Android 1.5
cstddef
new
utility
stl_pair.h
Does that mean I can access them?
If so then how do I go about it?
View 1 Replies
View Related
Sep 28, 2010
I need to import a couple of jars that where compiled under the full implementation of java. I know that Android doesn't use all the packages that java has to offer. My question is: Is it possible to import them without creating errors? Is there a tool that can convert jars to android jars? if so, can some examples be provided.
View 1 Replies
View Related
Oct 15, 2010
I am building an app which will let the user take a photo, then add some details which will be stored in a database. I want to be able to store some information (URI?) in the database so that when the user clicks the database entry from a listview it retrieves the photo. I hope it is clear what I want to do. Could I instead use a file path to locate the photo? Or do I need the URI? If I do need the URI then how do I get it?
View 3 Replies
View Related
Sep 16, 2010
Is it possible to install a java library in a folder and have this code dynamically linked into another program? In other words, i have a major code base that would be shared among different projects.Assume that all them are created with the same shared user id.
View 4 Replies
View Related
Oct 14, 2010
Is there a way we can parse apple plist xml using any libraries or otherwise.
View 4 Replies
View Related