[android-developers] Re: push audio to caller on android

2011-01-25 Thread Sarwar Erfan
No, not using any API in SDK. As you have mentioned about phone's speaker, I guess you already searched for it in Google. You can have few similar inquiry in this group too. So far, receiving the call, setting the phone to hands free and then playing the desired audio is the solution. Regards

[android-developers] How do you avoid self notification when with ContentProviders

2011-01-25 Thread Pepijn Van Eeckhoudt
I've implemented a custom ContentProviders that calls notifyChange passing in null as the ContentObserver. There doesn't seem to be a way to pass a ContentObserver to a ContentProvider so that's the only option. I would now like to avoid receiving self notifications for changes I make via my

[android-developers] Re: Best, easiest, cleanest, way to make a game and cross platfrom.

2011-01-25 Thread Robert Green
Let me enter this most holy war with some first hand experience. I have under my belt 5 Android-only games and one cross platform Android/ iPhone game. Want to guess which took the least amount of time relative to difficulty of game to do? The fact of the matter is that once you're good at

[android-developers] Re: Testing on Different Devices

2011-01-25 Thread Sarwar Erfan
For real device testing, some companies provide remote access to devices. Here is one: http://www.perfectomobile.com/ A decent Google search will reveal some more similar service provider. By the way, for a *rough* idea about multiple size screen porting, you can use different sized emulators.

Re: [android-developers] Re: WakeLock/Services and sleep

2011-01-25 Thread Mark Murphy
Moreover, I doubt Google Navigation uses an explicit WakeLock, preferring instead to use activity-based means of keeping the screen on. On Tue, Jan 25, 2011 at 6:30 AM, Dianne Hackborn hack...@android.com wrote: Navigation uses Service.startForeground() to say that the user is currently aware

Re: [android-developers] Problem with adjustPan andadjustResize

2011-01-25 Thread Alok Kulkarni
Thanks a lot for ur responses.I will try that out and update. Regards, Alok. On Sat, Jan 22, 2011 at 3:16 AM, Dianne Hackborn hack...@android.com wrote: You can not mix adjustPan and adjustResize.  It is one or the other.  If your window can resize to accommodate the IME, you should use

Re: [android-developers] Problem with adjustPan andadjustResize

2011-01-25 Thread Alok Kulkarni
@Dianne , If i use adjustResize only then it works on most of the devices, its observed that on an EditText keyboard comes up but the focus of the Edittext goes and user has to click again on the Edittext, which is not natural behaviour. If i use adjustPan only , then the screen does not scroll

[android-developers] Android wifi connectivity using WPA key

2011-01-25 Thread Brijesh
Hi, I want to connect my android device to a wifi point which is having a WPA key is there any method in which i can pass the SSID and password and the device will connect to that wifi-point.??? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: Customizing the UserAgent for browser.

2011-01-25 Thread Sarwar Erfan
Get the browser source from here: http://android.git.kernel.org/?p=platform/packages/apps/Browser.git And, modify the user agent string in this file. src/com/android/browser/BrowserSettings.java -- Regards Sarwar Erfan -- You received this message because you are subscribed to the Google

Re: [android-developers] Problem with adjustPan andadjustResize

2011-01-25 Thread Dianne Hackborn
Using adjustResize does not cause an edit text to lose focus in any way. The only thing it does is cause your UI to relayout for the new window size. I don't know what you are doing, but the vast majority of applications you interact with just use adjustResize with a regular view hierarchy, and

Re: [android-developers] Re: WakeLock/Services and sleep

2011-01-25 Thread Dianne Hackborn
It probably uses FLAG_KEEP_SCREEN_ON for its window to keep the screen on while in its UI, and also holds a partial wake lock to keep the device running while you are not in its UI. On Tue, Jan 25, 2011 at 12:38 AM, Mark Murphy mmur...@commonsware.comwrote: Moreover, I doubt Google Navigation

[android-developers] how to pass value from spinner to another activity

2011-01-25 Thread J@n$
I have a problem in selecting the vaues from the spinner.whenever i run the programit goes to second page instead of displaying the main page which has spinner.i knew the problem is due to default selection of spinner values. do any one knw how stop default selection -- You received this message

