[android-porting] Re: Ringtones in last build

2009-05-18 Thread Michael Trimarchi
Hi, Sean McNeil wrote: > You need to read frameworks/base/data/sounds/AudioPackage2.mk. > > Basically, there are 2 sets of audio files now. One for limited flash > devices, one for those that have more room. So you have to include the > .mk for the set that fits your environment. This would be

[android-porting] Re: Ringtones in last build

2009-05-18 Thread Sean McNeil
You need to read frameworks/base/data/sounds/AudioPackage2.mk. Basically, there are 2 sets of audio files now. One for limited flash devices, one for those that have more room. So you have to include the .mk for the set that fits your environment. This would be done in your vendor/xxx/xxx/Andr

[android-porting] Re: Ringtones in last build

2009-05-18 Thread Michael Trimarchi
Hi, Luca Belluccini wrote: > Nothing to do... Database is not rebuilt... Any hint? > > On Apr 17, 2:31 am, Dave Sparks wrote: I have the same problem: W/AudioService( 794): MediaPlayer IOException: java.io.IOException: setDataSource failed.: status=0x8000 E/MediaPlayerService( 777): Coul

[android-porting] Imageviewer application development

2009-05-18 Thread somu
Hi , I would like to write an application for image viewer ,anybody can help me regarding the same. Kindly do the needful. Regards Somashekar --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/

[android-porting] Flicker for widgets when pressing the touchscreen for android-1.5 and android-2.6.29 kernel version

2009-05-18 Thread Elvis Dowson
Hi, I get a flicker for the screen, when I press and hold the touch screen for a while. If I click on the drawer, etc, the animation is very smooth and I have no problems. But when I press and hold the touchscreen or if I am using the soft touch keyboard, I get an intermittent flicker, and

[android-porting] Re: How to use Android.mk to build a project with JNI library calls?

2009-05-18 Thread Song Johnny
2) is yes, too! In your own Android.mk file, you must define LOCAL_MODULE variable, such as: LOCAL_MODULE:=myapps . and you just do do make at top android dir, like following: make myapps and build system will locate the source of your module and just build it and all other dependency. On Mon,

[android-porting] Re: CAMERA_STUB feature in android

2009-05-18 Thread Song Johnny
in fact, you need HAL implementation for libcamera.so. the source is not included in android framework. On Wed, May 13, 2009 at 4:40 PM, Vj_imx51 wrote: > > > Hello, > > I am working on the imx51 3 stack board. Get android working with all > devices. > While trying to get the on-board camera t

[android-porting] Re: How to make mmc partition read only yet, make /system /data writeable

2009-05-18 Thread Song Johnny
i think you can use remount option and set it rw. On Tue, May 19, 2009 at 12:14 PM, Elvis Dowson wrote: > > On a related note, there are 3 main folders > > root > system > data > > that gets copied to the mmc card. > > Now, of these three folders, which ones can be read-only and which one > needs

[android-porting] Re: How to make mmc partition read only yet, make /system /data writeable

2009-05-18 Thread Dianne Hackborn
/data should be read-write (and /cache), /system should be read-only. Generally the /cache partition is separate from /data. Note that the dexopt at boot of stuff in /system should only happen on development builds; production builds should generate a release image where the optimized dex files ar

[android-porting] Docs related to setting up android file system and partitions

2009-05-18 Thread Elvis Dowson
Hi, Can some one point to some documentation, I couldn't find any on the android developers website for the subject of setting up the android file system and partitions. Elvis --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com web

[android-porting] Re: How to make mmc partition read only yet, make /system /data writeable

2009-05-18 Thread Elvis Dowson
On a related note, there are 3 main folders root system data that gets copied to the mmc card. Now, of these three folders, which ones can be read-only and which one needs to be read-write, and where do I specify this. For example I am guessing that /data needs to be read-write, as well as cac

[android-porting] Re: pppd syslogs not printing for packets or IP addresses

2009-05-18 Thread John Michelau
I've managed to fix the issue by having notice(), error(), etc call logit() and having logit() call __android_log_write() after it calls vslprintf() to handle the %I and %P. On May 17, 8:21 pm, Brian Liu wrote: > liblog in Android doesn't support "%I" format string for IP address. > > I use belo

[android-porting] Re: Modifying kernel headers in bionic

