[android-developers] Galaxy Tab E 9.6 - Native crash at libhwui.so

2017-01-09 Thread gil . cohen
Hey everyone, i faced with a very frustrating problem, i have an application in Google play and i get crash in the crash report that i don't know how to catch it, this crash is a native crash at libhwui.so and it's happen only in *Galaxy Tab E 9.6 *and only in *Android 4.4.* This is

Re: [android-developers] Preferences layout overlaps navigation drawer in fragment

2016-02-25 Thread Gil Carvalho
sMenu(true); return rootView; } What's wrong? Thanks for your help On Thursday, February 25, 2016 at 6:29:57 PM UTC, TreKing wrote: > > > On Wed, Feb 24, 2016 at 7:58 AM, Gil Carvalho <alph...@gmail.com > > wrote: > >> So, when i runn the app in my

[android-developers] Google Cloud Messaging Payload Issue

2012-08-21 Thread Jorge Gil Royo
Hi all. I'm making an application with a server (web) part and a client part in android. The web part is responsible for registering the device and send messages to the device using GCM. The problem comes when I try to send a payload message to the mobile client application, the payload

Re: [android-developers] Android Carousel

2012-07-05 Thread Jorge Gil Royo
/7/4 Jorge Gil Royo jorgeg...@gmail.com Using the emulator 4.x working properly. When I use the phone there is no message in the logcat containing information about the carousel. Is the first time something happens to me so strange. Thank you! 2012/7/4 Jorge Gil Royo jorgeg...@gmail.com

Re: [android-developers] Android Carousel

2012-07-04 Thread Jorge Gil Royo
, Jorge Gil Royo jorgeg...@gmail.comwrote: But when I test the application on a mobile phone (Android 4.x) the carousel works correctly, but no buttons appear. And if you test on the 4.X emulator? Does anyone know why it happens? Does anyone know how to fix it? Your question is extremely

Re: [android-developers] Android Carousel

2012-07-04 Thread Jorge Gil Royo
Using the emulator 4.x working properly. When I use the phone there is no message in the logcat containing information about the carousel. Is the first time something happens to me so strange. Thank you! 2012/7/4 Jorge Gil Royo jorgeg...@gmail.com Usando el emulador 4.x funciona

[android-developers] Android Carousel

2012-06-29 Thread Jorge Gil Royo
Hi all. I'm working on Android 2.2 and I have a carousel of buttons. If I test the application on the Eclipse emulator everything works fine. But when I test the application on a mobile phone (Android 4.x) the carousel works correctly, but no buttons appear. Does anyone know why it happens?

[android-developers] Are custom xml attributes supported on current aapt version ?

2012-04-22 Thread Gil Eichenbaum
I just upgraded my SDK and wanted to find out if custom attributes are supported now, or should I get a patched aapt version like i had to do before? -- 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] Using ClassLoader to load class from another apk

2011-12-12 Thread gil eichenbaum
I have two apps installed which share same user id. I can get resources from the second .apk, and now I want to load a class from it, but allways fail (ClassNotFound exeption). What is the correct way to do this? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: How do you load class from a sharedUser apk file?

2011-11-29 Thread gil eichenbaum
I have also found this: http://yenliangl.blogspot.com/2009/11/dynamic-loading-of-classes-in-your.html which did seem to help, but still can't get to load my class from another apk. any suggestions ? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How do you load class from a sharedUser apk file?

2011-11-29 Thread gil eichenbaum
Tried that one as well (my.package.myclass), but still get the same result. -- 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

[android-developers] How do you load class from a sharedUser apk file?

2011-11-28 Thread gil eichenbaum
Hello Everyone! I am trying to load a class from another .apk which uses the same sharedUser as my apk. No matter what I try, I always get just ClassNotFoundExeption. This is one thing I have tried: classLoader = context.createPackageContext(pInfo.packageName, 0).getClassLoader();

[android-developers] Re: How to show PopupWindow in an Activity on some click event

2011-11-28 Thread gil eichenbaum
try adding this: popupWindow.setWindowLayoutMode(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT); -- 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

[android-developers] Re: Disable long press on soft Keyboard in android

2011-11-28 Thread gil eichenbaum
Isn't filtering the input text inside your editText enough to get what you need? -- 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

[android-developers] Re: Disable long press on soft Keyboard in android

