[android-developers] Re: Position MediaController over VideoView ?

2011-05-30 Thread Doug
on the media controller and overriding what you did at the time you call setMediaController. I have never liked VideoView. I just copy the source and make it do what I really want. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Custom Touch on a image

2011-05-30 Thread Doug
size to suit the screen, be able to handle that. Or subclass View and do your own image drawing and event handling in there. It is not a trivial amount of work like imagemaps in in HTML. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Mac or PC for development

2011-05-30 Thread Doug
work. And I have never had to find and and install device drivers like my peers using Windows. One major exception is with Samsung Galaxy S products -- if you want to install a new firmware on those devices, you need Windows to run Samsung's crappy Kies software. Doug -- You received this message

[android-developers] Re: switching from one app to another

2011-05-29 Thread Doug
what you're getting into. Doug public class Main extends Activity { Handler handler; @Override public void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); handler = new Handler

[android-developers] Re: Slow motion video

2011-05-29 Thread Doug
On May 27, 11:20 am, New Developer secur...@isscp.com wrote: Anyone got an idea how to implement slow motion ?  or at least slow down the playback of a video ? Android media components won't do this for you, sorry. Doug -- You received this message because you are subscribed to the Google

[android-developers] Re: Text scaling properly on two different mdpi devices (Evo, and Galaxy Tab 10.1)

2011-05-29 Thread Doug
height and width settings during layout. Yes, you need complete control of your own views. Then, if you're then just trying to fit text into a TextView that's already been sized, take some hints from the Market app: http://www.pushing-pixels.org/2010/12/16/meet-the-green-goblin-part-4.html Doug

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-29 Thread Doug
in no way changing what I do today nor making plans to change. Doug -- 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

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-25 Thread Doug
for a platform, let alone 5 years out. If a company took the time to plan for something that stayed relevant for 5 years without constant updates, they would probably never release a product. Agile in, waterfall out. Doug -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Doug
Well, before you rashly declare web inferior to native, you might want to watch this talk from Google I/O: http://www.google.com/events/io/2011/sessions/html5-versus-android-apps-or-web-for-mobile-development.html Doug On May 23, 5:20 pm, Miguel Morales therevolti...@gmail.com wrote: Sorry

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-24 Thread Doug
become reality, and one statement from one person can't negate all of that. Or you could just pull a GWB and claim that history will prove you right. :-) Doug P.S. I promise not to p*** on you either. P.P.S. Maybe I already have, just a bit. Sorry. It won't happen again. -- You received

[android-developers] Re: Giant Android Device seen at I/O

2011-05-23 Thread Doug
You know that it's real because it has the most awesome Android Market app showing up twice on the home screen. On May 19, 6:05 am, SteveKeinath skein...@gmail.com wrote: I was at Google I/O and used the giant Android devicehttp://goo.gl/photos/U5SiuUOHUR Is there any way to buy/get one of

[android-developers] Re: Career as an Andoid developer. Is there any point?

2011-05-23 Thread Doug
? Doug -- 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

[android-developers] Re: ListView, onFling(horizontal), gesture issues

2011-05-21 Thread Doug
gets confused about where input focus should be and the list stops working well. I'm not making any solid claims here, but I think you could benefit from some searches on that topic. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: Google Docs Access

2011-05-19 Thread Doug Gordon
The databases are user-generated, so I need a public solution. I can't use my web server to store megabytes of data for thousands of users, manage usernames and passwords, etc. On May 18, 9:41 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 19, 2011 at 4:31 AM, Doug Gordon gordo

[android-developers] Google Docs Access

2011-05-18 Thread Doug Gordon
of confusing text, and then you see a sample implementation and it's just a couple dozen lines of code! Any help getting me started on this would be appreciated! Doug Gordon GHCS Software -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Flaky Touch Screen on Nexus One

2011-04-30 Thread Doug
Maps navigation (it is a my primary personal device these days). While I'm griping about my N1, I'll point out that plugging it in doesn't charge the battery until it gets lower than 90%, then will go up to 100%. That's just weird. Doug -- You received this message because you are subscribed

