[android-developers] Re: Getting the City and country Name based on Phone Number

2011-08-19 Thread Zsolt Vasvari
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

[android-developers] htonl support C++ , how to same function implement in java code

2011-08-19 Thread N K Shrivastva
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

[android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-19 Thread Zsolt Vasvari
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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-19 Thread NaveenShrivastva
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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-19 Thread NaveenShrivastva
#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

Re: [android-developers] Re: htonl support C++ , how to same function implement in java code

2011-08-19 Thread NaveenShrivastva
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

[android-developers] titlebarcolor

2011-08-19 Thread arun kumar
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

Re: [android-developers] Andriod Ebooks

2011-08-19 Thread Antony K
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

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Appaholics
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

Re: [android-developers] titlebarcolor

2011-08-19 Thread subha
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

Re: [android-developers] Andriod Ebooks

2011-08-19 Thread Moul Kakada
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

Re: [android-developers] Andriod Ebooks

2011-08-19 Thread vishal bandre
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

[android-developers] Tabhost background image

2011-08-19 Thread Akhilesh Mani
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

[android-developers] android.hardware.location.gps guarantees existence of LocationManager.GRS_PROVIDER?

2011-08-19 Thread lnxtux
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

Re: [android-developers] Jni To Java BLock THe UI thread.

2011-08-19 Thread Vikas KM
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

[android-developers] Read the Android SDK Doc in no-frame

2011-08-19 Thread Perry168
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] Designing Wallpapers, Screensaver

2011-08-19 Thread Daniel Rindt
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

Re: [android-developers] Using AppWidget in our apps

2011-08-19 Thread 李白|字一日
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

[android-developers] Zooming Layout

2011-08-19 Thread bhavani sankari
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

Re: [android-developers]

2011-08-19 Thread Nico Balestra
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

[android-developers] Re: How to handle sequential touches?

2011-08-19 Thread Zwiebel
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

[android-developers] resolution

2011-08-19 Thread arun kumar
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

Re: [android-developers] titlebarcolor

2011-08-19 Thread arun kumar
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

[android-developers] Getting the City and country Name based on Phone Number

2011-08-19 Thread lbendlin
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

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Re: App Crash during HTTP Post

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Zooming Layout

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Andriod Ebooks

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Appaholics
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.

Re: [android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-19 Thread Appaholics
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,

[android-developers] Re: Updating UI from second thread

2011-08-19 Thread Snowak
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

Re: [android-developers] Re: Updating UI from second thread

2011-08-19 Thread Mark Murphy
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

[android-developers] Re: Who fires OnCreate event?

2011-08-19 Thread Pavan Kulkarni
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

Re: [android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Re: Who fires OnCreate event?

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Jim Graham
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

[android-developers] video playing issue, how to resolve this one

2011-08-19 Thread N K Shrivastva
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):

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Mark Murphy
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

[android-developers] Re: ISO 15693 card emulation

2011-08-19 Thread sumit singhal
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

[android-developers] Re: Jni To Java BLock THe UI thread.

2011-08-19 Thread Chris Stratton
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

Re: [android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-19 Thread Appaholics
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

Re: [android-developers] Update ad view every 30 seconds

2011-08-19 Thread Jim Graham
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

Re: [android-developers] knowing when garbage collection occurs on a real device

2011-08-19 Thread Nick Risaro
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

[android-developers] how to integrate video codec for video view android

2011-08-19 Thread Naveen
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

[android-developers] Integrating ads into non xml apps

2011-08-19 Thread Appaholics
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

Re: [android-developers] Re: Asus Eee Pad not supported by my app due to manifest settings when nothing is incompatible

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread Appaholics
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] Integrating ads into non xml apps

2011-08-19 Thread Mark Murphy
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

[android-developers] isDirectory from assets manager

2011-08-19 Thread Marco Bernasocchi
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
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

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-19 Thread Raziel23x
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

Re: [android-developers] isDirectory from assets manager

2011-08-19 Thread tushar sahni
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

Re: [android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-19 Thread Kristopher Micinski
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread Mark Murphy
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread Appaholics
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

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
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:

Re: [android-developers] isDirectory from assets manager

2011-08-19 Thread Appaholics
@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,

[android-developers] Re: Downloading Files Directly in Webview without it opening the browser

2011-08-19 Thread Raziel23x
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

Re: [android-developers] isDirectory from assets manager

2011-08-19 Thread tushar sahni
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] Get Geopoints from SQlite DB

2011-08-19 Thread Alaeddine Ghribi
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();

Re: [android-developers] how to integrate video codec for video view android

2011-08-19 Thread NaveenShrivastva
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

[android-developers] Re: WebView text selection and persistent highlighting dilemma

2011-08-19 Thread IcedNet
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

Re: [android-developers] Re: How to handle sequential touches?

2011-08-19 Thread TreKing
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

[android-developers] Re: resolution

2011-08-19 Thread Chris
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

[android-developers] Missing ACTION_POINTER_UP and ACTION_POINTER_DOWN events

2011-08-19 Thread Magnus
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

Re: [android-developers] Using AppWidget in our apps

2011-08-19 Thread Richard Lalancette
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

Re: [android-developers] isDirectory from assets manager

2011-08-19 Thread Marco Bernasocchi
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

Re: [android-developers] Get Geopoints from SQlite DB

2011-08-19 Thread Mark Murphy
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

[android-developers] Re: HTTPGet synchronous or asynchronous call???

2011-08-19 Thread Streets Of Boston
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] unicode stuff