2011-11-28 Thread gil eichenbaum
 it  will  popup  options  and  upon selection  ,it  will  be  displayed  in Edittext. Thanks, DEEPAK KUMAR On Mon, Nov 28, 2011 at 8:26 PM, gil eichenbaum gileichenb...@gmail.comwrote: Isn't filtering the input text inside your editText enough to get what you need? -- You

[android-developers] how can I post questions here ?

2011-11-23 Thread gil eichenbaum
I have tried posting a question, but it never got to be on the thread. What sould I do? -- 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,

[android-developers] Issue 9656: Library projects don't support custom XML attributes for custom classes

2011-11-23 Thread gil eichenbaum
From what i have read about new ADT R.15, I hoped this issue is solved by now, but when I tried compiling my library project and the projects that use it, I got same error saying error: No resource identifier found for attribute. I was using a sulotion offered here:

[android-developers] ?Is it now possible to declare a custom attribute in a library project

2011-11-22 Thread gil eichenbaum
I know this issue has been disscused in many places, but I couldn't find a good answer for it. I am developing a library project, which declares custom attributes and uses them locally, and I want to re-use these attributes on the applications which will use that library. I am now using ADT

[android-developers] ?Is it now possible to declare a custom attribute in a library project

2011-11-22 Thread gil eichenbaum
I know this issue has been disscused in many places, but I couldn't find a good answer for it. I am developing a library project, which declares custom attributes and uses them locally, and I want to re-use these attributes on the applications which will use that library. I am now using ADT

[android-developers] Re: Relief view on mapActivity?

2011-01-19 Thread José Gil
treking...@gmail.com wrote: On Fri, Jan 14, 2011 at 5:38 PM, José Gil jgilrin...@gmail.com wrote: Is it possible to select the relief view in a mapActivity? Uh ... what is a relief view? --- -- TreKing

[android-developers] Re: Relief view on mapActivity?

2011-01-19 Thread José Gil
On 15 Jan., 00:38, José Gil jgilrin...@gmail.com wrote: Hi all! Is it possible to select the relief view in a mapActivity? I'm looking for a method similar to setSatellite or setTraffic on MapView Thanks José Gil -- You received this message because you are subscribed

[android-developers] Relief view on mapActivity?

2011-01-18 Thread José Gil
Hi all! Is it possible to select the relief view in a mapActivity? I'm looking for a method similar to setSatellite or setTraffic on MapView Thanks José Gil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: c2DM error when third-party server sends data to push

2011-01-03 Thread Jose Ignacio Gil Jaldo
is the same as the length of the POST parameters (and I have no querystring parameters). On Dec 27 2010, 6:18 pm, Jose Ignacio Gil Jaldo naranj...@gmail.com wrote: I am having the same problem as you and I think it's not my mistake I have checked the tcpdump (to do it I changed from https to http

[android-developers] Re: c2DM error when third-party server sends data to push

2011-01-03 Thread Jose Ignacio Gil Jaldo
); HttpClient httpclient = new DefaultHttpClient(params); That way it worked for me... On Jan 3, 11:25 am, Jose Ignacio Gil Jaldo naranj...@gmail.com wrote: Hi Nagaraj, could you make it work? I also tried downloading sources from google examples (JumpNote and Google2Chrome) and I couldn't

[android-developers] Re: c2DM error when third-party server sends data to push

2010-12-28 Thread Jose Ignacio Gil Jaldo
Hi Nagaraj, did you solve the problem? I'm having just the same problem!!! And I start to think it's not my mistake because I have changed https for http and taken tcpdump traces and I have seen that I am sending the header. I have tested it with several lower case upper case combinations. My

[android-developers] Re: c2DM error when third-party server sends data to push

2010-12-28 Thread Jose Ignacio Gil Jaldo
I am having the same problem as you and I think it's not my mistake I have checked the tcpdump (to do it I changed from https to http to have plain text). POST /c2dm/send HTTP/1.1 Authorization: GoogleLogin

[android-developers] Re: Google wave invitations...?

2009-10-20 Thread Gil
any else? i need one. thanks. On Oct 16, 11:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Google wave invitations...?

2009-10-19 Thread Gil
Any more left? I wanna have one . Thanks... On Oct 16, 11:41 am, Kenneth Adam Miller kennethadammil...@gmail.com wrote: Who wants to be in Google wave? I have 16 invitations --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Re: Google wave invitations...?