[android-developers] Re: Best Practice for Activities that Absolutely Depend on Services

2011-04-28 Thread Doug
for that request. Doug -- 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

[android-developers] Re: Market sales suddenly cut in half

2011-04-25 Thread Doug
this time. I've been taking personal solace in the thought that sales are perhaps reduced during spring break weeks! I don't remember what happened last year this time, though. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Connect to emulator with Putty?

2011-04-25 Thread Doug
extra stuff. Be aware that when you quit the emulator, all your changes will go away. Doug -- 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: seeking with av_seek_frame or url_seek

2011-04-24 Thread Doug
This has nothing to do with Android. I suspect you should take this to a FFmpeg forum for better help. Doug On Apr 22, 5:06 am, Ece OZMEN eceooz...@gmail.com wrote: Hi, I try to save the keyframes. I found which frames are keyframes. I wrote two function to seek where the keyframes are. One

[android-developers] Re: Codecs on Android

2011-04-24 Thread Doug
/guide/appendix/media-formats.html Again, you can always provide your own codecs through some third party library that operates independently of Android APIs. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: 'E-Mail Developer' button creating a lot of spam?

2011-04-24 Thread Doug
the user understand what they are doing. Doug -- 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] A Framework to persist in SQLite

2011-04-20 Thread Doug
Hi guys, I made a framework similar to jpa api with annotations to persist in SQLite. The objective is make easily persistent classes at the app. Please try it and tell me anything about the experience... http://code.google.com/p/droidpersistence/ or

[android-developers] Re: Progressive download with MediaPlayer

2011-04-16 Thread Doug
MediaPlayer can't do that for you, sorry. You will have to fully implement your own solution. Doug On Apr 14, 6:27 pm, Fernando Valente ferna...@fvalente.org wrote: Hey, I'm using MediaPlayer for audio streaming. I'd like to be able to progressive download the audio and save it to the disk

[android-developers] Re: Start Activity from non-activity class

2011-04-09 Thread Doug
All you need is an instance of a Context (Application, Service, or Activity) to start an activity. If it's not an Activity, the intent that launches the activity needs to have the flag FLAG_ACTIVITY_NEW_TASK set on it. Any class and any thread can use the Context to start the activity. Doug

[android-developers] Re: bitmap prob

2011-04-09 Thread Doug
Why are you even trying to recycle a Bitmap? Do you know exactly what you're doing with that method? Did you read the javadoc for that method? The only instance of recycle in your code is commented out, so you should never even have the problem you're describing. Doug On Apr 7, 6:11 am, vani

[android-developers] Re: Hosting an executable inside Android application

2011-04-06 Thread Doug
are the recommended ways to handling such binaries and bundling them in android app? The best case is to use the NDK to create a shared library you can load and call into. You might want to investigate that and take further questions to the android-ndk google group. Doug -- You received this message

[android-developers] Re: Hardware key combination capture

2011-04-03 Thread Doug
that doesn't have an Android platform convention, great. Or maybe I'm thinking about the search button in the wrong way. Doug On Apr 2, 5:56 pm, Dianne Hackborn hack...@android.com wrote: Remapping the search button can't break stuff, because the search button is not something required

[android-developers] Re: Custom Url support in Android

2011-04-02 Thread Doug
should not be inventing new schemes there, either. Unless you're an internet heavyweight like Google. Then you can invent the market:// scheme and make people use it. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Hardware key combination capture

2011-04-02 Thread Doug
. No, there shouldn't. This would be a customer service nightmare for the carriers. To make matters worse, one carrier actually DOES remap the search button to their own stuff, which breaks existing applications and causes platform fragmentation. Doug -- You received this message because you

[android-developers] Re: Video Playback within a service component...

2011-04-01 Thread Doug
A MediaPlayer that's processing a video file doesn't need a SurfaceView to operate. It will just play the audio if there is no surface to render the video stream. Doug On Apr 1, 4:01 pm, droid-stricken harik...@gmail.com wrote: Hi All, My question has been asked once before - http

[android-developers] Re: how to delete images files stored in Android phone gallery

