Samsung Captivate :: Packaging For AT&T Execs
Jul 16, 2010Comes with everything.... Chance
View 4 RepliesComes with everything.... Chance
View 4 RepliesMy 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?
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.
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 RelatedI have an SQLite DB file. I wish to include the sqlite file with my apk. How do i do that?
View 4 Replies View RelatedI'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!
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 RelatedIn 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?
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?
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.
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 RelatedI rooted my captivate thinking that i could install apps that are blocked on my phone, like Sirius XM, WiFI tethering.....even after rooting the programs are still being blocked and i cant install them. am i missing something? im new to android and had an iphone that i jail broke. im confused on what rooting actually.
View 8 Replies View RelatedI'm kind of new to Android. Only have had this phone for a few weeks,switched over from the iPhone. Anyway, I'm having trouble with Game boy emulators. I loved playing Pokemon on my jailbroken iPhone and would really love to enjoy it on my Captivate.
View 2 Replies View RelatedThere have been a lot of threads both touting the quality of this phone and whining and bitching about its drawbacks. Let's make it official. Do you like the Captivate? Feel free to elaborate, or just take the poll.
View 49 Replies View RelatedSo I painfully watched my Cappy's battery door crushed under my friend's car as one of their "harmless" joke. Now there's not a single site on the internet selling these doors, and I'm desperate. I found dummy/display Captivates though, so I was just wondering if anyone knows if the dummy battery door can replace the REAL door by any chance?
View 8 Replies View RelatedHow Do I Sync Captivate "Memo" to MS Outlook 2007 "Notes"? Is there an app? Can I just do it through Google (have already sync'd mail and calendar; contacts are sync'd via export/import)?
View 4 Replies View RelatedI got AT&T Samsung Captivate i897 (2.1 Eclair). I unlocked and rooted my phone. I was using simple free phone earlier which doesn't require data plan but after two weeks I bought samsung captivate, AT&T added $25 data plan. I got my phone from AT&T store where my friend works so he took my data plan out of the plan for now but he said they will find out and add into your plan again. Also, He said that they recognize by your IMEI number. My question is: Is there anyway I can change my IMEI number? I was thinking to use my simple free Nokia phone's IMEI number and use it for Samsung Captivate so AT&T thinks that I am using Nokia phone.
View 4 Replies View RelatedAfter running three updates this morning. I started getting a weird light effect when I unlock my phone. It happens at the top of the screen just to the right below the battery. It's a quick yellow glow then it disappears until my phone is locked then unlocked again. One of the updates had to do with my weather widget [Weather & toggle]. Anyone seen or heard of this?
View 3 Replies View RelatedI have an unlocked captivate. I have a German T-D1 pay-as-you-go sim that I've used many times in unlocked GPS phones. Now I have an AT&T captivate and wonder whether GPS or other apps will work. Does GPS require a data plan to work? If so I'll have to figure out whetted I can add this to my T-D1 plan. This will also answer my question about whether using the Captivate for navigation in the US needs a data plan to work.
View 3 Replies View RelatedI rooted my Captivate tonight and I know how the superuser icon with android skull and crossbones. However neither Super Manager or ASTRO will allow me to uninstall the crap ware on my phone. Is there something I'm missing? I followed all the steps at XDA. So far I've tried to remove YPMobile, ATT Navigator, and ATT Maps. Any suggestions? I tried searching this on google and this forum but didn't come up with anything.
View 8 Replies View RelatedAre there any external lights on the Captivate that let you know you have email or a message or battery charge is complete, etc?
View 8 Replies View RelatedHow to make camera up & down instead of sideways?
View 2 Replies View RelatedJust wanted to start a hard case review. Anyone got a hard case yet? Will seidio make one for this phone? How about screen protectors? I'm assuming the steinheil crystal for the regular galaxy s they have on the website won't fit?
View 2 Replies View RelatedNoticed since I work in a rather quiet environment. During office hours I need to keep it on vibrate mode. When the phone vibrates during a call, it causes a severe rattling noise when the phone is in my hands or if the bottom is not resting against a hard object. Removing the battery compartment cover and repeat, and the rattle is non existent. With the battery cover on, the rattle can be diminished by pressing firmly on the top section of the cover.
View 1 Replies View RelatedDoes anyone know if the Captivate will easily sync with my Outlook Calendar without having to go through Google? Just to confirm, this is a personal calendar not corporate.
View 13 Replies View RelatedLooking for ideas. Since this is fairly new to me, I like to have several styles to play around with and didn't want to purchase Beautiful widgets or something similar just yet.
View 22 Replies View RelatedThe Swype Keyboard on my wife's Captivate is not working correctly. The SYM button and the one to the left of it are blanked out - meaning they are just black boxes and clicking/pressing them does nothing. She has had to switch to the default keyboard and she hates it.Any idea what is going on and how to fix this?
View 12 Replies View RelatedI have a Captivate that I just brought today.....and everything works just fine except the Contacts App. When I launch the Contacts App the screen is blank and nothing to click on to add a contact.
Is something wrong with just the app or phone? Has anyone experienced this?
I am having an issue with my M3U playlists.
I use the default Samsung media player, Isyncr and Itunes. Although I have also used the Doubletwist Player (not the desktop software) and had the same issue, I just prefer the Samsung default player mainly because of the lock screen app.
Here is the issue.
First, I sync my playlists with Itunes using Isyncr, all of the songs come over great, art and tags, everything is perfect. It also creates M3U playlists on my phone. I double checked that everything is there.
Then when I unmount, media scanner scans my SD card (which takes way longer than it should) and it deletes all of my playlists. Now a little research on XDA forums tells me that this is because anytime the media scanner scans a playlist and can't find all of the songs from that playlist, it assumes it is an old playlist and deletes it. The problem is that when I look through the M3U files, every song referenced in the list is on the card...they are all there, yet it keeps deleting them.
Does anyone know of a solution to make it stop deleting my playlists?
Umm first time I tried hooking my Captivate up to my computer, and It says "device driver software unsuccessfully installed..
View 3 Replies View Related