Android :: Detailed Description Of Optimizations In Build Process?

Mar 29, 2010

I've been curious as to all the optimizations that go into the building of an .apk. I'm curious because of two things I've tried in the past to bring down the size of my .apk:

I have had a few large json assets in projects before, as well as a static sqlite database. I tried bringing down the size of the apk by gzipping them before the build process, but the resulting size is exactly the same.

I just today tried pngcrush on my /drawable/ folders. The resulting build was exactly the same size as before.

I would think that perhaps #1 could be explained by the zip process, but simply zipping the /drawable/ folders in #2 result in different-sized files. Perhaps the build process runs something akin to pngcrush?

Regardless, I was wondering if anyone knew where to find a detailed description of all the optimizations in the Android build process. I don't want to waste my time trying to optimize what is already automated, and also I think it'd help my understanding of the resulting apk.

Android :: detailed description of optimizations in build process?


Android :: Example For Parsing Json In Droid With A Detailed Description?

Aug 16, 2010

Can anyone send me link which has an example for parsing json in android with a detailed description?

View 5 Replies View Related

Samsung Moment :: Custom Kernel - Partial Audio Buffer And Optimizations

Dec 29, 2009

Don't know if anyone over here cares, but zefie over on SamsungMomentForum.com released a custom kernel with a bunch of fixes. Including a partial audio buffer fix, and a bunch of tweaks and optimizations. Also, persistent root so you can run a bunch of those programs on the market that require it. No WiFi tethering yet, but it is being worked on. Not sure if this includes the battery notification fix because I had already installed CL14 the other day and it's been working for me ever since. This was not difficult to install, once you have the software and drivers required, the update takes less than 30 seconds.

Here's a link:
Time for the first custom "ROM" (well kernel)

View 19 Replies View Related

Android :: DDMS Not Listing Process - Via Command Line To Attach Process To Debug

May 21, 2010

Sometimes the DDMS in the Eclipse not listing the process.

To do the debug in this condition,

1) Is their any way force the DDMS to list the process?

2) Any command to attach the process from the command line?

View 2 Replies View Related

Android :: Remote Service Process Persists - I.e. Won't Disappear From Process Table

Feb 21, 2009

At a certain point in my program, when I'm completely done with my service, my activity executes unbindService() and stopService() -- yet the process persists. I can tell that it persists because I run "ps" in "adb -e shell":

CODE:.............

"adb logcat", I can show you the sequence of events:

ACTIVITY: context.unbindService(serviceConnection);

SERVICE: onUnbind();

ACTIVITY: stopService(serviceIntent); & returns true!

SERVICE: onDestroy();

First, my activity calls unbindService(serviceConnection). According to the documentation, unbindService() will "Disconnect from an application service. You will no longer receive calls as the service is restarted, and the service is now allowed to stop at any time." So that is fine, and it is happening.

Appropriately, we see the onUnbind() call happen on the service side. According to the documentation, onUnbind() is called when "all clients have disconnected from a particular interface published by the service." So this confirms the correct service connection is being passed, and that the service is responding accordingly.

Next, my activity calls stopService(serviceIntent), and returns true. According to the documentation, stopService() does the following: "If there is a service matching the given Intent that is already running, then it is stopped and true is returned; else false is returned." Again, this is happening and returning true.

In response, the service's onDestroy() method is called. According to the documentation, onDestroy() is "Called by the system to notify a Service that it is no longer used and is being removed. The service should clean up any resources it holds (threads, registered receivers, etc) at this point. Upon return, there will be no more calls in to this Service object and it is effectively dead."

At this point I expect the process to disappear from the process table. Yet it remains indefinitely. But why?

Also, the process is so persistent that I can bind to it again, and I see that it is the same exact process responding because the PID (process ID) is the same!

View 4 Replies View Related

LG Ally :: Process' Won't Open - Pop-up - The Process Com.android Phone Has Stopped Unexpectedly

Nov 24, 2010

So, I decided to give Tridents ROM a try about 10-minutes ago.

