Re: [android-developers] Re: Custom DialogPreference and PreferenceManager.setDefaultValues issue

2012-09-23 Thread Gene Wildhart
Your solution works perfectly for me on Gingerbread (Android 2.3.7) and below. However, when trying on ICS (4.0+) or newer, neither the * onSetInitialValue* or the *onGetDefaultValue* functions are ever called. Can anyone explain why the behavior changed in ICS? On Friday, July 27, 2012 1:41:5

[android-developers] Re: Is frame extraction possible?

2012-04-17 Thread Gene
I have no experience with this interface, but it looks like you can send the preview to an OpenGL texture rather than the SurfaceView. A texture can be copied to conventional memory with the OpenGL API. On Apr 17, 10:46 pm, Taylor Niver wrote: > I asked a question yesterday but didn't get much gu

[android-developers] Re: Will the browser in the ADT emulator use my desktop network connection for browsing sites?

2012-04-17 Thread Gene
Yes. The emulator uses the host NIC as though it's a WiFi service provider. All the apps respond accordingly. Not sure if this will be important for you, but the emulated settings for Proxy and DNS for that emulated ISP all function by manipulating the emulator GUI. If you're on an enterprise LA

[android-developers] Re: Listview of programmatically created Drawables

2012-04-02 Thread Gene
> Or use image views and set them as 'src' images (this way you'll have > better control over scaling and clipping). >  25.03.2012 5:29 пользователь "Gene" написал: > > > How can you get programmed stroked Drawables (not bitmaps) to appear > > in th

[android-developers] Re: Listview of programmatically created Drawables

2012-03-24 Thread Gene
How can you get programmed stroked Drawables (not bitmaps) to appear in the lines of a ListView? On Mar 23, 1:36 am, TreKing wrote: > On Thu, Mar 22, 2012 at 9:42 PM, Gene wrote: > > ListView seems to be the way to go, but I can't grok how to make > > other-than-bitmaps appe

[android-developers] Listview of programmatically created Drawables

2012-03-22 Thread Gene
I have a pretty intricate custom Drawable for military map symbols. These are stroked and labeled programmatically. The Symbol class provides a few enums that control appearance. So the API looks something like: // Symbol inherits class Drawable Symbol.Affiliation a = ...; Symbol.Size s = ... ; S

[android-developers] Re: Android, SQLite, massive (5000%+) loss of performance on a certain query, on a certain device

2012-03-20 Thread Gene
When you see huge differences like this on joins it often means one of the inner columns is not in an index _and_ there exists at least one pair of tables being joined that won't fit in cache. So I'd bet the difference between the two devices is SQLlite caching, which could be either RAM available

[android-developers] Re: The service restart but not retaining socket

2012-02-20 Thread Gene
I am not an expert on this, but am pretty sure you will have to implement onDestroy() and do an orderly close on the sockets you are using. On Feb 18, 2:30 am, Nitin Gaikwad wrote: > Hi Friends, > 1 I am developing one application where i write one service using > broadcast receiver. > 2 In this

[android-developers] Re: Help with Maps problem on emulator

2012-02-18 Thread Gene
Thanks. It finally started working when I deleted http:// from the Proxy entry in the emulated Android device Access Point proxy settings. When I looked back at my old notes, this is how I had gotten it working originally. I had created a new virtual device and added the http:// by mistake. In

[android-developers] Help with Maps problem on emulator

2012-02-16 Thread Gene
Hello all. I'm developing an Android Maps API app behind a business proxy/firewall using an emulator. Mac OS X is the host machine. It took a lot of fiddling, but I finally found a -http-proxy and -dns settings that got the emulator through to the Internet. I also had to set the proxy settings

[android-developers] Compatability eclipse and ADT

2011-11-02 Thread Gene
) Please consider checking this out and editing the compatability requirements if applicable. I could of course be wrong. If I am right this will prevent a lot of needless frustration in the universe Thanks, Gene -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: New MiKandi Launch with Support For Paid Apps

2010-11-22 Thread Gene R.
That video is so cool, it almost makes me want to develop an app for your App Store! On Nov 21, 10:32 am, Shane Isbell wrote: > New MiKandi launch, check out the promotional > vid:http://www.youtube.com/watch?v=s3qNsDmRWlo > > If you guys have paid apps, publish them and start making some money.

[android-developers] Re: Record audio problem on the LG Ally

2010-08-11 Thread Gene R.
I too am experiencing the same exact problem. I'm using AudioRecord and my app works fine on my Nexus, Behold II, Cliq XT, Droid and Droid X. LG Ally users (and Samsung Moment users) are reporting crashes. I'm locked in at 8khz sample rate. It would be useful to have a logcat from an LG Ally to

[android-developers] Re: Pin / Password Protect an App

2010-08-05 Thread Gene R.
I haven't done this; however, it seems quite simply a matter of asking for the PIN during onStart() method. When the user nagivates away from the app, it will eventually be killed, and when the user restarts it, onStart() will be called again. On Aug 4, 7:49 pm, Mike wrote: > How do I protect an

[android-developers] Re: Android Market Abusive developers...

