[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread SteveV
Thanks for sharing... I had the following code.. which works on the emulator, but I can't get it to work on my phone (with or without the pattern lock enabled): I had a line in my onPause that calls reenableKeyguard(), if unlocked==true. I'll keep trying - I noticed your code uses

[android-developers] Re: WebView for Form based Local AJAX application

2009-02-25 Thread Miguel Paraz
One problem I found is that I can't disable scrolling in the WebView. I can disable the scrollbars, but the touchscreen can still be used for scrolling. On Feb 19, 9:06 am, Miguel Paraz mpa...@gmail.com wrote: I'm thinking of using WebView as a container for Form based JavaScript+DHTML

[android-developers] Re: How To Custom Horizontal Scroll?

2009-02-25 Thread roland
It works very well. On 28 jan, 01:41, Moto medicalsou...@gmail.com wrote: Well what can I say thanks all for the input! and to bring all this issue to an end I figured out a way to make this shaking issue go away! with only 2 lines of code! not sure how well it would work for other things

[android-developers] Accessing Revert Key inDPad

2009-02-25 Thread sampath
Hi Friends, Am new to Android, I want to Access Revert Button( Like Back button - ) in DPad.. can anyone help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread jarkman
Steve - you're doing exitKeyguardSecurely, and I think you should be doing disableKeyguard. Chronologically, when the unlock pattern is turned on, I think the sequence should be: - Keyguard is on - You call disableKeyguard - The keyguard goes away - You show your activity, which should not

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread David Turner
On Mon, Feb 23, 2009 at 1:40 PM, Daniel dan...@pocock.com.au wrote: Hi, I've seen the unlocked G1 offer for developers (named Android Dev Phone 1, instead of G1): http://developer.android.com/guide/developing/device.html How do I order the HTC Magic (G2) through this program? The

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Al Sutton
Sorry to nit pick, but should that be will not be or did you mean ...is not... The only thing is that the Dream was not available as a developer 'phone until a couple of weeks after commercial launch (so that would be late April/early May for the Magic). Al. David Turner wrote:

[android-developers] URLConnection.getOutputStream() working fine in java main but not in android activity (Urgent plz)

2009-02-25 Thread zeeshan
URLConnection conn = url.openConnection(); in debug stack the value of conn is like this debug stack:--- when i click on conn, it shows me this value org.apache.harmony.luni.internal.net.www.protocol.http.HttpURLConnection:http://

[android-developers] Re: Available eMail clients

2009-02-25 Thread Chronos
Unfortunately this isn't working either: - text/plain in the above will change nothing (maybe except some internal interpretion of the content) - Using Intent.ACTION_SENDTO with an URI (like mailto:some...@somewhere.com;) will launch the application chooser - but the Email application will not

[android-developers] How can I frequently get the onLocationChanged()?

2009-02-25 Thread manoj
Hi friends, In my application I want onLocationChanged() to be called frequently. Is it possible? Actually, I should get the accurate accuracy of the location. How to do it? Can any one please suggest me? Thanks, Manoj. --~--~-~--~~~---~--~~ You received this

[android-developers] Re: build android error with eclipse

2009-02-25 Thread Fred Grott(shareme)
you do not have the Eclipse ADT plugin set to your sdk folder.. On Feb 24, 11:53 pm, royzha...@gmail.com royzha...@gmail.com wrote: Hi,    build android error with eclipse, can u help me? THX Description     Resource        Path    Location        Type Project 'android' is missing

[android-developers] Re: Solved: WebView: Passing JSON from Java to JavaScript

2009-02-25 Thread Fred Grott(shareme)
Thanks Miguel that is a handy trick On Feb 25, 1:22 am, Miguel Paraz mpa...@gmail.com wrote: I got the solution by chance. If you make the Javascript VM create a new string, by appending a blank string, then this can now be parsed as JSON. I don't know why. On Feb 25, 12:33 pm, Miguel Paraz

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

2009-02-25 Thread Pratap
02-25 10:11:53.839: WARN/System.err(211): java.net.SocketException: The operation timed out 02-25 10:11:53.940: WARN/System.err(211): at org.apache.harmony.luni.platform.OSNetworkSystem.connectSocketImpl (Native Method) 02-25 10:11:53.940: WARN/System.err(211): at

[android-developers] How can i access one activity from another in the same package?

2009-02-25 Thread ipeg . student
Hi Android Developers.. Thanks for the greate replies. Now my question is I have 5 activities in my project. How can i check the condition of 2nd activity from 4th activity? Based upon this condition i want to do something. If anybody know this please tell

[android-developers] Waiting for debugger in release version of an application

2009-02-25 Thread Alec
Hi i have a strange problem and cant see whats is not working. I have developed an app, and i have been testing it on the phone by debugging it and stepping through in eclipse. This works flawlessly (well it doesnt crash) My issue is when i go through the motions of Export Unsighed Apk

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

2009-02-25 Thread Pratap
I'm developing an app which needs to connect to the internet, but when i send a request using DefaultHtpClient.execute() method it takes 2-3 minutes and then the stacktrace says java.net.SocketException:operation timed out does anybody knos how to solve the problem...reply as soon as

[android-developers] Re: java.net.SocketException: The operation timed out............not behind proxy

2009-02-25 Thread dillirao malipeddi
if you want to set connection time out use bellow code int TIMEOUT_MILLISEC = 1; //=10sec HttpParams my_httpParams = new BasicHttpParams();; HttpConnectionParams.setConnectionTimeout(my_httpParams, TIMEOUT_MILLISEC); //set conn time out HttpConnectionParams.setSoTimeout(my_httpParams,

[android-developers] Re: OpenGL texture is upside down

2009-02-25 Thread and.pradeep
fill texture buffer starting from upper right coordinate, u would find it right. On Dec 29 2008, 5:33 am, Tom H tomhi...@gmail.com wrote: Hello.  I'm trying to map atextureon a surface, but it's showing up inverted (upside down).  It works correctly in WindowsOpenGL.  Here are the relevant

[android-developers] How to place images in gallery on windows SDK emulator

2009-02-25 Thread Shadakshari Hiremath
Hello Android, I want to add some images to gallery in android emulator of windows SDK. When pictures application is launched it is saying no pictures found. How to mount a SD card on android emulator on windows SDK and copy images into it? BR, Shaddu

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-25 Thread Al Sutton
A contact I have inside Amazon is away on a couple of days of business meetings at the moment I've asked if there is anything they can do, so I may get some clarification back in the next couple of days as to what the problem may be. Al. Markus Junginger wrote: Don't give up on the AWS

[android-developers] Distinguishing an OEM app from other apps

2009-02-25 Thread iblues
Hi all, I am wondering if there is a possibility of declaring an OEM application from the other applications downloaded by an end-user. Is this possible ? Regards, iblues --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] Maipulating TabWidgets Looks - how?