2011-03-31 Thread Doug
Just use the delete method on your content resolver and pass it the URI of the image. The implementation of the content provider should delete the image and remove it from the list. getContentResolver().delete(uri, null, null); Doug On Mar 29, 5:54 am, sourabh sourabh.zal...@gmail.com wrote

[android-developers] Re: WebView Animation Problem

2011-03-30 Thread Doug
It sounds like you need support from Phonegap directly. Doug On Mar 29, 2:10 pm, Anas Jaghoub anasjagh...@gmail.com wrote: Please help me to find a solution for my problem :) On Mar 28, 9:31 pm, Anas Jaghoub anasjagh...@gmail.com wrote: Hi there, Hope you are fine, Actually this is my

[android-developers] Re: Dialog box without title

2011-03-28 Thread Doug
On Mar 27, 8:05 am, TreKing treking...@gmail.com wrote: On Sun, Mar 27, 2011 at 2:25 AM, Doug beafd...@gmail.com wrote: It's not pointless, and please stop telling people that.  :-) You just have to know when to use it.  Use it when you need to store a context in an object that lives

[android-developers] Re: how create a video with byte array

2011-03-28 Thread Doug
to accomplish. Doug -- 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

[android-developers] Re: Storing Context vs Passing As Parameter Where Needed

2011-03-28 Thread Doug
thread and apologized for hijacking the thread, THEN read this. Whoops. Anyway, nothing new to say here than what's already been said. Doug -- 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

[android-developers] Is Android Market slow or broken, or is it just me?

2011-03-28 Thread Doug
wondering if anyone else is seeing the same. Or Is there something about the end of March that makes people not want to buy stuff online so much? Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Dialog box without title

2011-03-27 Thread Doug
context is perfect for that. Doug -- 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: findViewById returning NULL

2011-03-26 Thread Doug
I logged a bug a while back about problems with project cleaning using Eclipse and ADT 10. Please star it if it's a problem for you. Maybe it will get fixed faster. http://code.google.com/p/android/issues/detail?id=15209 Doug On Mar 26, 9:14 am, New Developer secur...@isscp.com wrote: Thanks

[android-developers] Re: Install % drop again?

2011-03-23 Thread Doug
I've been recovering % slowly last week (after a couple large initial gaps ups) and seemed to have topped off last weekend at a reasonable historical number. Rankings seems to be reasonable as well. All I can say is this Android Market roller coaster sure is a wild ride. Doug On Mar 22, 10:11

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-22 Thread Doug
Android may be killing your Service in order to run something else. Try using setForeground() on the service so that it retains priority in the face of pressure from other apps. Doug On Monday, March 21, 2011 1:56:52 AM UTC-7, stefan jakober wrote: Hey there, I've got a wired problem

[android-developers] Re: Dynamically including a custom view defined in another app

2011-03-21 Thread Doug
to something sensitive. But just loading a class? Doug On Thursday, March 10, 2011 11:32:31 AM UTC-8, Shri wrote: With Context.createPackageContext, you can use the CONTEXT_IGNORE_SECURITY flag along with CONTEXT_INCLUDE_CODE to load the code in the apk. You will then need to do your own security

[android-developers] Re: Cloud To Device Push Notification API in Android

2011-03-21 Thread Doug
http://code.google.com/android/c2dm/ On Saturday, March 19, 2011 1:50:17 AM UTC-7, Prashant wrote: Hey Guys I was wondering if there is someone on this list involved in developing an app /service using cloud to device push notification api on Android or you know of some good use

[android-developers] Re: mediaplayer surface initialized to a frame

2011-03-21 Thread Doug
Every device's MediaPlayer works a bit differently, so what works for you on one device may not work the way you expect on another. I have seen significant differences between manufacturers and versions of Android. On Monday, March 21, 2011 12:32:41 PM UTC-7, droid-stricken wrote: I think i

[android-developers] Re: Having trouble programmatically checking an item in a ListView

2011-03-18 Thread Doug
to the view. I'm speaking in very general terms and not addressing your specific issue, though I think you might benefit from this strategy. Doug On Tuesday, March 15, 2011 3:15:10 PM UTC-7, Lowell wrote: I have an activity which contains a ListView. Each item in the list