2009-10-18 Thread Gil
Could you share me an invitation? Thanks very much. On Oct 17, 4:32 am, renjun wang renju...@gmail.com wrote: On Thu, 2009-10-15 at 22:41 -0500, Kenneth Adam Miller wrote: Who wants to be in Google wave? I have 16 invitations does it have linux version?

[android-developers] Re: Error starting tools in 1.6 on Mac OS - SOLUTION

2009-09-17 Thread Gil Margolin
Or a much easier way is just rename the folder /tools/lib/x86 to / tools/lib/x86_64 On Sep 16, 10:04 pm, David Horn pga...@gmail.com wrote: Hi, I've been unable to run any of the tools in the Donut SDK, using Snow Leopard - it seems to be due to the 64bit nature of the OS. Followed the

[android-developers] Disabled EditText accepts input from soft keyboard

2009-05-29 Thread Gil
Why is it possible to input text into a disabled EditText by using the soft keyboard? Is this a bug in Cupcake? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Cupcake Keyboard Crash in Landscape mode

2009-05-28 Thread Gil
If I enable the Orientation preference in the Sound Display settings and I use the device in landscape mode I get the following crash in Cupcake when I hit the Enter key: 05-28 19:48:40.250: ERROR/AndroidRuntime(364): java.lang.IndexOutOfBoundsException: getChars (6 ... 0) has end before start

[android-developers] TabActivity in Theme Light

2009-03-27 Thread Gil
I am trying to use a TabActivty with theme Light. The contrast of the font in unselected tabs makes the tabs text unreadable. Also, due to the white background of the activity the edges of the tabs are barely visible. Are tabs supported for theme Light? Am I missing something?

[android-developers] Re: Paid apps related questions discussion list?

2009-02-21 Thread Gil
Many users who try to download paid apps are complaining that the downloads are not actually working. Google needs to display a support e-mail regarding Market issues in plain site so that users will not contact developers for payment and download related issues. On Feb 21, 10:54 am, Stoyan

[android-developers] Re: Paid apps related questions discussion list?

2009-02-21 Thread Gil
+ 1 for updates not downloading. Google, please fix the Market problems. I got 100 e-mails today about Market payment and download problems. Please support your products! On Feb 21, 12:53 pm, Jon Colverson jjc1...@gmail.com wrote: On Feb 21, 3:24 pm, Stoyan Damov stoyan.da...@gmail.com wrote:

[android-developers] Re: Charging for upgrading from free to paid version with new features

2009-02-19 Thread Gil
David, If I understand correctly what you are saying, a developer can upload an updated version of an application and then set a price. Others seem to suggest that the application package name must be changed (a new application must be created) in order to allow the developer to set a price

[android-developers] TextView with autoLink

2009-02-19 Thread Gil
My app implements a ListView in which every row contains a TextView which has the autoLink property turned on. The links are properly displayed when emails, phone numbers and web links are present in the text. The problem I have is that long presses don't work as they would if the no links would

[android-developers] Re: TextView with autoLink

2009-02-19 Thread Gil
If the linksClickable property is set to false the problem goes away. On Feb 19, 2:00 pm, Gil virgildobjans...@gmail.com wrote: My app implements a ListView in which every row contains a TextView which has the autoLink property turned on. The links are properly displayed when emails, phone

[android-developers] Re: RC33 Network Problem

2009-02-18 Thread Gil
@ Google On Feb 17, 5:02 pm, Gil virgildobjans...@gmail.com wrote: Can anyone from Google comment on this matter? On Feb 17, 11:42 am, Gil virgildobjans...@gmail.com wrote: I did further testing and I was wrong about one thing: the disconnect is not detected at all (not even after 5

[android-developers] Re: RC33 Network Problem

2009-02-17 Thread Gil
behavior from RC30 on in this regard.  The IOException happens anywhere from instantly to five minutes later.  It seems like a bug to me. Marc On Feb 16, 2:29 pm, Gil virgildobjans...@gmail.com wrote: I finally got to test some code on the RC33 release and I uncovered a difference

[android-developers] Re: RC33 Network Problem

2009-02-17 Thread Gil
). 2009/2/17 Gil virgildobjans...@gmail.com: What is disturbing is that event if you try to send data on a socket that is not actually connected (according to the situation I outlined initially) the socket does not throw an IOException. It simply thinks it is still connected. On Feb 17, 7