2009-02-25 Thread kilobike
Hi All, I'm trying to manipulate the looks of some Tab Widgets. I figured that one can define styles and themes referencing TabProperties like this: style name=Widget.TabWidget parent=android:Widget.TabWidget item name=android:background@drawable/gradient_blue_gray/ item /style The

[android-developers] Reading Google Sync Settings

2009-02-25 Thread Abraham
HI All, My app requires to read whether Google sync setting(MainMenu-Settings- Data Synchronization-Contacts) is enabled / disabled. Is there any way we can read / write the google sync settings. If yes..could some pls let me know how we can achieve this. Thanks Regards Abraham

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-25 Thread Sena Gbeckor-Kove
Use a proxy server or adapter? Scalability could become an issue though there are autoscaling solutions that might be able to handle things. S On 25 Feb 2009, at 12:39, Markus Junginger wrote: Don't give up on the AWS project just yet ;). What are the options? It is better to quit a

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-25 Thread Markus Junginger
On Feb 25, 1:27 pm, Sena Gbeckor-Kove s...@imkon.com wrote: Use a proxy server or adapter? I think that does not make a difference to Amazon - they seem to disallow using the data on mobile devices, no matter where the data came from. --~--~-~--~~~---~--~~ You

[android-developers] Re: Solved: WebView: Passing JSON from Java to JavaScript

2009-02-25 Thread Mark Murphy
Miguel Paraz wrote: I got the solution by chance. If you make the Javascript VM create a new string, by appending a blank string, then this can now be parsed as JSON. I don't know why. A team I was working with ran into this too. In their case, they weren't even parsing JSON -- they were just