Re: [android-developers] simplified push notification integration

2011-01-25 Thread Jaiprakash soni
Hi I want to create view like view shown in attached image (view marked by red circle at bottom).How can I customize view for this ; any tutorial or example. -- 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] Problem with adjustPan andadjustResize

2011-01-25 Thread Alok Kulkarni
One thing i am doing is adding Edittexts defined in XML to a ListView at runtime according to number of fields.Is that causing the problem ? On Tue, Jan 25, 2011 at 2:33 PM, Dianne Hackborn hack...@android.com wrote: Using adjustResize does not cause an edit text to lose focus in any way.  The

Re: [android-developers] how to pass value from spinner to another activity

2011-01-25 Thread Mark Murphy
You cannot stop default selection, other than to set your own selection. IMHO, the selection event of a Spinner should not trigger startActivity(). On Tue, Jan 25, 2011 at 9:10 AM, J@n$ janedevana...@gmail.com wrote: I have a problem in selecting the vaues from the spinner.whenever i run the

Re: [android-developers] Android wifi connectivity using WPA key

2011-01-25 Thread Marcin Orlowski
On 25 January 2011 09:59, Brijesh masrani.brij...@gmail.com wrote: Hi, I want to connect my android device to a wifi point which is having a WPA key is there any method in which i can pass the SSID and password and the device will connect to that wifi-point.??? Tell your user to set the

[android-developers] Javascript to call the NPAPI Plugin directly

2011-01-25 Thread Ankit
Hi , I am new to Android and was looking into the Android 2.3 version. I am looking into Android Browser Plugin.The NPAPI code is in the native code. As per my understanding Browser Plugin would be loaded in the emulator as an .apk So since the plugin is already in the emulator then can the

Re: [android-developers] Android wifi connectivity using WPA key

2011-01-25 Thread Kostya Vasilyev
There is a way to do this from code: http://developer.android.com/reference/android/net/wifi/WifiManager.html#enableNetwork(int, boolean) public boolean enableNetwork (int netId, boolean disableOthers) Since: API Level 1 Allow a previously configured network to be associated with. If

[android-developers] Re: Custom Contact Sync Adapter - Icons and Titles

2011-01-25 Thread marten
Hello, this seems to be the same issue, that I have on my Motorola phone (Motorola shows my Sync-Adapter as null instead of Unknown). I investigated this a little bit and found the following log lines: 01-25 11:18:58.796 1742 6985 D ContSrcUpdtService: adding source picture_source=0

[android-developers] Re: android:horizontalSpacing

2011-01-25 Thread cool.manish
I want to reduce GridView's vertical spacing. I am not able to do it. Please help On Jan 25, 10:14 am, cool.manish mannishga...@gmail.com wrote: Hi, at one place i have seen android:horizontalSpacing=-1px in a grid view. what does it means? What is effect of setting spacing in -ve -- You

[android-developers] Http connection

2011-01-25 Thread arindam
Dear all, I am developing an app to connect with an url and pass some data. But url is blocked by citrix access gateway. Through http get/post method I can not send login id or password cause password field is hidden, in html source code. Is there any way to solve the issue. Thanks regards

[android-developers] Draw a closed polygon witihin mapview

