Android :: Best Approach To Show Big Amount Of "grid" Data In Droid?

Mar 15, 2010

I am building an application for Android (1.5) that, after quering a webservice, shows to the user a big amount of data that should be displayed in a "grid" or "table" style.

I must show a result of about 7 columns and 50 rows (for example a customer list with names, addresses, telephone number, sales amount last year and so).

Obviously, the 7 columns will not fix in the screen and I would like the user would be able to scroll up/down and LEFT/RIGHT (important because of the number of columns) to explore the grid results.

cell selection level is NOT necessary, as much I would need row selection level.

What is the best approach to get this interface element? Listview / GridView / TableLayout?

Android :: Best approach to show big amount of "grid" data in droid?


Android :: Approach To Cache Large Amount Of Textual And Audio Data / In Android Application

Jul 13, 2010

We are supposed to cache textual and audio data in our application until device is booted or maximum of two days, whichever happens earlier. To get a perspective on data to be cached, note that we are to store about 200 text headers containing around 10 fields, each of length 30 bytes and about 20 sound files each about a minute long.We are getting the textual data by parsing XMLs and then we keep them in ArrayLists. The sound files are directly written inside the app storage using File I/O (and not on SDcard or Apps Cache directory).This application is to be run on devices running Android 1.5 or later.I understand, and please correct me if I am wrong, that we can cache the files either on SDcard or inside the application or inside applications Cache directory.

View 2 Replies View Related

Motorola Droid X :: Uses Same Amount Of Battery / Data Regardless Of Whether

Aug 2, 2010

I was wondering if the weather app that Moto has built in still uses the same amount of battery/data regardless of whether or not it is on the home screen. I took the widget off the home screen and stopped the weather process and it just comes back anyway. So the weather process is still running in the background. I'd like to use the weather widget, but don't want to deal with battery drain. Bad enough my phone has reset itself twice in the last 24 hours.

View 2 Replies View Related

Android :: Maps Only Show Grid / Why Is So?

May 5, 2010

I've doubled checked my API key is right and that is right I doubled checked that it was correct. Here is my source and XML could anyone check to see what is wrong. Also I make sure I have Internet. code...

View 1 Replies View Related

HTC Droid Eris : Ways I Can Watch My Data Usage - Since I Have A Limited Amount

Nov 11, 2010

Just got my first android phone, the eris! I'm really excited, if anyone could help me out with some tips please do! are there ways i can watch my data usage, since i have a limited amount?

View 8 Replies View Related

Android :: Best Approach For Requesting Data (internet Connection)

Sep 28, 2010

I have an app in which there are several requests to a server in internet (http), for example to retrieve images in threads outside the main UI process. The thing is that I have a Thread that manage the request with a while(!end) loop and in the end a Thread.sleep(500) that checks if there are new unhandled requests. As I read here [1] I know that this is not a good practice. And users have complain about ANR (app not responding) in several cases.

Knowing that obviously I want to refactor all the way my app manage the requests and I want to do that the best way. So, the question is; what is the best approach for doing this? A service? a broadcast receiver and send intents when I need a request to be handled?

View 6 Replies View Related

Android : Creating App Database With Big Amount Of Data

Dec 23, 2009

The database of my application need to be filled with a lot of data, so during onCreate(), it's not only some create table sql instructions, there is a lot of inserts. The solution I chose is to store all this instructions in a sql file located in res/raw and which
is loaded with Resources.openRawResource(id).

It works well but I face to encoding issue, I have some accentuated caharacters in the sql file which appears bad in my application. This
my code to do this : Code...

The solution I found to avoid this is to load the sql instructions from a huge static final string instead of a file, and all accentuated characters appears well.

But Isn't there a more elegant way to load sql instructions than a big static final String attribute with all sql instructions?

View 4 Replies View Related

Android :: Getting Amount Of Audio Data Buffered In Device

Apr 5, 2010

I am trying to write a streaming application.I have my own decoder and I am playing PCM audio using AudioTrack. At any point in time I want to know how much data is buffered with the device. I want to use this so that if the data with the device go below a level, I want to go into a buffering mode where I will buffer 2-3 seconds of data before continuing playback again. Can someone please tell me how to do this?

View 5 Replies View Related

Android :: How To Pass Large Amount Of Data During StartActivityForResult

Nov 3, 2009

From one activity, I want to pass a lot of data (about 1MB of Strings).I tried sticking it in Intent.putExtra(ArrayList<String>), but if I put in too much data, I get "FAILED BINDER TRANSACTION".What's the easiest way? I don't want to publish a service, or use the file system. I really want a pipe that can write data from one end and read it from the other end. I can handle the case where the starter Activity dies while the "startee" activity is trying to read from the pipe.

View 6 Replies View Related

Android :: SQLite Handle Large Amount Of Data?

Jun 26, 2010

