[android-developers] Passing big array of strings from Java to JNI

2011-12-13 Thread Peter Staab
Hi, I need to pass a list of many strings (can be up to 1) to JNI. The strings are stored in a String[] array but if other data structures are more appropriate then these would be a valid option too. The passing of the string array works fine, but only for low number of strings. For bigger arr

[android-developers] Realt-time video encoding

2011-12-10 Thread Peter Staab
Hi, I want to encode image data into a video in (close-to) real-time on an Android device (server-based encoding is not possible). After doing some research it seems as if using ffmpeg is the only solution which might work on performant devices. Has anyone experience with this topic and can commen

[android-developers] Re: AndroidManifest for different API levels

2011-11-27 Thread Peter Staab
to be low > enough. It's the same thing people do when they want the app to be movable > to the SD Card, but still run on 2.1 and lower. You can change the target > in project.properties or default.properties, depending on your android SDK > level* > > > > > > > >

[android-developers] AndroidManifest for different API levels

2011-11-27 Thread Peter Staab
Hi, I want to use the 'android:largeHeap="true"' attribute with my application on tablets (Level 3.x+) due to their higher resolution which required a lot more heap space for preview bitmaps. At the same time, the app should also be installable on Level 2.2 and later smartphones. How can I modify

[android-developers] NDK GetMethodID problem

2011-11-15 Thread Peter Staab
Hello, I am getting the following error: >11-15 19:31:57.898: D/dalvikvm(5046): GetMethodID: method not found: >;.createBitmapRGBA:(I;I)Landroid/graphics/Bitmap; with this code: java: public Bitmap createBitmapRGBA(int w, int h) { return Bitmap.createBitmap(w, h, Bitmap.Config.ARGB_8

[android-developers] Re: Transparent control on camera viewfinder

2011-04-19 Thread Peter Staab
Actually I cannot overlay the listview over the live camera preview so that the preview remains visible. But it's not a big deal - I will make such a control by myself. On Apr 18, 8:37 pm, Mark Murphy wrote: > On Mon, Apr 18, 2011 at 2:21 PM, Peter Staab wrote: > > I w

[android-developers] Transparent control on camera viewfinder

2011-04-18 Thread Peter Staab
Hi, I want to place a scrollable list in the center (landscape mode) over a camera preview (viewfinder). Is there already a control available in the SDK which can be used for this purpose? Regards, -- You received this message because you are subscribed to the Google Groups "Android Developers"