2011-01-25 Thread Dudero
Hello, I want to display borders(based on GeoPoints) on my mapview but android does not support anything like: java.awt.polygon At the moment i solve this with the following code in the draw-method of an ItemizedOverlay: for(int i = 0;i geopoints.size();i++){

Re: [android-developers] Http connection

2011-01-25 Thread Kostya Vasilyev
You should be able to get a more accurate and timely response if you ask in a more relevant place: http://forums.citrix.com/category.jspa?categoryID=27 -- Kostya 2011/1/25 arindam arindam2gh...@gmail.com Dear all, I am developing an app to connect with an url and pass some data. But url is

[android-developers] Shape drawing - issue with corners

2011-01-25 Thread Smiley
Hi, I am following the instruction here: http://developer.android.com/guide/topics/resources/drawable-resource.html and I am trying to draw a rectangle with only 2 rounded corners. Here is my xml ?xml version=1.0 encoding=utf-8? shape xmlns:android=http://schemas.android.com/apk/res/android;

Re: [android-developers] Draw a closed polygon witihin mapview

2011-01-25 Thread Kostya Vasilyev
Android doesn't use or support java.awt.* APIs, have you tried these: http://developer.android.com/reference/android/graphics/Path.html http://developer.android.com/reference/android/graphics/Canvas.html#drawPath(android.graphics.Path, android.graphics.Paint) But I don't see anything really

[android-developers] Re: Help with Hacking the State of the Union

2011-01-25 Thread Spiral123
thanks Dave. I'll be interested to see how it goes. I'm thinking of using GAE for some server-side functionality in a couple of months. Nick On Jan 24, 11:19 pm, keyeslabs keyes...@gmail.com wrote: Over the past few days I've hacked together an experiment that targets using an app to augment

[android-developers] Draw a closed polygon witihin mapview

2011-01-25 Thread Dudero
Hello, I want to display borders (based on GeoPoints) on my mapview. But as far as I know android does not support anything like java.awt.polygon? My problem is that if I add new points to my polygon some edges intersect with others edges. The soloution is that I have to sort my points into the

Re: [android-developers] Shape drawing - issue with corners

2011-01-25 Thread Kostya Vasilyev
Lior, Apparently, something like this works a little better: corners android:topLeftRadius=15dp android:topRightRadius=15dp android:bottomRightRadius=0.1dp android:bottomLeftRadius=0.1dp / -- Kostya 25.01.2011 15:58, Smiley пишет: Hi, I am following the instruction here:

[android-developers] Error while building kernel code for HTC G2

2011-01-25 Thread s suresh
Hi All, I am trying to build linux kernel source code for Htc g2.. I got the following errors while building .. make ARCH=arm CROSS_COMPILE=/u/froyo2.2/prebuilt/linux-x86/toolchain /arm-eabi-4.4.0/bin/arm-eabi- scripts/kconfig/conf -s arch/arm/Kconfig CHK include/linux/version.h UPD

[android-developers] GestureOverlayView preventing OnSingletap/onDoubletap methods to be called

2011-01-25 Thread vivin joy
Hi i have an custom view. in main.Xml. this custom view is laid as a child view of the gestureOverlayView. so that gestureOverlayView is the parent view. i have allowed my mainActivity to implement the onGesturelistener and OnDoubleTapListener. but all the touch events are being passed to the

[android-developers] java.net.SocketException: The operation timed out

2011-01-25 Thread Bharathi raja
I developed one android application through we can download file by passing url and i am getting java.net.SocketException: The operation timed out only when i use static wifi on android phone to download file. i tried both URLConnection and HttpCclient but i got same result. anyone know the

[android-developers] Re: WakeLock/Services and sleep

2011-01-25 Thread mikeee
Thanks for all the comments. A few more from me. Diane, just to clarify I am using a *partial* wake lock as I mentioned in my original post and this is what Mark was implying was evil. I understand that it uses more batteries then not having acquiring the lock but it seems that if you have a

[android-developers] What is the best way to display OpenGL graphics with Camera preview background?

2011-01-25 Thread Mr.Roland
The only way that I know of is to use one SurfaceView for the Camera preview and a GLSurfaceView for the OpenGL graphics. Make the OpenGLSurfaceView have a translucent PixelFormat and stack both SurfaceViews on top of each other using Activity.setContentView and Activity.addContentView. I know

[android-developers] Re: Shape drawing - issue with corners

2011-01-25 Thread Henrik Lindqvist
The docs say you should do the following if you only want some corners rounded: corners android:radius=15dp android:bottomRightRadius=0dip android:bottomLeftRadius=0dip / Never got that it work tho. On Jan 25, 2:30 pm, Kostya Vasilyev kmans...@gmail.com wrote: Lior, Apparently, something

[android-developers] Re: SoundPool - sample XXX not READY

2011-01-25 Thread darrinps
I have a sound based application on the market and use SoundPool. Long story short, it is quirky to say the least and only likes small sound files. I have been able to play sounds over and over (as in a loop) and change sounds though without issue once I matched up loading and unloading

[android-developers] Cell ID format

2011-01-25 Thread linhket
I use the getCid() function in the android api to get the Cell ID out of the Samsung Captivate using ATT. this function spits out these cell id really frequent (like few seconds). When I asked ATT developers, they said that these cell ids are reported by Google. My question is, is that possible

Re: [android-developers] Re: WakeLock/Services and sleep

2011-01-25 Thread Mark Murphy
On Tue, Jan 25, 2011 at 9:33 AM, mikeee mike.engelh...@gmail.com wrote: Also, Mark you said that the OS is probably terminating the service because it has acquired an everlasting wake lock. I meant that the OS is probably terminating the service because it is everlasting, not specifically the

[android-developers] Mediaplayer cuts off early

2011-01-25 Thread Hank
I have a recording that is around 4 minutes and when I try to play it using the MediaPlayer API, it doesn't play the full file, it cuts off early maybe at most 30 seconds into the file. Did anyone have this problem, and did they find a solution? I also called getDuration() and it is returning the

[android-developers] Re: ListView with XML files strategy

2011-01-25 Thread Paul
More thoughts... In terms of the ArrayAdapter in the parent activity, and being able to edit/add/remove items from it in child activities, would adding add, remove public methods to the parent activity that then call the corresponding add/remove for the array adapter seem like a valid way to

Re: [android-developers] Re: ListView with XML files strategy

2011-01-25 Thread Kostya Vasilyev
For this type of thing I'd use startActivityForResult (for new items) or a dialog, or a button (for removing items), handling the command right in the activity that displays the list. -- Kostya 25.01.2011 19:09, Paul пишет: More thoughts... In terms of the ArrayAdapter in the parent

Re: [android-developers] ListView with XML files strategy

2011-01-25 Thread TreKing
On Mon, Jan 24, 2011 at 9:20 PM, Paul pmmen...@gmail.com wrote: 1) How do I bind multiple values to multiple Views in the adapter. ArrayAdapter can't do it, is there another more appropriate option, or am I looking at creating my own custom adapter? If so, any example and/or suggestions on

