[android-developers] Re: Getting the City and country Name based on Phone Number
Sure there are, but not on this forum as it has nothing to do with Android. On Aug 19, 1:44 pm, Avtar Guleria avtar.si...@daffodilsw.com wrote: Is there any way to find out the city and country name from where the call is coming based on phone number of user (Incoming call number). -- 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] htonl support C++ , how to same function implement in java code
Hello Developers, Please help me, htonl() = host to network long . This method convert host to network in C++/c language i want same conversion in java host to network some one plz help me . Thanks, Naveen -- 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] Re: htonl support C++ , how to same function implement in java code
Get the source code to the C function and move it to Java, should be trivial. Of course, respect any licensing restrictions, if any. On Aug 19, 2:03 pm, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hello Developers, Please help me, htonl() = host to network long . This method convert host to network in C++/c language i want same conversion in java host to network some one plz help me . Thanks, Naveen -- 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: htonl support C++ , how to same function implement in java code
Thanks, i am trying to customize C++ code in java. On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari zvasv...@gmail.com wrote: Get the source code to the C function and move it to Java, should be trivial. Of course, respect any licensing restrictions, if any. On Aug 19, 2:03 pm, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hello Developers, Please help me, htonl() = host to network long . This method convert host to network in C++/c language i want same conversion in java host to network some one plz help me . Thanks, Naveen -- 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 - Naveen Shrivastava -- 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: htonl support C++ , how to same function implement in java code
#define HTONL(n) (unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF)) 24) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF00)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF00)) 24))#define NTOHL(n) (unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF)) 24) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF00)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF00)) 24)) On Fri, Aug 19, 2011 at 11:43 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Thanks, i am trying to customize C++ code in java. On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari zvasv...@gmail.comwrote: Get the source code to the C function and move it to Java, should be trivial. Of course, respect any licensing restrictions, if any. On Aug 19, 2:03 pm, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hello Developers, Please help me, htonl() = host to network long . This method convert host to network in C++/c language i want same conversion in java host to network some one plz help me . Thanks, Naveen -- 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 - Naveen Shrivastava Please help me getting this perfect code in C++ -- 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: htonl support C++ , how to same function implement in java code
i have solved my problem by myself. Thanks advance On Fri, Aug 19, 2011 at 11:58 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: #define HTONL(n) (unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF)) 24) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF00)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:55) 0xFF00)) 24))#define NTOHL(n) (unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF)) 24) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF00)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF)) 8) | \ unsigned long)(n http://www.jbox.dk/sanos/source/include/net/inet.h.html#:60) 0xFF00)) 24)) On Fri, Aug 19, 2011 at 11:43 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: Thanks, i am trying to customize C++ code in java. On Fri, Aug 19, 2011 at 11:38 AM, Zsolt Vasvari zvasv...@gmail.comwrote: Get the source code to the C function and move it to Java, should be trivial. Of course, respect any licensing restrictions, if any. On Aug 19, 2:03 pm, N K Shrivastva kumarnaveen.si...@gmail.com wrote: Hello Developers, Please help me, htonl() = host to network long . This method convert host to network in C++/c language i want same conversion in java host to network some one plz help me . Thanks, Naveen -- 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 - Naveen Shrivastava Please help me getting this perfect code in C++ -- 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] titlebarcolor
How to change the title bar background color i given like this in the color folder resources color name=black#ffoo/color /resources Thanks in advance.. -- 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] Andriod Ebooks
You can use this ebook for android http://android-codes-examples.blogspot.com/2011/04/android-books-you-can-download-android.html and the below link is for sqlite http://android-codes-examples.blogspot.com/2011/04/download-android-sqlite-books.html On Thu, Aug 18, 2011 at 8:39 AM, Moul Kakada moul.kak...@gmail.com wrote: Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Best Regard Kakada -- 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] Update ad view every 30 seconds
No I got it working. The method Mark suggested was fine. Some error in R.java cause a resource on my sensor change to be reffered to as the same one, calling it again and again. I deleted R.java, had it recreated and now it is fine. Thanks On Fri, Aug 19, 2011 at 5:58 AM, TreKing treking...@gmail.com wrote: This might help: http://developer.android.com/resources/articles/timed-ui-updates.html - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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 -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] titlebarcolor
Hi, You just mention the color inside of the laout like this... RelativeLayout android:layout_height=30dp android:layout_width=fill_parent android:id=@+id/logo android:paddingTop=5dip android:paddingBottom=5dip android:background=#d3d3d3 TextView android:id=@+id/headtext android:layout_width=fill_parent android:layout_height=fill_parent android:textStyle=bold android:textColor=@color/black android:gravity=left android:text=Title/ /RelativeLayout On Fri, Aug 19, 2011 at 12:15 PM, arun kumar arun.kata...@gmail.com wrote: How to change the title bar background color i given like this in the color folder resources color name=black#ffoo/color /resources Thanks in advance.. -- 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] Andriod Ebooks
thanks so much. Kakada On Fri, Aug 19, 2011 at 1:49 PM, Antony K k.antony.m...@gmail.com wrote: You can use this ebook for android http://android-codes-examples.blogspot.com/2011/04/android-books-you-can-download-android.html and the below link is for sqlite http://android-codes-examples.blogspot.com/2011/04/download-android-sqlite-books.html On Thu, Aug 18, 2011 at 8:39 AM, Moul Kakada moul.kak...@gmail.comwrote: Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Best Regard Kakada -- 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
Re: [android-developers] Andriod Ebooks
Refer android developer official wiki at their official home. On 8/19/11, Moul Kakada moul.kak...@gmail.com wrote: thanks so much. Kakada On Fri, Aug 19, 2011 at 1:49 PM, Antony K k.antony.m...@gmail.com wrote: You can use this ebook for android http://android-codes-examples.blogspot.com/2011/04/android-books-you-can-download-android.html and the below link is for sqlite http://android-codes-examples.blogspot.com/2011/04/download-android-sqlite-books.html On Thu, Aug 18, 2011 at 8:39 AM, Moul Kakada moul.kak...@gmail.comwrote: Hello all developer I am new in andriod, so would you mind sending me the ebook download link or web tutorial? Best Regard Kakada -- 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 -- 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] Tabhost background image
Hello, Am using tabhost in my application .In its tab I had put background images. Now I want to increase size of its background image.But images of all px get wraped inside it.Please guide me. Thank you. -- 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] android.hardware.location.gps guarantees existence of LocationManager.GRS_PROVIDER?
Hello, This might be misunderstanding of the hardware features (please let me know if I was wrong), however, I made an assumption: If the application declares uses-feature android.hardware.location.gps, then it should NOT be offered on the devices without GPS provider. Is this correct? The problem is, I now see a couple of java.lang.IllegalArgumentException: provider=gps thrown from android.location.ILocationManager$Stub$Proxy.isProviderEnabled May I assume these are some sort of broken (custom) ROMs that somehow report GPS abilities to the Market without actually having the GPS hardware? Thank you. -- 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] Jni To Java BLock THe UI thread.
Hi, Can u show a dialog box from callbox? I am getting callback but the dialog box is not appearing. used loopers and handlers still no luck. Let me know if you had implemented dialog box from the callback. -- Regards Vikas KM On Mon, Aug 9, 2010 at 8:23 PM, AlreadyAMember quatern...@gmail.com wrote: I am sure This has been asked a bunch of times. And I did look around before posting here but could not find exactly an answer. I have 2 threads running. One, the activity itself (UI thread), the other is the networking logic implemented in C. Second thread is also created in Java not with p_threads or anything. So I create the second thread and call a C function which does the networking and Loops and Loops and Loops. During this loop in C in case of an error I would like to callback the java UI thread and pop up a dialog from C , the KEY is C has to block and wait. So if I create a thread and set up a handler in Java to show the DIalog the the native C code won't block. I have also looked in to Loopers Thinking that it could be helpful to block the C code. Now of course I could be naive and write a while(wait) in c and as soon as dialog is closed I can make a native call from java and set the wait to false. But that is just not cool. Any help is appreciated. 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] Read the Android SDK Doc in no-frame
Hi all, Does any method that user read the Android SDK Doc in No-Frame mode? It like to read the Java API Doc in a no-frame mode. 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
[android-developers] Designing Wallpapers, Screensaver
Hello, is there a guide available about to create Wallpapers and Screensavers (gif animated)? Thanks Daniel -- 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] Using AppWidget in our apps
do you mean it is possible to have an application with multiply widgets? i want to have my application bind a widget, but i still haven't find a way by now. 2011/8/16 Richard Lalancette richard.lalance...@gmail.com Hi all, I had hope to use the AppWidget in our next solution concept, but I have faced a serious problem doing so yesterday. Adding widgets to our app worked like a charm until I started looking into saving the current widget to be able to restore them on the next launch of our app. A large part of the app was to rely on restoring widgets upon reload, but unfortunately I couldn't figure out how to do so. If any of you have information on saving and restoring AppWidget states, I would love to hear. I have tried using bindAppWidgetId(appWidgetId, widget); but this is not allowed by the system and returns a system exception. Other solutions found on the web rely on copying my app to the /system/... folder, but that would mean I need to root the device and remove the read-only flag from that folder which I do not wish to do. It would be totally not practical to re-pick all widgets each time the app is launched, this is just make any sense. Thanks in advance Richard Lalancette Mobile Application Developer Alcatel-Lucent Canada Ottawa, Ontario, Canada -- 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] Zooming Layout
Hi All, I have a requirement to zoom entire Relative layout .I found zooming APIs only from Android 3.0 View.setPivotX(pivot.x); View.setPivotY(pivot.y); View.setScaleX(scaleX); View.setScaleY(scaleY); We are currently working in Gingerbread.How to use these APIs in Gingerbread. Is it possible to get patches and apply in gingerbread so that we can make use of these APIs in Gingerbread. Any pointers? Regards Bhavani -- 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]
Sent from your iPhone?? 2011/8/19 Ashita loril...@gmail.com Sent from my iPhone -- 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] Re: How to handle sequential touches?
Thanks for the answer. Can you give me a short example please? I'm only beginner in android and... ok I'm beginner :) On aug. 19, 01:15, TreKing treking...@gmail.com wrote: On Thu, Aug 18, 2011 at 3:06 PM, Zwiebel hunzwie...@gmail.com wrote: But I don't know how I can handle multiple touch events. I know that I need an on touch event method and in it I need an if -else statement for the first click but I don't know how I can monitor the second, third etc. Store a flag for each touch event and check them as each picture is touched. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] resolution
hi resolution 320*480 is equal to 320 width in pixel and 480 height in pixel both are equal or difference. i given the device metrics and find the height and width it appearing good...but when i made(ecllipsewindowsandroid sdk and avd managernew built resolution(here i given 320*480)here the home screen icon which appearing on the device are merging together) does both process is right are any difference between them... Thanks in advance... -- 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] titlebarcolor
thanks for reply by default the title bar is appearing on the screen(3.0)...by giving in the string.xml am able to get Dialog title on the device..i have to change the background color. string name=app_nameDialog/string color name=red#ff/color Thanks in advance -- 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] Getting the City and country Name based on Phone Number
With number portability and VoIP there is no more guaranty that the city information is accurate (at least in the USA) -- 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] Update ad view every 30 seconds
On Fri, Aug 19, 2011 at 3:16 AM, Appaholics raghavs...@appaholics.in wrote: No I got it working. The method Mark suggested was fine. Some error in R.java cause a resource on my sensor change to be reffered to as the same one, calling it again and again. I deleted R.java, had it recreated and now it is fine. If you do command-line builds, I always recommend chaining clean onto your target list (e.g., ant clean install), unless you have a really big project and a really slow development machine. Alas, I don't know the equivalent in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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: App Crash during HTTP Post
On Fri, Aug 19, 2011 at 1:28 AM, perumal316 perumal...@gmail.com wrote: I am using File Entity to get the file and subsequently do HTTP Post as shown in the code snippet below. HttpClient client = new DefaultHttpClient(); HttpPost post = new HttpPost(postURL); FileEntity bin = new FileEntity(file, postURL); post.setEntity(bin); HttpResponse response = client.execute(post); Not sure whether this way of doing the HTTP Post is causing a crash when the file size is too big. That would be a question for the people who wrote HttpClient. Or, you can examine the source code for HttpClient (and stuff like FileEntity) yourself. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Zooming Layout
On Fri, Aug 19, 2011 at 5:09 AM, bhavani sankari bhavani...@gmail.com wrote: I have a requirement to zoom entire Relative layout .I found zooming APIs only from Android 3.0 View.setPivotX(pivot.x); View.setPivotY(pivot.y); View.setScaleX(scaleX); View.setScaleY(scaleY); We are currently working in Gingerbread.How to use these APIs in Gingerbread. You don't. Is it possible to get patches and apply in gingerbread so that we can make use of these APIs in Gingerbread. No, sorry. I have not tried those methods and do not know if they would be suitable for zooming in the first place. In theory, they should, but in theory, so would a ScaleAnimation. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Andriod Ebooks
Please do not advocate piracy. Developers on this list complain all the time about people pirating their apps -- please do not advocate piracy of other materials. On Fri, Aug 19, 2011 at 2:49 AM, Antony K k.antony.m...@gmail.com wrote: You can use this ebook for android http://android-codes-examples.blogspot.com/2011/04/android-books-you-can-download-android.html and the below link is for sqlite http://android-codes-examples.blogspot.com/2011/04/download-android-sqlite-books.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible
On Fri, Aug 19, 2011 at 3:31 AM, Appaholics raghavs...@appaholics.in wrote: The app is Speed Ball Augmented Reality. I am attaching a screenshot of the page you mentioned. The Asus EEE Pad series are not phones. READ_PHONE_STATE *might* imply a uses-feature of android.hardware.telephony. Try adding your own such uses-feature with android:required=false and see if that helps. READ_PHONE_STATE is not on the list of permissions with this effect: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions OTOH, it's close enough that it could be a documentation bug. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Update ad view every 30 seconds
I use eclipse and the speed of my machine is not a problem (i7, 2.0 x 8 ghz) Thanks On Fri, Aug 19, 2011 at 4:15 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 3:16 AM, Appaholics raghavs...@appaholics.in wrote: No I got it working. The method Mark suggested was fine. Some error in R.java cause a resource on my sensor change to be reffered to as the same one, calling it again and again. I deleted R.java, had it recreated and now it is fine. If you do command-line builds, I always recommend chaining clean onto your target list (e.g., ant clean install), unless you have a really big project and a really slow development machine. Alas, I don't know the equivalent in Eclipse. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible
It is not READ_PHONE_STATE. None of my apps can be installed on his EeePad, or on another friends Dell XCD35. Even https://market.android.com/details?id=com.raghavsood.appholicsrss doesn't appear to be compatible and all it needs is the internet permission. Market bug? Thanks On Fri, Aug 19, 2011 at 4:31 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 3:31 AM, Appaholics raghavs...@appaholics.in wrote: The app is Speed Ball Augmented Reality. I am attaching a screenshot of the page you mentioned. The Asus EEE Pad series are not phones. READ_PHONE_STATE *might* imply a uses-feature of android.hardware.telephony. Try adding your own such uses-feature with android:required=false and see if that helps. READ_PHONE_STATE is not on the list of permissions with this effect: http://developer.android.com/guide/topics/manifest/uses-feature-element.html#permissions OTOH, it's close enough that it could be a documentation bug. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] Re: Updating UI from second thread
What a wonderful answer. It's a great idea to answer everything with you don't know what you're doing and tell me to do it using worst possible method. Yeah, let's freeze the UI thread. It's gonna be cool. On 17 Sie, 23:17, Mark Murphy mmur...@commonsware.com wrote: On Wed, Aug 17, 2011 at 12:44 PM, Snowak psno...@gmail.com wrote: I have hundreds of CheckBox widgets in my layout That is unlikely to be a good idea. Obviously such heavy work should be done in separate thread, Not really. The only thing that this thread actually can do is looping through the list and posting the Runnable for every found checkbox. The problem is that all those Runnables arrive in the UI thread almost at the same time, thus they're all executed at once... The application behaves exactly like I would run the above code in the UI thread - everything freezes. A possible solution is sleeping for some miliseconds after each checkbox so the Runnable can be executed and the UI will have time to process the events... but it's more like a hack. How can I solve this problem? Redesign your UI to not have hundreds of CheckBox widgets at once. Or, update them on the main application thread and hope for the best. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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: Updating UI from second thread
On Fri, Aug 19, 2011 at 7:35 AM, Snowak psno...@gmail.com wrote: What a wonderful answer. It's a great idea to answer everything with you don't know what you're doing and tell me to do it using worst possible method. Yeah, let's freeze the UI thread. It's gonna be cool. Then redesign your UI to not have hundreds of CheckBox widgets at once. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Re: Who fires OnCreate event?
Thanks! Could you pls point me to a android documentation source that testifies this fact, so that I can take this aspect to a conclusion at my workplace. Thanks in advance. On Aug 19, 12:13 am, Mark Murphy mmur...@commonsware.com wrote: On Thu, Aug 18, 2011 at 10:48 AM, Pavan Kulkarni pavvu@gmail.com wrote: What if I want to customize the activity lifecycle and add a new event to it? Any guidance on what kind of changes needs to be done? You cannot change this, except via custom firmware, which is outside the scope of this group. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, One Low Price! -- 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: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible
On Fri, Aug 19, 2011 at 7:11 AM, Appaholics raghavs...@appaholics.in wrote: It is not READ_PHONE_STATE. None of my apps can be installed on his EeePad, or on another friends Dell XCD35. Even https://market.android.com/details?id=com.raghavsood.appholicsrss doesn't appear to be compatible and all it needs is the internet permission. Market bug? Possibly. If either of your friends have a file manager installed (e.g., Astro), email them an APK. Or, host the APK on a Web server with the proper MIME type settings for APK files. See if they can install it outside of the Market and run your app successfully. If it fails to install or run, then there's something real going on. If it works fine, it might be some Market hiccup. FWIW, I can tell you that: https://market.android.com/details?id=com.raghavsood.appholicsrss is available for all the devices I have tied into the Market, which includes two tablets and five phones. The same is true for Speed Ball AR. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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: Who fires OnCreate event?
On Fri, Aug 19, 2011 at 7:43 AM, Pavan Kulkarni pavvu@gmail.com wrote: Thanks! Could you pls point me to a android documentation source that testifies this fact, so that I can take this aspect to a conclusion at my workplace. http://source.android.com All of the classes you mentioned are part of the firmware. Firmware cannot be changed except by changing the firmware. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Update ad view every 30 seconds
On Fri, Aug 19, 2011 at 06:45:10AM -0400, Mark Murphy wrote: If you do command-line builds, I always recommend chaining clean onto your target list (e.g., ant clean install), unless you have a really big project and a really slow development machine. Alas, I don't know the equivalent in Eclipse. Would that equivalent be Project-Clean, which does a clean first, then builds (but by default, does so for every project in Eclipse)? Later, --jim -- 73 DE N5IAL (/4) | 1) Smoking habanero powder helps defeat that Running FreeBSD 7.0|off taste' quite nicely. spooky1...@gmail.com | 2) I figure a couple bong hits of [habanero] ICBM/Hurr.: / 30.44406N |powder would defeat just about anything! | 86.59909W--seen in Chile-Heads list Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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] video playing issue, how to resolve this one
08-19 17:36:16.139: ERROR/QCvdec(1294): get_parameter: unknown param 0ff7a347 08-19 17:36:16.179: ERROR/QCvdec(1294): Omx Flush issued when vdec is not initialized yet. 08-19 17:36:16.179: ERROR/QCvdec(1294): Unsupported profile, level, or widht, height 08-19 17:36:16.179: ERROR/QCvdec(1294): Unsupported clip 08-19 17:36:16.179: ERROR/QCvdec(1294): Omx Flush issued when vdec is not initialized yet. 08-19 17:36:16.179: ERROR/QCvdec(1294): Empty this buffer in Invalid State 08-19 17:36:16.179: ERROR/QCvdec(1294): Omx Flush issued when vdec is not initialized yet. 08-19 17:36:16.179: VERBOSE/PVPlayer(1294): check_for_live_streaming s=0, cancelled=0 08-19 17:36:16.179: ERROR/PVOMXVidDecNode(1294): Ln 1446 OMX_EventError nData1 -2147479542 nData2 0 08-19 17:36:16.179: ERROR/PlayerDriver(1294): HandleErrorEvent: PVMFErrProcessing 08-19 17:36:16.179: ERROR/PVOMXVidDecNode(1294): Ln 1446 OMX_EventError nData1 -2147479542 nData2 0 08-19 17:36:16.189: WARN/MediaPlayer(31513): info/warning (1, 44) 08-19 17:36:16.189: WARN/MediaPlayer(31513): info/warning (1, 26) 08-19 17:36:16.189: ERROR/MediaPlayer(31513): error (1, -18) 08-19 17:36:16.199: INFO/MediaPlayer(31513): Info (1,44) 08-19 17:36:16.209: WARN/QCvdec(1294): == 08-19 17:36:16.209: WARN/QCvdec(1294):Open Max Statistics 08-19 17:36:16.209: WARN/QCvdec(1294): == 08-19 17:36:16.209: WARN/QCvdec(1294): empty this buffer rate = 2366.864014 08-19 17:36:16.209: WARN/QCvdec(1294): empty this buffer total time = 845 08-19 17:36:16.209: WARN/QCvdec(1294): empty this buffer count = 2 08-19 17:36:16.209: WARN/QCvdec(1294): == 08-19 17:36:16.219: VERBOSE/PlayerDriver(1294): HandleInformationalEvent: PVMFInfoErrorHandlingComplete 08-19 17:36:16.219: WARN/PlayerDriver(1294): PVMFInfoErrorHandlingComplete 08-19 17:36:16.219: VERBOSE/PlayerDriver(1294): Send player code: 16 08-19 17:36:16.219: VERBOSE/PlayerDriver(1294): status=1 08-19 17:36:16.219: VERBOSE/PlayerDriver(1294): Send player code: 14 08-19 17:36:16.219: INFO/MediaPlayer(31513): Info (1,26) 08-19 17:36:16.219: ERROR/MediaPlayer(31513): Error (1,-18) -- 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] Update ad view every 30 seconds
On Fri, Aug 19, 2011 at 7:56 AM, Jim Graham spooky1...@gmail.com wrote: Would that equivalent be Project-Clean, which does a clean first, then builds (but by default, does so for every project in Eclipse)? Sorry -- I meant I didn't know how to do that on every build. Yes, that's how you clear up the issue, but you're either manually doing a Project-Clean each build or your are waiting for odd stuff to happen, then doing a Project-Clean. Whereas with the command-line builds, ant clean install was just a matter of course (and six extra keystrokes). Anyone know how to automate that better in Eclipse? I confess that I still wield Eclipse like a blunt instrument... -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Re: ISO 15693 card emulation
hi michael So there is no way at present in Android by which one can perform card emulation from Nexus S? And is it possible to perform card emulation using some third party libraries? Thanks in advance -- 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] Re: Jni To Java BLock THe UI thread.
On Monday, August 9, 2010 10:53:37 AM UTC-4, AlreadyAMember wrote: During this loop in C in case of an error I would like to callback the java UI thread and pop up a dialog from C , the KEY is C has to block and wait. So if I create a thread and set up a handler in Java to show the DIalog the the native C code won't block. I have also looked in to Loopers Thinking that it could be helpful to block the C code. Now of course I could be naive and write a while(wait) in c and as soon as dialog is closed I can make a native call from java and set the wait to false. But that is just not cool. Actually that is approximately the right idea, only it would be better if the waiting thread could simply ask the kernel scheduler not to run it until the wait condition is satisfied, by calling a kernel function that will block until that is the case. A semaphore is a classic operating system feature for accomplishing that. A method for accomplishing nearly as much without requiring as much understanding of operating system services would be to just put a substantial sleep in the loop. -- 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: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible
I tried that already. All of my apps work perfectly on the Dell. We tried Speed Ball AR on the tablet and it crashed with the same error that occurs on phones sometimes. So it is a market bug right? Thanks On Fri, Aug 19, 2011 at 5:16 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 7:11 AM, Appaholics raghavs...@appaholics.in wrote: It is not READ_PHONE_STATE. None of my apps can be installed on his EeePad, or on another friends Dell XCD35. Even https://market.android.com/details?id=com.raghavsood.appholicsrss doesn't appear to be compatible and all it needs is the internet permission. Market bug? Possibly. If either of your friends have a file manager installed (e.g., Astro), email them an APK. Or, host the APK on a Web server with the proper MIME type settings for APK files. See if they can install it outside of the Market and run your app successfully. If it fails to install or run, then there's something real going on. If it works fine, it might be some Market hiccup. FWIW, I can tell you that: https://market.android.com/details?id=com.raghavsood.appholicsrss is available for all the devices I have tied into the Market, which includes two tablets and five phones. The same is true for Speed Ball AR. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] Update ad view every 30 seconds
On Fri, Aug 19, 2011 at 08:02:47AM -0400, Mark Murphy wrote: On Fri, Aug 19, 2011 at 7:56 AM, Jim Graham spooky1...@gmail.com wrote: Would that equivalent be Project-Clean, which does a clean first, then builds (but by default, does so for every project in Eclipse)? Sorry -- I meant I didn't know how to do that on every build. Yes, that's how you clear up the issue, but you're either manually doing a Project-Clean each build or your are waiting for odd stuff to happen, then doing a Project-Clean. Anyone know how to automate that better in Eclipse? I confess that I still wield Eclipse like a blunt instrument... First, note that because my laptop is FAR from the dual core 10 TB RAM 200 THz CPU (ok, that's a slight exaggeration grin) system that's required to run the emulator, I have to do all work using my Motorola Bravo (MB520) for development. I also have not tried actually using it as the emulator (i.e., run from Eclipse, not install with adb[1] and THEN run from my phone, which is what I do now). So this is based on that In my case, then, it's either Project--Build or Project--Clean and then OK (or whatever it is) in the popup to tell it to proceed. Later, --jim [1] and I have a zsh alias for that: alias adbinstall='c:/android/android-sdk/platform-tools/adb install -r' -- 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W Do not look into laser with remaining eye! Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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] knowing when garbage collection occurs on a real device
On Aug 19, 2011 12:46 AM, rukiman ruksh...@optushome.com.au wrote: Hi, I noticed on the real device the garbage collection logs do not appear in logcat. Any way of knowing when a garbage collection occurred and how long it took? I am looking at animation performance and using the emulator isn't really an option and plus I'm guessing just cos a garbage collection occurs on an emulator at a certain point doesn't mean the device will behave the same way. By definition it will not. -- 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] how to integrate video codec for video view android
I am not getting any perfect way for codec implementation, plz help me other wise i think it's android drawback -- 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] Integrating ads into non xml apps
Hi, I am making the switch from Airpush to Greystripe due to negative user ratings. I have completed the switch in five out of nine apps. For the others I need your help. I have one game (balance) that uses the 2d graphics to render. How do I add ads to this. I have another app (Vortex) which uses OpenGL. Again, how do I add ads to this. Finally I have two games, one of which you may know from previous questions, that use AndEngine. They are Speed Ball and Speed Ball Augmented Reality. Again, how do I ad ads to this. I would prefer to overlay it over the rest of the game like in Angry Birds. Thanks -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible
On Fri, Aug 19, 2011 at 8:15 AM, Appaholics raghavs...@appaholics.in wrote: I tried that already. All of my apps work perfectly on the Dell. We tried Speed Ball AR on the tablet and it crashed with the same error that occurs on phones sometimes. So it is a market bug right? In the absence of any other theories, you are probably correct. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] how to integrate video codec for video view android
I am not getting any perfect way for codec implementation, plz help me I am not getting any perfect way of understanding your query. Please elaborate other wise i think it's android drawback I really doubt it. Thanks Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] how to integrate video codec for video view android
On Fri, Aug 19, 2011 at 8:30 AM, Naveen kumarnaveen.si...@gmail.com wrote: I am not getting any perfect way for codec implementation, plz help me other wise i think it's android drawback Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright (Android 2.2 and newer) are part of the firmware. If you are interested in developing firmware codecs, please find an appropriate list on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Integrating ads into non xml apps
One possibility is that they have their SurfaceView in a RelativeLayout, with the ad banner later in the RelativeLayout (i.e., later in the XML layout file), so it appears to overlap the SurfaceView. That's just a guess, though. I have overlaid widgets on a SurfaceView this way, but only for video playback (push buffers SurfaceView), not for OpenGL or anything else. On Fri, Aug 19, 2011 at 8:33 AM, Appaholics raghavs...@appaholics.in wrote: Hi, I am making the switch from Airpush to Greystripe due to negative user ratings. I have completed the switch in five out of nine apps. For the others I need your help. I have one game (balance) that uses the 2d graphics to render. How do I add ads to this. I have another app (Vortex) which uses OpenGL. Again, how do I add ads to this. Finally I have two games, one of which you may know from previous questions, that use AndEngine. They are Speed Ball and Speed Ball Augmented Reality. Again, how do I ad ads to this. I would prefer to overlay it over the rest of the game like in Angry Birds. Thanks -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] isDirectory from assets manager
Hi all is it possible to find out if a path retourned by AssetsManager.list() is a directory? I'm trying to recursively copy a directory tree from my apk to getFilesDirectory. Thanks a lot Marco -- 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] how to integrate video codec for video view android
On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 8:30 AM, Naveen kumarnaveen.si...@gmail.com wrote: I am not getting any perfect way for codec implementation, plz help me other wise i think it's android drawback Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright (Android 2.2 and newer) are part of the firmware. If you are interested in developing firmware codecs, please find an appropriate list on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 how to findan appropriate http://source.android.com. ? you right i want firmware codec integration ...help me plz -- 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] Re: Downloading Files Directly in Webview without it opening the browser
Okay I replaced it with the application/x-rar-compressed and error removed but when I test the code out in browser it still launches the web browser Here is the basic code minus other actives but this is the webview content minus the menu's public class PS3AndroidManagementSystemProActivity extends Activity { private class HelloWebViewClient extends WebViewClient { @Override public void onLoadResource(WebView view, String url) { if (url.contains(action=trailer) || url.contains(action=video)) { Log.w(ps3mang, trailer clicked: + url); Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(i); } } @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl(url); return true; } } private static final int MENU_HOME = 0; private static final int MENU_DONATE = 1; private static final int MENU_ABOUT = 2; private static final int MENU_CHLG = 3; final Activity activity = this; // added Boolean isfirsttime = false; private WebView myweb; public void downloadfileto(String fileurl, String filename) { String myString; try { FileOutputStream f = new FileOutputStream(filename); try { URL url = new URL(fileurl); URLConnection urlConn = url.openConnection(); InputStream is = urlConn.getInputStream(); BufferedInputStream bis = new BufferedInputStream(is, 8000); int current = 0; while ((current = bis.read()) != -1) { f.write((byte) current); } } catch (Exception e) { myString = e.getMessage(); } f.flush(); f.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); myweb = (WebView) findViewById(R.id.WebView); myweb.setWebViewClient(new HelloWebViewClient()); myweb.setWebChromeClient(new WebChromeClient() { @Override public void onProgressChanged(WebView view, int progress) { // Activities and WebViews measure progress with different // scales. // The progress meter will automatically disappear when we reach // 100% activity.setProgress(progress * 100); } }); myweb.setDownloadListener(new DownloadListener() { /* (non-Javadoc) * @see android.webkit.DownloadListener#onDownloadStart(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long) */ public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setType(application/x-rar-compressed); intent.setData(Uri.parse(url)); startActivity(intent); } }); Toast.makeText(this, Please wait, Toast.LENGTH_LONG).show(); myweb.loadUrl(file:///android_asset/index.html); myweb.getSettings().setJavaScriptEnabled(true); myweb.getSettings().setPluginsEnabled(true); myweb.getSettings().setBuiltInZoomControls(true); SharedPreferences settings = getSharedPreferences(MyPrefsFile, 0); isfirsttime = settings.getBoolean(isfirsttime, false); if (isfirsttime) { SharedPreferences.Editor editor = settings.edit(); editor.putBoolean(isfirsttime, false);
Re: [android-developers] isDirectory from assets manager
Hii I am developing an android application,where i have to download data from server.I have done that part.Now i want data in simple text format from url Can anyone guide me Thanks in advance Tushar -- 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: Downloading Files Directly in Webview without it opening the browser
Do you know what your code is supposed to do there? The ACTION_VEW intent is *supposed* to open the browser in this case. the onDownloadStart handler gives you a url, mime type, everything you need, and you already have code to do the downloading, why not use it? Change: public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setType(application/x-rar-compressed); intent.setData(Uri.parse(url)); startActivity(intent); } to: public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { downloadfileto(url,myfile.rar); // or whatever the file name should be. } ? Kris On Fri, Aug 19, 2011 at 9:06 AM, Raziel23x raziel...@gmail.com wrote: Okay I replaced it with the application/x-rar-compressed and error removed but when I test the code out in browser it still launches the web browser Here is the basic code minus other actives but this is the webview content minus the menu's public class PS3AndroidManagementSystemProActivity extends Activity { private class HelloWebViewClient extends WebViewClient { @Override public void onLoadResource(WebView view, String url) { if (url.contains(action=trailer) || url.contains(action=video)) { Log.w(ps3mang, trailer clicked: + url); Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(url)); startActivity(i); } } @Override public boolean shouldOverrideUrlLoading(WebView view, String url) { view.loadUrl(url); return true; } } private static final int MENU_HOME = 0; private static final int MENU_DONATE = 1; private static final int MENU_ABOUT = 2; private static final int MENU_CHLG = 3; final Activity activity = this; // added Boolean isfirsttime = false; private WebView myweb; public void downloadfileto(String fileurl, String filename) { String myString; try { FileOutputStream f = new FileOutputStream(filename); try { URL url = new URL(fileurl); URLConnection urlConn = url.openConnection(); InputStream is = urlConn.getInputStream(); BufferedInputStream bis = new BufferedInputStream(is, 8000); int current = 0; while ((current = bis.read()) != -1) { f.write((byte) current); } } catch (Exception e) { myString = e.getMessage(); } f.flush(); f.close(); } catch (FileNotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); myweb = (WebView) findViewById(R.id.WebView); myweb.setWebViewClient(new HelloWebViewClient()); myweb.setWebChromeClient(new WebChromeClient() { @Override public void onProgressChanged(WebView view, int progress) { // Activities and WebViews measure progress with different // scales. // The progress meter will automatically disappear when we reach // 100% activity.setProgress(progress * 100); } }); myweb.setDownloadListener(new DownloadListener() { /* (non-Javadoc) * @see android.webkit.DownloadListener#onDownloadStart(java.lang.String, java.lang.String, java.lang.String, java.lang.String, long) */ public void onDownloadStart(String url, String userAgent,
Re: [android-developers] how to integrate video codec for video view android
On Fri, Aug 19, 2011 at 9:04 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: how to findan appropriate http://source.android.com. ? you right i want firmware codec integration ...help me plz Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a relevant Google Group for your project Step #4: Ask a well-written question there -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] how to integrate video codec for video view android
AFAIK there is only one http://source.android.com. You will need to look into the community tab. Thanks On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 8:30 AM, Naveen kumarnaveen.si...@gmail.com wrote: I am not getting any perfect way for codec implementation, plz help me other wise i think it's android drawback Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright (Android 2.2 and newer) are part of the firmware. If you are interested in developing firmware codecs, please find an appropriate list on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 how to findan appropriate http://source.android.com. ? you right i want firmware codec integration ...help me plz -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] how to integrate video codec for video view android
On Fri, Aug 19, 2011 at 6:43 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 9:04 AM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: how to findan appropriate http://source.android.com. ? you right i want firmware codec integration ...help me plz Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a relevant Google Group for your project Step #4: Ask a well-written question there -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 -Thanks sir -- 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] isDirectory from assets manager
@Tushar: Start your own thread. @Marco: The docs says that this method returns the files. I am not sure if it will give you the directory. You might get something like this abc.html for a file in the assets folder and folder/abc.html for a file in a folder in the assets. Thanks On Fri, Aug 19, 2011 at 6:40 PM, tushar sahni tusharsahn...@gmail.comwrote: Hii I am developing an android application,where i have to download data from server.I have done that part.Now i want data in simple text format from url Can anyone guide me Thanks in advance Tushar -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] Re: Downloading Files Directly in Webview without it opening the browser
I will try that but I have multiple rar files that are hosted on a private ftp server that I want to be what would be a best practise as I Am just learning and using a lot of examples and playing around with other coding issues? so something along the lines of public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { downloadfileto(/sdcard/PS3_Manage); } -- 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] isDirectory from assets manager
can u send me some demo example if possible Thanks Tushar -- 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] Get Geopoints from SQlite DB
I created an SQlite database to store on it all latitudes and longitudes to display them in map. For the add of the values i didn't encouter any problem, i used this code: CoordBD CoordBd = new CoordBD(this); Coordo coordo = new Coordo(36.869686,10.315642 ); CoordBd.open(); CoordBd.insertCoordo(coordo); But i don't know how to insert them one by one in map, i usually/ manually make this: GeoPoint point2 = new GeoPoint(microdegrees(36.86774),microdegrees(10.305302)); pinOverlay.addPoint(point2); How to browse all the database and add all the Geopoints automatically? Thank you. -- 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] how to integrate video codec for video view android
On Fri, Aug 19, 2011 at 6:47 PM, Appaholics raghavs...@appaholics.inwrote: AFAIK there is only one http://source.android.com. You will need to look into the community tab. Thanks On Fri, Aug 19, 2011 at 6:34 PM, NaveenShrivastva kumarnaveen.si...@gmail.com wrote: On Fri, Aug 19, 2011 at 6:05 PM, Mark Murphy mmur...@commonsware.comwrote: On Fri, Aug 19, 2011 at 8:30 AM, Naveen kumarnaveen.si...@gmail.com wrote: I am not getting any perfect way for codec implementation, plz help me other wise i think it's android drawback Codecs to plug into OpenCORE (Android 2.2 and earlier) or StageFright (Android 2.2 and newer) are part of the firmware. If you are interested in developing firmware codecs, please find an appropriate list on http://source.android.com. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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 how to findan appropriate http://source.android.com. ? you right i want firmware codec integration ...help me plz -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 yes sir, i have posted my issue but not sure they will help or not?This issue only with android, i think apple development is best for this line. -- 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] Re: WebView text selection and persistent highlighting dilemma
Nevermind, got it http://stackoverflow.com/questions/6948447/android-3-0-webview-text-selection-javascript Answered my own question, and sry I can't give t3h c0d3z (NDA), but I have a brief outline based on the solution... Let's hope they think about this for ICS... It's not that difficult a problem to solve IMHO. Peace, Dan On Jul 28, 10:52 am, IcedNet d...@icednet.info wrote: Hello All, I am working on a non-trivial epub format book reader project in 3.1+, implementing it within aWebView. I am stymied at thetextselection/highlight phase (luckily ? I have many more operations to polish up and implement). I can , of course highlighttextand use the Clipboard manager in it's intended role (copy/paste, et al). The problem is twofold when I attempt to enable persistenttext highlighting within theWebViewitself: 1) the ClipboardManager does not (currently) seem well-suited for this -- I have implemented the OnPrimaryClipChangedListener to capture the clipboardtextand process it within myWebView, but, being that I cannot override the System Clipboard ActionBar menu, I receive thetextas would any app, only upon clicking Copy etc... and the menu, though nice, is not ours. I have seen the results of polling the ClipboardManager.hasPrimaryClip() for it'stextas well so I believe that path is doom-laden :) 2) I have attempted to use the ActionMode pattern, but overriding onDragEvent() within myWebViewis non-responsive (as in it never fires) and gives me the dreaded Miss a drag as we are waiting for WebCore's response for touch down. -- as I am trying to control page turning/navigation within theWebView(javascriptdisables ontouch events) for the obvious reason that it is a book reader, not a webpage. As an aside, I notice that Google's flagship Books app, though pretty, also does not allow highlighting/textselection... with the splitting of images between pages, we were thinking it might be aWebViewimplementation as well -- just a slight beg for source code... only slight, really :) If it is not clear from the above, I am wondering how to get control of the ClipboardManager, or barring that (which I assume I cannot do as it is a System service), maybe someone can point me in the direction of a workaround for webcore so cruelly denying Java the ability to control the world. I am open to taking complete control of motion events if need be, but that is so demanding for such a seemingly simple task as this... I mean, really, Amazon does what we want to do in Kindle for Droid... :) Thanks for your time! Peace, Dan -- 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: How to handle sequential touches?
On Fri, Aug 19, 2011 at 4:51 AM, Zwiebel hunzwie...@gmail.com wrote: Thanks for the answer. Can you give me a short example please? I'm only beginner in android and... ok I'm beginner :) I *could*, but that would rob you of valuable experience. I gave you the general idea - now just try something. If it doesn't work, let us know what you tried and what's not working and we can help further. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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] Re: resolution
I'm gonna go out on a limb here... you probably need to set a different screen density when creating the AVD. If I'm misunderstanding your problem, ask again and clarify what your problem is. The last post didn't make too much sense. -- 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] Missing ACTION_POINTER_UP and ACTION_POINTER_DOWN events
Hey, I am having some weird behavior regarding multitouch also after reading through the docs and forums. So, Step1: Finger 1 down - I get an ACTION_DOWN event here as expected. Step2: Finger 2 down - no event. I would expect an ACTION_POINTER_DOWN event here. Step3: Finger 2 up - no event, I would expect an ACTION_POINTER_UP event here. Step4: Finger 1 up - I get an ACTION_UP event here as expected. If I move any finger for example between step 2 and 3 I get ACTION_MOVE event with several pointer IDs so multi touch is supported in some way. Now, if I swap the order of the fingers somewhat I get a different behavior. Step1: Finger 1 down - I get an ACTION_DOWN event here as expected. Step2: Finger 2 down - no event. I would expect an ACTION_POINTER_DOWN event here. Step3: Finger 1 up - I get an ACTION_POINTER_UP event here as expected Step4: Finger 2 up. I get an ACTION_UP event here as expected. I have tried this on phones with both Cypress and Synaptics touch IC so I would rule out hw or firmware issues. Anyone? br Magnus -- 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] Using AppWidget in our apps
You can only attach a widget to a view if you use the pick app widget intent. You can attach as many as you want, I didn't see a limit yet. I can point you to a working sample I used: http://www.anddev.org/advanced-tutorials-f21/appwidgethost-tutorial-t10329.html Only thing you need to fix is this part: 1. protected void doWidgetPick() { 2. 3. int appWidgetId = WidgetScreen.this.mAppWidgetHost. allocateAppWidgetId(); 4. 5. 6. 7. Intent pickIntent = new Intent(AppWidgetManager. ACTION_APPWIDGET_PICK); 8. 9. pickIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId); 10. Remove WidgetScreen. Should compile after that. If you ever find a way to save the widgets and restore them, I would love to hear your solution. Richard Lalancette Ottawa, Ontario, Canada On Fri, Aug 19, 2011 at 5:05 AM, 李白|字一日 calid...@gmail.com wrote: do you mean it is possible to have an application with multiply widgets? i want to have my application bind a widget, but i still haven't find a way by now. 2011/8/16 Richard Lalancette richard.lalance...@gmail.com Hi all, I had hope to use the AppWidget in our next solution concept, but I have faced a serious problem doing so yesterday. Adding widgets to our app worked like a charm until I started looking into saving the current widget to be able to restore them on the next launch of our app. A large part of the app was to rely on restoring widgets upon reload, but unfortunately I couldn't figure out how to do so. If any of you have information on saving and restoring AppWidget states, I would love to hear. I have tried using bindAppWidgetId(appWidgetId, widget); but this is not allowed by the system and returns a system exception. Other solutions found on the web rely on copying my app to the /system/... folder, but that would mean I need to root the device and remove the read-only flag from that folder which I do not wish to do. It would be totally not practical to re-pick all widgets each time the app is launched, this is just make any sense. Thanks in advance Richard Lalancette Mobile Application Developer Alcatel-Lucent Canada Ottawa, Ontario, Canada -- 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
Re: [android-developers] isDirectory from assets manager
Yes it gives back folders as well, I solved it this way: private void copyDir(AssetManager assetManager, String path) { if (hasChildren(assetManager, filepath)) { Log.d(QtTAG, DIR FOUND at: + filepath); copyDir(assetManager, filepath); } else { Log.d(QtTAG, FILE FOUND at: + filepath); private boolean hasChildren(AssetManager assetManager, String path) { try { if (assetManager.list(path).length 0){ return true; } } catch (IOException e) { e.printStackTrace(); } return false; } -- 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] Get Geopoints from SQlite DB
Step #1: Pass a Cursor to your ItemizedOverlay that contains your coordinates, retrieved from your database Step #2: Implement size() in your ItemizedOverlay to return getCount() from the Cursor Step #3: Implement getItem() in your ItemizedOverlay to moveToPosition() on the Cursor, read out the latitude and longitude, convert to microdegrees, create a GeoPoint, and return it Step #4: Use the ItemizedOverlay on your MapView On Fri, Aug 19, 2011 at 9:30 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: I created an SQlite database to store on it all latitudes and longitudes to display them in map. For the add of the values i didn't encouter any problem, i used this code: CoordBD CoordBd = new CoordBD(this); Coordo coordo = new Coordo(36.869686,10.315642 ); CoordBd.open(); CoordBd.insertCoordo(coordo); But i don't know how to insert them one by one in map, i usually/ manually make this: GeoPoint point2 = new GeoPoint(microdegrees(36.86774),microdegrees(10.305302)); pinOverlay.addPoint(point2); How to browse all the database and add all the Geopoints automatically? Thank you. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Re: HTTPGet synchronous or asynchronous call???
Run the HTTPGet execution in the background of an AsyncTask. -- 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] unicode stuff
I'm loading some news stuff into a WebView, but there's weird unicode stuff or something with some chars (right double quotes, curly single quotes). So, instead of a right quote, there's 3 chars of gibberish that show in the WebView. This is what I'm doing now to cope: html=html.replaceAll(\u2019, '); html=html.replaceAll(\u201D, \); html=html.replaceAll(\u201C, \); html=filterWeirdChars(html); String filterWeirdChars(String str) { String newStr = new String(); for (int ctr = 0; ctr str.length(); ctr++) { int myChar = str.charAt(ctr); if (myChar 128) newStr += str.charAt(ctr); } return newStr; } Anyone have something better? That code above is slow as molasses and kludgy. -- 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] unicode stuff
On 19 August 2011 15:28, bob b...@coolgroups.com wrote: I'm loading some news stuff into a WebView, but there's weird unicode stuff or something with some chars (right double quotes, curly single quotes). So, instead of a right quote, there's 3 chars of gibberish that show in the WebView. How do you load the content into WebView? WebView has methods, where you specify the encoding, which should help. Iterating 4 times over the whole content is going to cost... If someone decided to place curly quotes in the news content, you should by simply displaying it. -- Daniel Drozdzewski -- 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: Updating UI from second thread
On Fri, Aug 19, 2011 at 1:35 PM, Snowak psno...@gmail.com wrote: What a wonderful answer. It's a great idea to answer everything with you don't know what you're doing and tell me to do it using worst possible method. Yeah, let's freeze the UI thread. It's gonna be cool. You can't do the work on another thread, and the work is slow because each UI widget is actually a very sophisticated thing due to the way the framework works and the number of features it supports (think about layout recomputations, focus events, handling right-to-left and left-to-right layout, and more, much more things). Really, anyone using hundreds of widgets (checkboxes, or whatever) and complaining that the UI is too slow should really get a clue-stick and start re-designing their code. On 17 Sie, 23:17, Mark Murphy mmur...@commonsware.com wrote: On Wed, Aug 17, 2011 at 12:44 PM, Snowak psno...@gmail.com wrote: I have hundreds of CheckBox widgets in my layout That is unlikely to be a good idea. Obviously such heavy work should be done in separate thread, Not really. The only thing that this thread actually can do is looping through the list and posting the Runnable for every found checkbox. The problem is that all those Runnables arrive in the UI thread almost at the same time, thus they're all executed at once... The application behaves exactly like I would run the above code in the UI thread - everything freezes. A possible solution is sleeping for some miliseconds after each checkbox so the Runnable can be executed and the UI will have time to process the events... but it's more like a hack. How can I solve this problem? Redesign your UI to not have hundreds of CheckBox widgets at once. Or, update them on the main application thread and hope for the best. -- Mark Murphy (a Commons Guy)http://commonsware.com| http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Aw: Re: AutoCompleteTextView with autoText
Thanks for this tip, Peter! This is the only way which works for me to get auto correction (and still auto completion as well!) in android-2.1-update1. anaran -- 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] Re: Force Close Issue
guys, you were correct. My phone's usb port went bad. I tested my app on my new HTC Aria today and no Force Close error coming up. But still i am get that error on Samsung Captivate. Looks like nothing is wrong in my code. Its the hardware or else, i'm not sure. My app is running fine on Aria so at this point i would consider it as resovled :)) Thanks for your support Cheers On Aug 13, 4:46 pm, Spica spicaneb...@gmail.com wrote: It looks like i will have to buy another android phone... any suggestion which one is good low cost phone for android development? Obviously other than Samsung Captivate :)) How about HTC Aria On Aug 13, 1:19 pm, rich friedel rich.frie...@gmail.com wrote: Yeah I am starting to think it's the port on the mobo... :-/- Hide quoted text - - Show quoted text - -- 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] Get Geopoints from SQlite DB
And is there any example please to follow this steps? Like that i'll never make it. 2011/8/19 Mark Murphy mmur...@commonsware.com Step #1: Pass a Cursor to your ItemizedOverlay that contains your coordinates, retrieved from your database Step #2: Implement size() in your ItemizedOverlay to return getCount() from the Cursor Step #3: Implement getItem() in your ItemizedOverlay to moveToPosition() on the Cursor, read out the latitude and longitude, convert to microdegrees, create a GeoPoint, and return it Step #4: Use the ItemizedOverlay on your MapView On Fri, Aug 19, 2011 at 9:30 AM, Alaeddine Ghribi alaeddineghr...@gmail.com wrote: I created an SQlite database to store on it all latitudes and longitudes to display them in map. For the add of the values i didn't encouter any problem, i used this code: CoordBD CoordBd = new CoordBD(this); Coordo coordo = new Coordo(36.869686,10.315642 ); CoordBd.open(); CoordBd.insertCoordo(coordo); But i don't know how to insert them one by one in map, i usually/ manually make this: GeoPoint point2 = new GeoPoint(microdegrees(36.86774),microdegrees(10.305302)); pinOverlay.addPoint(point2); How to browse all the database and add all the Geopoints automatically? Thank you. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Re: DexClassLoader and DexFile Leaking File Handles
Java classloaders don't close files in JDK 1.7. So does that just mean that it is a fact of life that every class loader instance is going to leak handles? Thanks, Matt -- 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: Jni To Java BLock THe UI thread.
If you can do with Java solution, then on Java side after calling handler.sendMessage() call wait() once the dialog is dismissed call notify() (of course making sure to wait() notify() on the same object). Alternatively you could use CyclicBarrier or CountDownLatch in the java.util.concurrent package. Hope that helps. Regards, Sudheer On Fri, Aug 19, 2011 at 5:40 PM, Chris Stratton cs07...@gmail.com wrote: On Monday, August 9, 2010 10:53:37 AM UTC-4, AlreadyAMember wrote: During this loop in C in case of an error I would like to callback the java UI thread and pop up a dialog from C , the KEY is C has to block and wait. So if I create a thread and set up a handler in Java to show the DIalog the the native C code won't block. I have also looked in to Loopers Thinking that it could be helpful to block the C code. Now of course I could be naive and write a while(wait) in c and as soon as dialog is closed I can make a native call from java and set the wait to false. But that is just not cool. Actually that is approximately the right idea, only it would be better if the waiting thread could simply ask the kernel scheduler not to run it until the wait condition is satisfied, by calling a kernel function that will block until that is the case. A semaphore is a classic operating system feature for accomplishing that. A method for accomplishing nearly as much without requiring as much understanding of operating system services would be to just put a substantial sleep in the loop. -- 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] Re: ADT - Unable to add widget to layout/Unexplainable crashes
Ok, I think I got it all working now. When I was connecting via Xming, certain variables (ie. ANDROID_HOME) were not set (they were in /etc/ profile), so I put them in /etc/bash.bashrc. After that, the UI editor started working. Still gonna try the mem switches in XP. Getting Eclipse + ADT + Maven has just been a complex task. I may try using RDP again just for kicks to see if the issue persists. Thanks! On Aug 18, 10:19 pm, Tor Norbye tnor...@google.com wrote: On Thu, Aug 18, 2011 at 6:41 PM, bsanders1979 briansanders1...@gmail.com wrote: In XP, Eclipse just crashes. The memory switches sounds like it's worth a shot. The other is Debian 6.0. So, that issue is sort of resolved. I installed xrdp and I would experience the issue via mstsc. However, if I run Eclipse via Xming, it works. I have now discovered yet ANOTHER issue, but not sure where the blame lies. If I create an Android project directly, the layout editor works. If I create the project using the android-quickstart archetype, I get NPE's. Common sense tells me it's the archetype. Can you send me (no need to CC the group) those NPE's? Depending on what they are we might be able to code defensively against some assumptions we may have made. -- Tor On Aug 18, 10:08 am, Tor Norbye tnor...@google.com wrote: On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 briansanders1...@gmail.com wrote: Hello, I'm just trying to setup a dev environment so that I can use ADT + Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work properly. I've tried downloading both Helios and Indigo of the Java EE distro, and then installing m2e, followed by ADT. In XP, I open main.xml (the generated default) and it appears to open, but then suddenly crashes. I'm not seeing a log anywhere to indicate what the issue is. Did you mean that the editor fails to open (if so, look in Window Show View Error Log) or did the whole IDE crash? I don't know if this will work, but the layout editor requires a lot of memory, so you might try giving Eclipse more memory to see if that helps. Open eclipse.ini in your Eclipse install and find the flag -Xmnumberm and change it to say -Xmx768m. In Linux, I attempt to drag a widget onto the canvas (or whatever the correct word is), and it just doesn't do anything. At first, it looks like the grabbing hand with a + next to it, but the + quickly disappears. Are you running Ubuntu 11.04 by any chance? This sounds like it might behttp://code.google.com/p/android/issues/detail?id=19057 (which sadly we don't know the cause of yet) -- Tor -- 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] Re: ADT - Unable to add widget to layout/Unexplainable crashes
Ok, so it must have been a coincidence that this project started working. Created a new project from scratch, and I get the same thing. Stand by the the stacktrace... On Aug 19, 12:27 pm, bsanders1979 briansanders1...@gmail.com wrote: Ok, I think I got it all working now. When I was connecting via Xming, certain variables (ie. ANDROID_HOME) were not set (they were in /etc/ profile), so I put them in /etc/bash.bashrc. After that, the UI editor started working. Still gonna try the mem switches in XP. Getting Eclipse + ADT + Maven has just been a complex task. I may try using RDP again just for kicks to see if the issue persists. Thanks! On Aug 18, 10:19 pm, Tor Norbye tnor...@google.com wrote: On Thu, Aug 18, 2011 at 6:41 PM, bsanders1979 briansanders1...@gmail.com wrote: In XP, Eclipse just crashes. The memory switches sounds like it's worth a shot. The other is Debian 6.0. So, that issue is sort of resolved. I installed xrdp and I would experience the issue via mstsc. However, if I run Eclipse via Xming, it works. I have now discovered yet ANOTHER issue, but not sure where the blame lies. If I create an Android project directly, the layout editor works. If I create the project using the android-quickstart archetype, I get NPE's. Common sense tells me it's the archetype. Can you send me (no need to CC the group) those NPE's? Depending on what they are we might be able to code defensively against some assumptions we may have made. -- Tor On Aug 18, 10:08 am, Tor Norbye tnor...@google.com wrote: On Wed, Aug 17, 2011 at 7:11 PM, bsanders1979 briansanders1...@gmail.com wrote: Hello, I'm just trying to setup a dev environment so that I can use ADT + Maven. I have 2 32-bit boxes (XP/Debian 6.0) that are failing to work properly. I've tried downloading both Helios and Indigo of the Java EE distro, and then installing m2e, followed by ADT. In XP, I open main.xml (the generated default) and it appears to open, but then suddenly crashes. I'm not seeing a log anywhere to indicate what the issue is. Did you mean that the editor fails to open (if so, look in Window Show View Error Log) or did the whole IDE crash? I don't know if this will work, but the layout editor requires a lot of memory, so you might try giving Eclipse more memory to see if that helps. Open eclipse.ini in your Eclipse install and find the flag -Xmnumberm and change it to say -Xmx768m. In Linux, I attempt to drag a widget onto the canvas (or whatever the correct word is), and it just doesn't do anything. At first, it looks like the grabbing hand with a + next to it, but the + quickly disappears. Are you running Ubuntu 11.04 by any chance? This sounds like it might behttp://code.google.com/p/android/issues/detail?id=19057 (which sadly we don't know the cause of yet) -- Tor -- 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] Re: unicode stuff
webView.loadData(html, text/html, latin1); On Aug 19, 9:48 am, Daniel Drozdzewski daniel.drozdzew...@gmail.com wrote: On 19 August 2011 15:28, bob b...@coolgroups.com wrote: I'm loading some news stuff into a WebView, but there's weird unicode stuff or something with some chars (right double quotes, curly single quotes). So, instead of a right quote, there's 3 chars of gibberish that show in the WebView. How do you load the content into WebView? WebView has methods, where you specify the encoding, which should help. Iterating 4 times over the whole content is going to cost... If someone decided to place curly quotes in the news content, you should by simply displaying it. -- Daniel Drozdzewski -- 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] Emulator disables DPMS (then monitor doesn't sleep)
I noticed that starting the emulator disables DPMS and it is not re- enabled when the emulator closes. So my monitor was never going to sleep until I re-enabled DPMS manually. Does anyone know why it does this and/or how to fix it? As a temporary solution I have wrapped the executable in a shell script to run `xset +dpms` when the emulator finishes, but this is probably not ideal. Ubuntu 10.04. 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
[android-developers] Webview
Does Webview have any known issues with you trying to change the browser data by calling loaddata a few times? It seems like the first call to loaddata works but not the subsequent ones. -- 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] developeing on a htc sensation
Hi! I am using my phone for developing apps. It works fine, but when i make changes it doesn't seems to update. Can i force it some way? Regards. René -- 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] developeing on a htc sensation
Occasionally I've had to delete the program from my phone and then try an adb push? Does that work for you? (This will happen when you swap machines, for example.) Kris On Fri, Aug 19, 2011 at 1:24 PM, René tan...@get2net.dk wrote: Hi! I am using my phone for developing apps. It works fine, but when i make changes it doesn't seems to update. Can i force it some way? Regards. René -- 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: unicode stuff
On Fri, Aug 19, 2011 at 1:18 PM, bob b...@coolgroups.com wrote: webView.loadData(html, text/html, latin1); That may not be a valid encoding name. Try ISO-8859-1. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.9 Available! -- 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] Re: View in Google+ Application
There is some info about this here: http://stackoverflow.com/questions/6802770/what-view-component-does-the-google-plus-app-stream-use -AndyD On Aug 18, 4:37 pm, charlie babitt charlie.bab...@gmail.com wrote: Hallo! Yesterday I installed the Google+ Application (for the Android 2 series) and found a really nice looking view. When you select stream in the dashboard at the top (below the actionbar kind of header) there is some kind of tab replacement (you can switch between nearby, All circles an incoming). Does anyone know what kind of view this is or how I can build something like this? Thanks CHarlie -- 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] need thread on UI / lifecycle Gotchas
I keep getting told that my code violates the UI and lifecycle rules and I have no idea how to find/fix it. I first read this: http://developer.android.com/guide/topics/fundamentals/processes-and-threads.html Then, I figured I needed to replace things like this: (TextView)findViewById(R.id.definition).setText(Hello); to now read: TextView t= (TextView)findViewById(R.id.definition); t.post(new Runnable() { public void run() { t.setText(Hello); } }); But I still get told that I am in violation. Q: Are there ways I can flush out these bugs? Are there tools people use, or ways to scrutinize the log? or must I just push-buttons real fast on a real device? Any help appreciated! -cellurl -- 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] Re: View in Google+ Application
Also here: http://stackoverflow.com/questions/6806880/how-to-create-a-ui-like-the-new-market-or-google-plus/6807264 -AndyD -- 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] need thread on UI / lifecycle Gotchas
On Fri, Aug 19, 2011 at 1:45 PM, cellurl gpscru...@gmail.com wrote: I keep getting told that my code violates the UI and lifecycle rules and I have no idea how to find/fix it. Who is telling you this? Then, I figured I needed to replace things like this: (TextView)findViewById(R.id.definition).setText(Hello); to now read: TextView t= (TextView)findViewById(R.id.definition); t.post(new Runnable() { public void run() { t.setText(Hello); } }); Which is correct depends upon which thread this is. Q: Are there ways I can flush out these bugs? Not unless somebody actually tells you the bug. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://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
[android-developers] navigate to anotherapp activity
hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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] navigate to anotherapp activity
So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
i came to know that for this implicit intents can be used..but i dont know use it On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
Use an intent to launch your new activity. On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
http://tinyurl.com/44vdu92 On Fri, Aug 19, 2011 at 11:42 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: i came to know that for this implicit intents can be used..but i dont know use it On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
but sir using this code Intent in=new Intent(getApplicationContext(),Demo.class); i can go demo.class activity within same application ..but want to go some other application activity On Fri, Aug 19, 2011 at 11:42 PM, Appaholics raghavsood@appaholics i .inwrote: Use an intent to launch your new activity. On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
for this we have to give write some code in manifest xml along with application package name...but i dont know the exact code...if u know please give me sample code On Fri, Aug 19, 2011 at 11:45 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: but sir using this code Intent in=new Intent(getApplicationContext(),Demo.class); i can go demo.class activity within same application ..but want to go some other application activity On Fri, Aug 19, 2011 at 11:42 PM, Appaholics raghavsood@appaholics i .inwrote: Use an intent to launch your new activity. On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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] navigate to anotherapp activity
http://tinyurl.com/4xgevk8 This is the last link I am sending you. Use Google unless you get an error or have some not so common problem. Thanks On Fri, Aug 19, 2011 at 11:45 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: but sir using this code Intent in=new Intent(getApplicationContext(),Demo.class); i can go demo.class activity within same application ..but want to go some other application activity On Fri, Aug 19, 2011 at 11:42 PM, Appaholics raghavsood@appaholics i .inwrote: Use an intent to launch your new activity. On Fri, Aug 19, 2011 at 11:41 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: that means iam in one activity i want navigate to another app activity i want the code how to navigate On Fri, Aug 19, 2011 at 11:33 PM, Appaholics raghavs...@appaholics.inwrote: So what should we do about it? You haven't asked a specific question, just stated your intention. Thanks On Fri, Aug 19, 2011 at 11:29 PM, rambabu mareedu rambabu.mare...@gmail.com wrote: hi all.i want to navigate fron one app to another app screen ..thankS in advance -- 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 unsubsc toribe 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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 -- -- Raghav Sood CEO/Founder/Owner/Dictator/Tyrant at Appaholics (Basically all titles required to have complete control) http://www.raghavsood.com/ https://market.android.com/developer?pub=Appaholics http://www.appaholics.in/ -- 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