Layout and GraphicsView

by henry » Tue, 05 Apr 2011 00:21:00 GMT


Sponsored Links
 I need to add two buttons and one textView with a Graphicsview. How do
I do this? I noticed an expert, Tony Obrien, has an code example,
Could you share with me?

Thanks,

-Henry




-- 



Re: Layout and GraphicsView

by TreKing » Wed, 06 Apr 2011 01:01:56 GMT


 



What is a "Graphicsview"?



Read the documentation?



If *you* noticed the example, why do you need *us* to share it with you?

-------------------------------------------------------------------------------------------------
TreKing < http://sites.google.com/site/rezmobileapps/treking> ; - Chicago
transit tracking app for Android-powered devices

-- 


Sponsored Links


Other Threads

1. Newbie error - stdio.h not found

Hi,

I am trying to use an Video telephony application called IMSDroid which runs
with Doubango library in the background on my android phone. I downloaded
the source code for doubango and followed the instructions to build, by
setting up the root.mk, with my arm-eabi-gcc version, SDK, NDK locations.
But when I go in and do a ./buildAll.sh from
the <Doubango-Home>/android-projects directory, I see this error -


building tinySAK....

(cd ../tinySAK; make -f droid-makefile clean)
make[1]: Entering directory `/local/mnt/workspace/doubango/tinySAK'
make[1]: Leaving directory `/local/mnt/workspace/doubango/tinySAK'
(cd ../tinySAK/test; make -f droid-makefile clean)
make[1]: Entering directory `/local/mnt/workspace/doubango/tinySAK/
test'
make[1]: Leaving directory `/local/mnt/workspace/doubango/tinySAK/
test'
(cd ../tinySAK ; make -f droid-makefile all; cp -f libtinySAK.so /
local/mnt/workspace/doubango/android-projects/output)
make[1]: Entering directory `/local/mnt/workspace/doubango/tinySAK'
arm-eabi-gcc-4.4.0 -c    -I/local/mnt/workspace/Dropbox/android-ndk-
r4b/build/platforms//local/mnt/workspace/Dropbox/android-ndk-r4b/build/
platforms/android-4/arch-arm/usr/include -march=armv5te -mtune=xscale -
msoft-float -fpic -mthumb-interwork -ffunction-sections -funwind-
tables -fstack-protector -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -
D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -MMD -MP -fno-short-enums -
DANDROID -Os -fomit-frame-pointer -fno-strict-aliasing -finline-
limit=64 src/tsk.c -o src/tsk.o
In file included from src/tsk.h:34,
                from src/tsk.c:25:
src/tinysak_config.h:91:20: error: stdint.h: No such file or directory
In file included from src/tsk_list.h:35,
                from src/tsk.h:38,
                from src/tsk.c:25:
src/tsk_object.h:36:19: error: stdio.h: No such file or directory
In file included from src/tsk.h:39,
                from src/tsk.c:25:
src/tsk_string.h:73: error: expected ')' before 'i'
src/tsk_string.h:74: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'tsk_atoll'
src/tsk_string.h:77: error: expected ';', ',' or ')' before '*' token
src/tsk_string.h:78: error: expected declaration specifiers or '...'
before 'uint8_t'
In file included from src/tsk.h:41,
                from src/tsk.c:25:
src/tsk_memory.h:35:37: error: stdlib.h: No such file or directory
In file included from src/tsk.h:47,
                from src/tsk.c:25:
src/tsk_time.h:48: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'tsk_time_get_ms'
src/tsk_time.h:49: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'tsk_time_epoch'
In file included from src/tsk.h:48,
                from src/tsk.c:25:

I checked my libc headers by compiling a simple hello-world.c program, which
works. I'm still trying to figure out why using the arm-eabi-gcc throws all
these errors. Can someone please point to the problem or any hints?

Thanks, Karthik.

-- 

2. performance woes

I have a Samsung Galaxy S. I'm a happy android developer, with a few
marketplace apps. Hence, my frustration that overall, my experience
with Getting the Galaxy S (after my G1) has been pretty fraught with
performance sluggishness of the phone/overall OS.

I find when the cel phone signal strength is anything less than 3
bars, the phone is basically unusable. Want to look up a contact,
press, and wait 10 seconds for anything. Open and App? Go grab a
coffee.

I thought it was something that would get better, but it has gotten
worse.

Overall, are people generally impressed with Android performance?
After a year as an Android user, I'm thinknig of going back to the
iPhone world. I never waited as long for apps to start/respond as I am
now and wonder, if this something Froyo would fix?

Are there settings to help?

-- 

3. Listview not supporting if list extends screen size

4. Error at Boot up. Hangs at splash screen

5. WebView in ListView

6. active button color

7. How does Android handles PCM data from voice call?