Re: [android-developers] Re: ListView with XML files strategy

2011-01-25 Thread Kostya Vasilyev
Paul, And on your old questions 1 and 2 - I wouldn't use ArrayAdapter, it's too basic, a nice way to start, but really doesn't have much flexibility for complex data types. If you wanted to use a cursor-based adapter, you'd most likely need to import your data from files into a database.

Re: [android-developers] Android Camera Application Development

2011-01-25 Thread orkun gencoglu
I take it out but still the problem exist.. -- 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

Re: [android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread xiaoxiong weng
does work on some carrier like mine. It depends on if your carrier has a gateway, mine for example is 16477712...@msg.wind.ca String number = j...@edispatches.com; String st = testing; sm.sendTextMessage(number, null, st, null, null); On Mon, Jan 24, 2011 at 9:51 PM, Kostya

Re: [android-developers] Showing google map on a dialog

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 2:33 AM, subha ramkie subharam...@gmail.com wrote: I want to know if there's a way to show the map in a dialog (similar to a pop up) on top of the current screen . Currently it opens up as a new screen. Will the Dialog work here? If so, how should i set the content

[android-developers] Timer Question

2011-01-25 Thread bklik
I have lots of issues with my egg timer application. I started by just writing the application all in an action. That of course didn't work because once the user left the application, it would get garbage collected after a while and longer timers would fail. So, I tried a Service. My main

[android-developers]

2011-01-25 Thread fird hardys
-- 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

Re: [android-developers] Timer Question

2011-01-25 Thread Kostya Vasilyev
Using a Java Timer in an Android application has some drawbacks: one, it invokes the callback on a worker thread, two, it stops if the process is killed. Take a look at AlarmManager - it's reliable even if the application is killed, and uses an Android-specific notification mechanism when it

Re: [android-developers] Timer Question

2011-01-25 Thread Marcin Orlowski
On 25 January 2011 17:44, bklik brenton.k...@gmail.com wrote: So, I tried a Service. My main Activity handles all the UI stuff and binds to a Service. The user enters in the amount of time they want the egg timer to fun for, and that time gets handed off to the service. You definitely are

Re: [android-developers] Browser plugin development in Android 2.3

2011-01-25 Thread TreKing
On Mon, Jan 24, 2011 at 5:23 AM, Ankit ank82...@gmail.com wrote: I tried to build the sample browser plugin which comes with the source code but was unable to build it . If you building the source code, try a group that's dedicated to building the source code (like platform or porting). I

Re: [android-developers] Mediaplayer cuts off early

2011-01-25 Thread TreKing
On Tue, Jan 25, 2011 at 10:02 AM, Hank hwang...@gmail.com wrote: I have a recording that is around 4 minutes and when I try to play it using the MediaPlayer API, it doesn't play the full file, it cuts off early maybe at most 30 seconds into the file. Do you have any more information than

[android-developers] Re: Mediaplayer cuts off early

2011-01-25 Thread Hank
I don't get any exceptions and the log doesn't provide any information. I am trying to play a amr file On Jan 25, 12:17 pm, TreKing treking...@gmail.com wrote: On Tue, Jan 25, 2011 at 10:02 AM, Hank hwang...@gmail.com wrote: I have a recording that is around 4 minutes and when I try to play it

Re: [android-developers] Re: WakeLock/Services and sleep

2011-01-25 Thread Dianne Hackborn
Just do not sit there holding a partial wake lock forever. If this actually didn't matter, why would we have these at all? Why would we just instead skipping the whole sleeping the CPU thing? It sure would have made our life a lot easier. The problem with a partial wake lock is that on many

[android-developers] how to interact with phone call

2011-01-25 Thread gonzobrains
Hi, It is possible to programmatically interact with a phone call? Can you, for example, play audio to a caller from a program? Thanks, gb -- 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] notification help