I will be making a mobile application in Android. My application is like Google Map's Get Direction feature, but a lot more complex, so I need to store data about points in the map. So I'm worried that SQLite may not be able to handle these large amount of data(or considering the limited storage of the phone). I have no background in SQLite so please bear with me.

View 3 Replies View Related

HTC Desire :: Amount Of Data Useage

May 12, 2010

I have decided to go to a smartphone on 13th June when my present contract expires. My Query is, I am in the U.K. and if I look at contracts for the iphone they normally include unlimited Wifi and 1Gb of wireless data, whereas the Desire seems to come with only 500Mb of wireless.

I would much prefer to get a Desire, but I am concerned that I could be lumbering myself with excess charges if I go over the 500Mb limit.

I have never had a phone with an Internet connection before so I'm sure that there will be a lot of playing going on at least to start with.

View 25 Replies View Related

Android :: Custom Grid View With Array Adapter Out Of Sync With Backing Data

Oct 28, 2010

I'm have a custom GridView Array Adapter. The problem for me is that when the grid list gets large enough to scroll off the screen the gridview and arraylist get out of sync. For instance in my case I have code that checks if an actor is of type director the text color should be red. if you scroll up and down my list enough times all the actors text in my gridview will become red. The thing is that the Gridview appearance actually looks fine its the backing data. Here is the complete class. In the code you can see where I tried to override getItem and getItemId but that didn't fix anything. Code...

View 6 Replies View Related

Android :: Best Approach To Send Data From Server To Android Device

Jan 16, 2010

I am developing an Android app that needs to communicate bi-directionally with a server. By that, I mean either the server or the device can send a message at any time, with an arbitrary amount of time in between messages. Sending data from the device to the server is a common and I think well understood task, but I'm not as sure what the best approach is to go in the opposite direction from the server to the device.

I think having the device periodically poll the server may be a bad idea due to latency and the drain on the battery, but I'd be willing to consider this option. My plan at the moment is to send text messages from the server via an email-to-SMS bridge, and to have my app run a service to receive and handle these messages.

The question I have is if there are any best practices for this scenario, and if using text messages has some downsides that I have failed to consider. For the sake of this question, I want to assume that users have an unlimited text data plan, so paying per text won't be an issue.

View 2 Replies View Related

HTC Desire HD :: What Application Using Huge Amount Of Data? (Internet Usage)

Nov 25, 2010

So I've had my DHD for 3 days, done a little 3G browsing the usual stuff Facebook, emails etc., but nothing more as I used my home WiFi for the widget and app downloads. But today I got a text from Vodafone saying I was near my internet usage limit for the Month! Within 3 days!? I have a 750MB limit, which the chap in the shop assured me was enough to keep me happy as 'no one ever goes over that.'

I was happy with that even though my previous contract was unlimited internet as he said it would be ok. All I can think of is the email syncing, so turned that off. But what else could be causing me to go over the 750MB limit within 3 days? Surely thats a huge amount to be used?

View 12 Replies View Related

Samsung Captivate :: Does Switching To 2G Lessen Amount Of Data Usage?

Sep 13, 2010

Maybe a rookie question, but here goes.I've seen a lot of posts about where to find an app/widget that allows you to switch between 3G and 2G. My question is: why would I want to do this? Does switching to 2G lessen the amount of data usage (which could be important, considering I'm on AT&T's 200 MB plan)? Or is there some other benefit/reason for doing this?Related: I have the SwitchPro widget, which has a 3G-2G switch available -- does this mean I am able to switch if I want to?

View 5 Replies View Related

Android : Show XML Data In TAB In DROID?

Feb 2, 2010

I want to show data from XML into tabs.plz give me any example which parse XML file and display into in tab..

View 3 Replies View Related

Android :: Get Id Of Programmatically Generated Grid Of Buttons In Droid?

Jun 28, 2010

I have a similar query to the one posted here. I create a grid consisting of a variable number of buttons, at runtime (in a TableLayout), and would like to find the index of the button pressed. The actual Button objects are currently stored in an array, although I'm not sure if that is really necessary. I tried to write the ClickListener using something along the lines of code...

but this just always returns -1. Is it possible to get the id (or some other reference to the button pressed) without predefining the buttons in xml?

The solution in the other post describes cycling through the whole array of Buttons and comparing ids. Is there a more elegant way to do this?

View 2 Replies View Related

Android :: Create Footer In Grid View For Droid?

Aug 25, 2010

Create Footer in Grid View For Android.

View 2 Replies View Related

Android :: Way To Show Data On Listview?

Jul 23, 2010

Here is my Arrival.Java. May i know why isn't there any data being shown on my ListView?

View 2 Replies View Related

Android :: Possible To Show A Table Of Data In Dialog Box?

Nov 3, 2010

I need to show a "grid" or "table" of data in a pop-up dialog box on Android.