2010-08-05 Thread Gene R.
An Entertainment category already exists, where wallpapers, ringtones, and soundboards are supposed to go. Most spammers do not want their app in the "Entertainment" category, because that category is flooded already. So they post their wallpapers in the "Social" or "Communication" category. If

[android-developers] Re: Android Market Abusive developers...

2010-08-05 Thread Gene R.
Spam is a BIG problem on the Android market, with many asian developers creating multiple accounts and FLOODING the market with their wallpaper and background apps. We've been trying to keep track of some of the spammers in this Google Market Suggestion Thread: http://www.google.com/support/forum/

[android-developers] AudioRecord API - STATE_UNITIALIZED - What do you do?

2010-07-14 Thread Gene R.
I have an app that records 8Khz audio, saves to the SD and plays it back. It uses the AudioRecord API and it works just fine on my Nexus One (2.2), Behold II (1.6), Cliq XT (1.5) and the emulator (tested from 1.5 to 2.2). However, on the market error report, I am seeing the following IllegalState

Re: [android-developers] Re: How to access shared preference outside of Activity

2010-07-13 Thread Gene Augustine
ution? Thanks, Gene On Sun, Jul 11, 2010 at 1:26 AM, Jeruliu wrote: > Thanks, you solved my problem, again. > > On Jul 9, 7:40 pm, Mark Murphy wrote: > > On Fri, Jul 9, 2010 at 5:03 AM, Jeruliu wrote: > > > Thanks, actually i need to access the shared preference in a

[android-developers] Re: IP infringements on the Market

2010-07-12 Thread Gene R.
infringing apps appear to be out of China or some other asian country... that alone may dissuade the rights holder from pursing it. Gene On Jul 10, 6:23 am, michael wrote: > Hi again, > > > Doing so may well violate their DMCA safe harbor provisions and open > > them up to big-

[android-developers] Custom Toast from a Service

2010-05-19 Thread Gene R.
I am able to display a custom Toast from an Activity; however, a service does not inherit the findViewById() method needed to build the custom Toast. Is there a way around this? See below: public class CService extends Service { public void onCreate() { super.onCreate(); } @

[android-developers] Custom Toast

2010-05-19 Thread Gene R.
Hello, I am trying to display a "custom" Toast from a service. I have no problem displaying a regular Toast from my service using Toast.makeText() and Toast.show(); however, I would like to display a custom Toast with an embedded graphic. The problem seems to be that the Service class does not i

[android-developers] Re: Internal clock off by 15 seconds

2009-12-19 Thread Gene
FWIW, the internal time scale used by GPS is now exactly 15 seconds ahead of UTC. -- 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

[android-developers] Re: Mobile capabilities from AJAX

2008-06-26 Thread Gene Vayngrib
rself. If you have a problem with this - let me know and we will put this in our Bhoost project plan. Gene On Jun 26, 8:50 am, Jose María González <[EMAIL PROTECTED]> wrote: > Thanks Hong, that sounds great. > Could you please provide me with more info. I have no idea hoy to > implemen

[android-developers] Re: question about android library

2008-06-13 Thread Gene Vayngrib
are you trying to do what iPhone does - open youtube URLs in a special viewer? if so - we may have a solution for you our open source webkit wrapper (http://bhoost.com) already opens special urls in alternative viewers: tel: urls open in native dialer. We are also working on opening maps.google.c

[android-developers] Re: Android browser?

2008-06-13 Thread Gene Vayngrib
Watch your server log when requests come in and see which was the last served before webkit gets stuck. On our web site (http://neoyou.org) we saw webkit hang on receiving images. On a hunch we configured our http server to close connection on every response and that fixed the problem for now (cou

[android-developers] how to replace core android classes - or is there a way to add -Xbootclasspath to .apk startup?

2008-05-20 Thread Gene Vayngrib
Specifically we need to replace WebView's CacheManager to fix bugs in it and provide an alternative implementation. (This new CacheManager would be used in open source Browser Bhoost product - see http://bhoost.com). It should not be a security problem for Android since it would affect the bootcla

[android-developers] Re: Problem with the heap size

2008-05-20 Thread Gene Vayngrib
I see the same all the time. Very time consuming to kill all and start again. So, I discovered that even when logCat view stops working in Eclipse - you can still run 'adb logcat' from the command line and it works like a charm. Another observation - with logcat view opened - our application (bhoo

[android-developers] Re: Story about interesting Android apps

2008-05-12 Thread Gene Vayngrib
nt dates right in the movie theater. neoyou.org is a Web app built on top of Lablz.com and is running on Bhoost browser shell, thus utilizing GPS, camera, IM, vibration, sound - giving neoyou members deep immersion in Social interactions. Gene Vayngrib http://lablz.com http://bhoost.com On May 6, 2

[android-developers] Re: Class loading order, Xml Document.NormalizeDocument method

2008-05-09 Thread Gene Vayngrib
://davanum.wordpress.com/2007/12/04/command-line-java-on-dalvikvm/ Did not try it myself since this solution would not have worked for the ADC submission which required the finished .apk Would greatly appreciate if somebody from Google gave us a hint. Gene Vayngrib http://bhoost.com http://lablz.com On May 3, 2:30