2011-01-25 Thread Wall-E
I have created a notification when receiving an SMS and I would like my application to either launch OR if it has already been launched to return to the last activity the user left it. I tried reading up on Activities and Tasks and the flags associated with it but it did not help me much. I

Re: [android-developers] notification help

2011-01-25 Thread Kostya Vasilyev
Yes, a singleTask or singleInstance launch mode for your Activity sounds right: http://developer.android.com/guide/topics/fundamentals.html#lmodes I *think* your intent for the notificaiton is wrong: does MyApplication.class refer to your main activity, or to your application class? It

[android-developers] Need help with Google Map

2011-01-25 Thread 20plus10
Hi All I am trying to use Google Map and I have followed this instruction: http://developer.android.com/resources/tutorials/views/hello-mapview.html But I am still not able to use these liberaries for some reasons in the MapsActivity file! import com.google.android.maps.GeoPoint; import

[android-developers] SDCard question

2011-01-25 Thread Scott Deutsch
Hello Group, How do you enable the Move to SD Card button? Is it a permission thing? Also, Is there a way to make the drawable folder automatically go to the SD Card or make the whole program automatically download to the SD Card? Thanks group. -- You received this message because you are

[android-developers] Re: Sliding Drawer question

2011-01-25 Thread Scott Deutsch
Just to let you guys know...i decided not to use it and went a different route. Thanks anyways group. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

Re: [android-developers] SDCard question

2011-01-25 Thread Kostya Vasilyev
25.01.2011 21:21, Scott Deutsch пишет: Hello Group, How do you enable the Move to SD Card button? Is it a permission thing? http://developer.android.com/guide/appendix/install-location.html Also, Is there a way to make the drawable folder automatically go to the SD Card or make the whole

RE: [android-developers] Need help with Google Map

2011-01-25 Thread Tommy
You know how there are two selections for each version of the android OS you want when creating the project in eclipse? Make sure you choose to use the API version of the Level you want. ( Project --- Properties --- Android tab) So if you are using Android 2.0 click the box below it for Google

RE: [android-developers] notification help