Basically, a column listed down the left with rows of names, for example, then multiple columns to the right of the names with values in columns.

Is this possible?

View 2 Replies View Related

Android : Using A ListAdapter To Show Database Data

Jun 22, 2010

public class List_View extends ListActivity {I would like to show stored data from database into a ListView. Code... Title and Date only.

View 1 Replies View Related

HTC Droid Eris :: Adjusting Amount Of Rings On Phone?

Dec 8, 2009

Has anyone been able to adjust the amount of rings on their phone? My phone rings about 6 times before it goes to voicemail but my girlfriend's phone rings only 4 times. I brought both numbers over from T-Mobile where they each rang about 4 times but now w/Verizon mine went up to 6. Tried calling tech support about it and they said there wasn't a setting for this on the phone itself and they gave me an answer like some phones just tend to connect to the network faster.

View 15 Replies View Related

Motorola Droid :: Battery Amount Remain Changing After Restart

Nov 14, 2009

If someone posted about this already please disregard it but I just noticed that when I restarted my phone my battery went from showing as 30% before to 60% after. Anyone else notice this happen?

View 4 Replies View Related

Motorola Droid :: Battery Losing Amount Of Charge It Can Hold

Nov 8, 2009

I had a problem with my last phone with the battery losing the amount of charge it could hold because of the way I charged it. What should I do with the Droid out of the box to ensure this doesn't happen?

View 5 Replies View Related

Motorola Droid :: Adjust Amount Of Double Click Zoom?

Nov 1, 2009

If you want the double click zoom to zoom in less or more is there a way to do that?

View 1 Replies View Related

Motorola Droid X :: No Way To Remove 'align To Grid' / Unlock It Altogether?

Sep 12, 2010

my brother has a ghetto tmobile phone running 1.6 or thereabouts, and I didn't get too close of a look at it. just played with it for about 5 minutes, but he can drag icons anywhere on his screen... like if you uncheck 'align icons to grid' in windows. So you can clump up icons wherever you want, instead of being stuck with this perfect grid layout.

I know ADW (or launcher pro) allow you to say '5x5' on the home screen, allowing 25 instead of 16, or whatever, but there's no way to unlock the grid altogether?

View 1 Replies View Related

Android :: Show Cursor Data In A Listview With Subsection Headings

Feb 3, 2010

I have not found an example yet with a solution to the following task.

I have a SQLite database with two tables- BOOK and AUTHOR. I execute a query on the DB that uses a join and results in a cursor that looks like this. code...

New authors and books can be added to the database at any time, and I also need the user to be able to remove books, hence the [ ] checkboxes.

So i have two row layouts, row_author.xml & row_book.xml. I detect when I need to show a row_author subheading by seeing when the current author has changed compared to the previous row. But I have realized that the rendering of an Author Row will then move the cursor forward one row and jump over their first book.

Can anyone suggest a good approach to presenting data like this? Is there a much better way to do this?

View 2 Replies View Related

Android :: Which Approach Is Better?

Dec 23, 2009

In my application I have three buttons that are to be part of each and every activity. These button are independent of each other and on click do mutually exclusive things(say launch different activity). So, in my layout XML for every screen I have a <Linear Layout><Button/><Button/><Button/></Linear Layout> element.

View 2 Replies View Related

Android :: Which UI Approach Is Better?

Oct 11, 2010

I'm navigating through a 3-level hierarchy of names to get to a document view page. I've set up tabs for the 3 levels. The tabs are left, middle, and right where the right tab is the lowest level of the hierarchy. Each tab has a list of 10 to 20 Radio Buttons with the names. This all works great and is very efficient and intuitive. One note is that there may be 1000 documents available (from an online source) but the average user will only be viewing a handful regularly. So I store the choices for each of the 3 tabs. This way a user can quickly navigate to his favorite without having to negotiate the entire hierarchy each time. My question comes when the user is on the right tab. At this point they have navigated through to the document they want and I'm wondering what is the best way to initiate the document view page. Remember that most of the navigation happens on the right tab in the small set of documents the user regularly visits, with only occasional visits to the other tabs. So making the right tab efficient is good. My current approach is to add a LongClickListener to the buttons of the right tab. Then a press-and-hold kicks off the document view. This certainly minimizes the number of objects on the screen and the number of separate clicks required to get to the document but I question whether new users will know that a long press is expected. I guess I could put up some Toast if the user doesn't do anything for 5 seconds but that still seems clunky. Another approach is to add a Button at the top of the right tab Radio Buttons. This has the merit of being dead obvious but it's a less efficient use of screen space and also an extra click for an experienced user.

View 9 Replies View Related

Android :: Read Data From Database And Show It In Table Layout Form?

Nov 3, 2010

I want to read data from database and displayed it in table layout form. table will contain n rows and 2 columns. But row size is not fixed then how to show them in table layout format?

View 5 Replies View Related







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