[android-developers] best way to implement this screen layout?

2011-03-14 Thread Steve
I'm teaching myself android development, so please excuse me. I would like to have a single dynamically created list on one screen where I can select an item and have something like a context menu show up containing two columns of dynamically created text, then from there take you either back to

[android-developers] Problem with Layouts on Honeycomb

2011-03-09 Thread Steve Dorado
When I build with simple linear layouts (for example if you simply use the wizard to create as basic project), it does not fill the full screen on a Honeycomb tablet (puts a smaller view in the middle) What is issue? -- You received this message because you are subscribed to the Google

[android-developers] Re: Problem with Layouts on Honeycomb

2011-03-09 Thread Steve Dorado
That did it - thanks On Mar 9, 3:03 pm, Kostya Vasilyev kmans...@gmail.com wrote: Make sure you've set minSdkVersion to 4 or above in the manifest. 10.03.2011 1:49 пользователь Steve Dorado stdo...@gmail.com написал: When I build with simple linear layouts (for example if you simply

[android-developers] Creating app to fetch data from internet and customizing display for mobile device

2011-03-09 Thread Steve
Hi all, I have been told to create an application which needs to fetch data from the internet based on the search term and display the results in a tabular format in a fashion customized for mobile devices. Currently we have a website which fetches all the songs information based on the search

[android-developers] Questions About Creating an Emulator

2011-02-22 Thread Steve Lanus
Okay, so I am a student at Northwestern University working on a project for an entrepreneurship class. I have a decent understanding of programming and computer science, but by no means am I technical expert. I have only dabbled in this field for a bit when I was younger, so please excuse my

Re: [android-developers] Honeycomb Emulator Landscape issue on Ubuntu 10.04

2011-01-28 Thread Steve Gores-Todd
The solution can be found on the SKD preview page near the bottom. http://developer.android.com/sdk/preview/index.html Known issues The following known issues occur for Android 3.0 AVDs that are loaded in the emulator: - The emulator displays a rotated portrait screen while in landscape

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

2011-01-25 Thread Steve
sample... Steve On Jan 25, 3:28 pm, darrinps darri...@gmail.com wrote: 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

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

2011-01-25 Thread Steve
be a few seconds) so if you play for a moderate amount of time, it is rather easy to have loaded more than 256 sounds loaded and unloaded. darrinps: It would be interesting to know if you have overcome this hurdle, or if you simply haven't hit the 256 limit. Steve On Jan 25, 11:47 pm, Steve

[android-developers] SoundPool - sample XXX not READY

2011-01-24 Thread Steve
don't have a sensible method of querying when a sound is actually loaded in Android 1.6. Someone out there must have a largish game on Android 1.6, using the SoundPool successfully? Can anyone help? Many thanks, Steve -- You received this message because you are subscribed to the Google Groups

[android-developers] Exceptions in user libraries

2011-01-23 Thread Steve
Java code that is being called from my native code with try/catch/print exception blocks so I can avoid this problem again. I look forward to your responses, Steve -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] how to mute radio and route audio via bluetooth connection

2011-01-14 Thread Steve
anything but gets me no closer to the goal. Any assistance here would be much appreciated. thanks, steve -- 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: How to store date and time in database

2010-12-28 Thread Steve Allen
On Dec 26, 11:39 pm, Kostya Vasilyev kmans...@gmail.com wrote: With all due respect, there is a much easier way. Java date/time stamps are internally represented by long values, the value being the number of milliseconds since Jan. 1, 1970 GMT. Keep in mind that the count of milliseconds does

[android-developers] Re: java.net.SocketException after HTC 4G latest update...