2011-01-25 Thread Tommy
Have you set up a broadcast receiver to monitor for an incoming sms in your manifest? -Original Message- From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Wall-E Sent: Tuesday, January 25, 2011 12:50 PM To: Android Developers Subject:

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Having the same issue for Mad Yapper with some Samsung Galaxy S devices. It __APPEARS__ that a user was able to fix this issue by doing these steps in Manage Applications: 1) Force Stop 2) Clear Data 3) Uninstall 4) Re-install It sucks to have a user go through this, of course. Wonder how

[android-developers] clicking an auto link from dataadapter how to set flag new activity

2011-01-25 Thread Byron Penner
I have a dataadapter with a textview that auto parses a link. Since its context is the dataadapter not the activity I get the flag activity new task error. Anyone know how to set this flag for an auto linked textview from a dataadapter? Thanks, Byron -- You received this message because you are

[android-developers] Re: Mediaplayer cuts off early

2011-01-25 Thread Hank
So I found out that my MediaPlayer was being garbage collected so that was causing it to end early. On Jan 25, 12:40 pm, Hank hwang...@gmail.com wrote: I don't get any exceptions and the log doesn't provide any information. I am trying to play a amr file On Jan 25, 12:17 pm, TreKing

[android-developers] Re: notification help

2011-01-25 Thread Wall-E
does 'MyApplication.class' refer to your main activity, or to your application class? The MyApplication.class refers to my application class. My app has multiple activities so which activity do I use because I want it to load or restore whichever activity the user left. Have you set up a

[android-developers] Re: Problem running Android JUnit Test on eclipse

2011-01-25 Thread gaurav
No solution yet. Pl help On Jan 24, 8:24 am, A. Elk lancaster.dambust...@gmail.com wrote: I'm almost certain it's ADT. All that the ADT tools do is run the command-line tools in the background and then format the output. When I change ADT versions, I first *uninstall* the old ADT tools,

Re: [android-developers] Re: notification help

2011-01-25 Thread Kostya Vasilyev
25.01.2011 22:00, Wall-E пишет: does 'MyApplication.class' refer to your main activity, or to your application class? The MyApplication.class refers to my application class. My app has multiple activities so which activity do I use because I want it to load or restore whichever activity the

[android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread Jonathan Jenne
Right, this is why I figured it should be so easy! On any regular cell phone that I'm aware of, you can send text messages to an email address... and that's exactly what I'm trying to do here. In fact, the company I work for, most of our communication between customers and our server happens in

[android-developers] Re: notification help

2011-01-25 Thread Wall-E
Ok so I changed my intent to using my LAUNCHER (main start up) activity and it launches that activity but when the last activity is something different, it doesn't restore/launch that one. On Jan 25, 12:50 pm, Wall-E bashee...@gmail.com wrote: I have created a notification when receiving an SMS

[android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread Jonathan Jenne
By the way, i checked in the logs and SmsMessenger is giving me Invalid Destination Address I think that's funny because like I said earlier this is entirely possible to do, yet Android cannot do it? I'm trying to build for version 1.6, was this something added in later versions? On Jan 25,

[android-developers] Re: notification help

2011-01-25 Thread Wall-E
Ok I got it to work using the following as the Intent: Intent openAppIntent = new Intent(Intent.ACTION_MAIN, null, context, StartUpActivity.class) .addCategory(Intent.CATEGORY_LAUNCHER) .setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); Switching from my

[android-developers] Problem with XMLPullParser and/or Java reflection on specific devices (zio) ?

2011-01-25 Thread selmo
A new problem has shown up with my app, which appears to affect only certain devices. I don't have a lot of information about the failure, but my current best guess is it appears to be failing to read or parse an internal XML resource. I read one of several XML files from res/xml and use

Re: [android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread Kostya Vasilyev
25.01.2011 22:16, Jonathan Jenne пишет: By the way, i checked in the logs and SmsMessenger is giving me Invalid Destination Address I think that's funny because like I said earlier this is entirely possible to do, yet Android cannot do it? I'm trying to build for version 1.6, was this

[android-developers] Re: Shape drawing - issue with corners

2011-01-25 Thread Smiley
Perfect ! thanks that solved it. On Jan 25, 3:30 pm, Kostya Vasilyev kmans...@gmail.com wrote: Lior, Apparently, something like this works a little better: corners android:topLeftRadius=15dp android:topRightRadius=15dp android:bottomRightRadius=0.1dp android:bottomLeftRadius=0.1dp / --

[android-developers] Re: how to pass value from spinner to another activity

2011-01-25 Thread Jonathan Foley
You can actually stop default selection with a little hackery: http://stackoverflow.com/questions/867518/how-to-make-an-android-spinner-with-initial-text-select-one This isn't entirely future-safe because it uses method reflection and changes the visibility at runtime, but I can attest that it

Re: [android-developers] How to multi select the GridView Item?

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 2:45 AM, and.Freecomm andfreec...@gmail.com wrote: 1. how to get the state when we clicked the item in my custom ImageView? Seems like something you would track yourself. Maybe extending this makes sense:

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Scratch that -- still did not fix. Will definitely report back if I find a fix or workaround. -- 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] Re: Attempt to read preferences file without permission

2011-01-25 Thread Dustin
Scratch that -- still did not fix. Will definitely report back if I find a fix or workaround. -- 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] strange bug on Android