I used ROM Manager, backed-up my old ROM, then downloaded Velocity 0.2.

Now, my phone will do nothing, it turns on and shows the red Droid eye, then when it's time to go to the home screen I get pop-up after pop-up saying that "The process com.android.phone has stopped unexpectedly. Please try again."

I have no way of getting on my phone at all, what can I do?

View 11 Replies View Related

Motorola Droid :: Update App - Message Process Android Media Process Stopped Unexpectedly

Nov 12, 2010

I Just installed a new theme (Live Wire) for my Lithium Mod Rom. Don't know if there is a connection, but when I need to update an app, I get the message something like "process android media process stopped unexpectedly" and it will not allow the update. Everything else works well. I have turned it off for awhile, and have done a battery pull.

View 1 Replies View Related

HTC Droid Eris :: Error Pops Up Sorry The Process Android.process.acore Has Stopped Unexpectdly

May 11, 2010

Every 5 minutes this error pops up "Sorry! the process android.process.acore has stopped unexpectdly. please try again." It doesnt actually close anything. It pops up even when im not in an app. So it's more annoying than anything.

View 3 Replies View Related

Android :: RelativeLayout : Description Of How It Works

Oct 13, 2010

Can anyone point me to a good one?

View 2 Replies View Related

Android :: How To Editing Description / Screenshots On A Published App?

Oct 5, 2010

I have published a free app on the android market. I want to edit the description and add a couple of screen shots. While the "Upload Aplication" screen on http://market.android.com/publish lets me make these changes & saves them too, they don't show up in the description of the app when I go the android market. Do I have to unpublish & republish the app (in which case I might run into version issues)? Or else, how do I make these changes to description appear on the android market?

View 1 Replies View Related

Android :: App Description Character Limit - 325 Characters?

Feb 13, 2009

Is there any idea if this will increase in the future? This is extremely limiting.

View 2 Replies View Related

Android : Want App To Display Description Corresponding To User's Responses

Oct 5, 2010

Okay, so I'm writing my first Android app and am basically stuck. The app is a short 4 question quiz with two choices per question. This creates 16 possible results, which I've created descriptions for. I want the app to display the description corresponding to the user's responses on each of the questions after the 4th question is answered. Right now I am storing the values in a string, which is supposed to build upon the previous string answer, after each question. So the first answer is t1, the second answer is t2, and so on. Here is the code for the second question: My problem is that the strings won't hold the values I assign them in the previous question. I have a textview that briefly displays the values returned by the question's answer string (t2 for Question2) and it displays null alpha or nullbeta, depending on the user's response. How do I retain the t1's previously assigned value into Question2 so I can add to it? For instance, if T = "alpha" from Question1, and the user selects button b1 in Question2 how do I make t2 actually equal "alphagamma" instead of "nullgamma"? Is this even possible with strings?

View 1 Replies View Related

Sony Ericsson Xperia X10 : Phonebook Not Working - Message Appears The Process Android.process.acore Has Stopped Unepectedly

Jul 30, 2010

I'm using Xperia x10 mini. Whenever I try to add a contact to my phonebook, before clicking save this message appears: "The process android.process.acore has stopped unepectedly. Please try again." And I have no other choice but to click "force close"... Another thing is, even though my contacts' names appears in the messages in my inbox, when I click on the phonebook icon, the phonebook is empty...

View 4 Replies View Related

Android :: Process Synchronization - How To Conclude Process Executed?

Feb 1, 2010

Are the processes in android asynchronous? If they are asynchronous then how can we conclude when the activity or process is finished or completed its execution.

View 2 Replies View Related

Android :: Build Error Build/core/java.mk:20 On 2.2

Jun 24, 2010

I downloaded the Android 2.2 source code and try to build it. When I executed the make command, I got an error here like this build/core/java.mk:20: *** frameworks/ex/common: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. Then I changed the frameworks/ex/common/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7. Next place, build/core/java.mk:20: *** external/jsr305: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/jsr305/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7

