AIR Packaging APK With Native Libs?

Nov 1, 2011

My team is currently trying to package a native .so library within an AIR APK. This native library is used by a native extension we've built, but the library is not the extension itself, therefore the standard process of creating an AIR APK with an extension does not include these libraries. We have to, somehow, instruct AIR to include the native libs in the packaging process.

The real headache is that for Android to link to these libraries, it appears that they must sit in the following directories (we have 2 .so files):

/lib
/armeabi
mynativelib.so
/armeabi-v7a
mynativelib.so

When using ADT we can include the /lib directory in the APK, but AIR sticks the /lib directory in the APK's /assets directory with the rest of the AIR files....but this does not work because Android does not appear to find the native libs.

how we can get this lib directory sitting at the root of the APK?

AIR Packaging APK With Native Libs?


Frameworks / Libs For Effects On Images?

Aug 29, 2012

I want to add functionality to an app to easily apply filters and such to images. Examples for the kinds of filters/effect I am looking for are Dithering, Blur, Black & White, Gray Scale, Invert Color, etc.

know any frameworks/libs that provide this functionality to be easily used in an App? Or a source that lists frameworks for Android.

I was only able to find a list of Android Libraries provided by OpenIntents.

View 2 Replies View Related

General :: Porting ROM - Which Libs To Copy Over

May 22, 2012

When you are porting a Rom, how do you know which libs to copy over? Also I'm porting for the fascinate, but the porting rom is for the nexus, should I copy all of the hw libs?

SCH-I500

View 2 Replies View Related

Android :: Libdrm1.so And Libdrm1_jni. / Purpose Of Those Libs?

Sep 30, 2009

My questions is already on the title of this post ^^

Does anyone know what are libdrm1.so and libdrm1_jni.so purpose?

View 2 Replies View Related

Android :: PNG Optimization On Packaging Process

Oct 28, 2009