2011-01-25 Thread bob
I'm diagnosing a strange bug on Android. I noticed that if I insert these two lines: gl.glPushMatrix(); gl.glPopMatrix(); Things get scaled a little differently. Any ideas why? Shouldn't those two lines cancel one another out and do nothing noticeable? --

Re: [android-developers] Need help with layout problem.

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 1:01 AM, Kit Ramos kitramo...@gmail.com wrote: here's the xml file i'm using, in this it sets all the edit boxes to 150dip wide even the one where I have it set to 12dip but I don't want them all to be 150dip wide! I want the one I set to 12 be 12 and the other 150 how

[android-developers] Background color

2011-01-25 Thread Antony BODY
Hi all, I'm trying to get the background color of a button. This color was applied on this button with the XML code. It's little complicated !!! I tried some solutions like: Drawable d = findViewById(R.id.my_btn).getBackground(); But i can't obtain the background color code. Any people have

[android-developers] Wake locks and camera

2011-01-25 Thread blindfold
I noticed that in Android 2.2 and earlier I must do either a FULL_WAKE_LOCK or a combination of PARTIAL_WAKE_LOCK and FLAG_KEEP_SCREEN_ON to make sure the camera does not get turned off after a while with my app in the foreground (and I need a wake lock to keep GPS going). The underlying

Re: [android-developers] Background color

2011-01-25 Thread Kostya Vasilyev
Anthony, In general, a background is not necessarily a solid color - it can be an bitmap, a nine-patch, a gradient, state list, etc. If you know that you specified a solid color in XML, you could try casting the Drawable to a ColorDrawable:

[android-developers] ExpandableList question

2011-01-25 Thread dashman
I've got an expandable list - with multiple entries. Is it possible to have a text-label between some of the entries. this entry is not expandable (just a text label) and the height will be different (enough for the text). thanks. p.s. much like what's possible in the Preferences list. --

Re: [android-developers] ExpandableList question

2011-01-25 Thread TreKing
On Tue, Jan 25, 2011 at 3:30 PM, dashman erjdri...@gmail.com wrote: Is it possible to have a text-label between some of the entries. You can have whatever you want in each entry, including extra text, like the Preferences.

[android-developers] [Camera API] Force Close Does Not Release Camera Resource

2011-01-25 Thread Joe McCann
So while developing a custom camera application I've realized on rare occasions and on various devices if the app has to force close, it does not always release the camera resource. Is there a way to find/detect the process that is holding onto this resource and kill it? Or some other technique?