2010-12-21 Thread Steve
Moto medicalsounds at gmail.com writes: Yes, I have internet access...  I can even connect to an URL and fetch a file via code without any issues.  This just seems like a weird HTC typical fragmentation issue... :(  In the past there was an issue with RTSP servers and WIFI. It would only

Re: [android-developers] Re: How do you specify ContentProvider authorities when using the Lite Pro app publishing model?

2010-12-14 Thread Steve Novack
, Dec 14, 2010 at 9:21 PM, Mark Carter m...@carter.name wrote: Thanks Steve. How would 3rd party apps access those content providers without worrying about whether the lite, pro or both versions are installed? On 15 December 2010 10:15, Flying Coder av8r.st...@gmail.com wrote: Having lite

[android-developers] Re: AES in Gingerbread

2010-12-10 Thread Steve Hugg
More debugging on this issue... I am using this method to generate keys from a passphrase: KeyGenerator kgen = KeyGenerator.getInstance(AES, BC); SecureRandom sr = SecureRandom.getInstance(SHA1PRNG, Crypto); sr.setSeed(seed);

[android-developers] AES in Gingerbread

2010-12-09 Thread Steve Hugg
In Gingerbread, I'm decoding some previously-encoded data with the following: SecretKeySpec skeySpec = new SecretKeySpec(raw, AES); Cipher cipher = Cipher.getInstance(AES); cipher.init(Cipher.DECRYPT_MODE, skeySpec); byte[] decrypted = cipher.doFinal(encrypted); I now get this

[android-developers] Tegra 2 / GTablet does not expose reqGlEsVersion correctly...

2010-12-06 Thread Steve Dorado
Trying to test OGLES 2.0 on Viewsonic GTablet (Tegra 2 Based) very odd results... First off ConfigurationInfo info = am.getDeviceConfigurationInfo(); returns 0 for reqGlEsVersion. Any ideas? Has anyone hotten OGLES2.0 working?? You can even see this in adb: $ pm list features pm list

[android-developers] Populate URL Login Fields with User-Preset information

2010-11-22 Thread Steve
Hi everyone. Pardon me as I am an ultra noob working with App Inventor. I know there are similar topics out there, but most of them deal with encrypting login information, etc, of which is no concern to me. Is there a way, within App Inventor, to perform said activity? Specifically, there are

Re: [android-developers] Re: Anyone have an experience dealing with Ubinuri?

2010-11-05 Thread Steve Novack
Hi Brion, That's good to hear -- thanks! Steve On Fri, Nov 5, 2010 at 12:30 PM, Brion Emde brione2...@gmail.com wrote: I did the Ubinuri thing. It involved adding their Application Rights Management (ARM) to my paid app. That was really straightforward, after a bit of going around

Re: [android-developers] Re: Anyone have an experience dealing with Ubinuri?

2010-11-05 Thread Steve Novack
waste of my time. YMMV. Cheers, Steve On Fri, Nov 5, 2010 at 12:39 PM, Bret Foreman bret.fore...@gmail.comwrote: I think Motodev distributes in Korea too, though I don't know what cut they take and they certainly don't give you anything up front. -- You received this message because you

[android-developers] Re: Trackball / d-pad navigation and Tabbed activities

2010-10-28 Thread Steve
Hi I'm not *relying* on a trackball / D-pad being present, but I would like to support navigation using that input method for those devices that have it. Thanks. On Oct 28, 1:51 pm, gjs garyjamessi...@gmail.com wrote: Hi, I suggest not relying on devices having Trackabll / D-pad, many

[android-developers] is LVL the best solution?

2010-10-25 Thread Steve Wilson
I'm now seeing the whole copy protection problem from both sides, as a developer I want to control how my paid application is distributed and that only legitimate purchases may run it. I've yet to implement lvl but my experience over the last week with an lvl protected app I purchased is giving me

[android-developers] Re: Google TV Remote Control App

2010-10-23 Thread Steve
Where do you get the remote control app? All I can find is the one for Logitech Revue. On Oct 22, 8:03 pm, keyeslabs keyes...@gmail.com wrote: Has anyone put a packet sniffer on the remote control app provided for Android devices to interact with Google TV? I'm curious about what the protocol

Re: [android-developers] Re: How to use appt --rename-manifest-package during ant build?

2010-10-21 Thread Steve Novack
Thanks -- I've come to the same conclusion. I was too quick to try out the library project when it was first released and stopped using it due to too many problems. But, it looks like the current support is pretty good, so I will switch back to it. Cheers, Steve On Sun, Oct 17, 2010 at 6:04

[android-developers] Googlenav package

2010-10-14 Thread Steve
Hi, I can't import com.google.googlenav package in my class (SDK 1.0) so I looked up (SDK 0.9) an android.jar file I could see this package. I been told that that googlenav package is no longer supported? Any one have alternative to solve the problem with driving direction? -- You received this

[android-developers] 2D game from Java swing to android platform

2010-10-13 Thread Steve Schlager
to android, what would be the best way to port my game over to android since Swing is not supported? Is there something like a JLabel that can be used for characters? A whole different approach? Steve -- You received this message because you are subscribed to the Google Groups Android

[android-developers] 2D android game from java Swing desktop application

2010-10-13 Thread Steve Schlager
the tutorials and things like that. Thanks, Steve -- 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

[android-developers] Re: 2D game from Java swing to android platform

2010-10-13 Thread Steve Schlager
Okay thanks guys. I'll go through some of those tutorials and see if it will work for my game. I'll come back with questions if I have hit some stumbling blocks, but I need to get my feet wet as you say. On Oct 13, 8:18 pm, Patrick specter...@gmail.com wrote: Droidnova has some good tutorials

[android-developers] Re: AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-29 Thread Steve Hugg
Dan, not sure since it's customer reported. We do know the model is SPH-M900 and running 2.1-update1. On Sep 6, 4:59 pm, dan raaka danra...@gmail.com wrote: what is the build fingerprint on your device ? $ adb shell getprop | grep finger -Dan -- You received this message because you are

[android-developers] Re: AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-29 Thread Steve Hugg
More information.. here is the logcat when the issue occurs. We first try 16000 Hz, and then 8000. D/App ( 2618): Main activity starting I/AudioPolicyManager( 1889): getInput() inputSource 1, samplingRate 16000, format 1, channels 10, acoustics 0 W/AudioHardwareALSA( 1889): openInputStream :

[android-developers] Problem with AudioRecord on Samsung Moment

2010-09-25 Thread Steve Hugg
We have been getting reports of audio recording not working on Samsung Moment phones on 2.1-update1. int bufferSize = AudioRecord.getMinBufferSize(sampleRate, AudioFormat.CHANNEL_IN_MONO, AudioFormat.ENCODING_PCM_16BIT); this.audioRecord = new

[android-developers] getStreamVolume() returns 0 intermittently

2010-09-14 Thread Steve Hugg
We have an app that plays and records audio using AudioRecord and AudioTrack, and also uses the 2.2 requestAudioFocus() API for audio ducking. We also use the AudioManager.getStreamVolume() call to determine if the user has their volume control all the way down (as sometimes happens) and to issue

[android-developers] AudioManager request/abandon focus messages

2010-09-10 Thread Steve Hugg
We have an app which requests and abandons audio focus several times over the course of its lifetime. When the process exits, these messages appear several (30+) times in the log: W/AudioService( 1086): AudioFocus audio focus client died W/AudioService( 1086): AudioFocus audio focus

Re: [android-developers] Re: Android with Flash cs5: I have a problem about permissions

2010-09-06 Thread Steve Mathews
Two better places to ask this question are FlashCoders and FlexCoders mailing lists. On Mon, Sep 6, 2010 at 10:52 AM, Italian-android maxloveg...@gmail.comwrote: Sure, but with flash I can work for develop android applications. BUt it's ok, I'll look to Adobe too. Thank you On 6 Set, 11:44,

[android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-03 Thread Steve Hugg
Our app has a problem with AudioRecord where the recorded audio is very slw (sound like it's 2x slower). We use AudioRecord.getMinBufferSize to try 16000 Hz first and then back down to 8000 Hz if that function returns an error. So my guess is that the audio is reported as 8000 Hz even though

Re: [android-developers] Re: Using eclipse

2010-09-03 Thread Steve Mathews
I usually have to do Project - Clean, then build again and this goes away. On Fri, Sep 3, 2010 at 2:40 AM, SREEHARI sreehari.madhusooda...@wipro.comwrote: Do bulid project... It will be fine. Regards, SREEHARI -- You received this message because you are subscribed to the Google

[android-developers] Eclipse can't connect to adb

2010-09-01 Thread Steve M
for me. Any ideas would be great. Running Win 7 (64-bit) Samsung Galaxy S (Vibrant) Thanks, Steve -- 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

Re: [android-developers] Eclipse can't connect to adb

2010-09-01 Thread Steve Mathews
Was starting to worry that this message wasn't going to get through. Now hopefully someone has some ideas for me. On Tue, Aug 31, 2010 at 12:25 AM, Steve M happy...@gmail.com wrote: So I have got Eclipse (Galileo) setup with ADT installed. I also got the SDK installed. But when I run Eclipse I

Re: [android-developers] Re: Eclipse can't connect to adb

2010-09-01 Thread Steve Mathews
, Steve Mathews happy...@gmail.com wrote: Was starting to worry that this message wasn't going to get through. Now hopefully someone has some ideas for me. On Tue, Aug 31, 2010 at 12:25 AM, Steve M happy...@gmail.com wrote: So I have got Eclipse (Galileo) setup with ADT installed. I also

[android-developers] AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-01 Thread Steve Hugg
Our app has a problem with AudioRecord where the recorded audio is very slw (sound like it's 2x slower). We use AudioRecord.getMinBufferSize to try 16000 Hz first and then back down to 8000 Hz if that function returns an error. So my guess is that the audio is reported as 8000 Hz even though

[android-developers] Re: AudioRecord weirdness on Samsung Moment (SPH-M900)

2010-09-01 Thread Steve Hugg
The device in question is running 1.5, FWIW - therefore it would get AudioFormat.CHANNEL_CONFIGURATION_MONO. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To

Re: [android-developers] Is MapController's zoomToSpan() execution deferred?

2010-09-01 Thread Steve Howard
The zoom may be deferred if the MapView hasn't been drawn yet. Have you tried putting your logic in a Runnable and post()ing it to the MapView? Steve On Sun, Aug 29, 2010 at 7:18 PM, Chad McQuillen chad.mcquil...@gmail.comwrote: My application has a MapView which shows a collection of items

Re: [android-developers] Is it possible to show my maps in MapView?

2010-09-01 Thread Steve Howard
http://groups.google.com/group/android-developers/browse_thread/thread/a3a66e8d16ff78ba/cad8d016a0714a92 http://groups.google.com/group/android-developers/browse_thread/thread/a3a66e8d16ff78ba/cad8d016a0714a92 Steve On Tue, Aug 31, 2010 at 3:05 AM, cnwy c...@263.net wrote: Hi, The google map

Re: [android-developers] Re: Eclipse can't connect to adb

2010-09-01 Thread Steve Mathews
confirmed that with none of the programs (eclipse, adb and ddms) running that nothing is binding to port 8700. Once I start eclipse it binds to the port as I would expect. Thanks. On Wed, Sep 1, 2010 at 12:36 PM, Steve Mathews happy...@gmail.com wrote: I do have the tools dir on the PATH (and now

Re: [android-developers] Driving directions in Google map view

2010-08-18 Thread Steve Howard
The Android framework comes with XML and JSON parsers. Searching for android xml parser or android json parser should turn up helpful results. There's nothing builtin to parse directions specifically, but it shouldn't be hard once you've got the XML or JSON parsed. Steve On Wed, Aug 11, 2010

Re: [android-developers] Direction information in android MapView

2010-08-18 Thread Steve Howard
know of one off-hand). Steve On Mon, Aug 16, 2010 at 10:05 PM, Ajmer singh ajmer.si...@evontech.comwrote: Hi Can you please let me know how to do that in android. On Tue, Aug 17, 2010 at 12:08 AM, TreKing treking...@gmail.com wrote: On Mon, Aug 16, 2010 at 1:21 PM, Ajmer singh ajmer.si

Re: [android-developers] Re: Google maps, Overlays and the shadow layer

2010-08-18 Thread Steve Howard
); } canvas.drawCircle(center.x, center.y, radius, paint); } If I uncomment the if (!shadow) return;, it draws just the gray circle. If I change it to if (shadow) return;, it draws just the black circle. Steve On Tue, Aug 17, 2010 at 6:28 AM, TreKing treking...@gmail.com wrote: On Tue

Re: [android-developers] Google Map doesn,t work.

2010-08-18 Thread Steve Howard
the project described in this tutorial Make sure you've followed the directions to install the Google APIs add-on and configured your project to use the Google APIs target. That should get MapActivity on the classpath. Steve On Mon, Aug 16, 2010 at 11:17 PM, kanaga priyadharshinikan

[android-developers] Multiple Texture Issues on OLGES20

2010-08-05 Thread Steve Dorado
Has anyone successfully accessed multiple textures in fragment shader on OGLES20 (Froyo + Nexus one)??? A few strange observations: GLES20.glGenTextures(2, textures, 0); to create 2 textures returns array of [1,2] vs [0,1] GLES20.glBindTexture(GLES20.GL_TEXTURE_2D, mTextureID); Does not

Re: [android-developers] Re: how to get the screen size in inches...

2010-08-05 Thread Steve Gores-Todd
Hi Phil, I tested the same code on the HTC Incredible running Android 2.1. The following is my logcat output. V/Debug ( 3469): xdpi: 254.0 ydpi: 254.0 This is accurate to my knowledge. It is not entirely unsurprising that the Droid would be misreporting those values. I have seen many phones

Re: [android-developers] Calling a MapActivity from another activity

2010-07-28 Thread Steve Howard
is that the classloader can't find MapActivity -- though honestly, I would expect this to throw a NoClassDefFoundError on MapActivity, not on DrawTheatreMap. But who knows, Dalvik is crazy sometimes :) Let me know if any of this turns up something interesting, or if you're still stuck. Steve

Re: [android-developers] start activity from a overlay in maps

2010-07-22 Thread Steve Howard
On Thu, Jul 22, 2010 at 10:32 AM, Achanta krishna.acha...@gmail.com wrote: E/AndroidRuntime( 4985): Caused by: java.lang.IllegalArgumentException: MapViews can only be created inside instances of MapActivity. Do you have a MapView not inside a MapActivity? Steve -- You received

Re: [android-developers] Showing Google MyMaps

2010-07-22 Thread Steve Howard
definitely want to write an app with MapView, in addition to understanding how to use MapView (as explained in Frank's link), you'll need to understand how to access the My Maps data through the Google Maps Data API: http://code.google.com/apis/maps/documentation/mapsdata/ Steve Can someone please

Re: [android-developers] Google Maps API in Israel

2010-07-13 Thread Steve Howard
Likely the same as this: http://code.google.com/p/gmaps-api-issues/issues/detail?id=664 http://code.google.com/p/gmaps-api-issues/issues/detail?id=664Steve On Tue, Jul 13, 2010 at 1:15 PM, oriharel ori.ha...@gmail.com wrote: Can a Googler please answer this one - how come I don't see

[android-developers] NewsDroid Tutorial

2010-07-12 Thread Steve
Has anyone used this tutorial for SDK 2.1? I want to use this tutorial and build upon it but it has errors when I try to use it in an 2.1 format and I don't know how to fix it. Can anyone help me PLEASE? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Weird behavior of MapView

2010-07-12 Thread Steve Howard
Usually easier to use an Overlay rather than overriding MapView methods: http://osdir.com/ml/Android-Developers/2010-06/msg01242.html Steve On Mon, Jul 12, 2010 at 6:09 AM, Mark Murphy mmur...@commonsware.comwrote: On Mon, Jul 12, 2010 at 8:49 AM, drill sebastianar...@hotmail.com wrote

Re: [android-developers] Google Maps Sights Overlay

2010-07-12 Thread Steve Howard
/documentation/places/ In theory you could do something similar by making requests to that and doing all of the drawing and event handling on your own. You'll need to read the terms of use carefully, of course. Steve Thank you in advance, Hendrik -- You received this message because you

[android-developers] what hardware platform do you use?

2010-07-07 Thread steve ravet
Android apps? I didn't see much discussion of hardware platforms in the archives so my apologies in advance if this is't the right group. thanks, --steve -- 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: android emulator

2010-07-07 Thread steve ravet
they're not responding. Hence my other thread about picking a hardware platform. --steve On Jul 7, 4:55 pm, Indicator Veritatis mej1...@yahoo.com wrote: Forever is such a long time... Seriously: unless you really did wait at least 3 full minutes, what you just described, unfortunately

[android-developers] SoundPool queries

2010-07-03 Thread Steve
of work, and I agree these should remain, but I'd like to see something perhaps lower level exposed, which the SoundPool could wrap around perhaps. Many thanks for your time, Steve -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] crashing map

2010-06-30 Thread Steve Howard
Have you ensured you're calling ItemizedOverlay.populate() before adding the overlay to the map view? Steve On Tue, Jun 29, 2010 at 5:42 PM, Pedro Teixeira pedroteixeir...@gmail.comwrote: Hey there... My application using google maps was working just fine.. I left it for a while

Re: [android-developers] ItemizedOverlay database items: When do I update the OverlayItem list?

2010-06-29 Thread Steve Howard
probably be well-received here. Nonetheless, such an implementation should be possible today. Hope this proves helpful, Steve On Thu, Jun 24, 2010 at 2:16 PM, Mark Murphy mmur...@commonsware.comwrote: On Thu, Jun 24, 2010 at 5:09 PM, Raymond Rodgers raym...@badlucksoft.com wrote: or from

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-06-29 Thread Steve Howard
Trying to resend this reply as I think it may not have gone through the first time... Steve On Thu, Jun 24, 2010 at 11:24 AM, Steve Howard ste...@android.com wrote: I think the ideal usage would be something like this: public boolean onTap(GeoPoint point, MapView mapView) { // first, let

Re: [android-developers] Re: ItemizedOverlay using both onTap methods

2010-06-24 Thread Steve Howard
if that helps. Steve On Thu, Jun 24, 2010 at 9:57 AM, Carlos Silva r3...@r3pek.org wrote: On Thu, Jun 24, 2010 at 17:49, TreKing treking...@gmail.com wrote: On Jun 15, 9:15 am, tfriest tfri...@kc.rr.com wrote: Does anyone know of a better way to do this? As you've seen, the maps documentation

Re: [android-developers] Re: ItemizedOverlay.hitTest incorrect

2010-06-24 Thread Steve Howard
)) { // ... } Steve On Mon, Jun 21, 2010 at 2:12 PM, tfriest tfri...@kc.rr.com wrote: I did change the getBounds to copyBounds since it is offsetting the bounds... On Jun 16, 12:47 pm, tfriest tfri...@kc.rr.com wrote: It appears that the hitTest method is not working right when I iterate

[android-developers] Sleep mode - technical documentation?

2010-06-23 Thread Steve
I'm trying to find some official android documentation that discusses sleep mode, with a focus on issues that might be of relevance to app developers. For example, things like: 1. What causes a device to enter / exit sleep mode? 2. How are running processes impacted when the device enters

[android-developers] BroadcastReceiver and abortBroadcast()

2010-06-22 Thread Steve
Hi all Are there any good design patterns to solve the following problem: How can I best implement a BroadcastReceiver that may need to consume the current broadcast (via abortBroadcast()), but it first needs to perform some non-trivial work to determine whether or not the broadcast should be

[android-developers] Re: BroadcastReceiver and abortBroadcast()

2010-06-22 Thread Steve
durations (say 1 second or less). I'll do some further analysis to check that this will be a viable approach. Thanks again. Steve -- 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: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-09 Thread Steve Howard
On Tue, Jun 8, 2010 at 9:03 PM, Raymond Rodgers raym...@badlucksoft.comwrote: On Tue, Jun 8, 2010 at 7:14 PM, Steve Howard ste...@android.com wrote: A simple solution is to add an Overlay, override the draw() method, and not actually do any drawing, but simply use the method as a hook

Re: [android-developers] Google Maps API: Catching zoom and panning events

2010-06-08 Thread Steve Howard
at all. Steve On Mon, Jun 7, 2010 at 3:36 PM, Raymond Rodgers raym...@badlucksoft.comwrote: I'm writing an app that will be doing queries based on what's currently viewable in a MapActivity. Currently, I've extended the MapActivity class and I'm implementing OnZoomListener and setting my activity

Re: [android-developers] Auto zoom to fit markers on an overlay

2010-06-08 Thread Steve Howard
, you may want to center on a particular marker or you may want to compute the center of all of your markers. If the latter, you'll need to do it yourself, as ItemizedOverlay doesn't compute that information. Steve On Wed, Jun 2, 2010 at 4:36 PM, Nathan nathan.ma...@gmail.com wrote: I have done my

Re: [android-developers] MapActivity

2010-06-08 Thread Steve Howard
You can use Context.startActivity() with an Intent, just as you would for any other Activity. The Android developer docs cover this well. Steve On Thu, Jun 3, 2010 at 10:51 AM, Costantinos Costa costa.costanti...@gmail.com wrote: How can i start a Mapactivity from a normal Activtiy? Thank

Re: [android-developers] GPS worknig on emulator but not on atcual phone

2010-06-07 Thread Steve Howard
Can you include the output from adb logcat? Steve On Sun, May 30, 2010 at 10:40 PM, XiaoDar darylpainb...@gmail.com wrote: i've this error that i was able to set my location on the emulator with the emulator control but when i put the atcual code on the phone, it gives me the error that i

Re: [android-developers] How to get the point from click the google map

2010-06-07 Thread Steve Howard
); You can override other methods on the Overlay, such as onTouchEvent(), to detect other input. Steve On Mon, May 31, 2010 at 8:52 PM, zhou haitao haitaozho...@gmail.com wrote: Hi! I want to get the point of the mapview throuth click the map.I have tried to use the onTouchlistener

Re: [android-developers] Open native Maps with directions??

2010-06-07 Thread Steve Howard
You may find this useful: http://stackoverflow.com/questions/2853017/android-google-directions http://stackoverflow.com/questions/2853017/android-google-directionsSteve On Fri, Jun 4, 2010 at 5:02 AM, guruk ilovesi...@gmail.com wrote: Hi, I open my Native Google Maps like:

[android-developers] Developnnet issues

2010-06-07 Thread Steve
on multiple versions/devices. Has this been addressed since the above article was written in Nov 2009. Steve. -- 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

[android-developers] Re: Petitions to Google

2010-06-05 Thread Steve
Hello, I'm fairly late to this thread. I join it now that it seems it has mostly devolved into the discussion of how useful conditional compiling is. In general I do not have the luxury of a build environment with a modern IDE. Thus, the ability to use the CPP and #include is invaluable. I'd

Re: [android-developers] Re: Petitions to Google

2010-06-05 Thread Steve Gores-Todd
AM, Steve sgorest...@gmail.com wrote: Hello, I'm fairly late to this thread. I join it now that it seems it has mostly devolved into the discussion of how useful conditional compiling is. In general I do not have the luxury of a build environment with a modern IDE. Thus, the ability to use

[android-developers] Collision detection for Android game

2010-05-30 Thread Steve
Hi all, Would you like to recommend any collision detection engine for Android game? I've tried JBox2D, but it produces a lot of GCs which stop the game about 300ms =( -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: Need the intent when screen locks or unlocks

2010-05-27 Thread Steve Scherer
Thanks Mark for the quick reply. We'll give this a go and keep you and the community posted. On May 26, 10:08 am, Mark Murphy mmur...@commonsware.com wrote: Steve Scherer wrote: I have a service which starts at boot up time, the service code needs theintentof following scenarios. 1) When

[android-developers] Need the intent when screen locks or unlocks

2010-05-26 Thread Steve Scherer
I have a service which starts at boot up time, the service code needs the intent of following scenarios. 1) When the phone locks(after time out) 2)When the user unlocks the screen (by dragging the screen lock object) Does anybody know how to do this? There doesn't appear to be an API available