I've noticed that the PNGs of my application with some gradients effects looked terribly bad at the device (a Samsung Galaxy) and at the emulator, and I've found the following note at the documentation (http://developer.android.com/guide/topics/graphics/2d- graphics.html):

Image resources placed in res/drawable/ may be automatically optimized with lossless image compression by the aapt tool. For example, a true-color PNG that does not require more than 256 colors may be converted to an 8-bit PNG with a color palette. This will result in an image of equal quality but which requires less memory. So be aware that the image binaries placed in this directory can change during the build. If you plan on reading an image as a bit stream in order to convert it to a bitmap, put your images in the res/raw/ folder instead, where they will not be optimized."

I've tried the res/raw suggestion, but it didn't worked.

I've tried to use the image as JPEG as a workaround, but I couldn't use 9-patch.

I've uploaded a comparison between the original png and the "optimized" png that is shown on the emulator or devices: [url]

One workaround would be put the images at /assets/ and manually load and set the image on the ImageViews, but it requires a lot of code changes.

View 11 Replies View Related

Android :: Packaging SQLite DB With My Application?

Sep 8, 2010

I have created a SQLite database on my PC. I have imported it into my assets folder in the project directory. How do I access it from my Android application?

View 1 Replies View Related

Android :: Packaging SQLite DB For Deployment?

Jul 10, 2009

I have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that?

View 4 Replies View Related

Samsung Captivate :: Packaging For AT&T Execs

Jul 16, 2010

Comes with everything.... Chance

View 4 Replies View Related

Android :: Res PNG Filesize Inflated Upon Packaging?

May 3, 2009

I've got ~200 png files in the /res/drawable folder, mostly interface and sprite sheet stuff. They're all indexed pngs, and weigh in at a grand total of a bit over 400kb.

When I run aapt to package them into the apk, their filesize nearly doubles. Opening the apk up with 7zip and extracting the drawables confirms it: 790kb.

Does anyone have any idea why this would be happening? I thought the packaging process was meant to compress the pngs, not inflate them!

View 4 Replies View Related

Android :: Packaging Hidden Asset Files

Jun 9, 2010

I'm placing the file '.nomedia' into a folder in order to avoid Android's MediaScanner from detecting the media files in the folder. I need to copy this folder (including '.nomedia') from the APK's assets to the SD card (so other apps can make use of these media files, etc.). When I package the APK in Eclipse, it doesn't package the '.nomedia' file. Presumably it's detecting it as a hidden file. Any ideas how to fix this? Is there a secret aapt flag I can use? I'd like to avoid copying the folder and then manually creating a '.nomedia' folder, if possible.

View 1 Replies View Related

Android :: Software Packaging / How To Create Installer (apk)?

Aug 21, 2009

In Windows, we write "installer script", and user an "installer compiler" to generate an installer, let's say .inf for .msi/.cab and .nsi for NSIS.

But when it comes to Android, is there a similar method?

View 2 Replies View Related

Android :: Packaging Multiple Items In An APK Or Widgets?

Apr 12, 2010

If I create an application for Android, how do you package extra items in with it like a live wallpaper or widgets? For example, google maps does this by including a live wallpaper with the download of the latest version.

On a related note, with google maps, it's available for, I believe, 1.6 and up, but it seems that it is all the same download. So how do you ensure that, even though there may be a 2.x only feature included, it still shows up for lower OS phones? Or is the marketplace maybe actually holding onto two separate APKs for each OS?

View 1 Replies View Related

Android :: Eclipse Error Packaging With Unknown Location

May 19, 2010

I am getting an error in my Problems tab for my Android Project in Eclipse. The error is "Android Packaging Problem" with an Unknown location. Unknown Error NullPointerException

I cannot determine what this problem is. My project was working a few hours ago. The only change I made was to add a public interface ITrackDao to my project and implement it. There are no errors associated with this. I am not even sure where to begin to look. I cannot launch the application.

View 7 Replies View Related

Android : Java.lang.NullPointerException - No Phone Packaging

Oct 20, 2010

I'm getting this crazy error on multiple projects, even when I revert back to prior versions that compiled just fine. Unknown Error - java.lang.NullPointerException Android Packaging Problem Path is blank Location is Unknown. 1 - Project -> Clean -> All 2 - Deleting .metadata folder 3 - reimporting projects into the eclipse 4 - reverting my projects back to prior working versions using git. I just can't get anything to compile now, and I've searched for solutions here and on eclipse forums.

View 3 Replies View Related

HTC 4G :: "SHARK" Wallpaper From EVO Packaging?

Jun 29, 2010

Anyone know where to find the "SHARK" wallpaper from the EVO box? Been trying to find that damn thing for the longest.

View 3 Replies View Related

HTC Desire :: Native HTC Apps

Jun 4, 2010

is there somewhere you can download native HTC apps?doesn't seem to be anywhere obvious on the HTC site and the market doesn't show me the HTC facebook app

View 10 Replies View Related

HTC EVO 4G :: Killing Native Apps

Jul 7, 2010

There are some apps like the NASCAR one that I will never need. Is it a problem to kill apps that are pre-installed on the EVO using ATK or one of the file/task manager apps? Any apps I should not kill for stability reasons?

View 1 Replies View Related

HTC EVO 4G :: Native Call Recording ?

Jul 31, 2010

I've seen a lot of remarks about good call recorder apps for the EVO 4G. None of them are really that good or reliable.

To take advantage of native call recording on the EVO 4G, all you need to do is set the phone call to speaker after connected and then start the Voice Recorder app that comes with the phone. It records both sides of the conversation very clearly and you can adjust the speaker volume to about 75% for optimum audio capturing.

In the state of Texas, it is legal to record any conversation without informing the other party that you are doing so. Be sure to check with your state before recording any phone calls covertly.

View 2 Replies View Related

Android : Add IM Providers To Native App?

Apr 1, 2009

I'm just looking at the Android's native IM app and wondering if it's possible to create new providers? I know other people have written seperate IM clients but it'd be great to add to list in the native IM app.

The 3 I'd like to work on is Facebook, MySpaceIM, Skype.

View 5 Replies View Related

Android : Droidforum.com Native App

Sep 26, 2010

Just wondering when this forum will have an app in the market....
Would make it very nice, as website is sometimes hard to navigate on the desire... Need some changes to the site, like maybe a "next page" button so that maybe it's easier to get to... Rather that zoom-in and try to hit the 2... Anyway, any plans in he works? Anybody know?

View 5 Replies View Related

Android : Possible To Use Native C/C++ Libraries?

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

Native Android Softkeyboard On NDK

Aug 1, 2012

I am facing some issues in calling the Android soft keyboard from a C++ file. I have a project in C++ and I need to show and use the native soft keyboard in some screens. I am compiling all the code with NDK. how to use the soft keyboard in a native / C++ application ?

View 1 Replies View Related

Hooking Into Native Camera?

Sep 29, 2011

I need to take pictures with my application, but the only thing I am finding are examples of how to create a camera activity. Is there a way I can call up the phones native camera instead and get the byte[] data back instead of creating a camera activity myself?

I am asking because I would like to take advantage of the normal features like zoom, flash, themes, etc that the user would get if they push the camera button on their phone.

View 1 Replies View Related

Launch Into Settings From Within Native App?

Oct 3, 2012

From within a native app, can I use a button to auto-launch the users settings control panel? Can this work across all Samsung Smartphones?

View 1 Replies View Related

General :: Native ICS Browser App?

Oct 4, 2012

I wonder where can I download the APK of the native ICS browser ?

Cose I need to access some websites that requires certificates and only native ICS browser can read certificates stored on my phone/tablet...

I've tryed Chrome, Dolphin, Opera, Firefox and no one has SSL Certificate support to access on website...

Only native ICS browser ask me which certificate I want to use from thoose stored on my phone/tablet...

So I need the native ICS browser and want to install it on JB devices such as Nexus 7 !

Or maybe there are some tricks to use SSL certificate with others browser on JB ?

View 2 Replies View Related

Android :: Prevent Native Application

Aug 4, 2009

I want to prevent native application to receive message.I want that my application only receive message. Is it possible ? if yes then how ? can i access the received message and delete it ?

View 3 Replies View Related

Android :: Titanium Vs The Native Tools

Feb 24, 2010

I'm still checking everything out.

I'm wondering what the limitations are if we develop the app using Titanium.

What cannot be done using Titanium, for iPhone and for Android?

What things can only be done using only the the native tools?

View 5 Replies View Related

Android :: Using Sqlite In Native Code

Nov 22, 2010

I have a library written in C which implements some complicated algorithm over two databases and as a result produce new one. I am trying to import it in android using android-ndk. What is the correct wat to use sqlite in you native libraries, i was able to build the sqlite manually using the ndk but when i use it gives some strange errors when trying to fetch rows from db which is on phone storate - after i fetch some data i got SQL:database not opened. how can use sqlite in native code on android.

View 2 Replies View Related

Android :: Can Use TraceView In Native Code When Using NDK

Dec 10, 2009

We know that it's very convenient to use TraceView in Android java code to check the runtime of different chunks of code. Now I develop my app with NDK and I want to check the runtime of some native functions, but I found nothing in TraceView guide if it's possible to use this tool. Because I noticed that one of my native methods spent too much time and I want to dig out the more detailed root cause. Is there anybody know if we can use TraceView in native code?

View 2 Replies View Related

Android :: Using Surface In The Native Code

Feb 3, 2010

I am planning to write a video player application and I am planning to use the gstreamer on the native side. I am trying to use the SurfaceFlinger for the rendering part. For this I have written a test program to experiment on the rendering part. I am using the surface flinger wrapper from the project

http://gitorious.org/rowboat/external-gst-plugins-android

But the following ERROR occurs when we try to run the .apk.

CODE:.......

The I changed the permission for "android.permission.ACCESS_SURFACE_FLINGER" in frameworks/base/core/ res/AndroidManifest.xml to "dangerous" and recompiled. But got the same error.

Then I commented out the "checkCallingPermission" method in IServiceManager.cpp and recompiled. Then also i got the same error.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved