Android :: Tips For Light Weight Applications

Jan 4, 2010

i am starting to develop Android applications and i would like to know if there are any tips for creating lightweight applications. This is my first attempt to write applications on a mobile platform but i hope that my experience in programming will help.I have in mind the "Better, Faster, Lighter Java" book, but will this be "the" answer to my question? Are there any tips specific for the Android Platform that will allow me to build lightweight applications?

Android :: Tips for light weight Applications


Android :: Embeddable Light Weight / Simple Webserver?

Jul 26, 2010

I'm looking for an embeddable webserver for an android project I am working on. ijetty is to big for me, I'm just trying to serve some static content don't need an entire servlet container. Something like http://java.sun.com /javase /6/docs/jre/api/net/httpserver/spec/com/sun would be useful, but probably still overkill for what I need.

View 3 Replies View Related

Android :: Android - Light Weight Solution To Detect Keypress

Aug 23, 2010

In Android I am writing an application in which, I would like to capture an event if in case user doesn't do any activity (tapping/key press). For better context - It is like session timeout.

Basic solution - I can override the key press/tapping event and put one timer which continuously run either as thread or service. In my opinion this is bit heavier solution in terms of resource.

View 1 Replies View Related

HTC Droid Eris :: Tips Regarding Applications - Updates?

May 25, 2010

I am in need of some tips tricks and advice on all the exclusive stuff such as applications, Updates, and other miscellaneous stuff like that. Anyone got anything that could help?

View 1 Replies View Related

Android :: Set Weight Using API Calls

Sep 7, 2009

is there a way to set the weight of a view using API calls? I construct parts of my UI at runtime. The dynamic UI has multiple View. However, I want to set the weight of those view to be non-equal. Any idea on how to do that?

View 6 Replies View Related

Android :: Layout - Weight Not Working

Oct 4, 2009

LinearLayout obeys weight and as per documentation weight gives priority to an object. Here is the layout I have: Here you can see that the first textview has a weight of 2, second has a weight of 0, but still the second text view takes up all the space. If I give the first edit view a weight of 0 and second a weight of 2, surprisingly, first edit view gets more space. Isn't this weird, or am I doing something very wrong. I am poor in layouts. <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent"

View 7 Replies View Related

Android :: Weight Watch Scanner App

May 19, 2010

My wife and I have droids, however new to droid and she was using calorie counter to do her grocery shopping as it had a scanner function that would tell her how many points the item is while shopping. Calorie counter removed that function and my wife is looking for a replacement. I apologize if i duplicated a prior post.

View 2 Replies View Related

Android :: Weight Sum - Layout Attributes Not Working

Nov 26, 2009

I have a simple horizontal linear_layout with bunch of image views in it. the trick is that the views have different widths, relative to the size of their parent (the linear layout). I set the layout's weightSum to a 100 and the layout_weight to let's say 10 of one view and 15 of the other, on so on. And it did not work. I also tired using float values setting the weightSum to 1.0 and the layout_weight of the image views to 0.2 and 0.3 and so on. But it didn't work either. I did search this group for any references to the weightSum but found nothing. Any ideas how to handle it?

View 5 Replies View Related

Android :: How To Add Weight Of Linear Layout's Child From Code

Feb 1, 2009

i know we can use XML to specify layout_weight.(refer to APIdemo LinearLayout9.java) but is there any method to specify it from code?

View 2 Replies View Related

Android :: Layout Weight Is Inconsistent For Horizontal And Vertical Orientation

Apr 8, 2009

I have played around a bit with the xml files for creating layouts and can't explain the behaviour of layout_weight when using it in a LinearLayout that has orientation="vertical"

When creating a layout that is horizontal everything follows the documentation, that a child would get more space if it's has the highest value.

But the following code for vertical orientation, give more space to the item with lowest weight.

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

And the question is: Is this a bug or just a feature that maybe need more documentation?

View 2 Replies View Related

Motorola Droid X :: How Is Weight Distribution?

Jul 5, 2010

For those people who have held the device, how is the weight distribution? Just from the looks of it, it looks like it would be a tad top heavy because of the hump.

View 23 Replies View Related

Samsung Galaxy I7500 :: GAOSP Gapps Light / Ultra Light

Oct 26, 2010

These packages are alternative gapps. These Gapps should improve performance. On top of that all apps are up to date (like YouTube). Ultra Light version will also remove unnecessary preinstalled apps like yaam, DSP Audio Manager and so on (and some more gapps of course).

View 13 Replies View Related

Samsung Galaxy S :: Paper Weight Due To Too Many Pattern Attempts

Aug 30, 2010

My 7 year old, 5year old & 3 & 1/2 year old are able to do terrible things to my phone & computers! I hope I am one of many frustrated & forlorn parents who have great kids that are obviously a rung or 3 up the evolutionary ladder! Perhaps we should start a support group! LMAO I am new to android & so far I love it, so much that you can do on this platform & as i am a lateral thinker it is so much fun being able to get apps that seem to allow my though processes & not miss a beat, what a delight. NOt too impressed with the pattern lock at the moment though but I am hopeful of finding a solution there or admiring my Very expensive paper weight that might have been so much fun!! I am currently very tentative about all the programming stuff but I guess in time & with help from all the learned folk out there I will be able to have the best & most productive tool completely customized for me that I could imagine. Do let me know if I am deluded as it would save me much heart ache, Hope to be educated well here so thanks in advance for your patience & assistance!

View 10 Replies View Related

Android :: How Can We Set Balloon Tips In Google Map

Aug 16, 2010

i want to set balloon tips in android google map... please tell me how can we set and display balloon tips ?

View 1 Replies View Related

Android :: Android Layout Error - Relative Widths In Percent Using Weight

May 26, 2010

I am trying to assign relative widths to columns in a ListView that is in a TabHost, using layout_weight as suggested here:Unfortunately, it seems to want to fit all the columns into the space that the button occupies, as opposed to the width of the screen. Or maybe there is another constraint that I do not understand.

View 2 Replies View Related

HTC EVO 4G :: Orange Charge Light And Red Light Appearing

Sep 30, 2010

I accidently sat got my evo into some water on our bathroom the other night and now my phone is acting weird. I disconnected the battery and the phone and allowed them to sit in bags of rice for a few days to draw out the mositure. I turned the phone back on and found the camera is no longer so the water must of wicked in through there, but what is troubling me is the orange charge light comes on as well as a red indicator light on the other side.

View 2 Replies View Related

Android :: Android Linear Layout - Difference Between Weight & Fill_parent

Jul 23, 2010

According to documentaion, FILL_PARENT basically lets the view take up the entire extra space. Weight also dictates how much of the extra space can be taken by the view. What is the difference? For eg: What happens when I use, new LinearLayout.Layout Params(Layout Params.WRAP_CONTENT,LayoutParams.WRAP_CONTENT, 1.0f)

View 1 Replies View Related

Samsung Captivate :: Android - Tips And Tricks

Aug 17, 2010

I am new at using android so new tips and trick would be appreciated.

View 6 Replies View Related

Android :: Best Practices To Integrate Tips In Application

Apr 22, 2010

What are the best practices people have used to integrate help/tips in their application? One way I can think of is having html snippets in resources or assets - perhaps as html files - maybe as formatted strings. However, I think it would break down once an html file linked to another html file or an image or icon. I'm sure some of you have apps that are so wonderfully intuitive that they don't need any help. And I admire that. But I'm not making that assumption for my app.

View 6 Replies View Related

Android :: Development Tips Tricks & Gotchas

Jan 19, 2010

I'm starting down the road of Android Development. At this point I'm looking for some insight from other developers who have been doing 'droid development and have some experience to share with someone who is just starting out. This can be anything from API to AVM to IDE. Any unexpected things come up while building your apps? Any tips for project layout or organization that help facilitate the deployment process to the Android AppStore? Any patterns which specifically helped in a particular situation?Even links to great blogs or sample apps and resources beyond those which you can grab from Google Code

View 5 Replies View Related

Android :: Voice Command Tips And Tricks

Apr 21, 2010

