Can anyone tel me the functionality of directions() method in AndroiBidi class.I need complete logic how android fills directions array.
On Mon, Nov 21, 2011 at 11:44 AM, <android-developers@googlegroups.com> wrote: > Today's Topic Summary > > Group: http://groups.google.com/group/android-developers/topics > > No AVDs from Emulator since last update [1 Update] > Is the ICS emulator calendar sync broken? [5 Updates] > how to apply preference style in user-defined theme [2 Updates] > How to set submenu header icon in XML? [1 Update] > Lots of "the layout ID xyz is not valid" errors in ADT r15 [4 Updates] > Action Bar [3 Updates] > Is Spinner.setOnItemClickListener() supposed to work, or not? [2 Updates] > Phone model penetration [2 Updates] > Auto-rotate screen flag [1 Update] > Multiple layouts [1 Update] > How can I save image on sd card with onpreviewfame?????? [1 Update] > > No AVDs from Emulator since last update > > gus <a27...@gmail.com> Nov 20 09:39PM -0800 > > I can no longer get any avds to launch. > I can create them, but they will not start (from targets 2.2 up to > 4.0) > I am running Windows XP and have the latest updates for eclipse and > android addons. > > Problems occurred after updates for both eclipse and android were > installed 3 weeks ago (approx Oct 26th, 2011) > Now I cannot get avds to load. > I have installed and uninstalled the avds. > I have run the emulator from the command line. > I have re-installed sdk tools 15 > I have installed latest android and eclipse updates today (Nov21st, > 2011) > All to no avail. > > The error is ALWAYS the same and the debugger ALWAYS flags the SAME > offset (see below). > > I have looked through, and tried, all the 'helps' that I can find > including no snapshot, different resolutions, etc, etc, etc. > > I would have hoped the latest updates would fix it - - but I have now > been without an avd for more than 3 weeks and it is seriously > restricting my work. > > Please - Can Anyone Help?!? > > Details of problem: > > 1. Black Screen pops up, titled: > SDL_app > > 2. then error message: > emulator-arm.exe has encountered a problem and needs to close. We are > sorry for the inconvenience. > > 3. and clicking 'further details' gives: > AppName: emulator-arm.exe AppVer: 0.0.0.0 ModName: emulator-arm.exe > ModVer: 0.0.0.0 Offset: 00078334 > > 4. and clicking debug gives: > C++ debugger > unhandled exception in emulator-arm.exe: 0xC0000005: Access Violation >>>>7C901230 int 3 > 7C901231 ret > 7C901232 mov edi,edi > 7C901234 nop > 7C901235 nop > . > . > 00478327 mov cl,byte ptr [ebp+8] > 0047832A shl ebx,cl > 0047832C jmp 0047837D > 0047832E ??? > 0047832F nop > 00478330 mov edx,dword ptr [esp+24h] >>>>00478334 mov eax,dword ptr [edx] > 00478336 mov ecx,dword ptr [ebp+10h] > 00478339 mov ebx,dword ptr [ebp+14h] > 0047833C and ecx,eax > 0047833E mov edi,eax > 00478340 mov dword ptr [esp+4Ch],ecx > 00478344 xor ecx,ecx > > > > Is the ICS emulator calendar sync broken? > > GJTorikian <gjtorik...@gmail.com> Nov 20 07:01PM -0800 > > I created a new emulator with the Level 14 Google APIs. I can add my > Google account, but sync is off, with no discernable way to turn it > back on. > > > > Zsolt Vasvari <zvasv...@gmail.com> Nov 20 07:13PM -0800 > > Yes, this has been discussed extensively. You cannot use a Google > account for syncing calendars on the emulator. You can use an > Exchange account, though, with a gmail address and a blank domain. > > > > > GJTorikian <gjtorik...@gmail.com> Nov 20 08:14PM -0800 > > And how would I go about adding contacts, to test viewing/manipulating > contact data? There doesn't seem to be a way to do that. > > > > > Zsolt Vasvari <zvasv...@gmail.com> Nov 20 08:32PM -0800 > > I thought you asked about Calendars, not Contacts.... > > > > > GJTorikian <gjtorik...@gmail.com> Nov 20 09:02PM -0800 > > I can ask two different questions in one thread.... > > The issue is synching. If I add my Gmail address as an Exchange > account, I get a half-assed way to manipulate the calendar. Fine. But > what if I want to test the way I manipulate contacts in my app? What > if I want to test market licensing on an ICS app? > > > > > how to apply preference style in user-defined theme > > Bacon021 <wei.pg...@gmail.com> Nov 20 06:13PM -0800 > > My god, Does Google can't give any advice? > > > > > William Ferguson <william.ferguson...@gmail.com> Nov 20 07:16PM -0800 > > I'm pretty certain there is no such style property as > "android:layout". Layout is NOT style. > What are you trying to do? > > William > > > > > > How to set submenu header icon in XML? > > limtc <thyech...@gmail.com> Nov 20 04:06PM -0800 > > I used to use program menu using Java and I can add icon to submenu. > > http://developer.android.com/reference/android/view/SubMenu.html#setHeaderIcon(int) > > As I am switching to XML format for menu, I am wondering how do I add > icon to submenu? It does not seem to have an icon attribute for > <menu>. > > > > Lots of "the layout ID xyz is not valid" errors in ADT r15 > > olefevre <lefev...@googlemail.com> Nov 20 02:08PM -0800 > >> FWIW, I have never seen that error. Moreover, if everyone were seeing >> those errors, we'd've heard about them by now. > > Mark, with all dues respect, you write example code for a manual; that > is not real-world code. According to the bug entry obligingly pointed > to by B Lyon I am hardly alone in my predicament. > >> What version of Eclipse are you on? > > Indigo on Windows XP 32bit. > > > > olefevre <lefev...@googlemail.com> Nov 20 02:10PM -0800 > >> is it only when includes are involved? might be related to this >> http://code.google.com/p/android/issues/detail?id=21051 > > That totally looks like my problem indeed; my project even reference a > library, too. Since the handling of libraries has changed in r14/15 > they might indeed be involved in this somehow. > >> starting eclipse with "-clean" worked for me, but I think that might >> not have worked for some folks > > Yes, if one thing is sure with Eclipse it is that whatever problem you > have will recur. I hate the thing and wouldn't use it if the layout > editor wasn't such a life saver. > > Now, I looked at the shortcut I am using to start Eclipse and the bad > news is that I am already starting it with -clean. > > > > Kostya Vasilyev <kmans...@gmail.com> Nov 21 01:29AM +0300 > > Have you tried making a fresh workspace and importing a fresh copy of your > sources? > > -- > Kostya Vasilyev > > > > Mark Murphy <mmur...@commonsware.com> Nov 20 06:13PM -0500 > >>> those errors, we'd've heard about them by now. > >> Mark, with all dues respect, you write example code for a manual; that >> is not real-world code. > > You don't know all of what I do. Not all of my work is for public display. > >> According to the bug entry obligingly pointed >> to by B Lyon I am hardly alone in my predicament. > > Sorry, I missed the reference to "include" in your original complaint. > That certainly narrows the scope -- my original take was that you were > indicating that everyone would be experiencing this problem on all > layouts in all projects. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! > > > > Action Bar > > Royston <roystonpcar...@gmail.com> Nov 20 01:24PM -0800 > > Mark, > It appears you are correct. If i run up a "large" emulator at 3.2 I > get the menu option but not at 3.1 or 3.0. I am not quite sure what > one should do to manage this situation. If there exists a 3.1 or 3.0 > Large device, there would be no access to menus. Any advice on how to > deal with this would be much appreciated. > > Regards > > Roy > > > > > > Royston <roystonpcar...@gmail.com> Nov 20 01:24PM -0800 > > Mark, > It appears you are correct. If i run up a "large" emulator at 3.2 I > get the menu option but not at 3.1 or 3.0. I am not quite sure what > one should do to manage this situation. If there exists a 3.1 or 3.0 > Large device, there would be no access to menus. Any advice on how to > deal with this would be much appreciated. > > Regards > > Roy > > > > > > Mark Murphy <mmur...@commonsware.com> Nov 20 04:28PM -0500 > >> one should do to manage this situation. If there exists a 3.1 or 3.0 >> Large device, there would be no access to menus. Any advice on how to >> deal with this would be much appreciated. > > There are no 3.0/3.1 -large devices. The ~7" tablet size was not > supported until Android 3.2. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! > > > > Is Spinner.setOnItemClickListener() supposed to work, or not? > > David Karr <davidmichaelk...@gmail.com> Nov 20 12:16PM -0800 > > When someone says "Oh, duh", that's an idiom for "I understand now". > > I was using "Selected", but I read the advice on "Click", and I didn't > notice the difference in method names. I don't have an issue anymore. > > Thanks. > > > > Kostya Vasilyev <kmans...@gmail.com> Nov 20 11:37PM +0300 > >> When someone says "Oh, duh", that's an idiom for "I understand now". > > I know :) > >> I was using "Selected", but I read the advice on "Click", and I didn't > > It just seemed like you maybe kept using the wrong one, despite the > "oh duh" moment. Sorry if I misunderstood. > >> notice the difference in method names. I don't have an issue anymore. > > Ok, great. > > > > > Phone model penetration > > Mark Murphy <mmur...@commonsware.com> Nov 20 08:58AM -0500 > > On Sun, Nov 20, 2011 at 8:52 AM, Efi Merdler-Kravitz >> :-) >> Why do you think appbrain are not reliable ? > > Well, I suppose it depends on how you define "reliable". It is > absolutely reliable as a picture of the most popular devices among > AppBrain users, barring AppBrain screwing up the counts somehow. If > you believe that AppBrain users are representative of your target > audience, then it should be fine for you. I think AppBrain users are > not representative of the general Android user population (most of > whom have probably never heard of AppBrain), and so this data might > skew more towards more-powerful devices, but that's just me. > > Any survey, whether free or fancy-paid ones, will have some sort of > bias. The stuff on the Android developer site for API levels, for > example, is only for requests made to the Android Market and therefore > will miss Market-less devices (Kindle Fire, various flavors of Nook, > first-generation ARCHOS tablets, etc.). > > My apologies for the attitude I copped on my previous reply -- I'm a > bit short on sleep. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > _The Busy Coder's Guide to Android Development_ Version 3.6 Available! > > > > Efi Merdler-Kravitz <efi.merd...@gmail.com> Nov 20 06:25AM -0800 > > That's fine. Appreciate your response. > > > > > Auto-rotate screen flag > > viktor <victor.scherb...@gmail.com> Nov 20 06:13AM -0800 > > Any solutions? > > > > > Multiple layouts > > Kostya Vasilyev <kmans...@gmail.com> Nov 20 01:16PM +0400 > > Assuming you mean the original Galaxy Tab P1000. > > According to Samsung, it is a -large device, so using res/layout-large, > or perhaps values-large/dimen.xml should work. > > Those new resource qualifiers are new with 3.2, and it's a runtime > version requirement. > > Layouts scaled to a portion of the screen and centered sounds like > compatibility mode. Make sure that <uses-sdk> is directly inside > <manifest>, like this: > > <?xml version="1.0" encoding="utf-8"?> > <manifest xmlns:android="http://schemas.android.com/apk/res/android" > package="..." > android:versionCode="..." > android:versionName="..." > > > <uses-sdk > android:minSdkVersion="4" > android:targetSdkVersion="13" /> > > <application .... and other stuff > > </manifest> > > -- Kostya > > 20.11.2011 12:31, Stephen Lebed пишет: > > -- > Kostya Vasilyev > > > > How can I save image on sd card with onpreviewfame?????? > > BelvCompSvs <fa829...@gmail.com> Nov 19 11:26PM -0800 > > do not decode or do anything other than write the file directly > ( unless you want to cipher ) > > the exact call to getExternalStorage varies some by target and may > give different locations some on devices > > reminds me of htc incredible no default external storage? May 21 2010 > - 22 messages - 8 authors > > On Nov 19, 10:33 am, "muhammad.ume...@hotmail.com" > > > > You received this message because you are subscribed to the Google Group > android-developers. > You can post via email. > To unsubscribe from this group, send an empty message. > For more options, visit this group. > > -- > 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 -- 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