[android-developers] Any hope for call recording in 2.2?

2010-05-22 Thread Steve Hueners
Is the root cause of android phones' inability to record phone conversations documented anywhere? thx --steve... -- 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

[android-developers] ADC 3 ?

2010-05-20 Thread Steve
I was hoping for an announcement of the third Android Developer Challenge at Google IO today, but I gather there has been no such announcement. Can anyone from Google comment on whether or not there will be an ADC this year? Thanks ... -- You received this message because you are subscribed to

[android-developers] Sub-threads and widget-provider parameters

2010-05-19 Thread Steve Smith
, views); // } } return true; } } Cheers, Steve -- 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] Graph in 2.1 'Genie' news and weather app

2010-05-19 Thread Steve Smith
Hi, Does anyone have any hints on how the temperature/humidity graph in the 2.1 'Genie' weather app is implemented? It looks like it *could* be done with a Canvas, Gradients and Paths, but I'd be interested in anyone has any better suggestions. Cheers, Steve -- You received this message

Re: [android-developers] Suggestions for how to deal with IMEs ignoring flags?

2010-05-15 Thread Steve Gores-Todd
): java.vendor=The Android Project I/System.out( 6438): java.vm.specification.name=Dalvik Virtual Machine Specification I/System.out( 6438): java.specification.version=0.9 Steven Gores-Todd On Mon, May 10, 2010 at 11:07 PM, Steve Gores-Todd sgorest...@gmail.comwrote: Hello James, I use the method