[android-developers] Re: RC33 Network Problem

2009-02-17 Thread Gil
to go to sleep the problem is quite evident. I also looked at the GTalk debug messages and it turns out that it has the same problem (it never detects that it is disconnected from the server). On Feb 17, 11:19 am, Gil virgildobjans...@gmail.com wrote: Unfortunately, watching the network state

[android-developers] Re: RC33 Network Problem

2009-02-17 Thread Gil
Can anyone from Google comment on this matter? On Feb 17, 11:42 am, Gil virgildobjans...@gmail.com wrote: I did further testing and I was wrong about one thing: the disconnect is not detected at all (not even after 5 minutes as I said initially). The reason I though that the disconnection

[android-developers] RC33 Network Problem

2009-02-16 Thread Gil
I finally got to test some code on the RC33 release and I uncovered a difference in the network code compared to earlier versions and the emulator. I'm using a persistent TLS connection to a server and a BufferedInputStream to read from the socket. The problem is that the read method throws an

[android-developers] Ringtone Picker Silent Option Selection

2009-01-19 Thread Gil
My app uses the ringtone picker and it displays the Silent option. If the users picks the Silent option I get a null Uri in onActivityResult; no problem here. The problem occurs the next time I display the ringtone picker. The input URI is null but the Silent option is not selected. Is there a

[android-developers] Re: Ringtone Picker Silent Option Selection

2009-01-19 Thread Gil
Sorry, it's working. My bug. On Jan 19, 10:48 am, Gil virgildobjans...@gmail.com wrote: My app uses the ringtone picker and it displays the Silent option. If the users picks the Silent option I get a null Uri in onActivityResult; no problem here. The problem occurs the next time I display

[android-developers] CPU asleep when using the network

2008-12-30 Thread Gil
I'm developing an application which needs a persistent TCP connection to server. I'm trying to understand what is the proper way of dealing with persistent connections to avoid draining the battery quickly. My understanding is if a socket is connected to the server and the CPU goes to sleep, if

[android-developers] Re: Crop Image Problem

2008-12-11 Thread Gil
Can anyone help with this problem? --~--~-~--~~~---~--~~ 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,

[android-developers] ExpandableListAdapter Crash

2008-12-10 Thread Gil
My uses an expandable list adapter. I ran into a problem when I update the adapter content. Here is the sequence of events: 1) Adapter contains groups A, B, C. Group A and C contain 2 children 2) I update the adapter data (I call notifyDataSetChanged) due to the fact that Group B is removed by

[android-developers] Crop Image Problem

2008-12-09 Thread Gil
Hi, I am using the code below to start the crop image activity. The photoUri is obtained by picking a photo. The crop activity is displayed as expected. When the activity terminates due to the user clicking 'Save' onActivityResult gets called, there are no errors in LogCat yet the output file

[android-developers] DatePicker widget element

2008-11-03 Thread Gil
I need a widget that allows the user to increment/decrement an integer value, identical to the ones used by the DatePicker. Is one element (change day/month/year) of the DatePicker available as a widget that I can use in my application? --~--~-~--~~~---~--~~ You

[android-developers] GalleryPicker Crash

2008-11-03 Thread Gil
I'm using MediaStore.Images.insertImage to insert an image into the images content provider. The insert reports no errors yet when I try to open the Pictures application I get the following crash: 11-03 16:09:38.196: ERROR/AndroidRuntime(980): java.lang.RuntimeException: Unable to resume

[android-developers] Lat/Lon Calculation

2008-10-25 Thread Gil
I need to compute the lat/lon for a point which is located 'n' meters south and north of a given location. Is there a class to help with this calculation? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android

[android-developers] Long Clickable View

2008-10-24 Thread Gil
I have a layout to which I dynamically add ImageViews by calling addView. How can I make the views that I add react to long click events (orange animation)? I tried setLongClickable but that does not make a difference. BTW long clicks work fine I'm just missing the animation.

[android-developers] ACTION_MEDIA_EJECT Receiver

2008-10-17 Thread Gil
I'm trying to register a broadcast listener for ACTION_MEDIA_EJECT. I tried: IntentFilter filter = new IntentFilter(); filter.addAction( Intent.ACTION_MEDIA_EJECT); context.registerReceiver( myCardListener, filter); but the onReceive of the listener does not get called

[android-developers] Content Provider MIN query