Last one, build/core/java.mk:20: *** external/guava: Invalid LOCAL_SDK_VERSION '8' Choices are: current 4 5 6 7. Stop. I changed the external/guava/Android.mk to LOCAL_SDK_VERSION = 8 from LOCAL_SDK_VERSION = 7
By these changes the code started the compilation.

1. Why the error occured?
2. Changes which I did is correct or not?

View 3 Replies View Related

Android :: Access Map With Places Of Interest With Photo And Description?

Apr 13, 2010

It should be application to iPhone or Android or other mobile platform, where, basically, user can access map with "places of interest" and add it's own "place of interest" (with photo and description). Kind of, community generated sightseeing map. I know it is quite simple and not a groundbreaking idea, but my google-fu is quite weak and I can't find anything like that.

View 1 Replies View Related

Android :: Add Description To Droid Gallery - (Pictures And Text)?

Oct 6, 2010

I'm working on my new project but I can't figure out how to add a text under my Gallery.

I have 3 pictures, if I slide on picture 2 I can see under picture 1 and 3 the correct description but it doesn't appear the description under the selected picture (in this case the number 2).

This is my code...

View 2 Replies View Related

Android :: Detailed Apps Thread?

Aug 18, 2010

There used to be a thread on here that had a list of many types of apps, email clients, sms clients, web browsers etc... and it listed several apps in each category along with a barcode to each app but I can't seem to find it anymore...

View 1 Replies View Related

Android :: How Detailed Google Maps Report To HQ?

Nov 5, 2010

My Galaxy S comes with a built-in Google Maps application. It is not installed by me and hence it does not appear under Manage Applications and I do not know how to tell what sort of information it is accessing. But according to the Privacy Policy of the application, it sends my position to Google, together with my phone number and email address. Does anyone know how often this data is sent to Google? Is it a few times per second or is it every so many meters I have moved.

View 8 Replies View Related

Android :: Detailed Relation Between Contacts And Raw_contacts?

Mar 8, 2010

Any one can help interpret the relation between the table "contacts" and "raw_contacts"?Is it one-to-one or one-to-many relation?I am puzzled because the SDK seems indicate it is one-to-many relation but after I checkout all data from the database table,I found it is one-to-one relation. And is there any detailed relation diagram describing android database tables?

View 8 Replies View Related

Android : Detailed Capability Of One Content Provider

Feb 18, 2009

More specific, I wan to figure out all the Calendar Provider's capabilty I could use.

View 3 Replies View Related

Samsung Fascinate :: Random Process Com.google.process.gapps Has Stopped Unexpectedly

Sep 11, 2010

So since I got the phone on Thursday, at random, I'll get these popup crash messages, that say "The process com.google.process.gapps has stopped unexpectedly" it has a "Force Close" button, which doesn't seem to change anything other than to acknowlege the message.It will happen at random, sometimes while I'm on the home screen, or sending a text message, but more recently, as I was trying to manage & link contacts. When I searched for this message it seemed to be related to people using Gmail, but I always get this message when I'm doing other things and not even touching my Gmail account.

View 1 Replies View Related

Samsung I7500 :: Process Com.google.process.gaps Has Stopped Unexpectedly - Please Try Again

Sep 19, 2009

I bought a new phone, but I can not run it.

I get the following information: "Sorry! The process com.google.process.gaps has stopped unexpectedly. Please try again".

View 1 Replies View Related

Samsung Moment :: Getting Process Com.google.process.gapps Stoped Unexpectedly

Apr 17, 2010

I've searched around the forums (here and SDX forums) and although it seems the few people that had this issue were able to solve it, my case seems a bit different.

It's different because of the people I've read solving the issue, it was a problem with something they changed / removed with gmail / gmail storage or talk / talk storage. And when they cleared the cache or re-installed the problem went away. Also, it seemed that the same people had a problem with downloading from the market...

Neither of the above apply to me, but yet I'm still getting this FC error all the time!