2011-08-19 Thread bob
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:

Re: [android-developers] unicode stuff

2011-08-19 Thread Daniel Drozdzewski
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.

Re: [android-developers] Re: Updating UI from second thread

2011-08-19 Thread David Turner
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

[android-developers] Aw: Re: AutoCompleteTextView with autoText

2011-08-19 Thread anaran
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

[android-developers] Re: Force Close Issue

2011-08-19 Thread Spica
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

Re: [android-developers] Get Geopoints from SQlite DB

2011-08-19 Thread Alaeddine Ghribi
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

[android-developers] Re: DexClassLoader and DexFile Leaking File Handles

2011-08-19 Thread Matt
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

Re: [android-developers] Re: Jni To Java BLock THe UI thread.

2011-08-19 Thread Sudheer Bhat
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

[android-developers] Re: ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-19 Thread bsanders1979
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

[android-developers] Re: ADT - Unable to add widget to layout/Unexplainable crashes

2011-08-19 Thread bsanders1979
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

[android-developers] Re: unicode stuff

2011-08-19 Thread bob
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

[android-developers] Emulator disables DPMS (then monitor doesn't sleep)

2011-08-19 Thread pb
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

[android-developers] Webview

2011-08-19 Thread bob
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

[android-developers] developeing on a htc sensation

2011-08-19 Thread René
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

Re: [android-developers] developeing on a htc sensation

2011-08-19 Thread Kristopher Micinski
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,

Re: [android-developers] Re: unicode stuff

2011-08-19 Thread Mark Murphy
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 |

[android-developers] Re: View in Google+ Application

2011-08-19 Thread AndyD
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)

[android-developers] need thread on UI / lifecycle Gotchas

2011-08-19 Thread cellurl
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:

[android-developers] Re: View in Google+ Application

2011-08-19 Thread AndyD
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

Re: [android-developers] need thread on UI / lifecycle Gotchas

2011-08-19 Thread Mark Murphy
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:

[android-developers] navigate to anotherapp activity

2011-08-19 Thread rambabu mareedu
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,

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread Appaholics
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread rambabu mareedu
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread rambabu mareedu
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread Appaholics
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread Appaholics
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread rambabu mareedu
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread rambabu mareedu
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

Re: [android-developers] navigate to anotherapp activity

2011-08-19 Thread Appaholics
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

  1   2   >