2008-10-17 Thread Gil
I would like to execute the following SQL query for a content provider I wrote: select MIN(time) filename from CACHE_OBJECTS; How can I execute such a statement using the content resolver? --~--~-~--~~~---~--~~ You received this message because you are

[android-developers] HttpURLConnection getResponseCode

2008-10-16 Thread Gil
I have a class that implements an HttpURLConnection. The class works fine most of the time. Once in a while when I perform a GET operation getResponseCode returns -1. Does anyone know under what circumstances getResponseCode returns -1? The documentation states: the response code, -1 if no valid

[android-developers] Notification Intent

2008-09-29 Thread Gil
My app uses the status bar to handle notifications. It also sets an extra string in the intent when a notification is generated. Consider the following sequence of events: 1) First notification is generated. User clicks on the notification. An activity of my app receives the intent looks at the

[android-developers] Re: Notification Intent

2008-09-29 Thread Gil
Interestingly enough if I use setData(Uri) instead of using extra intent fields, the data is different (as you would expect) between the two intents. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Notification Intent

2008-09-29 Thread Gil
Thank you Dianne! --~--~-~--~~~---~--~~ 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 [EMAIL

[android-developers] Activity Lifecycle Question

2008-09-28 Thread Gil
I have an activity which is started by the intent set by my app in the status bar. My activity uses the singleTop launchMode. I go through the following sequence of events: 1) My activity is initially not visible. 2) I get a notification in the status bar. I click on the new notification which

[android-developers] Re: Activity Lifecycle Question

2008-09-28 Thread Gil
Awesome! You saved the day ... again. --~--~-~--~~~---~--~~ 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,

[android-developers] 0.9 SDK Build Error

2008-08-27 Thread Gil
This morning I ran into the following error when I initiated the first build of the day: Error generating final archive: Debug Certificate expired on 8/27/08 9:06 AM! I try restarting Eclipse but that did not help. I'm stuck. --~--~-~--~~~---~--~~ You received

[android-developers] Re: Could not fine HelloAndroid.apk when lauching the HelloAndroid example

2008-08-27 Thread Gil
I'm having the same problem today. --~--~-~--~~~---~--~~ 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,

[android-developers] Re: 0.9 SDK Build Error

2008-08-27 Thread Gil
Thanks Ralf! That solved the problem. --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Activity Question

2008-08-27 Thread Gil
webmonkey: I confirm the behavior you are describing. If the application is started from Eclipse it behaves the way I described above. Once I start it from the Home screen the problem goes away. Justin: Given what webmonkey stated I removed all the launch flags from all the activities in the

[android-developers] Re: Activity Question

2008-08-27 Thread Gil
Thanks hackbod, I understand that the app is uninstalled and then reinstalled when started from Eclipse. I guess what I did not understand is that when you launch the app from Eclipse the behavior is different (as outlined in the sequence of steps to reproduce the problem I posted earlier) than

[android-developers] Re: Could not fine HelloAndroid.apk when lauching the HelloAndroid example

2008-08-27 Thread Gil
Xavier, I'm using the English version of Windows XP (I never switched to any another locale) and I'm in the Pacific timezone and yet I had this problem this morning. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[android-developers] Re: Activity Question

2008-08-25 Thread Gil
Hi Justin, Any update related to this issue? --~--~-~--~~~---~--~~ 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: Activity Question

2008-08-22 Thread Gil
hackbod, I wrote a simple app, based on the SDK Forwarding example, which reproduces the problem. The only difference between my app and the Forwarding app, as far as I can tell, is that the manifest: ?xml version=1.0 encoding=utf-8? manifest

[android-developers] Re: Activity Question

2008-08-22 Thread Gil
If I use singleTop for both activities the code works as expected. The singleTask launchMode is causing the behavior described above. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Activity Question

2008-08-22 Thread Gil
It turns out that singleTask is what I need in my app for my main (LAUNCHER) activity otherwise sometimes I end up with multiple instances of my activities. On Aug 22, 10:33 am, Gil [EMAIL PROTECTED] wrote: If I use singleTop for both activities the code works as expected. The singleTask

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
I did more research on this subject and I have a new situation. Activity A is the main activity and it uses the singleTask launch mode. Activity B uses the singleTop launch mode. In my app Activity A is the login activity for my application. The user enters the username and password and if it is

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
Dianne, please save me one more time. --~--~-~--~~~---~--~~ 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,