[android-developers] Re: Suppoting android 1.6. VerifyError.

2011-03-18 Thread Doug
in a class at run time. Doug On Friday, March 18, 2011 5:30:41 AM UTC-7, Kirill wrote: I want to support android 1,6 and at the same time autocomplite e- mail in other vesrions of SDK This is my problem Thant you -- Kirill -- You received this message because you are subscribed

[android-developers] Re: Install % drop again?

2011-03-15 Thread Doug
I wonder if there is maybe something going on with devices not phoning home properly to collect stats. The notes at the bottom of the page seem to suggest that nothing you see there is really that reliable. Also wonder if piracy or highly customized devices play into these numbers at all. --

[android-developers] Re: Install % drop again?

2011-03-14 Thread Doug
My install % gapped up by 4% again and is almost fully restored to normal. Sales and rank are doing better this week since this number has improved for me over the past week. Hoping you'll get a similar boost... Doug On Friday, March 11, 2011 3:52:00 PM UTC-8, Zsolt Vasvari wrote: I

Re: [android-developers] Re: Install % drop again?

2011-03-14 Thread Doug
But wait! Now the Android Market will show you installation stats! It's interesting. Apparently I had a big install spike coming up to Jan 1 this year, and a similar drop the next few days. Also, I had a sustained run up through the middle of Feb, but then a drop after that. None of this

[android-developers] Re: Eclipse wont regenerate files since downloading the 2.3 SDK

2011-03-11 Thread Doug
If anyone is still having problem with this, please see a bug I filed with Google and star it if it applies to you. http://code.google.com/p/android/issues/detail?id=15209 Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Install % drop again?

2011-03-11 Thread Doug
Today I noticed my active install %, which had gapped down lately, has gapped back up by 4% overnight. No change in ranking, though. If these trends have any validity at all, it must mean my users are an extremely fickle bunch! Doug -- You received this message because you are subscribed

[android-developers] Re: Getting video frames from Android

2011-03-11 Thread Doug
No, sorry, there is not currently a way to do that. Doug On Thursday, March 10, 2011 2:45:22 AM UTC-8, Awais wrote: Hi Guys, Is there a way I can get each decoded video frame from Android if I start playing a video file through media player class? -- You received this message because

[android-developers] Recent Changes text not sticking

2011-03-10 Thread Doug
I updated my app today and noticed that it did not publish or save the recent changes text I entered into the form. One user was actually noticed and asked me about it. Anyone else see the same thing? Doug -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Start laoding when scroll reaches end

2011-03-08 Thread Doug
You can do these by getting creative with an AbsListView.OnScrollListener attached to your ListView and refreshing its adapter. Doug On Monday, March 7, 2011 1:09:39 AM UTC-8, Abhishek Talwar wrote: Hey guys I am parsing xml and i want that when the scroll is reached to the end

[android-developers] Re: how to use normal class object as context?