[android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread roflharrison
Sorry about the double post earlier! Opening the preferences as world readable didn't help the problem. On Jan 26, 6:03 am, Dustin dustin.bre...@gmail.com wrote: Scratch that -- still did not fix.  Will definitely report back if I find a fix or workaround. -- You received this message

Re: [android-developers] WebView; SDK

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 11:34 AM, TGundhus tgundhu...@gmail.com wrote: Here is a link to a tutorial, but I get an error, someone who got the entire pure source or know it, because it rly does not work for me (something I'm doing wrong for sure...) You should explain the error and makes sense

Re: [android-developers] Re: troubleshooting debugger issues

2011-01-25 Thread TreKing
When this stuff happens, make sure you have the right debugging instance (running the debugger multiple times can create multiple instances) and the right device selected. - TreKing

[android-developers] Re: Bitmaps with XRGB_8888 ?

2011-01-25 Thread webmonkey
Hi Romain Looking further into the Android source code when you create a 32-bit color bitmap the system always assumes you have alpha and there is no way to turn it off. Only when you load a JPEG or something does the system set the flag to ignore it. That is an unnecessary performance penalty

Re: [android-developers] Re: Attempt to read preferences file without permission

2011-01-25 Thread Kostya Vasilyev
A pretty curious case, would be interesting to know more. Anyone willing to make a one-off build of their application for one of those users having problems? It could just run ls -l for the few application-specific data directories (shared_prefs, databases, files) and capture the output.

[android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread JAlexoid (Aleksandr Panzin)
A) If you have a website, then you can use the HTTP Client to do the interaction with your server and post all the messages you like (This is the easy way a.k.a WebService) B) If you need to only send the email to one single address, then just send it over SMTP directly to that server. An SMTP

[android-developers] Error receiving broadcast Intent NullPointerException

2011-01-25 Thread ericharlow
I was working on creating a wifi service for my application. When I ran into a strange error detailing Error receiving broadcast Intent ... and stating that there was a NullPointerException. I was finally able to track this issue down. What I discovered was a broadcast intent action like

Re: [android-developers] Re: Send an SMS message to an email?

2011-01-25 Thread Kostya Vasilyev
Whenever port 25 is blocked, port 587 is often left open and available for submitting new messages. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.01.2011 1:08 пользователь JAlexoid (Aleksandr Panzin) jalex...@gmail.com написал: -- You received this message because you are subscribed

[android-developers] Re: Game Engine

2011-01-25 Thread JAlexoid (Aleksandr Panzin)
Oh.. So you did. What is the name of the game you developed using that engine? On 25 янв, 08:29, Kevin R. Octavian kevin.r.octav...@gmail.com wrote: i used candroidengine On Wed, Jan 19, 2011 at 9:38 PM, Orkun orkungenco...@gmail.com wrote:  Hi all! I wanna ask, what do you think the best

[android-developers] Re: Android wifi connectivity using WPA key

2011-01-25 Thread ericharlow
also you can checkout an open source wifi library at http://code.google.com/p/android-wifi-connecter/ On Jan 25, 3:16 am, Kostya Vasilyev kmans...@gmail.com wrote: There is a way to do this from code: http://developer.android.com/reference/android/net/wifi/WifiManager.h..., boolean) public

Re: [android-developers] Error receiving broadcast Intent NullPointerException

2011-01-25 Thread Kostya Vasilyev
Do you have a stack trace for this crash? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 26.01.2011 1:21 пользователь ericharlow eric.b.har...@gmail.com написал: I was working on creating a wifi service for my application. When I ran into a strange error detailing Error receiving broadcast

[android-developers] Re: Sending AVRCP play command, getting spammed with broadcast

2011-01-25 Thread Haseman
I'm seeing this happen when I unplug some hardware headsets that have microphones. On Jan 17, 9:36 am, James jrs8...@gmail.com wrote: Hello. I have some hardware that sends the AVRCP play command to the phone upon bluetooth connection. What I am seeing is the MEDIA_BUTTON action intent

Re: [android-developers] Creation Of Word Pad Editor

2011-01-25 Thread TreKing
On Fri, Jan 21, 2011 at 9:01 AM, Vaibhav Nalwad itsmevaibhav...@gmail.comwrote: don't know...from Where to Start With...Please Help Me in This Regard http://developer.android.com/index.html -

  1   2   >