[android-developers] Dynamically removing fragments and saving their UI transformations

2012-12-29 Thread Dmitriy F
I have a couple of fragments which substitute one for another. The UI of these fragments changes and I need to hold it's new state. So the code looks pretty trivial: FragmentManager fragmentManager = getSupportFragmentManager(); FragmentTransaction fragmentTransaction =

Re: [android-developers] Check the Status of VPN

2012-12-29 Thread Priyanka
Hi Asheesh, I have seen this post, however it does not support 4.x android devices. On Friday, 28 December 2012 12:22:23 UTC+5:30, asheesh arya wrote: http://stackoverflow.com/questions/3461967/get-vpn-connection-status-on-android -- You received this message because you

[android-developers] What to do when people are complaining about a virus in my app

2012-12-29 Thread Balint
Recently many users were complaining about a virus in my app. This is really annoying because I am losing many new users (my app has 150.000 downloads). I checked with AVG and AVAST and neither of them found any viruses on my phone (I downloaded my app from the market before I scanned the whole

[android-developers] Low resolution in camera.TakePicture

2012-12-29 Thread Italo Mendonça Rocha
Hello, I have an application that uses the Camera and SurfaceView to take pictures. When I take photos by Galaxy S2 or smaller devices the picture resolution is perfect. But when I try to take pictures by Galaxy S3 or tablets the picture resolution is too low. I use the following code:

Re: [android-developers] Low resolution in camera.TakePicture

2012-12-29 Thread Mark Murphy
What are you specifying as the picture size in your Camera.Parameters? On Sat, Dec 29, 2012 at 10:08 AM, Italo Mendonça Rocha ital...@gmail.com wrote: Hello, I have an application that uses the Camera and SurfaceView to take pictures. When I take photos by Galaxy S2 or smaller devices the

[android-developers] Re: How can an app cause a hard freeze?

2012-12-29 Thread lbendlin
I can second the map panning effect. That seems to be able to lock up some older devices (with less RAM, or poorly managed RAM?) randomly. On Friday, December 28, 2012 7:34:05 PM UTC-5, Nathan wrote: This is a topic that is on my mind once in a while. What could an app do that would cause a

[android-developers] Re: How to start again if some third party task killer has killed my app ?

2012-12-29 Thread Nobu Games
I would focus on your force close error and fix that one instead of trying to work around other apps. On Thursday, December 27, 2012 12:02:06 AM UTC-6, Amit Dwivedi wrote: In my App I have several activities which are obviously related to each other. Whenever I am on some activity and the

[android-developers] Re: What to do when people are complaining about a virus in my app

2012-12-29 Thread RLScott
Does the souce code contain only code that you wrote, or did you include a third party library that you did not write? I am assuming that if the code is all yours you would know well enough whether you put a virus in it. -- You received this message because you are subscribed to the Google

Re: [android-developers] What to do when people are complaining about a virus in my app

2012-12-29 Thread Nikolay Elenkov
On Sun, Dec 30, 2012 at 12:03 AM, Balint balintfar...@gmail.com wrote: My guess is that these people are using bad antivirus applications. Or a pirated version that may have malware injected. Or you are using and ad network that gets classified as malware by some AVs. Try to get the APK from a

Re: [android-developers] What to do when people are complaining about a virus in my app

2012-12-29 Thread Jim Graham
On Sat, Dec 29, 2012 at 07:03:29AM -0800, Balint wrote: Recently many users were complaining about a virus in my app. [] My guess is that these people are using bad antivirus applications. Any ideas? A virus? On a Unix-based OS? Last time I checked, this wasn't possible. On a windoze

Re: [android-developers] Low resolution in camera.TakePicture

2012-12-29 Thread Jim Graham
On Sat, Dec 29, 2012 at 12:08:52PM -0300, Italo Mendon?a Rocha wrote: I have an application that uses the Camera and SurfaceView to take pictures. When I take photos by Galaxy S2 or smaller devices the picture resolution is perfect. But when I try to take pictures by Galaxy S3 or tablets the

[android-developers] Re: New OpenGL ES 2.0 Game Engine Option

2012-12-29 Thread Robert Green
Yes, texture mapping is fairly standard and is very well supported. BAI means Binary Asset Import and is a compact memory-safe format of the internal structure of the open asset importer library. We did create it ourselves but it's simple, easy to maintain and extend and fully compatible with

[android-developers] PreferenceHeaders with GingerBread

2012-12-29 Thread Jim Duda
My application is using modern preference headers. I need to support compatibility with Gingerbread. The PreferenceHeaders work fine with post GingerBread. I am following this guide for legacy compatiblity. http://developer.android.com/guide/topic/ui/settings.html#BackCompatHeaders The

[android-developers] LocationManager.getBestProvider Returning NULL?

2012-12-29 Thread Jake Colman
Under what circumstances will getBestProvider return NULL and what is the best way to handle it? My app uses the provider to determine the current location. If getBestProvider returns NULL I request an update from NETWORK on the assumption that there is always a NETWORK provider even if the GPS

Re: [android-developers] LocationManager.getBestProvider Returning NULL?

2012-12-29 Thread TreKing
On Sat, Dec 29, 2012 at 6:27 PM, Jake Colman col...@ppllc.com wrote: Under what circumstances will getBestProvider return NULL

[android-developers] Re: LocationManager.getBestProvider Returning NULL?

2012-12-29 Thread Jake Colman
T == TreKing treking...@gmail.com writes: and what is the best way to handle it? T Check for null? I'm already doing that! If I get NULL I hard-code a request to the NETWORK provider. Under certain circumstances I'm crashing my app since I assumed (stupidly) that when best

[android-developers] USB Touchscreen support, why is it so hard?

2012-12-29 Thread Zxanatos C. Omyda
I am trying to find a developer that understands USB devices. Basically I have a MK802 Android 4.0 device. I am trying to connect a USB Resistive touchscreen to it, but it does nothing. I here that Google stripped that out to keep Android light, since most devices now use capacitive screens.

[android-developers] Re: TV broadcast signal on android app

2012-12-29 Thread jtoolsdev
Of course that tuner is DVB which will work in Europe but they don't have an ATSC Android tuner which one would need in the US. They do have one for laptops. On Friday, December 28, 2012 2:08:31 PM UTC-8, bob wrote: It sounds like this is what you are looking for:

[android-developers] Re: PreferenceHeaders with GingerBread

2012-12-29 Thread Jonathan S
How about intent android:targetPackage=com.example.android.misterhouse.activity android:targetClass=SettingsActivity / On Saturday, December 29, 2012 6:38:32 PM UTC-5, Jim Duda wrote: My application is using modern preference headers. I need to support compatibility with Gingerbread.

[android-developers] Install failing with Android SDK Manager

2012-12-29 Thread Dev Guy
Hello I am getting the following error after I run the Android SDK Manager: Installing Google APIs, Android API 17, revision 1 Installed Google APIs, Android API 17, revision 1 Updated ADB to support the USB devices declared in the SDK add-ons. Stopping ADB server failed (code -1). Unable to run