[android-developers] throughput tools

2009-05-29 Thread krish24

Hi All,

How I can measure USB/MMC throughput at Android Level?
Is there any tool/executable available for measuring USB/MMC
throughput.

Regard,
krish



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Sdcard issue

2009-02-04 Thread krish24

Hi All,

We have ported android to our hardware. I am facing some issues
related to sdcard.

Here is the test scenario and issues:

First issue :

1  On hardware, insert the card and copy a file to sdcard using dd
command.
2  Remove the card from hardware.
3  do ls /sdcard
It shows the file present in sdcard. It seems umount of sdcard device
is not happening.

Second issue:

1  Copy a file to sdcard  using dd command.
2  Remove the sdcard and check the content of the sdcard from PC.
File is not visible.
3  Copy file to sdcard again and then  check the content of sdcard
from PC. File size is zero bytes.
4  Restart the hardware and copy the file again. File is visible when
checked from PC.

Third issue:
1 The content of copied file are not matching with the original
source file.

Please share your Ideas, suggestions on how to fix this?

Regards,
krish



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Profiling Android Libraries

2009-02-02 Thread krish24


Hi everyone,

Is there any way to profile android libraries (OpenGL, webkit, etc)
functions?
Can we use Traceview or DDMS tools for debug/profile android
libraries?

Regards,
krish
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Zip inflate failed error

2009-01-28 Thread krish24

Hi everyone,

While booting,  Android is segfaulting when it scans /system/app for
 most of .apk present in that dir. Each time it segfaults in a similar
fashion; e.g.:

W/zipro   ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e
aIn=1101 nOut=0x1
ac708 aOut=3936)

The error is coming out of frameworks/base/libs/utils/ZipFileRO.cpp:
615.

See below for more info from logcat.

Plese share your Ideas, suggestions on how to fix this?

D/PackageManager( 1555): Scanning app dir /system/app
W/zipro   ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e
aIn=1101 nOut=0x1
ac708 aOut=3936)
I/DEBUG   ( 1536): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *
**
I/DEBUG   ( 1536): Build fingerprint: 'generic/generic/generic/:1.0/
TC3/eng.kish
orl.20090123.180414:eng/test-keys'
I/DEBUG   ( 1536): pid: 1555, tid: 1570   system_server 
I/DEBUG   ( 1536): signal 11 (SIGSEGV), fault addr 
I/DEBUG   ( 1536):  r0 001ac708  r1   r2 0f60  r3 0018
I/DEBUG   ( 1536):  r4 0001  r5 001b0740  r6   r7 0f60
I/DEBUG   ( 1536):  r8 45bffda0  r9 41016d64  10 41016d50  fp 0001
I/DEBUG   ( 1536):  ip 8000  sp 45bffd30  lr a9d21f15  pc
afe0ce00  cpsr a00
00010
I/DEBUG   ( 1536):  #00  pc afe0ce00  /system/lib/libc.so
I/DEBUG   ( 1536):  #01  pc a9d21f12  /system/lib/libutils.so
I/DEBUG   ( 1536):  #02  pc ad333028  /system/lib/
libandroid_runtime.so
I/DEBUG   ( 1536):  #03  pc ad00d9f4  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #04  pc ad04123e  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #05  pc ad012748  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #06  pc ad02a92c  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #07  pc ad0169d0  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #08  pc ad051f40  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #09  pc ad051f60  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #10  pc ad047668  /system/lib/libdvm.so
I/DEBUG   ( 1536):  #11  pc afe0ed98  /system/lib/libc.so
I/DEBUG   ( 1536):  #12  pc afe0e90c  /system/lib/libc.so
I/DEBUG   ( 1536): stack:
I/DEBUG   ( 1536): 45bffcf0  0f60
I/DEBUG   ( 1536): 45bffcf4  af90a97c  /system/lib/libz.so
I/DEBUG   ( 1536): 45bffcf8  
I/DEBUG   ( 1536): 45bffcfc  a9d2898f  /system/lib/libutils.so
I/DEBUG   ( 1536): 45bffd00  4101910e
I/DEBUG   ( 1536): 45bffd04  044d
I/DEBUG   ( 1536): 45bffd08  001ac708  [heap]
I/DEBUG   ( 1536): 45bffd0c  afe0ddd8  /system/lib/libc.so
I/DEBUG   ( 1536): 45bffd10  0f60
I/DEBUG   ( 1536): 45bffd14  afe0ddd8  /system/lib/libc.so
I/DEBUG   ( 1536): 45bffd18  001ac708  [heap]
I/DEBUG   ( 1536): 45bffd1c  afe0e16c  /system/lib/libc.so
I/DEBUG   ( 1536): 45bffd20  001ac708  [heap]
I/DEBUG   ( 1536): 45bffd24  01b4
I/DEBUG   ( 1536): 45bffd28  df002777
I/DEBUG   ( 1536): 45bffd2c  e3a070ad
I/DEBUG   ( 1536): #00 45bffd30  001b0740  [heap]
I/DEBUG   ( 1536): 45bffd34  
I/DEBUG   ( 1536): 45bffd38  0f60
I/DEBUG   ( 1536): 45bffd3c  45bffda0
I/DEBUG   ( 1536): 45bffd40  41016d64
I/DEBUG   ( 1536): 45bffd44  41016d50
I/DEBUG   ( 1536): 45bffd48  0001
I/DEBUG   ( 1536): 45bffd4c  001ac708  [heap]
I/DEBUG   ( 1536): 45bffd50  0001
I/DEBUG   ( 1536): 45bffd54  a9d21f15  /system/lib/libutils.so
I/DEBUG   ( 1536): #01 45bffd58  001b0740  [heap]
I/DEBUG   ( 1536): 45bffd5c  afd01939  /system/lib/libstdc++.so
I/DEBUG   ( 1536): 45bffd60  a9d45618
I/DEBUG   ( 1536): 45bffd64  a9d1c391  /system/lib/libutils.so
I/DEBUG   ( 1536): 45bffd68  001b0618  [heap]
I/DEBUG   ( 1536): 45bffd6c  
I/DEBUG   ( 1536): 45bffd70  001b0618  [heap]
I/DEBUG   ( 1536): 45bffd74  00088ae8  [heap]
I/DEBUG   ( 1536): 45bffd78  001b0740  [heap]
I/DEBUG   ( 1536): 45bffd7c  ad33302b  /system/lib/
libandroid_runtime.so
I/DEBUG   ( 1536): debuggerd committing suicide to free the zombie!
I/DEBUG   ( 1584): debuggerd: Jan 23 2009 19:14:01
E/installd( 1543): eof
E/installd( 1543): failed to read size
I/installd( 1543): closing connection

Regards,
Krish






--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] startup sequence

2009-01-28 Thread krish24

Hi Everyone,

Can anybody tell me the system startup sequence of Android?
When the services are starting? When and how the application packages
(.apk) are getting installed?

Thanks,
Krish
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] getline support?

2009-01-19 Thread krish24

Hi All,


Does Android C library supports getline() function?
My code is giving error undefined reference to `getline' while
compiling.

Does it have some other function instead of getline?

Thanks in Advance!


Regards,
Krish

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] auto generation of Android.mk file

2009-01-09 Thread krish24

Hi Everyone,

I am trying to port a package (library) in android.  There are many
subfolder in my library folder and each subfolder contains a makefile.
I know that we have to write Android.mk file for building the package.
Do we need to write the Andriod.mk file for each subfolder present in
my library. Is there any way to generate Android.mk file from standard
makefile?

Regards,
Krish

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---