[android-developers] Re: ExifInterface and libexif

2009-06-23 Thread Augustin.CL
utes. BTW, Does anyone has any idea about this topic? There are few article around this topic on the internet... On Jun 20, 12:51 am, "Augustin.CL" wrote: > Could I use ExifInterface.java to getAttributes ,put some Exif Tag > into that HashMap, saveAttributes and co

[android-developers] Re: ExifInterface and libexif

2009-06-21 Thread Augustin.CL
Does anyone have any ideas? On Jun 19, 8:24 pm, "Augustin.CL" wrote: > Dear All, >         Currently, I want to fix the camera apk to make the image > attached the GPS information. But I find there are some problems. >         1. First, we can't change the exif infor

[android-developers] Re: ExifInterface and libexif

2009-06-19 Thread Augustin.CL
quot;,"200"); exif.saveAttributes(exifData); exif.commitChanges(); On Jun 19, 8:24 pm, "Augustin.CL" wrote: > Dear All, >         Currently, I want to fix the camera apk to make the image > attached the GPS information. But I find there are some problems. >         1. First, we ca

[android-developers] ExifInterface and libexif

2009-06-19 Thread Augustin.CL
Dear All, Currently, I want to fix the camera apk to make the image attached the GPS information. But I find there are some problems. 1. First, we can't change the exif information. According to http://code.google.com/p/android/issues/detail?id=2415, I modified some codes of libexi

[android-developers] How to use remapCoordinateSystem of SensorManager

2009-06-09 Thread Augustin.CL
Dear all, I want to transform the coordinate in Camera style. But I really can't understand how to use remapCoordinateSystem. Is there any example to help me understand how to use? Best regards, Augustin Lu. --~--~-~--~~~---~--~~ You received this mess

[android-developers] Re: How to start other activity by code

2009-06-02 Thread Augustin.CL
phone","com.android.phone.Settings"); On Jun 2, 8:31 pm, Mark Murphy wrote: > Augustin.CL wrote: > > Dear all, > > >            I want to start the activity owned by other application. I > > know we could construct the Intent(setAction,setClass), and then call >

[android-developers] How to start other activity by code

2009-06-02 Thread Augustin.CL
Dear all, I want to start the activity owned by other application. I know we could construct the Intent(setAction,setClass), and then call context.startActivity(intent) to start a new activity owned by the same application. When we start the activity not owned by the same application,d

[android-developers] Re: How to set data roaming and GSM/AUTO Mode

2009-06-01 Thread Augustin.CL
Does anyone have ideas? On Jun 1, 10:28 am, "Augustin.CL" wrote: > Dear All, > >            I want to adjust some settings to disable/enable data > roaming and switch GSM/AUTO mode as the functions provided by > Settings.apk(Settings -> Wireless controls -> Mob

[android-developers] How to set data roaming and GSM/AUTO Mode

2009-05-31 Thread Augustin.CL
Dear All, I want to adjust some settings to disable/enable data roaming and switch GSM/AUTO mode as the functions provided by Settings.apk(Settings -> Wireless controls -> Mobile networks -> "Data roaming"/"Use only 2G networks"). I know there is a way to get the current set

[android-developers] Data Roaming and 2G only mode Setting

2009-05-27 Thread Augustin.CL
Dear all, Recently, I want to develop an application for myself to do some settings. But I really can't understand how to enable/disable data roaming and setting 2G mode only as Settings.apk provided. Is there any way to set these two attributes? Best regards, Augustin. --~--~

[android-developers] Re: Why isn't the "standby" instruction able to stop the thread?

2009-04-02 Thread Augustin.CL
Could anyone give me some helps? On 4月1日, 下午5時17分, "Augustin.CL" wrote: > Dear All, > Recently, I have tried to know what would happen to an > alive thread, when the device goes to sleep. I program a simple > activity that will create and start a thre

[android-developers] Why isn't the "standby" instruction able to stop the thread?

2009-04-01 Thread Augustin.CL
Dear All, Recently, I have tried to know what would happen to an alive thread, when the device goes to sleep. I program a simple activity that will create and start a thread printing "HERE AM I" repeatedly through Log.d. I expect the thread would be stopped after I "echo standby > /sy

[android-developers] start an activity with the constructor by Intent Class

2009-03-13 Thread Augustin.CL
Dear all, Recently, I set out to develop some tools I want. But I got stuck in the mechanism of Intent. I would like to make it possible to start an activity with the constructor having the parameters by Intent class, but I don't know how to set or use the method of the Intent to achi

[android-developers] PowerManger.goToSleep,how to use and what it means

2009-03-10 Thread Augustin.CL
Dears, Recently, I have tried to use the methods defined in the class,"android.os.PowerManager". I can't know very well about what the method,"goToSleep" means. I got the related source code, and studied it. I found the method only has the system turn the screen off, I don't know why turnin

[android-developers] Could I adjust cpufreq over the framework api

2009-03-10 Thread Augustin.CL
Dears, Recently, I have been interested in the android platfrom, especially power management. And then I tried to find the settings about cpufreq, but in vain. I really want to know if there is a way that we can modify the cpufreq governors within my application over the framework api. C