[android-developers] Position the media controller above the VideoView?

2013-10-17 Thread limtc
Hi, I would like to position the media controller above the VideoView (just as what everybody will be expecting the controller to be). However, the media controller keep appearing on top of the bottom of activity! I have used setAnchorView to set the videoView as the anchor view, but the resul

[android-developers] Re: Nested Window Activity

2013-10-17 Thread Piren
So basically you copied Android-Undergarment, changed the class/package name, removed the copyright notice and now you want people to help you take that code and make something out of it? *picture of bear* : how 'bout no. On Thursday, October 17, 2013 9:09:28 AM UTC+3, Dilip Kumar Chaudhary wro

[android-developers] Re: Adding a required file, external to the app, to the Google Store ???

2013-10-17 Thread farmerbb
What I did, until I can speak to my programmer, is make it much more clear on the app site that you NEED a database for the search engine to work. So far, that seems to help, as the number of downloads has jumped. It is a sort of 'critical mass' situation. The traction the app gets will depen

[android-developers] Re: Design Problem: Client <- CustomeData -> Service

2013-10-17 Thread Richard Zhao
It's a special case. Client doesn't have the right to access db. On Tuesday, October 15, 2013 3:22:11 PM UTC+8, Jacky.Liu wrote: > > Your question make me think of OO database, you can make C/S both operate > the database. > Why bother to send the "CustomeData" back and forth . > > > 在 2013年10月

[android-developers] Re: Design Problem: Client <- CustomeData -> Service

2013-10-17 Thread Piren
If this is just a data object being shared by two apps, i'd define a base class with the shared information and extend it where needed. If operations are needed as well (or the data structure is different), I'd define an interface of the shared information and use two different implementations o

Re: [android-developers] how to track the location continously...

2013-10-17 Thread Kristopher Micinski
On Thu, Oct 17, 2013 at 2:57 AM, Piren wrote: > A foreground service is sort of the way you build apps that live >> indefinitely. >> > I wouldn't say that, foreground services die like everything else... they > are persistent little buggers, but it doesn't take much to get rid of them. > Especial

Re: [android-developers] how to track the location continously...

2013-10-17 Thread Kristopher Micinski
For example, having a foreground services shows some sort of intent that users want the app to be running continuously. If the user force kills an app with a foreground service, that just seems dumb, since they should have just stopped it using the facilities of that app anyway :-/, but I guess no

Re: [android-developers] how to track the location continously...

2013-10-17 Thread Piren
That's what we think being developers (and google thought when they forced the icon to show up) ... the users however (well, most of them), have no idea what they are doing... I've had a foreground service running, with it's pretty icon and a text saying what it is (so users wouldn't be surpris

Re: [android-developers] how to track the location continously...

2013-10-17 Thread Steve Gabrilowitz
One of my apps uses a service, and in the first versions I was getting some complaints about the app not working. So I added an option to make the service a foreground service (default, with a text saying that it was needed for proper operation on some phones but that it might affect battery life)

Re: [android-developers] how to track the location continously...

2013-10-17 Thread Kristopher Micinski
Sure, nothing lasts forever, and it's not meant to. If you want to write an app that lasts "forever," then, that's not how it works. Still, if you want your app to have a much smaller chance (wrt the eviction policy) you should consider using a foreground service. The only reason I can think of

Re: [android-developers] New Android Development Tool..

2013-10-17 Thread TreKing
On Thu, Oct 17, 2013 at 4:47 PM, joe131 wrote: > I know that everybody in the universe uses Eclipse > for their Android development, but I'm almost finished > developing an easy to use tool for your Android development, > mostly for those who use the Command line. > Why are you developing this?

[android-developers] Re: New Android Development Tool..

2013-10-17 Thread Lew
joe131 wrote: > > I know that everybody in the universe uses Eclipse > Nope. > for their Android development, but I'm almost finished > developing an easy to use tool for your Android development, > mostly for those who use the Command [sic] line. > For those who use command line, there's Ant

Re: [android-developers] New Android Development Tool..

2013-10-17 Thread Mark Phillips
I cannot answer for joe131, and I can't use his tool since it only runs on Windows (I am a Linux/Android guy). However, I have been looking for a non-Eclipse command line approach for android development. I use Eclipse on my main system at my desk, but when I am on the road (I am a consultant) I pr

Re: [android-developers] New Android Development Tool..

2013-10-17 Thread Kristopher Micinski
I do all my development via command line, using the ant build scripts and emacs JDEE works well enough. What joe131 wrote is just a thin wrapper around all of that anyway, Kris On Thu, Oct 17, 2013 at 7:37 PM, Mark Phillips wrote: > I cannot answer for joe131, and I can't use his tool since i

Re: [android-developers] Post text and image on twitter

2013-10-17 Thread Douglas Drumond
Another great link: http://www.catb.org/esr/faqs/smart-questions.html -- Douglas Drumond *GDG Campinas – **eee19.com* *gplus.to/douglasdrumond * – *@douglasdrumond * 2013/10/15 TreKing > > On Tue, Oct 15,

[android-developers] Re: Unable to authorize adb on Windows 7 after set of 10/8/13 Microsoft patches applied

2013-10-17 Thread andrew_esh
Try installing ADB wifi widget on the phone and see if you can do "adb connect " to it. Try doing USB ADB to the same phone from a different computer. Try to find more phones/tablets to try ADB with the same PC. I use Windows 7 as well, and I have been using ADB heavily since 10/8/13. No problem