[android-developers] how to stretch texture

2009-02-25 Thread and.pradeep
hi, i am applying texture(jpg) to a Quad and drawing using triangles. but I am not getting the texture stretched in the quad but copies of the texture as tiles are filling the quard. what should i do to get the texture stretched to the quad?

[android-developers] Re: Amazon Web Services (AWS) from Android

2009-02-25 Thread Sena Gbeckor-Kove
Bummer :( S On 25 Feb 2009, at 13:59, Markus Junginger wrote: On Feb 25, 1:27 pm, Sena Gbeckor-Kove s...@imkon.com wrote: Use a proxy server or adapter? I think that does not make a difference to Amazon - they seem to disallow using the data on mobile devices, no matter where the data

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Jean-Baptiste Queru
I think that ADP1 makes a better development device (it's easier to pretend that you have no keyboard even if you have one than the other way around), and supporting a single development device has already proven to be hard enough that adding a second one would stretch our meager resources even

[android-developers] Re: Dev Phone and RC33 update

2009-02-25 Thread Jean-Baptiste Queru
PLAT-RC33 is the variant of Android 1.1 ported to Dream (G1) and customized for T-Mobile US, so it's not the appropriate build for the ADP1. There's no news on that subject as there isn't anything to announce yet. We're still pushing hard to get 1.1 available for ADP1 owners, but some things

[android-developers] Re: Dev Phone and RC33 update

2009-02-25 Thread Sena Gbeckor-Kove
Thanks for the update. S On 25 Feb 2009, at 14:59, Jean-Baptiste Queru wrote: PLAT-RC33 is the variant of Android 1.1 ported to Dream (G1) and customized for T-Mobile US, so it's not the appropriate build for the ADP1. There's no news on that subject as there isn't anything to announce

[android-developers] Re: How many projects are being canned because of Market TCs

2009-02-25 Thread Tote
You might be interested in this article, too: http://www.rethink-wireless.com/?article_id=1082 Something worth citing: Pinch Media, found that most users who download an App Store product use it for only a few minutes, while only 20% return to the software the day after downloading. Long term

[android-developers] Re: how to stretch texture

2009-02-25 Thread quakeboy
what did u change to make it stretch and how was it tiling before ? On Feb 25, 7:19 pm, and.pradeep and.prad...@gmail.com wrote: hey,   i got it just have to map the texture cordinates [0,1] to the quad that has to be drawn. On Feb 25, 6:22 pm, and.pradeep and.prad...@gmail.com wrote:

[android-developers] Re: Dev Phone and RC33 update

2009-02-25 Thread roland
I would like to know if the ADP 1.1 firmware contains the cupcake? Waiting for your response... On 25 fév, 14:59, Jean-Baptiste Queru j...@android.com wrote: PLAT-RC33 is the variant of Android 1.1 ported to Dream (G1) and customized for T-Mobile US, so it's not the appropriate build for the

[android-developers] Re: How many projects are being canned because of Market TCs

2009-02-25 Thread Al Sutton
Any real difference between the stats in it and the link I posted 5 days ago; http://groups.google.com/group/android-discuss/browse_thread/thread/106dbc1a191a5e21/42552c0a4855c9e9?lnk=gstq=Al+Sutton+profit+is+open#42552c0a4855c9e9 Al. Tote wrote: You might be interested in this article, too:

[android-developers] Market Place refund is automatically uninstalling apps.

2009-02-25 Thread chrispix
Well to our dismay, it appears that if you issue someone a refund, it automatically uninstalls their application. There are several cases I can think of where you might not want this to happen. 1) You have an upset customer who you would like to issue a refund to, but still allow them to keep

[android-developers] Market Place refund is automatically uninstalling apps.

2009-02-25 Thread chrispix
Well to our dismay, it appears that if you issue someone a refund, it automatically uninstalls their application. There are several cases I can think of where you might not want this to happen. 1) You have an upset customer who you would like to issue a refund to, but still allow them to keep

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Daniel
On Feb 25, 1:51 pm, Jean-Baptiste Queru j...@android.com wrote: I think that ADP1 makes a better development device (it's easier to pretend that you have no keyboard even if you have one than the other Developers may be attracted to the G2 for other reasons too - e.g. a phone that can be used

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Al Sutton
Daniel, You only have to look at the fun people are having trying to get an updated ADP1 image to see how the support for developer devices is falling a fair way short of where it should be (remember, the ADP1 which is targetted at developers can't see paid-for apps yet, so the very people

[android-developers] Re: A big OpenGL speed issue + my code contribution to other OpenGL beginners

2009-02-25 Thread Sundog
Very cool! Thanks very much! After I get my current three projects out there I really want to dig into this. On Feb 25, 4:39 am, quakeboy prasna...@gmail.com wrote: Single Threaded OpenGL game ! (check bottom, you can download and use the helper class) Lighting disabled ! Depth Buffer

[android-developers] Re: Android native and Dalvik performance compare

2009-02-25 Thread lianwei
No, it's just a code segment. If you de-compile the binary you will find that it's a real loops, not being eliminated . And in fact, the 100 will also be a variable. On Feb 25, 2:19 am, Daniel Berlin daniel.ber...@gmail.com wrote: This test is worse than worthless, since the loop will be

[android-developers] Re: How to use Media Player in a library class?

2009-02-25 Thread Marco Nelissen
On Tue, Feb 24, 2009 at 9:55 PM, madcoder paperga...@gmail.com wrote: I have successfully implemented the Media Player for my apps, but when I tried to use some of the callback methods I ran into a problem. What I'm trying to do is use Media Player in a reusable (library) class.  This

[android-developers] Re: Dev Phone and RC33 update

2009-02-25 Thread Jean-Baptiste Queru
Release 1.1 is thankfully not based on the cupcake development tree. JBQ On Wed, Feb 25, 2009 at 6:59 AM, roland roland...@gmail.com wrote: I would like to know if the ADP 1.1 firmware contains the cupcake? Waiting for your response... On 25 fév, 14:59, Jean-Baptiste Queru

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Daniel
You only have to look at the fun people are having trying to get an updated ADP1 image to see how the support for developer devices is falling a fair way short of where it should be (remember, the ADP1 which is targetted at developers can't see paid-for apps yet, so the very people who are

[android-developers] Re: How can I frequently get the onLocationChanged()?

2009-02-25 Thread john
You need to establish a LocationListener - Example: lm = (LocationManager) trackingService.this.getSystemService (Context.LOCATION_SERVICE); ll = new MyLocationListener(); lm.removeUpdates(ll); lm.requestLocationUpdates(gps, 0, 0, ll); The two zeros determine how often to get

[android-developers] Single choice dialog item selection

2009-02-25 Thread Rafa
Hi every one. I have implemented a single choice dialog this way: On my strings.xml I defined the following array and strings: [syntax=xml] string name=titulo_pedir_telIngresar número telefónico/string string name=accion_selecionarAceptar/string string name=accion_cancelarCancelar/string !--

[android-developers] Re: How can I frequently get the onLocationChanged()?

2009-02-25 Thread Mark Murphy
john wrote: You need to establish a LocationListener - Example: lm = (LocationManager) trackingService.this.getSystemService (Context.LOCATION_SERVICE); ll = new MyLocationListener(); lm.removeUpdates(ll); lm.requestLocationUpdates(gps, 0, 0, ll); The two zeros determine how often

[android-developers] Request to device test the Android Application

2009-02-25 Thread nitichandra ingle
Hi, We have been developing mobile applications for various mobile platforms and have recently started Android development. We are facing a small problem and looking for a volunteer who can just device test the application for us. We have developed an application named Search Dine which is a

[android-developers] Re: Request to device test the Android Application

2009-02-25 Thread Sena Gbeckor-Kove
I might be able to do it later tonight though I won't be able to spend hours on it. S On 25 Feb 2009, at 17:05, nitichandra ingle wrote: Hi, We have been developing mobile applications for various mobile platforms and have recently started Android development. We are facing a

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Jean-Baptiste Queru
It would take more effort to support 2 developer devices instead of 1. The current message from the developer community is crystal clear: the effort that's currently being spent on the ADP1 by the people who can resolve the current issues with it is frustratingly inadequate. Adding a second

[android-developers] Re: Request to device test the Android Application

2009-02-25 Thread Andrea Fanfani
On Wed, Feb 25, 2009 at 09:35:09PM +0530, nitichandra ingle wrote: Hi, We have been developing mobile applications for various mobile platforms and have recently started Android development. We are facing a small problem and looking for a volunteer who can just device test the

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Sena Gbeckor-Kove
Sounds sensible. S On 25 Feb 2009, at 17:08, Jean-Baptiste Queru wrote: It would take more effort to support 2 developer devices instead of 1. The current message from the developer community is crystal clear: the effort that's currently being spent on the ADP1 by the people who can

[android-developers] Re: Request to device test the Android Application

2009-02-25 Thread Sena Gbeckor-Kove
I'm retracting my previous offer as you have somebody already and I'm sure lots of people will also offer. I have spotted a bug in one of my products and must deal with it. Sorry S On 25 Feb 2009, at 17:08, Andrea Fanfani wrote: On Wed, Feb 25, 2009 at 09:35:09PM +0530, nitichandra

[android-developers] Re: Request to device test the Android Application

2009-02-25 Thread nitichandra ingle
that will b fine thanks for offering ur help though Kove, hope u resolve ur bug problem soon and yes Andrea i shall contact u personally on ur mail will let u know wat exactly you should be telling us Thanks guys. On Wed, Feb 25, 2009 at 9:40 PM, Sena Gbeckor-Kove s...@imkon.com wrote: I'm

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Al Sutton
JBQ, Are there any problems with the ADP1 build that you can share with the list, maybe someone here can help. Al. Jean-Baptiste Queru wrote: It would take more effort to support 2 developer devices instead of 1. The current message from the developer community is crystal clear: the effort

[android-developers] Re: How to use Media Player in a library class?

2009-02-25 Thread Paper Coder
Yes, you're correct. I created my library class a month ago and was updating it to use callbacks. I didn't realize it was calling prepare inside the create method. Thanks! On Wed, Feb 25, 2009 at 10:50 PM, Marco Nelissen marc...@android.comwrote: On Tue, Feb 24, 2009 at 9:55 PM, madcoder

[android-developers] Re: Market Place refund is automatically uninstalling apps.

2009-02-25 Thread Jeff Brandt AKA Androidakin
I don't see how you can have it both ways. If you allow people to ask for a refund and keep the app, they will. There are quite a few customers how complain about food so they can get it for free or a discount. Jeff On Feb 25, 7:11 am, chrispix chris...@gmail.com wrote: Well to our dismay,

[android-developers] Re: Market Place refund is automatically uninstalling apps.

2009-02-25 Thread Stoyan Damov
On Wed, Feb 25, 2009 at 7:02 PM, Jeff Brandt AKA Androidakin jlb...@gmail.com wrote: I don't see how you can have it both ways.  If you allow people to ask for a refund and keep the app, they will.  There are quite a few customers how complain about food so they can get it for free or a

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Jean-Baptiste Queru
On the open-source side of things, the biggest problem is that the port of Android to the HTC Dream (the which is the ADP1 hardware) relies on proprietary binaries that aren't conveniently available to the general public, and even the current solution of reading the 1.0 or 1.1 version of those

[android-developers] How to read dumpsys alarm?

2009-02-25 Thread Mariano Kamp
Hi there, I have the problem that alarms get lost somehow and I would like to know how to read the dumpsys alarm output? The actual alarms I am trying to trackdown are from com.newsrob. I am also running a com.scheduletest. The latter I run as repeating alerts once an hour as RTC_WAKEUP and

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-25 Thread Freddy
Hello, Thanks for the info. I tried your suggestion, and it does 'appear' to work stepping through the code in the debugger but afterwards this causes com.android.camera to crash with a null pointer exception. Have you seen this? I started a new thread on this but should have kept it in this

[android-developers] Re: How to read dumpsys alarm?

2009-02-25 Thread Mariano Kamp
Uh. Just found out that one section, the one still showing the newsrob alarms, is just about stats So its historic and keeps track of old, but not any longer scheduled alarms. So forget about this mail. Sorry. On Wed, Feb 25, 2009 at 6:09 PM, Mariano Kamp mariano.k...@gmail.comwrote: Hi

[android-developers] Re: How can i access one activity from another in the same package?

2009-02-25 Thread Marco Nelissen
What do you mean by check the condition? If you're in activity #4 in your application, then activity #2 will likely be paused. On Wed, Feb 25, 2009 at 2:21 AM, ipeg.stud...@gmail.com wrote: Hi Android Developers..                        Thanks for the greate replies. Now my question is

[android-developers] Re: Request to device test the Android Application

2009-02-25 Thread Sena Gbeckor-Kove
No Problem Good luck also S On 25 Feb 2009, at 17:19, nitichandra ingle wrote: that will b fine thanks for offering ur help though Kove, hope u resolve ur bug problem soon and yes Andrea i shall contact u personally on ur mail will let u know wat exactly you should be telling us

[android-developers] Re: java.net.SocketException: The operation timed out............not behind proxy

2009-02-25 Thread AlCapwn
Do you have permission to access the Internet declared in your manifest? On Feb 25, 10:53 am, Pratap pratap.sola...@gmail.com wrote: I'm developing an app which needs to connect to the internet, but when i send a request using DefaultHtpClient.execute() method it takes 2-3 minutes and then

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Sena Gbeckor-Kove
Thanks for the explanation. S On 25 Feb 2009, at 18:08, Jean-Baptiste Queru wrote: On the open-source side of things, the biggest problem is that the port of Android to the HTC Dream (the which is the ADP1 hardware) relies on proprietary binaries that aren't conveniently available to

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread David Turner
On Wed, Feb 25, 2009 at 10:37 AM, Al Sutton a...@funkyandroid.com wrote: Sorry to nit pick, but should that be will not be or did you mean ...is not... The only thing is that the Dream was not available as a developer 'phone until a couple of weeks after commercial launch (so that

[android-developers] Gesture detection using touchscreen and accelerometer

2009-02-25 Thread Gavin Aiken
Hi Guys, I want to use gestures for navigation in my application. The classic would be to draw clockwise / counter clockwise on the screen for zooming. Does this functionality exist as is? Any third party libraries? Any reason why I shouldn't attempt to write one if it doesn't exist? I had a

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-25 Thread todd
If you want to just pick a photo using the built in photo viewer, send the following intent: Intent photoPickerIntent = new Intent(Intent.ACTION_PICK); photoPickerIntent.setType(image/*); startActivityForResult(photoPickerIntent, 1); and then in

[android-developers] Uninstalling Trial app when installing Paid app

2009-02-25 Thread Jay-andro
Is there a way to detect upon install or first use, if another app (in this case, the trial version of the same app from the same developer with the same key but different package name) is still installed? If yes, then the next question is can one app uninstall another with the same key, if the

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Al Sutton
I know a number of people felt a bit burned by buying a G1 only to find out a few weeks later we could have got an ADP1 which would have given a lot more freedom. I'd hate to see that happen again. Al. David Turner wrote: On Wed, Feb 25, 2009 at 10:37 AM, Al Sutton a...@funkyandroid.com

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Disconnect
The building-for-dream page points to the script (extract-files.sh): adb pull /system/etc/AudioFilter.csv proprietary/AudioFilter.csv adb pull /system/etc/AudioPara4.csv proprietary/AudioPara4.csv adb pull /system/etc/gps.conf proprietary/gps.conf adb pull /system/etc/firmware/brf6300.bin

[android-developers] Re: How can I launch the built-in picture viewer app from my app?

2009-02-25 Thread Freddy
Thanks but I'm trying to insert a photo into the android photo gallery viewer so the photo is immediately viewable. Basically I need the gallery to rebake and display new content. Your sample appears to handle the other direction (accepting a photo from the viewer) which is not what I need. On

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Al Sutton
Ouch. Bang goes the open source idea. Disconnect wrote: The building-for-dream page points to the script (extract-files.sh): adb pull /system/etc/AudioFilter.csv proprietary/AudioFilter.csv adb pull /system/etc/AudioPara4.csv proprietary/AudioPara4.csv adb pull /system/etc/gps.conf

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Romain Guy
Android is open source, that doesn't mean Android devices have to be. On Wed, Feb 25, 2009 at 10:29 AM, Al Sutton a...@funkyandroid.com wrote: Ouch. Bang goes the open source idea. Disconnect wrote: The building-for-dream page points to the script (extract-files.sh): adb pull

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-25 Thread focuser
anyone please? On Feb 24, 5:10 pm, focuser linto...@gmail.com wrote: Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which requires current modelview, projection matrices and viewport. My question is how to get those matrices?  I

[android-developers] Embedding Android project/library in another

2009-02-25 Thread Rmac
I am working on an Android project I want to use as a base library for other Android apps. The base has its own set of classes and resources. I can create a jar containing all the base components and those are referenced properly by another project, but during runtime the base classes used in

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Disconnect
So you'll be releasing the sources to ANDROID market and the GLS any day now, right? :) On Wed, Feb 25, 2009 at 1:31 PM, Romain Guy romain...@google.com wrote: Android is open source, that doesn't mean Android devices have to be. On Wed, Feb 25, 2009 at 10:29 AM, Al Sutton

[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread jarkman
Well, I have good news and bad news. I can reliably turn the device on keep it on for a few seconds, as seen below. private void PowerUp() { PowerManager pm = (PowerManager) getSystemService (Context.POWER_SERVICE); cancelWakeLock();

[android-developers] Re: Waking the phone safely disabling the keyguard

2009-02-25 Thread jarkman
But the bad news is, I still can't make the keyguard dismissal work correctly. My current code will dismiss the keyguard the first time it runs, and will go through the secure dismissal, and get my activity all the way to finish();. But, if my activity wants to run a second time during the same

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
Rmac wrote: I am working on an Android project I want to use as a base library for other Android apps. The base has its own set of classes and resources. I can create a jar containing all the base components and those are referenced properly by another project, but during runtime the base

[android-developers] Re: Unable to Update a Contact Phone number

2009-02-25 Thread Sam
Hi ildus, Thanks for the sample! I was able to get update to work and figure out where we differ. I was using the personID to do multiple deletes or updates. The logic was similar to query where we use the Person id to query the phone database for multiple phone records that are associated with

[android-developers] Re: Single choice dialog item selection

2009-02-25 Thread moazzamk
You can try this : public AlertDialog.Builder setOnItemSelectedListener (AdapterView.OnItemSelectedListener listener) Get the item when its selected, and based on the button clicked you can perform your action. http://developer.android.com/reference/android/app/AlertDialog.Builder.html -

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Ron
Thanks Mark. Can I have a bit more information as I am still unclear? Do you have a 'before' and 'after' example? Thanks. On Feb 25, 1:05 pm, Mark Murphy mmur...@commonsware.com wrote: Rmac wrote: I am working on an Android project I want to use as a base library for other Android apps.  

[android-developers] Re: Host is unresolved error

2009-02-25 Thread Rafal
On Feb 4, 6:57 am, PRATAP SOLAPUR pratap.sola...@gmail.com wrote: U need to use the ip address of the web..like  http://74.125.19.103this is for googlei was also  facing the same problemthis solved it.emulator doesnt recognize dns names... On 2/3/09, newuser

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
Ron wrote: Thanks Mark. Can I have a bit more information as I am still unclear? Do you have a 'before' and 'after' example? Thanks. U... Before: void doSomething() { InputStream is=getResoures().openRawResource(R.raw.something); // do something with stream here }

[android-developers] Re: Host is unresolved error

2009-02-25 Thread Mark Murphy
Rafal wrote: On Feb 4, 6:57 am, PRATAP SOLAPUR pratap.sola...@gmail.com wrote: U need to use the ip address of the web..like http://74.125.19.103this is for googlei was also facing the same problemthis solved it.emulator doesnt recognize dns names... On 2/3/09,

[android-developers] Re: Single choice dialog item selection

2009-02-25 Thread Rafa
Thank you very much for your answer. I fixed the problem. Regards On 25 feb, 16:34, moazzamk moazz...@gmail.com wrote: You can try this : public AlertDialog.Builder   setOnItemSelectedListener (AdapterView.OnItemSelectedListener listener) Get the item when its selected, and based on the

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Henrik Gustafsson
On Feb 25, 2009, at 21:14 , Mark Murphy wrote: In this example, doSomething() is implemented in the base JAR. The resources are not defined in the base JAR, but rather in the APK that is using the base JAR. Hence, the base JAR not only does not have R.java, but it cannot even rely upon

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Ron
What about all the Android APIs referencing resources such as setIcon (R.drawable.myIcon)... how would those be handled? Those are the ones I am having problems with not any of my APIs. I'm getting a feeling the resource architecture of Android doesn't lend itself to library sharing. On Feb

[android-developers] surffaceHolder.lockCanvas(dirtyRect) help?

2009-02-25 Thread snctln
So I am trying to do all I can to increase the FPS on one my games. When trying to draw a bitmap to the background of a canvas, and then call unlockAndPost() on that canvas the fps rate goes down about 30% So I am trying to work with the lockCanvas(dirtyRect) function, but it doesn't seem to

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Mark Murphy
Ron wrote: What about all the Android APIs referencing resources such as setIcon (R.drawable.myIcon) You mean like the example I showed, of openRawResource()? You pass in the resource IDs from the APK. In the library, you use the passed-in resource IDs. I'm getting a feeling the resource

[android-developers] Re: OpenGL: how to use gluUnProject on Android?

2009-02-25 Thread focuser
up.. On Feb 25, 10:37 am, focuser linto...@gmail.com wrote: anyone please? On Feb 24, 5:10 pm, focuser linto...@gmail.com wrote: Hi, I'm trying to convert window coordinates to object coordinates. There's a gluUnProject in GLU class, which requires current modelview, projection

[android-developers] Re: Market Place refund is automatically uninstalling apps.

2009-02-25 Thread chrispix
What happens if I sell a book on Google Checkout via an Auction. Maybe I sell it for 99 cents + shipping. When it gets there they realize I sent the wrong book. So rather than them spending the money to ship the book back (more than 99 cents). I say keep it, and I will send you the correct one.

[android-developers] Re: Embedding Android project/library in another

2009-02-25 Thread Ron
I am sorry for being dense... How would I change setIcon(R.drawable.myIcon) using your technique? Are you saying do a global change in the base project by replacing all references of R.drawable.* with getResources().getDrawable (R.drawable.*)? Then during runtime it will properly resolve to the

[android-developers] Re: run simulator innormally build project error on eclipse

2009-02-25 Thread Marco Nelissen
On Tue, Feb 24, 2009 at 10:59 PM, Roy Zhang royzha...@gmail.com wrote: Sir:    I do as following: emulator -datadir ./userdata/ it reports :emulator: ERROR: bad workspace: cannot find prebuilt kernel in: /home/royzhang/android/cupcake/out/debug/prebuilt/android-arm/kernel/kernel-qemu

[android-developers] Re: A big OpenGL speed issue + my code contribution to other OpenGL beginners

2009-02-25 Thread Jon Colverson
On Feb 25, 11:39 am, quakeboy prasna...@gmail.com wrote: More info:- I tested by rendering on the touch event only.. frame rate drops only when u touch and drag and here I have just tested by tapping and releasing gently on the emulator and on the device As I said before, this is a very

[android-developers] Re: Google G2 / HTC Magic for developers?

2009-02-25 Thread Daniel
Android is open source, that doesn't mean Android devices have to be. Let's just hope that as more devices hit the market, some vendors might release code in order to distinguish themselves from the competition and/or gain the trust of the enterprise market. In the meantime, can a T-Mobile

[android-developers] Re: SoundPool working correctly yet?

2009-02-25 Thread Jon Colverson
On Feb 25, 5:11 am, clark clarkd...@gmail.com wrote: I've recently started working with the SoundPool class in SDK 1.1R1, and noticed that my app deadlocks from time to time, or sounds are not loaded. SoundPool has been reliable for me, and I've not had any reports of crashes. What are you

[android-developers] Re: How to place images in gallery on windows SDK emulator

2009-02-25 Thread Steve Ingram
There is very good documentation on the Emulator at http://developer.android.com/guide/developing/tools/emulator.html. On Feb 25, 5:37 am, Shadakshari Hiremath shad...@gmail.com wrote: Hello Android, I want to add some images to gallery in android emulator of windows SDK. When pictures

  1   2   3   >