Re: [android-developers] About scroll bar
Depends what your layout looks like and what part you want to scroll. Some code snippets might help someone answer you better. On Tue, Mar 1, 2011 at 6:47 AM, kajal patil wrote: > Hi All, > I am developing an android application.I have problem in scroll bar.I > did not get it where to add in main.xml file.Kindly suggest the solution. > Thanks. > > -- > 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
[android-developers] websockets in webkit
There appears to be websocket source in froyo. However, the makefiles seem to suggest it is not supported. Anyone have any success with building websocket support into 2.2. Will there be future support? -- 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
Re: [android-developers] Re: Disabling the USB port?
compile your own version of adbd that doesn't support said features. or just don't include adbd at all. On Mon, Sep 13, 2010 at 11:56 PM, Tez wrote: > > Mark, > There is a "adb_enabled" value in Settings.Secure. I think this is > related to USB debugging. > > >Niko20, > No, I don't work for AT&T > > -E > > On Sep 13, 10:43 pm, niko20 wrote: > > Tez, do you work for AT&T? > > > > On Sep 13, 12:35 pm, Mark Murphy wrote: > > > > > On Mon, Sep 13, 2010 at 12:55 PM, Tez wrote: > > > > If I understand you correctly, if I turn off USB debugging, Even if I > > > > connect the phone via cable, I won't be able to run commands such as > > > > "adb" etc. > > > > Is this correct? > > > > > Yes. > > > > > > If so, how is USB debugging turned off? > > > > > The user turns it off via the appropriate settings screen. I don't see > > > where it is exposed via Settings.System, or even Settings.Secure. > > > > > -- > > > Mark Murphy (a Commons Guy)http://commonsware.com| > http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy > > > > > Android Training...At Your Office:http://commonsware.com/training > > -- > 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
Re: [android-developers] Re: Importing existing projects to Android
Just try save the project again. It seems to be the case that those files get generated when it builds. A save in eclipse builds the package. On Thu, Jul 8, 2010 at 3:42 PM, kypriakos wrote: > > It seems that the gen dir is empty and that no generated java classes > are not being generated (no R.java etc.). I am assuming the Clean > Project > removed them (??). How can they be regenerated? > > Thanks again > > On Jul 8, 3:37 pm, kypriakos wrote: > > Never mind - I needed to manually clean up the build path file as well > > to > > match the fact that the lib didn't have those files anymore. So now I > > can > > compile the project with no errors either visible (with x next to the > > dir or > > any file in the project tree) or in the Error Log that Eclipse > > provides. > > However, still the plug in will complain when I try to run it with the > > same > > error msg 'The project contains errors ' ... makes no sense. > > > > On Jul 8, 3:18 pm, kypriakos wrote: > > > > > David - thanks very much for the detailed and very informative > > > response. I appreciate it. > > > I looked into the Error Log of the IDE and I did see that certain > > > libraries (external libraries > > > that I needed to reference through my code, such as BouncyCastle etc.) > > > had also a txt > > > file with them that the Android plug in didn't like. By removing them > > > I was able to remove > > > those errors. However, what's interesting now is that after I also did > > > a Clean on the pioject, > > > all of the bin classes I had in the bin directory are not being > > > regenerated. I checked the IDE's > > > configuration and it does has the project to build automatically. I > > > can see the workspace > > > build progress flash at the bottom bar but no classes (even after > > > refreshing the view) generated > > > in the bin. This makes no sense unless those txt files are necessary > > > for using their corresponding > > > libs: > > > (1) if that is the case, where could I include those txt licenses in > > > the case of Android > > > (2) if not then what would cause the classes that about 10 mins were > > > generating output binaries > > > to do it now as we. > > > > > Thanks aga > > > > > On Jul 7, 7:03 am, "Bagatelle: David Lee Evans" > > > wrote: > > > > > > On Jul 7, 1:07 am, Demetris wrote: > > > > > > > Hi all, > > > > > > > I generated a standard Android under Eclipse (using the plugin) and > I > > > > > imported code from an existing project (J2SE-based). I was able to > > > > > iron out all the complaints from the Android SDK 2.1 (compile > errors). > > > > > However, the runtime (emulator startup) the IDE displays a message > > > > > saying that the project contains errors, please fix them before > running > > > > > it. But all that there is there are warnings - is Android > "unforgiving" > > > > > about Java warnings or is there something else I should be looking > into > > > > > in there - no class has any compile errors. > > > > > > > Thanks > > > > > > Without seeing the exact Eclipse error output, I am assuming the > > > > following. > > > > When you view your project in the package explorer window, your > > > > project has > > > > an error X icon next to it, but looking at the project tree > > > > structure there is no offending > > > > error X icon next to any other directory. So I going to suggest a > > > > shotgun approach > > > > to fix your problem, probably all you have tried. > > > > > > 1)The always first move that I always do is clean the project, > > > > sometimes the Eclipse ADT gets a little confuse about the state of > the > > > > project. > > > > > > 2) Since you imported the project from another source project, > > > > check the AndroidManifest.xml file for incompatibility problems > > > >makes sure is the attribute tag android:minSdkVersion if > > > > defined is appropriate for the project. > > > > > > 3) Then there is the hidden .project file that ant uses to build > > > > the project, make sure that file exist because if it does not, > > > >it will give you the exact same symptoms that you have > > > > describe. It should have been create for you by the Eclipse IDE when > > > >you created an Android project. > > > > > > And about Android warnings, my projects have a lot of them ;-) > > > > but this has never caused the emulator to start up, so unless > > > > you have some special flag set that I have never heard of I > don't > > > > think that the warnings would abort an emulator launch. > > -- > 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
Re: [android-developers] Re: Build Error
My first response when looking at your error was that you need to point your libz.so to your 32 bit version. I would try that first and see if that works. Try doing an 'ls -l' on /usr/lib/libz.so and see where that points. My first guess is that you need to create a symlink to the 32bit version, /usr/lib32/libz.so. On Wed, Jul 7, 2010 at 10:06 PM, Taewoong Kim wrote: > My dev environment is ubuntu 10.04(32bit) on 64bit cpu(dual). > Is this problem? > > 2010/7/8 Robert Craig > >> it could be a 64 bit versus 32 bit issue. what does your dev environment >> look like? >> >> On Wed, Jul 7, 2010 at 9:03 PM, Taewoong Kim wrote: >> >>> I have a same problem. >>> >>> but I could not have solution. >>> >>> >>> >>> 2010/7/6 David Rhodus >>> >>> Anyone seen this ? >>>> I feel like I'm just missing a package or something easy. >>>> >>>> On Sun, Jul 4, 2010 at 6:24 PM, David Rhodus >>>> wrote: >>>> > Any Suggestions ??? >>>> > >>>> > >>>> > apt-get install git-core gnupg sun-java6-jdk flex bison gperf >>>> > libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl >>>> > libncurses5-dev zlib1g-dev g++-multilib >>>> > repo sync >>>> > >>>> > r...@myhost:/home/android# make showcommands >>>> > >>>> > PLATFORM_VERSION_CODENAME=AOSP >>>> > PLATFORM_VERSION=AOSP >>>> > TARGET_PRODUCT=generic >>>> > TARGET_BUILD_VARIANT=eng >>>> > TARGET_SIMULATOR= >>>> > TARGET_BUILD_TYPE=release >>>> > TARGET_BUILD_APPS= >>>> > TARGET_ARCH=arm >>>> > HOST_ARCH=x86 >>>> > HOST_OS=linux >>>> > HOST_BUILD_TYPE=release >>>> > BUILD_ID=OPENMASTER >>>> > >>>> > Install: out/host/linux-x86/framework/apicheck.jar >>>> > out/host/linux-x86/bin/acp -fpt >>>> > out/host/common/obj/JAVA_LIBRARIES/apicheck_intermediates/javalib.jar >>>> > out/host/linux-x86/framework/apicheck.jar >>>> > Install: out/host/linux-x86/framework/clearsilver.jar >>>> > out/host/linux-x86/bin/acp -fpt >>>> > >>>> out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar >>>> > out/host/linux-x86/framework/clearsilver.jar >>>> > Install: out/host/linux-x86/framework/droiddoc.jar >>>> > out/host/linux-x86/bin/acp -fpt >>>> > out/host/common/obj/JAVA_LIBRARIES/droiddoc_intermediates/javalib.jar >>>> > out/host/linux-x86/framework/droiddoc.jar >>>> > host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so) >>>> > g++ -Wl,-rpath-link=out/target/product/generic/obj/lib >>>> > -Wl,-rpath,\$ORIGIN/../lib -shared -Wl,-soname,libneo_cgi.so -m64 >>>> > -Lout/host/linux-x86/obj/lib >>>> > >>>> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/cgiwrap.o >>>> > out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/cgi.o >>>> > >>>> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/html.o >>>> > >>>> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/date.o >>>> > >>>> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/rfc2388.o >>>> >-Wl,--whole-archive -Wl,--no-whole-archive -lneo_util -lneo_cs >>>> > -o out/host/linux-x86/obj/lib/libneo_cgi.so -lz >>>> > /usr/bin/ld: skipping incompatible >>>> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../libz.so when searching for >>>> > -lz >>>> > /usr/bin/ld: skipping incompatible >>>> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../libz.a when searching for >>>> > -lz >>>> > /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for >>>> -lz >>>> > /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for >>>> -lz >>>> > /usr/bin/ld: cannot find -lz >>>> > collect2: ld returned 1 exit status >>>> > make: *** [out/host/linux-x86/obj/lib/libneo_cgi.so] Error 1 >>>> > r...@myhost:/home/android# >>>> > >>>> >>>> -- >>>> You received this message
Re: [android-developers] Re: Build Error
it could be a 64 bit versus 32 bit issue. what does your dev environment look like? On Wed, Jul 7, 2010 at 9:03 PM, Taewoong Kim wrote: > I have a same problem. > > but I could not have solution. > > > > 2010/7/6 David Rhodus > > Anyone seen this ? >> I feel like I'm just missing a package or something easy. >> >> On Sun, Jul 4, 2010 at 6:24 PM, David Rhodus wrote: >> > Any Suggestions ??? >> > >> > >> > apt-get install git-core gnupg sun-java6-jdk flex bison gperf >> > libsdl-dev libesd0-dev libwxgtk2.6-dev build-essential zip curl >> > libncurses5-dev zlib1g-dev g++-multilib >> > repo sync >> > >> > r...@myhost:/home/android# make showcommands >> > >> > PLATFORM_VERSION_CODENAME=AOSP >> > PLATFORM_VERSION=AOSP >> > TARGET_PRODUCT=generic >> > TARGET_BUILD_VARIANT=eng >> > TARGET_SIMULATOR= >> > TARGET_BUILD_TYPE=release >> > TARGET_BUILD_APPS= >> > TARGET_ARCH=arm >> > HOST_ARCH=x86 >> > HOST_OS=linux >> > HOST_BUILD_TYPE=release >> > BUILD_ID=OPENMASTER >> > >> > Install: out/host/linux-x86/framework/apicheck.jar >> > out/host/linux-x86/bin/acp -fpt >> > out/host/common/obj/JAVA_LIBRARIES/apicheck_intermediates/javalib.jar >> > out/host/linux-x86/framework/apicheck.jar >> > Install: out/host/linux-x86/framework/clearsilver.jar >> > out/host/linux-x86/bin/acp -fpt >> > out/host/common/obj/JAVA_LIBRARIES/clearsilver_intermediates/javalib.jar >> > out/host/linux-x86/framework/clearsilver.jar >> > Install: out/host/linux-x86/framework/droiddoc.jar >> > out/host/linux-x86/bin/acp -fpt >> > out/host/common/obj/JAVA_LIBRARIES/droiddoc_intermediates/javalib.jar >> > out/host/linux-x86/framework/droiddoc.jar >> > host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so) >> > g++ -Wl,-rpath-link=out/target/product/generic/obj/lib >> > -Wl,-rpath,\$ORIGIN/../lib -shared -Wl,-soname,libneo_cgi.so -m64 >> > -Lout/host/linux-x86/obj/lib >> > >> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/cgiwrap.o >> > out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/cgi.o >> > out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/html.o >> > out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/date.o >> > >> out/host/linux-x86/obj/SHARED_LIBRARIES/libneo_cgi_intermediates/rfc2388.o >> >-Wl,--whole-archive -Wl,--no-whole-archive -lneo_util -lneo_cs >> > -o out/host/linux-x86/obj/lib/libneo_cgi.so -lz >> > /usr/bin/ld: skipping incompatible >> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../libz.so when searching for >> > -lz >> > /usr/bin/ld: skipping incompatible >> > /usr/lib/gcc/i486-linux-gnu/4.4.1/../../../libz.a when searching for >> > -lz >> > /usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for >> -lz >> > /usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for >> -lz >> > /usr/bin/ld: cannot find -lz >> > collect2: ld returned 1 exit status >> > make: *** [out/host/linux-x86/obj/lib/libneo_cgi.so] Error 1 >> > r...@myhost:/home/android# >> > >> >> -- >> 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 > -- 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
[android-developers] FROYO build
WHen building FROYO i notice a BUILD_ID = OPENMASTER. I s this by design or is the final FROYO git push not available yet? -- 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