2009-05-18 Thread Naseer Ahmed
Thanks, Rebecca. On May 18, 9:47 pm, Rebecca wrote: > It's not automatic, but it is generated from kernel headers.  You need > to submit a patch you create via the directions in bionic/libc/kernel/ > README.TXT. > > Rebecca > > On May 14, 9:45 am, Naseer wrote: > > > Hi, > > We have added switc

[android-porting] Re: How to enable logs for Android Applications like camera

2009-05-18 Thread Somu
Hi Dev, Can you please explain me how to dig the code also.because i am not able to find the JNI calls. Kindly do the needful. Thanks and Regards Somashekar On Mon, May 18, 2009 at 10:45 PM, Dave Sparks wrote: > > You're not really going to find that information from the logs. The > call flow

[android-porting] Re: How to enable logs for Android Applications like camera

2009-05-18 Thread Dave Sparks
You're not really going to find that information from the logs. The call flow involves 3 different processes acting in concert. The only way to understand it is to dig into the source code. On May 17, 9:53 pm, somu wrote: > Hi I would like to know how to enable logs for camera applications. > >

[android-porting] Re: Running Android applications on Linux OS

2009-05-18 Thread Yi Sun
On Mon, 2009-05-18 at 22:09 +0530, Vaidya wrote: > I wanted to develop an Android application that would run on Ubuntu OS > (for a Netbook) > Is it possible to do so if the Java and Dalvik VMs are present on > Ubuntu? Ya, I think it is possible.But beside the chroot method mentioned in the thread,

[android-porting] Re: Modifying kernel headers in bionic

2009-05-18 Thread Rebecca
It's not automatic, but it is generated from kernel headers. You need to submit a patch you create via the directions in bionic/libc/kernel/ README.TXT. Rebecca On May 14, 9:45 am, Naseer wrote: > Hi, > We have added switch codes for the dock switch(SW_DOCK) into the > kernels input.h and woul

[android-porting] Re: Running Android applications on Linux OS

2009-05-18 Thread Vaidya
I wanted to develop an Android application that would run on Ubuntu OS (for a Netbook) Is it possible to do so if the Java and Dalvik VMs are present on Ubuntu? Thanks & Regards, Vaidya On Mon, May 18, 2009 at 9:50 PM, Yi Sun wrote: > > > On Mon, 2009-05-18 at 10:20 +0800, Chen Yang wrote: > >

[android-porting] Re: Running Android applications on Linux OS

2009-05-18 Thread Yi Sun
On Mon, 2009-05-18 at 10:20 +0800, Chen Yang wrote: > This discussion may be helpful: > http://groups.google.com/group/android-porting/browse_thread/thread/e3070a43b8565642/da900ba4acaa05a6?lnk=gst&q=chroot#da900ba4acaa05a6 > -- > Chen > The questions is what do you really want. Do you want to s

[android-porting] How to make mmc partition read only yet, make /system /data writeable

2009-05-18 Thread Elvis Dowson
Hi, How can I make the android rootfs in the mmc partition read only, but set it up so that the /system and /data folders are writeable? When I initially prepare the android rootfs, you have the original *.apk files. After first boot, the system converts the *.apk files to *.dex files. So

[android-porting] Re: Need the function flow of Image capture and image viewer

2009-05-18 Thread Wenlong Li
You might refer to the sample API or build-in application for camera. On Mon, May 18, 2009 at 6:36 PM, somu wrote: > > Hi, > > I need entire function flow of Camera image capture and viewer. > > if any one know this one please provide the information. > > Thanks and Regards > somashekar > > > >

[android-porting] Re: What does com.android.acore do?

2009-05-18 Thread Elvis Dowson
Hi Dianne, Thanks a lot. This will get me started on the right track! :-) Elvis --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~-

[android-porting] Need the function flow of Image capture and image viewer

2009-05-18 Thread somu
Hi, I need entire function flow of Camera image capture and viewer. if any one know this one please provide the information. Thanks and Regards somashekar --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.goog

[android-porting] Re: How to enable logs for Android Applications like camera

2009-05-18 Thread cindy_king_1024
Use the command:logcat ,before debug Hope it help! 在2009-05-18 14:27:55,"Dianne Hackborn" 写道: You don't. There may be debug output in the camera app you can turn on by recompiling it with a constant changed, but there is nothing you can just turn on at runtime. On Sun, May 17, 2009 at 9:53