Re: [android-developers] Suggestions for how to deal with IMEs ignoring flags?

2010-05-12 Thread Steve Gores-Todd
Hello James, I use the method System.getProperty in my J2ME apps to switch code blocks at run-time based on the platform. I see it exists in the Android API although I haven't tested what Strings are available and if they'll provide exactly the info you need. Hope this helps.

[android-developers] Protocol exception : too many redirects

2010-03-08 Thread steVe
Hi All, I get this protocol exception error when I try to read a rss feed. Its loading fine on the emulator. But when I test on my device (Droid), it throws the below error. --- 03-08 12:29:25.210: ERROR/AndroidRuntime(5108): Caused by:

Re: [android-developers] Re: AudioTrack lag

2010-02-19 Thread Steve Lhomme
used, so you have the one writing, one ready to write (so as soon as one is written, you don't have to wait for the second one to start writing) and one been feed from the rest of the application. On Feb 17, 12:04 pm, Steve Lhomme rob...@gmail.com wrote: I already use a separate thread to feed

Re: [android-developers] Re: AudioTrack lag

2010-02-17 Thread Steve Lhomme
processing to get further ahead. On Feb 16, 11:14 pm, Steve Lhomme rob...@gmail.com wrote: I can also say that a blocking AudioTrack would suck for a DJ software where 70 ms of latency to do an action is terrible. 5 ms would be acceptable, and that's also about as much time we use for polling

Re: [android-developers] Re: AudioTrack lag

2010-02-17 Thread Steve Lhomme
to do that anyway, you can just pass the buffer back out from JNI code, you really wont get that much of a speed hit. -niko On Feb 17, 2:04 pm, Steve Lhomme rob...@gmail.com wrote: I already use a separate thread to feed the audio chunks. For efficiency it's writing many chunks at once before

[android-developers] AudioTrack lag

2010-02-16 Thread Steve Lhomme
Hello, I'm trying to write an audio sink for my application. I am using the AudioTrack class and it works pretty well. In other words I get the audio to play correctly (stream mode). I am using it in C code via the NDK, but that shouldn't matter. The AudioTrack creation and feeding is done in a

[android-developers] AudioTrack lag

2010-02-16 Thread Steve Lhomme
Hello, I'm trying to write an audio sink for my application. I am using the AudioTrack class and it works pretty well. In other words I get the audio to play correctly (stream mode). I am using it in C code via the NDK, but that shouldn't matter. The AudioTrack creation and feeding is done in a

Re: [android-developers] Re: AudioTrack lag

2010-02-16 Thread Steve Lhomme
to your problem is just to smile and be happy! On Feb 16, 6:57 am, Steve Lhomme rob...@gmail.com wrote: Hello, I'm trying to write an audio sink for my application. I am using the AudioTrack class and it works pretty well. In other words I get the audio to play correctly (stream mode). I am

Re: [android-developers] Re: AudioTrack lag

2010-02-16 Thread Steve Lhomme
2010/2/17 Steve Lhomme rob...@gmail.com: First of all, it's written nowhere that the AudioTrack is a blocking system. My bad, I just read http://developer.android.com/reference/android/media/AudioTrack.html again. And it indeeds says that the streaming mode is blocking. In Streaming mode

[android-developers] Re: PVMFFailure when using MediaPlayer for radio streams

2010-02-11 Thread Steve
I can make this work on 1.6 with this link http://www.colorado.edu/AmStudies/lewis/Design/blue.mp3 What is the url you are trying to connect to? On Jan 29, 6:08 am, David trend...@gmail.com wrote: ps-I am using version 1.5 on a HTC phone On Jan 14, 9:48 pm, Tanmay tanm...@gmail.com wrote:

[android-developers] Re: AppWidget on Homescreen: How to focus ImageView or TextView with trackball?

2010-02-08 Thread Steve
What was the fix? On Feb 7, 4:10 am, Moritzz moritz...@googlemail.com wrote: Okay I fixed that one ;) On Feb 6, 8:29 pm, Moritzz moritz...@googlemail.com wrote: Hi, I coded an AppWidget the user can add to his homescreen. There are a bunch of images (ImageView) in it that perform

[android-developers] Re: How to implement the long click event for the ExpandableListView

2010-02-02 Thread Steve
Check out this post on my blog http://steveoliverc.wordpress.com/ hope it helps On Feb 2, 7:37 am, manoj manojkumar.m...@gmail.com wrote: Hi, can any one please suggest me how to implement the long click (onItemLongClick()) for the Expandable list view? Thanks, Manoj. -- You received

[android-developers] Re: size limit of shared preferences

2010-02-02 Thread Steve
Probably not enough for your contacts. I've gotten a few thousand characters into a single pref. I guess you could make a different pref for each contact but why not do what the other person said and go with a SQLite db. On Feb 2, 2:35 am, Nemat nemate...@gmail.com wrote: Hi friends I

[android-developers] Whats the best practices when using Camera

2010-01-26 Thread steve
Greetings, I have an application that uses the camera quite heavily. I often find when I move between activities that the camera is quite liable to crash throwing the camera service is unavailable. I was wondering if their is a 'best practices' approach to using the camera service. I'm sure I am

<    1   2   3   4   5   >