2011-03-08 Thread Doug
Do with the same thing with your normal class as you are with your Database class: give it an instance of a Context to work with. Doug On Monday, March 7, 2011 3:38:30 AM UTC-8, Hitendrasinh Gohil wrote: hi, i have one database class.in which i have public Database(Context ctx

Re: [android-developers] how to use normal class object as context?

2011-03-08 Thread Doug
You can't do that because getApplicationContext is not a static method of Context. You need an instance of a Context to call that method, and all it does is return the Context instance that is the Application object for the app (as opposed to, say, an Activity or Service instance). Doug

[android-developers] Re: How to save a bitmap without compress??

2011-03-08 Thread Doug
PNG is lossless, so you shouldn't be losing anything from the modified image. You might want to make sure you are actually modifying the image the way you expect and that it's writing to the correct file. Doug On Friday, March 4, 2011 12:08:07 PM UTC-8, Chi-Hao wrote: Hello everyone. My

[android-developers] Re: H.264 Encoding Not Working

2011-03-08 Thread Doug
Does your device support h264 encoding? http://developer.android.com/guide/appendix/media-formats.html Spoiler: the answer is no since it does not run Android 3.0. Doug On Friday, March 4, 2011 3:48:20 PM UTC-8, Tom wrote: Hello, I have an unresolved problem with h.264 encoding on my HTC

[android-developers] date picker and froyo

2011-03-07 Thread Doug
All, did something change with froyo around datepicker? I'm working on an app that uses a datepicker, works fine with Eclair but it is causing the app to crash when I try to view the date picker with Froyo or the Emulator with version 2.2 -- You received this message because you are subscribed

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-04 Thread Doug
, if you know it, but I don't get it :-( Your File object contains the full path to the file, right? Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: how to understand when I am at the bottom of a page in WebView

2011-03-04 Thread Doug
What exactly is not working with the strategy you're using now? Doug On Mar 3, 1:37 am, Mincho Kolev mra...@gmail.com wrote: Hi All, How can i understand if when I am at the bottom of a web page? When scrolling down i need to find out when i am at the bottom or very close

[android-developers] Re: Install % drop again?

2011-03-04 Thread Doug
, but today it's rapid. I think it was fixed some time over the summer. Doug -- 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] Re: Install % drop again?

2011-03-04 Thread Doug
My app has dropped significantly in rankings as well. Used to be around #6, not hovering at #10. I've wondered if it had anything to do with with install % problems. I don't have anything empirical to link the two events, other than that they happened around the same time. -- You received

[android-developers] Re: Install % drop again?

2011-03-04 Thread Doug
Media Video. The ranking drop was worse than I indicated before. Fortunately, sales has not suffered too much, but I'd hate to be losing money over a market bug. On Friday, March 4, 2011 6:52:06 PM UTC-8, Zsolt Vasvari wrote: So we are in exactly the same boat. What category is in your

[android-developers] Re: How to set ImageView from internal storage (or SDCard)

2011-03-03 Thread Doug
Use BitmapFactory and feed it the path of the file you saved, wherever you saved it. On Mar 2, 2:15 am, Stephan Wiesner testexpe...@googlemail.com wrote: Hi, my app displays some pictures I want to replace at certain intervals by downloading them from a webpage. I can set the image from my

[android-developers] Re: java.lang.OutOfMemory decoding Bitmaps

2011-03-03 Thread Doug
of having to wait for the GC to do it on its own time. Doug -- 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

[android-developers] Re: How to manage creating own thumbnails on Android 1.6?

2011-03-03 Thread Doug
How are you using the Android media scanner? With MediaScannerConnection, and are you waiting for the scan to complete? Doug On Feb 28, 2:31 am, novemberox novembe...@gmail.com wrote: Hi, after taking photo using intent I'd like to have thumbnail of it.         Intent intent = new Intent

[android-developers] Re: Streaming data from file to audio mixer

2011-03-03 Thread Doug
On Feb 27, 10:58 pm, X-9 nikolay.khleba...@gmail.com wrote: I guess AudioTrack class allows to write data to audio line, however I still cannot find an easy way to stream data from audio file. You will have to write that yourself. I bet you can find examples on the web... Doug -- You

[android-developers] Re: Unexpected behavior with animated views / layouts

2011-03-03 Thread Doug
to change the size of everything else. You'll of course have to set the visibility back to VISIBLE if it comes back. Doug -- 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: Clear recent apps stack

2011-03-03 Thread Doug
or not they are actually running at that moment. You can't change it with an application. They will go away at reboot or when other applications become more recent and cause old ones to fall off. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Re: VideoView Problems

2011-03-03 Thread Doug
You lost me at unref. What do you mean by that? Are you sure you're saving memory this way, and is it necessary? I don't think the VideoView itself is terribly heavy, but the MediaPlayer behind it might be more of a concern, when it's active. Doug On Mar 2, 8:28 pm, Anm andrew.n.marsh

[android-developers] How To Use MTP-connected Devices

2011-03-02 Thread Doug Gordon
MTP, etc. So how can MTP be used to transfer files to the device that don't really fit into the Media files category, and how do I locate the directory from my app? What do getExternalStorageDirectory and getExternalFilesDir return for a device like the Xoom? Doug Gordon GHCS Software

[android-developers] Re: How to resize an icon at run time to achieve specific size

2011-03-01 Thread Doug
ImageView will do all this scaling for you if the only thing you need is to put an image in a view to participate in a layout. Doug On Feb 27, 10:26 pm, argongold argongol...@gmail.com wrote: Hello, I am working on an android application for which I need to get specific size of icons as I am

[android-developers] Re: Getting video buffer from a video file

2011-02-23 Thread Doug
You can't with Android unless you show up with your own video utilities to do the dirty codec work. Doug On Feb 22, 8:03 pm, Stene kate.st...@gmail.com wrote: hi sogan, Thanks for your reply. Ok, Can you tell me how to extract video frames from video which is playing though mediaplayer

[android-developers] Re: Developing for tablets

2011-02-22 Thread Doug Gordon
. I would also hope that you'll be updating some of your publications accordingly; they were a big help when I was just starting out with this project. Doug Gordon On Feb 21, 4:43 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Feb 21, 2011 at 4:36 PM, Doug Gordon gordo...@gmail.com wrote

[android-developers] Re: In-app billing and trial period

2011-02-22 Thread Doug
the user has to retain both in order to get the full benefits. The downside to that might be reduced ratings/reviews for the paid unlocker, which could hurt its ranking. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Developing for tablets

2011-02-21 Thread Doug Gordon
of and will be covered when the final SDK is released. But I would also like some guidance on how to handle an increasingly fragmented array of devices. Doug Gordon GHCS Software -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Clearning Activity's intent data randomly comes back, why?

2011-02-18 Thread Doug
where you have a singleTop activity that wants to respond to onNewIntent() to change its originating intent? Doug -- 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: FilterQueryProvider not working

2011-02-18 Thread Doug Gordon
runQueryOnBackgroundThread yourself, it's an implementation method. Use getFilter().filter(some text) to kick things off. http://developer.android.com/reference/android/widget/Filter.html#fil...) -- Kostya Vasilyev --http://kmansoft.wordpress.com 18.02.2011 0:23 пользователь Doug Gordon gordo

[android-developers] FilterQueryProvider not working

2011-02-17 Thread Doug Gordon
call curs.getCount() in the runQuery routine. It's almost as if the adapter's changeCursor method is not being called, even though it states in the documentation that it will be called. Did I miss something here? Doug Gordon GHCS Software -- You received this message because you are subscribed

[android-developers] Closing Cursors

2011-02-15 Thread Doug Gordon
I'm trying to clean up my cursor management and have taken care of all the cases where I strictly use a cursor within my own classes. But what about cursors passed in a CursorAdapter to a ListView? Does the ListView or adapter take care of closing the cursor when the activity exits? Doug

[android-developers] Cursor Management with ListView

2011-02-15 Thread Doug Gordon
working, but is there a more elegant way of effectively requerying the database with a new WHERE clause from withing the existing adapter/cursor and avoiding having to create new object instances each time? Any examples of this technique? Doug Gordon GHCS Software -- You received this message

[android-developers] Re: How to create an app as a service and make it invisible to the user?

2011-02-05 Thread Doug
On Feb 3, 4:00 pm, Christian Chabtini cchapt...@gmail.com wrote: Hey doug, well, i want to create an app similar to mobistealth, mobile spy and many others apps that i saw for iphones,android phones. i am very curious how they accomplished that!!! Are you under the impression

[android-developers] Re: problem with mediaplayer playing from a file descriptor of a inet socket

2011-02-03 Thread Doug
want to check the doc for setDataSource method that accepts a FD. It will explain to you why you can't use a network socket. Doug -- 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

[android-developers] Re: How to tell in code the orientation

2011-02-02 Thread Doug
are created. Doug On Feb 2, 7:08 pm, Indicator Veritatis mej1...@yahoo.com wrote: Shouldn't he be listening for the change configuration broadcast event rather than just checking a flag? Or perhaps he should declare that he handles it himself, and handle it in onConfigurationChanged(config

[android-developers] Re: How to create an app as a service and make it invisible to the user?

2011-02-02 Thread Doug
Maybe you'd like to tell us what you're doing in this app that needs to be fully invisible to the end user? Doug On Feb 1, 5:39 pm, Christian Chabtini cchapt...@gmail.com wrote: Hi, I would like to be able to create a service that runs in the background. The user should not be able to detect

[android-developers] Re: Dynamic array ListView problem

2011-02-02 Thread Doug
How big is the array you allocated for items, and is it big enough to hold everything you intend to put in there? Doug On Feb 2, 8:54 am, sisko adeod...@gmail.com wrote: Hi guys, I am experimenting with locations and listviews. I am getting location results back and I am trying to create

[android-developers] Re: MediaPlayer callbacks not firing after calling prepareAsync() from a Service

2011-02-01 Thread Doug
? Doug -- 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

[android-developers] Re: Should a service maintain a reference to a Broadcast Receiver

2011-01-31 Thread Doug
unregistered, just like Activities. Anyway, what are you doing that makes it necessary to have a static member in a Service? Doug -- 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

[android-developers] Re: Strange orange background color when custom 9 patch button is pressed...

2011-01-28 Thread Doug
Could you tell us where your button is in your layout? Better yet, just copy the xml layout here. You may be seeing some bleeding through of another view under your button. On that note, try making the button the only thing on the screen and see what that does. Doug On Jan 28, 10:13 am

[android-developers] Re: How to get notified when layout is ready

2011-01-24 Thread Doug
listeners when they're no longer needed. Doug -- 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: How to move ImageView over RelativeLayout Bondaries (off-screen)

2011-01-24 Thread Doug
What exactly are you doing in the layout parameters to get the ImageView to reposition? Setting the margins? Doug On Jan 24, 2:25 pm, Gabriel Simões gsim...@gmail.com wrote: Hello, I´ve deleted the last post and I´m rewriting this one trying to make things a little bit more clear

[android-developers] Re: Beginner question about Imageviews and Layouts

2011-01-24 Thread Doug
to do this but it's not working the way you intended? You might want to share your layout so we can see what you're doing, otherwise we're guessing. Doug -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] onPostExecute and Activity State

2011-01-23 Thread Doug Gordon
has resumed (and is in the foreground)? It seems like it has to work this way, but I'm not sure exactly how the threading model works in Android. Doug Gordon GHCS Software -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: CheckBox spacing

2011-01-20 Thread Doug
I don't know for certain, but I imagine the checkbox background drawables are adding outside padding like the other Android widgets. You could probably get away with just substituting your own drawables to trim it down without changing the widget functionality. Time to dig into the SDK... Doug

[android-developers] Re: Multiple AlphaAnimations on overlapping views

2011-01-20 Thread Doug
not had trouble with these things in the past. Doug On Jan 20, 3:26 pm, jsera gall.blad...@gmail.com wrote: SOLVED When the animations finish, you have to flipper.setInAnimation(null); flipper.setOutAnimation(null); or else in in animation plays twice. OH GOD WHY??? On Jan 20, 3:03 pm

[android-developers] Re: Android Development Income Tax Question

2011-01-20 Thread Doug
Your accountant or even your tax preparer will help you do this properly if you explain your situation. On Jan 20, 12:51 pm, vistaman azgol...@gmail.com wrote: Last year, I made about $1200 selling my apps on Market, including ads income. However, I've also spent about $300 (Android Market fee,

[android-developers] Re: Radiogroup adding a radio button in listview

2011-01-20 Thread Doug
and active at the same time so they can't all be toggled automatically. I know this sounds complicated but that's just how ListView is optimized to handle an arbitrarily large number of items. You might be better off just using a ScrollView if your list of items is not prohibitively long. Doug On Jan 20

[android-developers] Re: Recommended way of passing callback context data between activities

2011-01-19 Thread Doug
Have you tried storing the data in a STATIC field of a class (or a singleton)? Static class members will survive any class instance transience issues because they are not tied to an instance of a class. Doug On Jan 17, 12:20 am, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote: Hi, Quite

[android-developers] Re: Proper Exception Handling

2011-01-18 Thread Doug
anyway. Doug -- 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

<    1   2   3   4   5   6   7   >