So I am enthralled with the voice search - especially for navigating.I say, "navigate to the nearest wal greens" - and it's always right.Does anyone have any other cool voice commands that they use?The word "nearest" would be the cool portion I guess.

View 1 Replies View Related

HTC Desire Z :: Phone With Good Battery Life - Reasonable Size And Weight

Nov 10, 2010

I currently have the Samsung Galaxy (I7500). I have it for a year+ now. A couple of months ago I wanted to buy the Desire, but I decided its too early for an upgrade (big mistake). It's very hard for me to keep waiting for the perfect device since I hate my galaxy so much. So my question is which phone would you recommend?
IPhone 4 no way ofcourse, Samsung Galaxy S no way cause Samsung really screwed things up with the original galaxy (and it has no Flash), which leaves me with HTC Desire HD or Desire Z. The DHD has an extremely weak battery, and I want my next phone to last a day (moderate user). So, is the Desire Z worth the money? The things that bother me with the Desire Z are:

1. Weight - It weigh 180 grams! Thats sick, way too much. (the Desire is about 135, which isn't light, but not heavy either)
2. Battery life - I'm not sure how long does it last under moderate usage.
3. Size - its quite big, and its especially because of the keyboard, which I don't really need / care about.So, Whats your opinion?

View 16 Replies View Related

Android :: Tips For Saving Memory When Coding Under Phone?

Sep 6, 2010

I'm currently developing a software under android and im getting quite quickly some OutOfMemoryException.... I did modified some part of my code to use more static variables instead of making new allocation with the "new" operator but is there any things else to do ? or any other tips ? Any advices would be welcome.

View 4 Replies View Related

Motorola Droid :: Some Tips From A Seasoned Android User

Feb 15, 2010

I wanted to go over a few things with everyone. Don't any of you take this the wrong way as I am just writing this to try and help everyone new to the scene.

When I first got into Android I had a G1, that was a little over a year ago. I used it stock for about 2 months and then started going to a site called xda developers. Some of you probably know about it, for those who don't it is a site that focuses on developing and hacking WinMo and Android. I learned a ton of stuff there, but at first it was SCARY, so much information and so many new technical terms I had never heard of before. I took my time reading things and asking people questions for about 2 weeks and when I was finally confident in myself I rooted my G1. It took me like 2+ hours to do it, I installed a new Recovery, flashed a new SPL and Radio, I even got a Sense UI ROM installed on it. It felt great.

Now here we are with a much higher spec'd phone, the Droid, and it has attracted a TON of new users. It is great because now Android is evolving faster then it ever has, and we are getting tons of new developers creating some amazing stuff. It has all happened so fast and a lot of you are trying to learn everything as quickly as possible. The Sholes SMUpdater app has made all of this VERY easy for anyone to do, but the problem with this is that now when something goes wrong you have no idea how to fix it. When you want to do some modifications that involve ADB or Terminal Emulator you have no knowledge on how they work. By skipping all the hard parts you have basically shorted yourself on TONS of knowledge which, to me, is sort of a requirement to rooting/rom flashing.

Now I agree that SMUpdater is a great tool to save time from having to learn everything, and it makes it easy to get the newest Sholes ROM. But there is SOOO much more to Android hacking/development then Sholes. When you want to try something new and different then what will you do? This is why I HIGHLY recommend that everyone does some heavy researching, take a weekend, or some blocks of free time, and read. Read until you can't see straight. Let it all sink in, and practice practice practice. I promise you will become such a better user, you will understand what is going on with the system.

If you don't study and learn, then what happens when something breaks? You can't always expect someone on a forum to come to your rescue. Of course there will always be things that happen which require some really advanced users to fix, and even I have t ask for help from time to time. But to not learn even the basics is just absurd, it hurts you and it hurts the community because we have to spend all our time fixing very basic and simple problems.

I hope no one here took offense to this because I am doing this to really help everyone here out. The more we all know then the more we can do.

View 23 Replies View Related

Android :: Tips - Tools For Working With SqlLite In Phone?

Nov 14, 2010

I'm a .NET developer starting to dig into an android application. One thing that seems a little abstract is working with SqlLite. In a .NET application, I can do my Database setup, query testing and profiling, and enter in some test records through Management Studio for MSSQL. In fact, I'm constantly in Management Studio checking something - so I'm finding it difficult to work without a similar tool.

What are some good tools/tricks to use when developing SQLLite on Android? The tool doesn't have to have a GUI, but would be nice if I could run it as a desktop app and have it look at the same DB as my emulator.

For instance, something that will allow me to run a simple SELECT statement against a table to view records without having to do it through android?

View 2 Replies View Related

Android :: Tips For Optimizing A Website For Droid's Browser?

Feb 14, 2009

I'm looking for tips, tricks and resources on optimizing a website design for Android's browser.

I'm building an Android app and some of the functionality will be accessible through a web interface.

View 7 Replies View Related

HTC Desire :: Tips For A Newbie To Android / Whats Os For Rooting - Roms Etc

Aug 28, 2010

I'm soon to be getting my first android phone, htc desire on t-mobile UK (so from what ive heard it will be branded), i will be rooting it and ideally a custom rom. im happy with the rooting process (done quite a bit of modding with consoles), im just at a loss with custom roms for it at the minute, if anyone could suggest one that would suit my needs it would be awesome.

Im after a fairly similar to stock, idealy 2.2, but with some performance tweaks, im after:
-HTC sense
-a2sd
-the ability to overclock (and ideally auto underclock settings when in sleep mode)
- battery performance tweak

and also what is the difference in omoled vs slcd screens when it comes to custom roms and rooting, and also just generally in day to day use? are there any differences in quality, display etc?

and also whats the best os for rooting, roms etc? i mainly use a mac but also have xp, vista, 7 and linux. i understand theres no software currently for mac? and id rather stay away from 7 if at all possible (my copys not that stable) all help would be greatly appreciated, and i hope this is in the right forum

View 3 Replies View Related

Android :: Linear Layout And Weight In Android

Apr 23, 2010

I always read about this funny weight value in the Android documentations. Now I want to try it for the first time but it isn't working at all. As I understand it from the documentations this layout: should create two buttons that are horizontally aligned and share the space equally. The problem is the two buttons don't grow to fill the space. The result is something like this: I would like the buttons to grow and fill the whole line. If both buttons are set to fill parent only the first button is shown and fills the whole line.

View 5 Replies View Related

Android :: Tips To Write App That Fetches Data From Website And Displays It On Screen

Mar 1, 2010

I am new to android programming and have a strong keen interest to learn it. I want to write a program that fetches the data from a website, segregates it and displays it on the screen of the phone. The data could be grocery list from a supermarket or sale items in a mall. Could you please suggest as to how I can go ahead and start this.

View 7 Replies View Related

HTC Incredible :: Swype Tips & Tricks

May 2, 2010

Well after you have swype installed and ready to go here are a few tips to help you get the most out of it:

1. Use the built in tutorial. This tutorial takes 5 minutes to complete but will show you the ins and outs of using its keyboard, its very handy and a must if you intend on using it.

2. If a word you swype in does not come up correctly or offers you choices that are not even close, just click the X and then type it in one letter at a time, using the peck-a-key method. This adds it to the dictionary and the next time you swype it in, it'll work.

3. The built in dictionary is not as complete as you may want it, but over time it will learn how you type/swype and will work better as time goes on. After a week or so it should work with most or all the words you swype in, but give it time. They exclude some words on purpose (cuss words etc) or words that aren't very commonly used to keep the size of the file small so it doesn't take up too much space on your device with words and patterns you don't use.

4. Holding down a button will change the letter to the symbol above the letter. This comes in handy when you need to insert a couple numbers or commonly used symbols and don't want to switch screens. I find its much quicker to just hold a button than switching, hitting the key and then switching back.

5. Holding down the back key will delete full words at a time. That way you don't need to keep hitting the back key repeatedly, this is a time saver if you need to delete a full sentence for example.

6. Pushing shift will change the symbol keyboard to the symbols/characters above the numbers. This just makes it quicker to choose a symbol instead of long pressing the key to achieve the same result.I'll update this post and add more tips as i can think of them or others post them.

View 40 Replies View Related







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