Re: [android-porting] Enabling Bluetooth HID in 4.2.2 Platform

2014-01-09 Thread Ramya Mohan
Hi Reena, Check the Kernel layer whether it supports Bluetooth HID or not. If it is enabled & you still observe the problem exists, then try applying android InputSubsystem patches to make it working. It is available on net. Regards, Ramya On Wed, Jan 8, 2014 at 11:28 PM, Reena Bains wrote: >

Re: [android-porting] Unable to find Java interface files for controlling LED in android phone

2014-01-07 Thread Ramya Mohan
Hi Dharanija, There is something called LightsService.java in android core services & corresponding .cpp file. Which is responsible for controlling any type of LED. Regards, Ramya On Tue, Dec 31, 2013 at 10:16 AM, Dharanija Thatham < dharanijathatha...@gmail.com> wrote: > Hi, > I have been try

Re: [android-porting] still respond to volume up/down while screen is off`

2013-12-24 Thread Ramya Mohan
Hi, Can you verify from the kernel, while the screen is off whether the corresponding key-event is getting triggered. Use evtest application from console to know about it. If so, then you have to look into InputEvent.cpp file in Android frameworks. Regards, Ramya On Tue, Dec 24, 2013 at 3:37 A

Re: [android-porting] How to disable power saving mode

2013-12-20 Thread Ramya Mohan
Hi Punith, In Settings->Display->Never Timeout option will be there, which you can change it to higher values to avoid the system from going into Power Saving mode as soon as possible. Regards, Ramya On Thu, Dec 19, 2013 at 11:50 AM, Puneet B wrote: > Hi, > > i am using android4.2 and linux

Re: [android-porting] Re: pass data from Service to app layer in AOSP code

2013-09-18 Thread Ramya Mohan
Hi, Usually we register for broadcast receiver in onResume() & unregister broadcast receiver in onPause() method. Try it out. Regards, Ramya On Wed, Sep 18, 2013 at 1:24 PM, shridutt kothari wrote: > Hi Prasad, > > It seems that you are getting error in > context.registerReceiver(**myReceiver

[android-porting] Android JB : Never timeout option

2013-09-06 Thread ramya mohan
Hi All, I am porting Android JB on OMAP4 based platform. I am trying to add support for Never timeout option to screen timeout preference. The value for never timeout is -1. With this support, the android screen timeouts in 10 seconds. I understood, from the PowerManagerService file, the minimu

Re: [android-porting] Android external storage problem

2013-09-04 Thread Ramya Mohan
Hi All, I am also facing similar issue. I have commented off emulated storage part & keeping only External Storage part in the init script. Here, the actual Sdcard is getting mounted as External Storage & when I open the Gallery/Music application it crashes, saying unable to getFatVolumeID.. Per

Re: [android-porting] How to remove default apk from android.

2013-07-31 Thread Ramya Mohan
Hi, While building Android, you can remove it in the build. And check in Launcher2 folder/app in the packages/app directory in the android source to know any other reference to the camera app is used(Say to include it in the home screen) Check the default_workspace.xml file With care Ramya On

Re: [android-porting] OS update using recovery!

2013-07-31 Thread Ramya Mohan
Hi Shashi, Check this out http://www.kandroid.org/online-pdk/guide/release_keys.html Regards, Ramya On Fri, Jul 26, 2013 at 11:34 AM, new_2_android wrote: > hi all, > > i am using nexus 7 with android 4.1.2 images. i want 4.2.2. Can som1 tell > me how to do this using factory recovery. and i

Re: [android-porting] how to execute simple C code in Android

2013-06-27 Thread Ramya Mohan
Hi Punith, Try building it as a static binary.. Use : arm-none-linux-gnueabi-gcc app.c -o app --static. Mostly it should work. Regards, Ramya On Wed, Jun 26, 2013 at 4:08 PM, Puneet B wrote: > i have written simple application code , > > 1>vi app.c > > #include > main() > { > printf("hello

Re: [android-porting] Integration of ambient light sensor and Auto brightness

2013-06-09 Thread Ramya Mohan
Hi, As of my understanding, Settings brightness corresponds to LCD back light brightness & not ALS. Please have a look at liblights directory in your product specific build folder. If you still want ALS to work as your auto brightness, you might have to tweak the frameworks. Regards, Ramya On

Re: [android-porting] Re: Sensor porting HAL

2013-06-04 Thread Ramya Mohan
Hi, Yes, it mostly looks for that kind of name.. If we want it in different name, there will be some other place in frameworks/hardware layer should be modified accordingly.. I am not sure about it. With care Ramya On Fri, May 31, 2013 at 6:10 AM, 마재경 wrote: > Thanks for your advice. > > I a

Re: [android-porting] Sensor porting HAL

2013-05-29 Thread Ramya Mohan
Hi, sensors..so - should be compiled & copied to system/lib/hw of the android file system. The *.so build - should contain a struct defining that it s a SENSOR_MODULE.. Say : sensors.c file struct sensors_module_t HAL_MODULE_INFO_SYM = { common: { tag: HARDWARE_MODULE_TA

[android-porting] Android Phone configuration - auto rotation

2013-05-16 Thread ramya mohan
Hi All, I am using OMAP4 based platform running ICS on it. I am trying All direction UI rotation with Auto-rotate settings ON. On my board, Accelerometer is working & set. When I rotate the board, UI rotates along 90,270 & 0 degrees. *I want it to rotate along 180 degree too..(UPSIDE DOWN)* If

[android-porting] Android device as BT Headset

2013-04-10 Thread ramya mohan
Hi, I am Ramya. I am trying to make my omap based Android(ICS) device to behave as a BT Headset. Does Android Bluez have this support? Or Bluez has the support & android framework doesn't have the support? I tried changing the audio.conf file to enable A2DP Sink, with this I am able to recogn

Re: [android-porting] Re: Android requirements for HOME and Power button

2013-01-23 Thread Ramya Mohan
Hi, >From driver just check whether it is possible to report Power key when the button is long pressed. Android you can hack in the frameworks policy PhoneWindowManager file. Based on your product for long press of HOME invoke the shutdown dialog. On Wed, Jan 2, 2013 at 12:55 PM, Jan Pohanka wr

Re: [android-porting] Re: Android2.3 Sensor APP can't call the sensor HAL lib file!

2013-01-04 Thread ramya mohan
Hi, Please check whether any file in the libsensors directory has a struct defined HAL_MODULE_INFO_SYM... On Friday, November 4, 2011 7:58:01 PM UTC+5:30, sarika baby wrote: > > Hello, > I am trying to a orientation sensor, so for that i created a new file > OrientSensor.cpp and OrientSenso

Re: [android-porting] External storage on removable SD Card

2012-11-26 Thread Ramya Mohan
Check the property fuse.sdcard true in init..rc Regards, Ramya. On Wed, Nov 21, 2012 at 8:59 PM, MB wrote: > Hi, > > I am able to boot my dev board from ext SD Card. I would also like to use > the SD card as a shared "external storage" > option. > > What would be changes required in init script

Re: [android-porting] Re: Issue with Zygote initialization after migrating host to Ubuntu 12

2012-07-30 Thread Ramya Mohan
Hi, As far as I know, building AOSP Gingerbread/ICS using Ubuntu 12.04 is not recommended. Check android-building for more information. On Tue, Jul 17, 2012 at 6:19 PM, Alexis wrote: > Similar issue on Ubuntu 10.04 building Android Gingerbread, but with the > opposite solution. > > For several

Re: [android-porting] Hiding the GPS Icon in notification bar

2012-06-29 Thread Ramya Mohan
Hi, In the android sources (Gingerbread) , under the directory frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar there is a file called StatusBarPolicy, which specifies the icon to be displayed/removed/updated from the status bar. In that check for updateGps or any GPS related

[android-porting] Context in the Camera Frameowrk

2012-06-05 Thread ramya mohan
Hi All, I am trying to register a broadcast receiver in the Camera Framework class. As we know, there are two ways are registering the broadcast messages, 1. From the code & 2. In the AndroidManifest.xml * I tried registering it through the AndroidManifest.xml -- Since the braodcast int

[android-porting] GB - OMAP4 Cloning the contents from one display to other display.

2012-05-29 Thread ramya mohan
Dear All, I am Ramya. I am working with OMAP4430/OMAP4460 based boards & GB. I have scenario, basically we are trying to clone the display contents on Primary LCD to Secondary LCD. We are able to achieve it by taking Clone to HDMI as reference. With this we were able to achieve UI & Video clonin

Re: [android-porting] Re: [rowboat] Battery status

2012-04-12 Thread Ramya Mohan
Hi, To integrate battery into framework , if the sys fs entries are changing or with little modifications , the place you need to modify is the JNI layer of the frameworks. com_android_server_BatteryService.cpp, is the file you need to modify. And usually the Battery stats is updated based on the

Re: [android-porting] camera application on a new platform

2012-03-26 Thread Ramya Mohan
Hi, "D/Camera ( 1033): app passed NULL surface" is the error log from the Camera client (frameworks/base/libs/camera/)which will communicate with the Camera Service. This is message will ususally appear after some instance of time , the actual surface will be set if there is a call from Appli

Re: [android-porting] How to get "android update adb" to see my USB vendor id?

2012-03-25 Thread Ramya Mohan
Hi, The following information is based on my understanding. Usually android update adb won't do that. It actually updates the adb to the latest adb version. on linux machine: modify the /etc/udev/rules.d/52-android.rules file to add the vendor id to it. then restart adb,it should work. I am no

[android-porting] Release build of Gingerbread is failing!

2012-03-22 Thread ramya mohan
Hi all, I don't know whether I can ask this question here. If not just ignore it. I am trying to run CTS on the custom board with Gingerbread 2.3.5 on top of it. In the CTS test cases , #start --plan Android -p android.security.cts.PackageSignatureTest#testPackageSignatures I am getting the fol

Re: [android-porting] Sensors in OMAP4

2011-08-22 Thread ramya mohan
and timings. > A normal program uses the android framework to access the accelerometer and > that should have a different implementation for each sensor. > I'm not sure this is it, but that's my guess. > > Good luck. > > > On 19 August 2011 11:51, ramya mohan wro

[android-porting] Sensors in OMAP4

2011-08-19 Thread ramya mohan
Hi all, I am trying to integrate an accelerometer sensor with OMAP4 based board. Most of the interfaces are similar to Blaze board. The accelerometer sensor we are using is different from Blaze. The sensor is working from kernel side. We tested using evTest. In android(Gingerbread), blaze has a ap

[android-porting] android build - segmentation fault

2011-07-13 Thread ramya mohan
Hi all, I am working with , porting Camera into a custom board. So I tried changing very few lines in Camera application (packages/ apps/Camera/src/com/android/camera/Camera.java) say, from mCameraId = CameraSettings.readPreferredCameraId(mPreferences); to mCameraId =3; and tried to build it , u

[android-porting] Re: How to download the gingerbread code for panda board[omap4]

2011-06-07 Thread ramya mohan
Hi jagan, Check this link : http://www.omappedia.org/wiki/PandaBoard_L27.12.1-P2_Release_Notes# Regards, Ramya.M -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Android-critical system

2011-06-02 Thread ramya mohan
Hi Sir, Thanks for the idea. Regards, Ramya.M -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Android-critical system

2011-06-01 Thread ramya mohan
Hi , I have a scenario , (i.e) If i am using an android based device(need not be a phone) ,it is connected to server. I am using around (say playing an video / playing a game ) If a critical message(information - can be in any form like audio/video) comes from the server , whatever is on top must