[android-porting] Re: how to build the pdk_docs target to generate the document of android
You need to use java 1.5. -Mike On Apr 28, 10:13 pm, nail wrote: > dear all, > > i try to generate the pdk_docs target using following command to > > generate the document of android > > == > make pdk pdk_docs dist DIST_DIR=dist 2>&1 | tee logs/`date +%y%m%d-%H%M > %S` > == > > and my java version is "sun-java5-jdk" > > but it happens compile error below: > > === > > javadoc: error - In doclet class DroidDoc, method start has thrown an > exception java.lang.reflect.InvocationTargetException > java.lang.RuntimeException: ParseError: [development/pdk/ndk/../../../ > out/target/product/generic/obj/PACKAGING/pdkdocs_intermediates/docs/ > header.cs:1] Undefined macro called: custom_masthead() > at org.clearsilver.CS._parseFile(Native Method) > at org.clearsilver.CS.parseFile(CS.java:58) > at ClearPage.write(ClearPage.java:120) > at ClearPage.write(ClearPage.java:74) > at DroidDoc.writeDirectory(DroidDoc.java:525) > at DroidDoc.writeHTMLPages(DroidDoc.java:547) > at DroidDoc.start(DroidDoc.java:209) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke > (NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke > (DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at com.sun.tools.javadoc.DocletInvoker.invoke > (DocletInvoker.java:269) > at com.sun.tools.javadoc.DocletInvoker.start > (DocletInvoker.java:143) > at com.sun.tools.javadoc.Start.parseAndExecute(Start.java:340) > at com.sun.tools.javadoc.Start.begin(Start.java:128) > at com.sun.tools.javadoc.Main.execute(Main.java:41) > at com.sun.tools.javadoc.Main.main(Main.java:31) > 1 error > make: *** [out/target/common/docs/online-pdk-timestamp] Error 45 > > > > does any body has idea about this issue ? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: X86 ALSA Sound Issue
Is is possible to add sound to eee pc without rebuilding android? --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: How the video display size making use of resize and rotation is set under Android
This capability is already built into the framework. You just scale the SurfaceView to the desired size. You probably want to adjust the height and width to maintain the aspect ratio of the original material. The rescaling is handled in SurfaceFlinger by the blitter engine. In fact, if you use the VideoView widget, it will do this for you automatically. On Apr 30, 3:09 am, sreedhar b wrote: > Hi, > > I am doing the video playback in Media player which is making use of soft > PV video decoder giving YUV 420 planar output. > Currently if the input stream is of QVGA resolution, the display is QVGA on > my VGA LCD display panel. > > If the input stream is of VGA resolution, the display is VGA. > > I wanted to play QVGA i/p stream as VGA (definitely including resize). > How this can be done inside Android? > > Similarly i want to display QVGA(320x240) i/p stream decoded and rendered to > display as 240X340(definitely including rotation). > > If somebody has tried these, please let me know how these can be implemented > for video playback inside Android. > This is mainly for resize and rotate. > > Regards, > Sreedhar --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] The android-porting list is now partially moderated.
I have just turned on moderation control for the android-porting mailing list. The goal is only to reduce the amount of spam on the list. There is no plan for any active moderation or membership control. For existing members, this should reduce the amount of spam in the list. Please give it a couple of days to wind down. New memberships will still be granted automatically. There is no intention to limit group membership, and new members will be able to receive and read messages immediately. For new members, your first post will be moderated. Please allow 24 hours for your first post to go through, and please don't keep reposting. Once you have posted successfully, you will be allowed to post freely. I hope this improves things for all members of android-porting. -dan (with thanks to Andy S for most of the above text) --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: How's preloaded-classes file generated?
On Apr 29, 4:57 pm, Shashank wrote: > Are they using any sort of automation or is it manually generated by > some person / team? Both. There's some stuff in frameworks/base/tools/preload that helps generate it, then there's some manual adjusting. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: Issue in booting the new Android opensource 1.5(API level 3)
Hi, Here is a temporary workaround for this issue. I don't have a battery so I was forced to stub the calls and return a 100% for the required battery parameters. Best regards, Elvis diff --git a/services/jni/com_android_server_BatteryService.cpp b/ services/jni/com_android_server_BatteryService.cpp index 6636a97..ec66cae 100644 --- a/services/jni/com_android_server_BatteryService.cpp +++ b/services/jni/com_android_server_BatteryService.cpp @@ -150,12 +150,14 @@ static void setBooleanField(JNIEnv* env, jobject obj, const char* path, jfieldID const int SIZE = 16; char buf[SIZE]; -jboolean value = false; +jboolean value = true; +/* if (readFromFile(path, buf, SIZE) > 0) { if (buf[0] == '1') { value = true; } } +*/ env->SetBooleanField(obj, fieldID, value); } @@ -164,10 +166,13 @@ static void setIntField(JNIEnv* env, jobject obj, const char* path, jfieldID fie const int SIZE = 128; char buf[SIZE]; -jint value = 0; +jint value = 100; + +/* if (readFromFile(path, buf, SIZE) > 0) { value = atoi(buf); } +*/ env->SetIntField(obj, fieldID, value); } @@ -181,6 +186,12 @@ static void android_server_BatteryService_update (JNIEnv* env, jobject obj) setIntField(env, obj, BATTERY_VOLTAGE_PATH, gFieldIds.mBatteryVoltage); setIntField(env, obj, BATTERY_TEMPERATURE_PATH, gFieldIds.mBatteryTemperature); +env->SetIntField(obj, gFieldIds.mBatteryStatus, gConstants.statusFull); +env->SetIntField(obj, gFieldIds.mBatteryHealth, gConstants.healthGood); +env->SetObjectField(obj, gFieldIds.mBatteryTechnology, env- >NewStringUTF("1")); + + +/* const int SIZE = 128; char buf[SIZE]; @@ -192,6 +203,9 @@ static void android_server_BatteryService_update (JNIEnv* env, jobject obj) if (readFromFile(BATTERY_TECHNOLOGY_PATH, buf, SIZE) > 0) env->SetObjectField(obj, gFieldIds.mBatteryTechnology, env- >NewStringUTF(buf)); + +*/ + } static JNINativeMethod sMethods[] = { --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: X86 ALSA Sound Issue
continue to read the list and look for ravikh for answer or here http://code.google.com/p/patch-hosting-for-android-x86-support/wiki/noruletomaketarget where I copied his e-mail On Thu, 2009-04-30 at 04:44 -0700, Gani Bhagavathula wrote: > Bump... I am stuck at the same error (about android.maps.xml) when I > did a repo sync after completely unrelated changes. Is anyone able to > help? > > Gani > > > On Apr 26, 4:32 pm, dmoti wrote: > > Thanks Androidphan, > > > > I think that the problem is that I didn't have hardware/alsa_sound > > package so I added it to > > the local_manifest.xml now the problem is: > > > > make: *** No rule to make target `vendor/google/frameworks/maps/ > > com.google.android.maps.xml', needed by `out/target/product/eee_701/ > > system/etc/permissions/com.google.android.maps.xml'. Stop. > > > > It's not related to the alsa_sound addition I made since it fails like > > this even without it. > > can someone provide a little bit more details regarding the build > > setup: > > the contents of localmanifest platform compiler and library used in > > case that the problem is with my setup > > (I tryied ubuntu 8.10, 9.04 with gcc-4.2) > > > > -md > > > > On Apr 22, 7:49 pm, Androidphan wrote: > > > > > You should clean your project and build all over again. > > > > > On Apr 22, 1:58 pm, dmoti wrote: > > > > > > Thanks! > > > > I did it with this local_manifest.xml: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > it took me a while to figure it out so I'm puting it here for future > > > > generations :-) > > > > > > it synced OK but when I build it I got this: > > > > > > make: *** No rule to make target `out/target/product/eee_701/obj/lib/ > > > > libaudio.so', needed by `out/target/product/eee_701/obj/EXECUTABLES/ > > > > alsa_amixer_intermediates/LINKED/alsa_amixer'. Stop. > > > > > > any ideas? > > > > > > On Apr 22, 10:28 am, Androidphan wrote: > > > > > > > I just downloaded thealsa-lib andalsa-utils with repo, you need to > > > > > download it with a local_manifest file. > > > > > Then turn on BOARD_USES_ALSA_AUDIO := true and > > > > > BUILD_WITH_ALSA_UTILS := true at asus/eee_701/BoardConfig.mk. > > > > > > > Then it builds Android with thealsalibrary and thealsautils. Then > > > > > you need a proper asound.conf to get your sound working. > > > > > > > On Apr 21, 4:52 pm, dmoti wrote: > > > > > > > > Hi people, > > > > > > I followed this discussion and I'm trying to do what you did and > > > > > > I just need the configure line you used for bothalsa-lib andalsa- > > > > > > utils > > > > > > > > thanks, > > > > > > -md > > > > > > > > On Apr 17, 9:28 pm, Luca Belluccini > > > > > > wrote: > > > > > > > > > Ok i see them ... Sorry :D > > > > > > > > > On 17 Apr, 18:57, Androidphan wrote: > > > > > > > > > > It probably is possible to addalsa-utils to your local_manifest > > > > > > > > and > > > > > > > > put BUILD_WITH_ALSA_UTILS := true inside your BoardConfig.mk > > > > > > > > and then > > > > > > > > run alsa_ctl. > > > > > > > > > > On Apr 17, 5:27 pm, Luca Belluccini > > > > > > > > wrote: > > > > > > > > > > > Thanks! I'm preparing a ubuntu live for getting > > > > > > > > > allalsacontrols. > > > > > > > > > > > On 17 Apr, 16:44, Androidphan wrote: > > > > > > > > > > > > My asound.conf can be found > > > > > > > > > > here:http://pastebin.com/f41e6b204 > > > > > > > > > > > > I also added the following to init.rc : > > > > > > > > > > setpropalsa.mixer.playback.master Front > > > > > > > > > > setpropalsa.mixer.capture.master Capture > > > > > > > > > > setpropalsa.mixer.playback.earpiece Master > > > > > > > > > > setpropalsa.mixer.capture.earpiece Capture > > > > > > > > > > setpropalsa.mixer.playback.headset Master > > > > > > > > > > setpropalsa.mixer.playback.speaker Master > > > > > > > > > > > > I don't know how to play video files yet, haven't tried > > > > > > > > > > actually. > > > > > > > > > > But I ran Mediascanner from Dev tools, then it found my mp3 > > > > > > > > > > inside > > > > > > > > > > 'Music' and that played well. > > > > > > > > > > > > On 17 apr, 14:56, Luca Belluccini > > > > > > > > > > wrote: > > > > > > > > > > > > > Congratulations! > > > > > > > > > > > > > Could you post your asound.conf, just to see it and > > > > > > > > > > > understand > > > > > > > > > > > correctly its structure? > > > > > > > > > > > Mediaplayer is working? > > > > > > > > > > > > > On 17 Apr, 14:26, Androidphan > > > > > > > > > > > wrote: > > > > > > > > > > > > > > I finally got my sound working. I tested it outside > > > > > > > > > > > > Android with > > > > > > > > > > > > aplay.Alsa-utils can be downloaden now from the Android > > > > > > > > > > > > repository. I > > > > > > > > > > > > used alsactl store in Ubuntu to get an asound.state. > > > > > > > > > > > > With the values > > > > > > > > > > > > from that file I created my own asound.conf. It looks a > > > > > > > > > > > > lot like the > > > >
[android-porting] Re: lcd flickerings with android
Hi, Sorry for the delayed response. I was deep in trying to fix my android touchscreen implementation. I'm not familiar with the board that you have. Perhaps, if you could load a video of the flicker on youtube and send us the link, perhaps we can try to see what is causing it. Best regards, Elvis --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: How to execute a application automatically after android booting?
You really should avoid persistent unless that is really what you want. It certainly shouldn't be used just to be launched at boot. On Thu, Apr 30, 2009 at 5:27 AM, RajaniKanth wrote: > > Hi , > make android:persistent="true" in AndroidManifest.xml file. > Ur application will start automatically while booting. > > RajaniKanth > > On Apr 30, 11:47 am, stater wrote: > > Hi all, > > > > I have a application and it need be executed after android booting > > automatically. > > Does someone have a suggestion that how to do it? > > Thanks for your reply. > > > -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: How to execute a application automatically after android booting?
Hi , make android:persistent="true" in AndroidManifest.xml file. Ur application will start automatically while booting. RajaniKanth On Apr 30, 11:47 am, stater wrote: > Hi all, > > I have a application and it need be executed after android booting > automatically. > Does someone have a suggestion that how to do it? > Thanks for your reply. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Problem when changing the default colors and drawables of Android
Hi all, After a very long time i am posting question here... I tried to change the default colors and drawable of android, (eg: Instead of orange color drawable, while on focus, i want to use my own color and in pressing of buttons or lists, i want to show my own color, drawable and style)... I am using the android cupcake version Any one tried this or any other way? In which file i have to modify... I tried a lot, but its not reflecting my drawable or my colors. Thanks, Guna --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: X86 ALSA Sound Issue
Bump... I am stuck at the same error (about android.maps.xml) when I did a repo sync after completely unrelated changes. Is anyone able to help? Gani On Apr 26, 4:32 pm, dmoti wrote: > Thanks Androidphan, > > I think that the problem is that I didn't have hardware/alsa_sound > package so I added it to > the local_manifest.xml now the problem is: > > make: *** No rule to make target `vendor/google/frameworks/maps/ > com.google.android.maps.xml', needed by `out/target/product/eee_701/ > system/etc/permissions/com.google.android.maps.xml'. Stop. > > It's not related to the alsa_sound addition I made since it fails like > this even without it. > can someone provide a little bit more details regarding the build > setup: > the contents of localmanifest platform compiler and library used in > case that the problem is with my setup > (I tryied ubuntu 8.10, 9.04 with gcc-4.2) > > -md > > On Apr 22, 7:49 pm, Androidphan wrote: > > > You should clean your project and build all over again. > > > On Apr 22, 1:58 pm, dmoti wrote: > > > > Thanks! > > > I did it with this local_manifest.xml: > > > > > > > > > > > > > > > > > > > > > > > it took me a while to figure it out so I'm puting it here for future > > > generations :-) > > > > it synced OK but when I build it I got this: > > > > make: *** No rule to make target `out/target/product/eee_701/obj/lib/ > > > libaudio.so', needed by `out/target/product/eee_701/obj/EXECUTABLES/ > > > alsa_amixer_intermediates/LINKED/alsa_amixer'. Stop. > > > > any ideas? > > > > On Apr 22, 10:28 am, Androidphan wrote: > > > > > I just downloaded thealsa-lib andalsa-utils with repo, you need to > > > > download it with a local_manifest file. > > > > Then turn on BOARD_USES_ALSA_AUDIO := true and > > > > BUILD_WITH_ALSA_UTILS := true at asus/eee_701/BoardConfig.mk. > > > > > Then it builds Android with thealsalibrary and thealsautils. Then > > > > you need a proper asound.conf to get your sound working. > > > > > On Apr 21, 4:52 pm, dmoti wrote: > > > > > > Hi people, > > > > > I followed this discussion and I'm trying to do what you did and > > > > > I just need the configure line you used for bothalsa-lib andalsa- > > > > > utils > > > > > > thanks, > > > > > -md > > > > > > On Apr 17, 9:28 pm, Luca Belluccini wrote: > > > > > > > Ok i see them ... Sorry :D > > > > > > > On 17 Apr, 18:57, Androidphan wrote: > > > > > > > > It probably is possible to addalsa-utils to your local_manifest > > > > > > > and > > > > > > > put BUILD_WITH_ALSA_UTILS := true inside your BoardConfig.mk and > > > > > > > then > > > > > > > run alsa_ctl. > > > > > > > > On Apr 17, 5:27 pm, Luca Belluccini > > > > > > > wrote: > > > > > > > > > Thanks! I'm preparing a ubuntu live for getting allalsacontrols. > > > > > > > > > On 17 Apr, 16:44, Androidphan wrote: > > > > > > > > > > My asound.conf can be found here:http://pastebin.com/f41e6b204 > > > > > > > > > > I also added the following to init.rc : > > > > > > > > > setpropalsa.mixer.playback.master Front > > > > > > > > > setpropalsa.mixer.capture.master Capture > > > > > > > > > setpropalsa.mixer.playback.earpiece Master > > > > > > > > > setpropalsa.mixer.capture.earpiece Capture > > > > > > > > > setpropalsa.mixer.playback.headset Master > > > > > > > > > setpropalsa.mixer.playback.speaker Master > > > > > > > > > > I don't know how to play video files yet, haven't tried > > > > > > > > > actually. > > > > > > > > > But I ran Mediascanner from Dev tools, then it found my mp3 > > > > > > > > > inside > > > > > > > > > 'Music' and that played well. > > > > > > > > > > On 17 apr, 14:56, Luca Belluccini > > > > > > > > > wrote: > > > > > > > > > > > Congratulations! > > > > > > > > > > > Could you post your asound.conf, just to see it and > > > > > > > > > > understand > > > > > > > > > > correctly its structure? > > > > > > > > > > Mediaplayer is working? > > > > > > > > > > > On 17 Apr, 14:26, Androidphan wrote: > > > > > > > > > > > > I finally got my sound working. I tested it outside > > > > > > > > > > > Android with > > > > > > > > > > > aplay.Alsa-utils can be downloaden now from the Android > > > > > > > > > > > repository. I > > > > > > > > > > > used alsactl store in Ubuntu to get an asound.state. With > > > > > > > > > > > the values > > > > > > > > > > > from that file I created my own asound.conf. It looks a > > > > > > > > > > > lot like the > > > > > > > > > > > one in myalsathread. > > > > > > > > > > > > On 17 apr, 13:57, Luca Belluccini > > > > > > > > > > > wrote: > > > > > > > > > > > > > Can you post your asound.conf ? I am using this one. > > > > > > > > > > > > I don't know it it works... I am working on a eeepc 701. > > > > > > > > > > > > Btw... You just modified the USES_ALSA_AUDIO... in mk > > > > > > > > > > > > file and added > > > > > > > > > > > > the lines in init.rc (and moved asound.conf in the > > > > > > > > > > > > right place), isn't > > > > > > > > > > > > it? > > > > > > > > > > > > T
[android-porting] Re: Issue in booting the new Android opensource 1.5(API level 3)
Hi,I meet with the same case,when it boot up with the logo,it will power down,just like: VFS: Mounted root (nfs filesystem). Freeing init memory: 440K Warning: unable to open an initial console. init: cannot open '/initlogo.rle' init: cannot find '/system/bin/playmp3', disabling 'bootsound' sh: can't access tty; job control turned off # warning: `rild' uses 32-bit capabilities (legacy support in use) android_power: wakeup (0->0) at 75883087171 (2000-01-01 00:01:14.743469203 UTC) Power down. 在2009-04-29?23:29:55,"Nick?Pelly"??写道: > >The?framework?assumes?that?if?it?can't?get?the?battery?level?then?the >battery?level?is?zero,?and?shuts?down.?This?is?bad?framework?behavior, >but?you?can?workaround?by?providing?a?battery?level.?I?don't?know?off >the?top?of?my?head?what?interface?this?uses,?but?I?have?a?feeling >UEvent?may?be?involved. > >Nick > >On?Sat,?Apr?25,?2009?at?2:34?AM,?John??wrote: >> >>?Hello?friends, >>?I?downloded?the?latest?Android?opensource?1.5?(API >>?level?3)?dated?24-April-2009??from?GIT?and?compiled?for?to?boot?with >>?the?omap?2430?board.But?after?the?Android?logo?am?getting?system >>?halted?message?in?the?minicom?and?in?target?lcd?it?displays?as?the >>?battery?is?getting?low?less?than?15%?remaining?and?then?the?power?off >>?msg?comes?and?the?system?hangs?there. >> >>?Any?help?would?be?highly?appreciated. >> >> >>?logcat?message?for?system?halting >> >>?D/ActivityManager(??565):?Start?running! >>?I/Zygote??(??565):?Process:?zygote?socket?opened >>?I/ActivityManager(??565):?Start?proc?com.android.phone?for?added >>?application?com.android.phone:?pid=602?uid=1001?gids={3002,?3001, >>?3003} >>?I/ActivityManager(??565):?Start?proc?android.process.acore?for >>?activity?com.android.launcher/.Launcher:?pid=604?uid=1?gids={3003} >>?D/ShutdownThread(??565):?Notifying?thread?to?start?radio?shutdown >>?W/ResourceType(??565):?No?package?identifier?when?getting?value?for >>?resource?number?0x >>?W/StatusBar(??565):?Icon?not?found?in?:?0 >>?D/ShutdownThread(??565):?Radio?aSystem?halted. >>?nd?Bluetooth?shutdown?complete. >>?D/ShutdownThread(??565):?Shutting?down?power. >>?I/ActivityThread(??604):?Publishing?provider?user_dictionary: >>?com.android.providers.userdictionary.UserDictionaryProvider >>?D/StatusBar(??565):?updateResources >>?I/ActivityThread(??604):?Publishing?provider >>?com.android.googlesearch.SuggestionProvider: >>?com.android.googlesearch.SuggestionProvider >>?I/ActivityThread(??602):?Publishing?provider?mms-sms: >>?com.android.providers.telephony.MmsSmsProvider >>?I/ActivityThread(??604):?Publishing?provider?contacts;call_log: >>?com.android.providers.contacts.ContactsProvider >>?I/ActivityThread(??602):?Publishing?provider?mms: >>?com.android.providers.telephony.MmsProvider >>?I/ActivityThread(??602):?Publishing?provider?telephony: >>?com.android.providers.telephony.TelephonyProvider >>?I/ActivityThread(??602):?Publishing?provider?sms: >>?com.android.providers.telephony.SmsProvider >>?I/ActivityThread(??602):?Publishing?provider?sim: >>?com.android.phone.SimProvider >>?W/ActivityManager(??565):?Unable?to?start?service?Intent >>?{?action=android.accounts.IAccountsService?comp= >>?{com.google.android.googleapps/ >>?com.google.android.googleapps.GoogleLoginService}?}:?not?found >>?W/AccountMonitor(??604):?Couldn't?connect?to?Intent >>?{?action=android.accounts.IAccountsService?comp= >>?{com.google.android.googleapps/ >>?com.google.android.googleapps.GoogleLoginService}?}?(Missing?service?) >>?I/ActivityThread(??604):?Publishing?provider >>?com.android.launcher.settings:?com.android.launcher.LauncherProvider >>?E/ApplicationContext(??604):?Couldn't?rename?file?/data/data/ >>?com.android.launcher/shared_prefs/launcher.xml?to?backup?file?/data/ >>?data/com.android.launcher/shared_prefs/launcher.xml.bak >> >>?> >> > >> --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] How the video display size making use of resize and rotation is set under Android
Hi, I am doing the video playback in Media player which is making use of soft PV video decoder giving YUV 420 planar output. Currently if the input stream is of QVGA resolution, the display is QVGA on my VGA LCD display panel. If the input stream is of VGA resolution, the display is VGA. I wanted to play QVGA i/p stream as VGA (definitely including resize). How this can be done inside Android? Similarly i want to display QVGA(320x240) i/p stream decoded and rendered to display as 240X340(definitely including rotation). If somebody has tried these, please let me know how these can be implemented for video playback inside Android. This is mainly for resize and rotate. Regards, Sreedhar --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: Updating cupcake Images to Android Developer Phone
try this web site http://android-dls.com/wiki/index.php?title=Building_the_HTC_Dream_Platform 2009/4/29 abhijithvr > > Hi > > I am working on the cupcake code .We recently bought a ADP phone and > following the steps in > > www.htc.com/www/support/android/adp.html , i upgraded to the phone to > Android 1.5 using the images given in the link . > > What we need, is to install the system.img created from compiling the > cupcake source. > > How will I do that ? Any idea ? > > I am able to install my image to the phone by replacing the > system.img of the image zip from HTC with my image.But that > system.image is not identifying the operator network,. > > We are doing something on managing voice calls . So we need to use the > SIM . > > Is there any way I can create image which will support a GSM SIM from > cupcake . May be some "make" options.? > > > > > > Thanks > Abhijith > > > > > > > > > http://groups.google.co.in/group/Android-DevPhone-Updating/browse_thread/thread/8eaa46d05219ec4c/9e5274e90b9e2d26?q=Updating+new+Images+to+Android+Developer+Phone#9e5274e90b9e2d26 > > > --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: How to execute a application automatically after android booting?
android.intent.action.BOOT_COMPLETED is broadcasted when the boot completes. android.permission.RECEIVE_BOOT_COMPLETED permission required to receive this. hope this helps you. On Apr 30, 11:47 am, stater wrote: > Hi all, > > I have a application and it need be executed after android booting > automatically. > Does someone have a suggestion that how to do it? > Thanks for your reply. --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: why in emulator, "/dev/eac" is connected with the audio?
hi Max have you find the answer? how "/dev/eac" is connected with host linux's sound system? I am trying to add my own device driver to android On Apr 18, 4:02 pm, max wrote: > Hi David, > > Thanks for your reply. > > When I study the code in frameworks\base\libs\audioflinger > \AudioHardwareGeneric.cpp, I saw it does open the device node "dev/ > eac" to get a File descriptor. Therefore , the question is how "/dev/ > eac" is connected with the host linux's sound system. I have read the > code in external/qemu/hw/goldfish_audio.c, but I still can not figure > out how the device node "/dev/eac" in emulator's linux system is > connected with host linux's sound system. > > Thanks > > On Apr 17, 5:48 pm, David Turner wrote: > > > > > On Fri, Apr 17, 2009 at 10:51 AM, max wrote: > > > > Hi Buddies, > > > > I wanna get understood that why in emulator "dev/eac" is the device of > > > audio, > > > historical reason, but mostly because that's what the emulator-specific > > kernel supports > > > > as I know, in external/qemu/audio, there is all kinds audio drivers, > > > such as oss, alsa, > > > these are only used to send audio output to the host sound system, this has > > nothing > > to do with what is supported in the emulated system. These are not 'drivers' > > by the way, > > just usual call to sound libraries / system interfaces > > > you can have a look at external/qemu/hw/goldfish_audio.c to see the code > > used to > > support sound hardware emulation in Android > > > > but I am very curious why in the android linux system, the "dev/eac" > > > is connected with those drivers. > > > > Anybody can give me some light on that? > > > > Max- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - --~--~-~--~~~---~--~~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~--~~~~--~~--~--~---
[android-porting] Re: X86 ALSA Sound Issue
you need this 3 lines added in you local_manifest: alsa-utils are some alsa related command-line tools like aplay alsa_ctl and amixer which are playing configuring and controlling the mixer respectively. alsa-lib is a library that this alsa-tool depend upon (I think) and if I understand correctly alsa_sound is the interface between anddroid and alsa. to enable all of this in the compilation add this 2 lines to your BoardConfig.mk BOARD_USES_ALSA_AUDIO := true BUILD_WITH_ALSA_UTILS := true -md On Apr 30, 8:14 am, cindy_king_1024 wrote: > Hi,make a disturb > how to get the alsa-util,and what's the main effect about alsa-lib? > > 在2009-04-27 14:24:09,dmoti 写道: > > > > >Found a solution: > > >edit ./build/target/product/generic_with_google.mk > > >and put under remark 3 lines starting with PRODUCT_COPY_FILES (with > >#) > > >I'm not sure about remarking the gtalkservice but since every compile > >takes a long time I didn't have a chance to test it. > > >keep in mind that it'll probably disable google maps and gtalk! > > >also I noticed that the alsa utils executables are prefixed with alsa_ > >and placed at /system/bin/ > > >-md > > >On Apr 27, 12:26 am, fala70 wrote: > >> me too I've same problem > >> somebody can help ? > > >> thanks > > >> On 26 Apr, 17:32, dmoti wrote: > > >> > Thanks Androidphan, > > >> > I think that the problem is that I didn't have hardware/alsa_sound > >> > package so I added it to > >> > the local_manifest.xml now the problem is: > > >> > make: *** No rule to make target `vendor/google/frameworks/maps/ > >> > com.google.android.maps.xml', needed by `out/target/product/eee_701/ > >> > system/etc/permissions/com.google.android.maps.xml'. Stop. > > >> > It's not related to the alsa_sound addition I made since it fails like > >> > this even without it. > >> > can someone provide a little bit more details regarding the build > >> > setup: > >> > the contents of localmanifest platform compiler and library used in > >> > case that the problem is with my setup > >> > (I tryied ubuntu 8.10, 9.04 with gcc-4.2) > > >> > -md > > >> > On Apr 22, 7:49 pm, Androidphan wrote: > > >> > > You should clean your project and build all over again. > > >> > > On Apr 22, 1:58 pm, dmoti wrote: > > >> > > > Thanks! > >> > > > I did it with this local_manifest.xml: > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > > >> > > > it took me a while to figure it out so I'm puting it here for future > >> > > > generations :-) > > >> > > > it synced OK but when I build it I got this: > > >> > > > make: *** No rule to make target `out/target/product/eee_701/obj/lib/ > >> > > > libaudio.so', needed by `out/target/product/eee_701/obj/EXECUTABLES/ > >> > > > alsa_amixer_intermediates/LINKED/alsa_amixer'. Stop. > > >> > > > any ideas? > > >> > > > On Apr 22, 10:28 am, Androidphan wrote: > > >> > > > > I just downloaded thealsa-lib andalsa-utils with repo, you need to > >> > > > > download it with a local_manifest file. > >> > > > > Then turn on BOARD_USES_ALSA_AUDIO := true and > >> > > > > BUILD_WITH_ALSA_UTILS := true at asus/eee_701/BoardConfig.mk. > > >> > > > > Then it builds Android with thealsalibrary and thealsautils. Then > >> > > > > you need a proper asound.conf to get your sound working. > > >> > > > > On Apr 21, 4:52 pm, dmoti wrote: > > >> > > > > > Hi people, > >> > > > > > I followed this discussion and I'm trying to do what you did and > >> > > > > > I just need the configure line you used for bothalsa-lib andalsa- > >> > > > > > utils > > >> > > > > > thanks, > >> > > > > > -md > > >> > > > > > On Apr 17, 9:28 pm, Luca Belluccini wrote: > > >> > > > > > > Ok i see them ... Sorry :D > > >> > > > > > > On 17 Apr, 18:57, Androidphan wrote: > > >> > > > > > > > It probably is possible to addalsa-utils to your local_manifest and > >> > > > > > > > put BUILD_WITH_ALSA_UTILS := true inside your BoardConfig.mk and then > >> > > > > > > > run alsa_ctl. > > >> > > > > > > > On Apr 17, 5:27 pm, Luca Belluccini wrote: > > >> > > > > > > > > Thanks! I'm preparing a ubuntu live for getting allalsacontrols. > > >> > > > > > > > > On 17 Apr, 16:44, Androidphan wrote: > > >> > > > > > > > > > My asound.conf can be found here:http://pastebin.com/f41e6b204 > > >> > > > > > > > > > I also added the following to init.rc : > >> > > > > > > > > > setpropalsa.mixer.playback.master Front > >> > > > > > > > > > setpropalsa.mixer.capture.master Capture > >> > > > > > > > > > setpropalsa.mixer.playback.earpiece Master > >> > > > > > > > > > setpropalsa.mixer.capture.earpiece Capture > >> > > > > > > > > > setpropalsa.mixer.playback.headset Master > >> > > > > > > > > > setpropalsa.mixer.playback.speaker Master > > >> > > > > > > > > > I don't know how to play video files yet, haven't tried actually. > >> > > > > > > > > > But I ran Mediascanner from Dev tools, then it found my mp3 inside > >> > > > > > > > > > 'Music' and that played well. > > >> > > > > > > > > > On 17 apr, 14:56, L