I was helping a friend with their CL14 Moment out of the box...and went from stock 1.5 CL14 to 2.1 DD03 w/Joey recovery to EclairDD10 and v5 root. I then did the streaming media fix, and then the private app (build.prop) fix (all previously done with my phone no problems). I did all of these update right in a row, and after my last re-boot the FC error (process com.google.process.gapps has stoped unexpectedly) started showing up and won't go away.

The only .apk / odex files I removed were the preloaded Sprint apps

Does anybody have any other ideas on how I can get this FC error to stop? I've tried clearing the cache / data for all the mail / talk apps, rebooted, cleared dalvik cache...

View 6 Replies View Related

Samsung Fascinate :: Process Com.google.process.gapps Stooped Working

Sep 17, 2010

Keep getting this message "The process com.google.process.gapps has stooped working unexpectedly. Any thoughts on what this is and how to resolve?

View 3 Replies View Related

Android :: Need Detailed Instructions For Adding Album Art To Music

Dec 14, 2009

Can someone give me detailed instructions for adding album art to my music I load to my Hero. I've tried for hours, googled, downloaded taggers, music players and nothing has worked

View 4 Replies View Related

Android :: Data Traffic Counter With Detailed Info?

Dec 26, 2009

I my Droid makes lots of traffic and I need to see which programs cause this traffic. Is there any tool with detailed information?

View 1 Replies View Related

Motorola Droid :: Android 2.0 Detailed User's Guide?

Nov 15, 2009

They sure didn't ship one with the phone. Is there a Droid (or Android 2.0) User's Guide on the web that gives detailed operation on all the Droid functions (including tips & tricks)? It sure would be handy!

View 1 Replies View Related

Android : Good Material On Threads - Couldn't Find References For A Complete Description

Apr 17, 2010

I'm searching for some good material on android threads but I couldn't find references for a complete description about this subject. So if you know any valuable reference please point them to me.

View 1 Replies View Related

Games :: New Game Description - Avoiding

May 9, 2010

My first android game is nearly ready and its already in the market.

I hope you could give me some good feedbacks.

QR - Code:
http://fs01.androidpit.info/aqr/x76/370976-1272358669695.png

Little screen with explanations:
http://fs01.androidpit.info/ass/x70/200570-1273055185311-160x240.jpg

It has global highscore.

Game discription:
The goal is to collect boxes using the touchscreen to control the avoider, while avoiding the red smileys that move around the map to avoid death.
(100 Boxes comes with the next update in 2 days)
You have to collect the 100 boxes that appear one at a time on screen using the avoider. Each time a box is hit with the avoider a new box will be revealed at a different place on the field. With every box picked however,a red smiley will materialize as well. These move across the screen in various speeds and directions. Every box collected gives 1 to 5 points, depending on the time taken to pick it and increase the red smiley speed. Apart from getting less points when being slow, the avoider will also slowly grow bigger if it doesn't pick a box. It regains its original small size after picking up a box.

Every 15 boxes a green smiley will appear from the left hand side of the screen. When the avoider touches it, it goes into 'rage', meaning it will temporarily change into a big evil avoider that can eat the red ones, who now are the grey ones. The rage lasts for about 3,5 seconds, with every red smiley eaten counting as a point, which makes the game easier after the rage.

If you kill more then 15 boxes in a row, you gain the difference between the kills and 15 as bonus points for each pointbox. It will be shown next to the box. One important feature is the 'slowmo'. With every eaten pointbox a bar fills to a maximum of 10 seconds. You can activate it anytime by making an doubletab everywhere on the screen. The red smileys will move very slowly, allowing the avoider to maneuver easily.

The last feature is the bomb. You have one at start and about ~ 50 eaten point boxes it will appear an new bomb falling down the screen. You can only have one bomb at time. You activate it by making a doubletab on the bomb icon. Is has the affect, that all smileys die instantly.

*add I hope you enjoy it. Now I have implemented a integrated highscorelist (scoreloop)

Scoreloop Community | Avoiding. Have fun!

View 8 Replies View Related







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