is it possible to display a multi column list ?

by jerryfan2000 » Tue, 28 Jul 2009 22:37:26 GMT


Sponsored Links
 Hi,
I am looking for a way to create a Microsoft data grid style list in
android. But I am wondering is there any available built in component
capable of doing this job such as listview? Thanks
--~--~---------~--~----~------------~-------~--~----~



is it possible to display a multi column list ?

by Jack Ha » Wed, 29 Jul 2009 04:29:24 GMT


 There's no built-in data grid component.

--
Jack Ha
Open Source Development Center
obilestick together

The views, opinions and statements in this email are those of
the author solely in their individual capacity, and do not
necessarily represent those of T-Mobile USA, Inc.




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


is it possible to display a multi column list ?

by jerryfan2000 » Wed, 29 Jul 2009 08:56:24 GMT


 is there any workaround to simulate similar function?




--~--~---------~--~----~------------~-------~--~----~



is it possible to display a multi column list ?

by Mark Murphy » Wed, 29 Jul 2009 09:26:59 GMT


 


Carefully design the rows that go into the ListView so they all line up
properly.

Or use GridView.

Or use TableLayout in a ScrollView.

Or create your own multi-column list widget by subclassing AdapterView
and rolling your own code.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://twitter.com/commonsguy 

Android Development Wiki:  http://wiki.andmob.org 

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Setting screens size/scale on big screen devices

I am rolling a couple of apps with one forked off of the original.
This means they share a lot of code and layouts.
In both cases, the main view is a MapView, and I also use camera
previews.
I am in the process of porting the forked-off app to Android 2.x now
(found a sponsor to do that, would have dropped it otherwise...), and
to my surprise I found that on the bigger screen (of the Nexus One), I
get a screen size/scale different from the original app. From a layout
perspective I have no problem, but I wonder how I can control which
screen size is being used here.
What I am getting when calling MapView.getWidth() and .getHeight()
(similarly with the corresponding calls to determine camera preview
screen size):
Original app: width: 320 - height: 508
Forked off: width: 480 - height: 762
I combed through the various layout and manifest files of the apps, as
well as documentation (I know a lot has been written about this) and
this very forum, but could not find anything that stuck out.
Any pointers where I can set/select the screen size for the app (or
individual views) are welcome, THX in advance!

-- 

2. MP3 Decoding

Hi. We're implementing a program for Android phones that plays audio
streamed from the internet. Here's approximately what we do:

   1. Download a custom encrypted format.  This format is fixed and we
can't change it.
   2. Decrypt to get chunks of regular MP3 data.
   3. Decode MP3 data to raw PCM data in a memory buffer.
   4. Pipe the raw PCM data to an AudioTrack

Our target devices so far are Droid and Nexus One. Everything works
great on Nexus One, but the MP3 decode is too slow on Droid. The audio
playback starts to skip if we put the Droid under load. We are not
permitted to decode the MP3 data to SD card, but I know that's not our
problem anyways.

We didn't write our own MP3 decoder, but used MPADEC (http://
sourceforge.net/projects/mpadec/). It's free and was easy to integrate
with our program. We compile it with the NDK.

After exhaustive analysis with various profiling tools, we're
convinced that it's this decoder that is falling behind.

Here's the options we're thinking about:

1. Find another MP3 decoder that we can compile with the Android NDK.
This MP3 decoder would have to be either optimized to run on mobile
ARM devices or maybe use integer-only math or some other optimizations
to increase performance.

2. Since the built-in Android MediaPlayer service will take URLs, we
might be able to implement a tiny HTTP server in our program and serve
the MediaPlayer with the decrypted MP3s from localhost. That way we
can take advantage of the built-in MP3 decoder.

3. Get access to the built-in MP3 decoder through the NDK. I don't
know if this is possible.

Does anyone have any suggestions on what we can do to speed up our MP3
decoding?

-- Rob Sz

-- 

3. Application Crashing OutOfMemory .Restructuring Help Needed

4. Android Developer Device Seeding Program for TOP FORUM POSTERS?

5. Bug or Feature ?

6. ROAMING on Android, has anyone ever worked with it???

7. Application Crashing OutOfMemory .Restructuring Help Needed