[android-developers] Re: Managed Dialogs

2008-08-21 Thread Gil
A related question... I noticed that the AlertDialogs that I use in my app seem to be managed without me calling showDialog in an Activity. If that is true, is there a way for me to write a class which extends Dialog and maybe call some getOwnerActivty() member methods to achieve the managed

[android-developers] AlertDialog Padding

2008-08-21 Thread Gil
I need to implement an AlertDialog with a EditView and an an OK and a Cancel button. I would like to be able to enable/disable the OK button if the EditText has/does not have text in it. I have two choices but I have problems with each approach: 1) If I create the AlertDialog with a layout which

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
Sorry it was not clear.Please let me try to explain the second part in a different way. 1) Start the application for the first time. Activity A is displayed (it is the main Activity i.e. uses MAIN/LAUNCHER in the intent filter). Activity A also uses singleTask launch mode. 2) User enters

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
I'm starting my own thread from Activity A and then I use a Handler to post the callback to make it thread safe. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Images Cursor Problem

2008-08-21 Thread Gil
My code launches the image picker to select a photo from external media. In the onActivityResult I call extra.getData() to obtain the image Uri. I know that it is valid because I can obtain a bitmap from the Uri. However, when I try to get a cursor for this item for the purpose of getting the

[android-developers] Re: AlertDialog Padding

2008-08-21 Thread Gil
Thanks hackbod! --~--~-~--~~~---~--~~ 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 [EMAIL

[android-developers] Re: Activity Question

2008-08-21 Thread Gil
Thanks hackbod! I moved the call to finish() after startActivity(). The behavior has not changed though. --~--~-~--~~~---~--~~ 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] Re: Activity Question

2008-08-21 Thread Gil
Thanks hackbod! I'll look into that example tomorrow to try to understand the differences. --~--~-~--~~~---~--~~ 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] Re: How to display a local file in the browser?

2008-08-20 Thread Gil
You can you load the contents of the html file yourself and call loadData with that html on a WebView? --~--~-~--~~~---~--~~ 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] Activity Question

2008-08-20 Thread Gil
I have an Activity A (the main activity) which invokes startActivityForResult with an ACTION_EDIT Intent and the associated data URI, to launch Activity B. While Activity B is displayed, the user hits the Home button. From the home screen if I click my application icon the application displays

[android-developers] Managed Dialogs

2008-08-20 Thread Gil
I would like to create a Dialog which is managed by the creating Activity (showDialog(int)). My Dialog needs a couple of parameters. The documentation suggests that I use onPrepareDialog to pass my parameters to the dialog. This can yield code that is less than elegant. First I need to store the

[android-developers] HttpsURLConnection connect exception

2008-08-18 Thread Gil
In the 0.9 SDK version if you get an exception when invoking the HttpURLConnection connect method: ERROR/OSNetworkSystem(419): unknown socket error -1 add the INTERNET permission to the manifest: uses-permission android:name=android.permission.INTERNET /

[android-developers] Re: HttpsURLConnection connect exception

2008-08-18 Thread Gil
Hi Megha, Once I added the permission it worked! --~--~-~--~~~---~--~~ 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

[android-developers] AlertDialog Icon Size

2008-08-18 Thread Gil
I built an AlertDialog and I set a 48x48 icon in the title. When I rotate the dialog to view it in landscape orientation the bottom part of the view is clipped. My view is similar to R.layout.alert_dialog_text_entry from the SDK samples. If I change the icon size to be 32x32 the AlertDialog is

[android-developers] AlertDialog Questions

2008-08-18 Thread Gil
I'm building an AlertDialog using the code below: AlertDialog.Builder d = new AlertDialog.Builder( context); d.setTitle( title); d.setIcon( iconId); d.setMessage( Please enter a valid username); d.setPositiveButton( positive, positiveListener);

[android-developers] Re: AlertDialog Questions

2008-08-18 Thread Gil
I'm finding that the problem above is dependent on the length of the string parameter passed to setMessage. For certain messages it works fine while for others it does not. Longer messages seem to always work while shorter ones might not be displayed correctly.

[android-developers] Bucket Fill

2008-05-24 Thread Gil
Hi everyone, Is there a way to implement the color bucket fill? I would like to choose a fill color, a point on the canvas and extend the reach of that color until another color or the canvas boundary is encountered. Could the PorterDuff modes be used?