Re: [android-developers] Disable Triple Buffering In 4.1?

2013-02-05 Thread muleskinner
On Monday, February 4, 2013 5:28:07 PM UTC, Romain Guy (Google) wrote: If you are drawing your app using standard Views and Canvas, this is not required. If you are using SurfaceView.lockCanvas(), make sure to check the returned Rect. It tells you what part of the the Canvas you *have* to

[android-developers] Webview - Embedding Video(or as an overlay) on custom screen area for rtsp live video streaming

2013-02-05 Thread Ash
Hi, I have a Webview based Android Application that works with my own application webserver. The application webserver provides HTML5 contents for each user. The content could be rich text, image or any multimedia content. In one of my requirement I want to play live rtsp based stream on

Re: [android-developers] NFC Card Emulation on android

2013-02-05 Thread Eliseo Baruzzi
Il giorno giovedì 24 gennaio 2013 18:48:20 UTC+1, Michael Roland ha scritto: Hi Eliseo, What I want to do is to use the UID received from the phone to read/write the tag emulated on the phone. Another application possible is to use the phone in access control applications, but a

Re: [android-developers] UnknownHostException is not logged

2013-02-05 Thread BoD
FYI there was already an open bug for this: http://code.google.com/p/android/issues/detail?id=21436 I really think this change should be reverted, instead of 'fixing' the javadoc. Seriously, the logger should not decide for the developer what is an important exception or not - this doesn't make

[android-developers] How to hide error dialog on MediaPlayer

2013-02-05 Thread Per-Jarle Sæther
Hello all I'm working with a video playback app Sometimes when there is a problem with the video stream, the MediaPlayer displays an error dialog saying: Sorry, this video cannot be played Is there any way to disable this dialog so it will not be displayed in my app? I would like to implement my

[android-developers] Re: my app won't die

2013-02-05 Thread Kostya Vasilyev
That's standard Android system behavior, AFAIK. Makes sense to me -- if an activity crashed, restart the app in last known good state, at activity granularity level. -- K On Tuesday, February 5, 2013 2:43:46 AM UTC+4, bob wrote: No. Basically, the activity I am killing is a Blue Screen of

Re: [android-developers] Re: Unpublishing an APK

2013-02-05 Thread Kostya Vasilyev
On Tuesday, February 5, 2013 8:46:59 AM UTC+4, TreKing wrote: On Mon, Feb 4, 2013 at 4:08 AM, Kostya Vasilyev kman...@gmail.comjavascript: wrote: But you can Both the new and the old publishing UIs have an expert (detailed?) mode with a list of uploaded .apk's and there are

Re: [android-developers] UnknownHostException is not logged

2013-02-05 Thread b0b
On Tuesday, 5 February 2013 11:46:42 UTC+1, BoD wrote: FYI there was already an open bug for this: http://code.google.com/p/android/issues/detail?id=21436 I really think this change should be reverted, instead of 'fixing' the javadoc. Seriously, the logger should not decide for the

[android-developers] Acquire and release Wakelock and wifilock

2013-02-05 Thread a
Hi, I am developing an application where a service S1 has a method that starts an intent I. The intent I inturn calls service S2 using startActivityForResult() and onActivityResult() defined in intent I returns a value. I want my app to be executed even when the device is sleeping.

[android-developers] Sliding Drawer

2013-02-05 Thread arunkumar . k
Hi friends, I have a some problem with sliding drawer.i want a list-view inside the sliding drawer.And the list-view contain images and text. But i want it with in the single layout .how can i do that one -- -- You received this message because you are subscribed to the Google

[android-developers] Re: SIP Demo and Android 2.3 problem

2013-02-05 Thread Labeeb p
I'm also facing the same issue. Is there any fix for this SipManager.newInstance returns null in Android 2.3 On Wednesday, 8 December 2010 19:05:47 UTC+5:30, jan telega wrote: Hi, i tried to run SIP Demo (http://developer.android.com/resources/

Re: [android-developers] Sliding Drawer

2013-02-05 Thread Aashish kumar
You have to make custom adaptor to display multiple view. On Feb 5, 2013 6:34 PM, arunkuma...@npcompete.net wrote: Hi friends, I have a some problem with sliding drawer.i want a list-view inside the sliding drawer.And the list-view contain images and text. But i want it with in the

[android-developers] Re: my app won't die

2013-02-05 Thread bob
The activity did not crash. The BSOD was because the TCP server is down. When the app gets restarted, the TCP server may very well still be down. On Tuesday, February 5, 2013 4:57:51 AM UTC-6, Kostya Vasilyev wrote: That's standard Android system behavior, AFAIK. Makes sense to me -- if

Re: [android-developers] Re: asynctask vs. FragmentRetainInstance.java in API demo

2013-02-05 Thread Hand Green
As for .. it is unnecessary for a worker fragment to start a asynctask ..., let me put it in another way. Yes, I agree a fragment without UI is not a worker thread. Why I said .. it is unnecessary for a worker fragment to start a asynctask ... was about the FragmentRetainInstance.java. It does not

[android-developers] Re: Regarding bluetooth printing

2013-02-05 Thread bob
Create an RFCOMM socket to the MAC address of the printer. Then send the string Hello World to the socket. I think it will print it. For more complex printing, maybe send PostScript? On Monday, February 4, 2013 11:44:50 PM UTC-6, sourabh wrote: Dear All, I am looking for solution

[android-developers] Re: How to hide error dialog on MediaPlayer

2013-02-05 Thread Nobu Games
Have you tried setting a MediaPlayer.OnErrorListenerhttp://developer.android.com/reference/android/media/MediaPlayer.OnErrorListener.htmlthat returns true? Maybe this will suppress the internally generated error message. On Tuesday, February 5, 2013 4:55:05 AM UTC-6, Per-Jarle Sæther wrote:

Re: [android-developers] Regarding bluetooth printing

2013-02-05 Thread Kristopher Micinski
I'd suggest using the Google Cloud Printing intent, as it will have a more ubiquitous look and feel for your users. It will also absolve you from worries about permissions relating to Bluetooth. However, you should also be aware there's a library:

Re: [android-developers] Re: my app won't die

2013-02-05 Thread Kostya Vasilyev
I thought you mentioned killing the activity (which I understood as killing the app's process)? bob b...@coolfone.comze.com 5 февраля 2013 г. 19:16:44 написал: The activity did not crash. The BSOD was because the TCP server is down. When the app gets restarted, the TCP server may very

[android-developers] Re: Regarding bluetooth printing

2013-02-05 Thread sourabh sahu
Thanks, but I want free third party API, please suggest. On Tuesday, February 5, 2013, Kristopher Micinski wrote: I'd suggest using the Google Cloud Printing intent, as it will have a more ubiquitous look and feel for your users. It will also absolve you from worries about permissions

Re: [android-developers] Re: Regarding bluetooth printing

2013-02-05 Thread Kristopher Micinski
There is no standard free SDK for printing in Android: if you want a good one you're going to have to pay for it. Googling will get you far, but you'll have to collect the set of StackOverflow threads and then compare the options, the only ones of which I've heard are paid, not free:

Re: [android-developers] Re: my app won't die

2013-02-05 Thread bob
I pressed the stop sign button which the tool tip says will Stop Process. However, it looks like it is just killing the activity rather than the process. https://lh4.googleusercontent.com/-kFe1nlLUdbo/URFPlTjZvWI/ALw/W2_DWGX7x6A/s1600/stopsign.png On Tuesday, February 5, 2013

Re: [android-developers] Re: my app won't die

2013-02-05 Thread Kostya Vasilyev
No, that red buttons kills the process -- watch the device's process list right there in DDMS, you will see your app's process disappear, and then get recreated with a new PID, easy to spot. You should also see something like this in the logcat: 02-05 22:41:43.746 W/ActivityManager( 389): Force

Re: [android-developers] Re: my app won't die

2013-02-05 Thread bob
You are right. The process gets killed. But, then something automatically restarts it. So, I guess the question I have is why does it automatically get restarted? Is Eclipse doing that? On Tuesday, February 5, 2013 12:45:59 PM UTC-6, Kostya Vasilyev wrote: No, that red buttons

[android-developers] Re: SIP Demo and Android 2.3 problem

2013-02-05 Thread bob
Is this on a device or an emulator? Thanks. On Tuesday, February 5, 2013 7:48:17 AM UTC-6, Labeeb p wrote: I'm also facing the same issue. Is there any fix for this SipManager.newInstance returns null in Android 2.3 On Wednesday, 8 December 2010 19:05:47 UTC+5:30, jan telega wrote:

Re: [android-developers] Re: my app won't die

2013-02-05 Thread Kostya Vasilyev
No, the system does that, because your app was in the foreground when it died, and so --- you must have been doing something important, let's take you back to what you were doing, stopping just one activity short, hoping it doesn't crash again. -- K 2013/2/6 bob b...@coolfone.comze.com You are

Re: [android-developers] Re: my app won't die

2013-02-05 Thread RichardC
Android OS does as it can't tell the difference between a process kill due to low memory and a process terminated - so it gets restarted. Try pressing [home] before killing the process - I have read somewhere (trying to find the reference) that this should kill the process and it will not get

[android-developers] ydpi != xdpi

2013-02-05 Thread bob
I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I imagining or is this really the case with some devices? Can someone help me understand why a manufacturer would do such a thing? It seems like it makes things more complicated with no benefit. Thanks. -- -- You

Re: [android-developers] ydpi != xdpi

2013-02-05 Thread Romain Guy
There are two ways to have xdpi == ydpi: either your display is square or the display pixels are not square. Why does it make things more complicated? On Tue, Feb 5, 2013 at 1:08 PM, bob b...@coolfone.comze.com wrote: I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I

[android-developers] Re: ydpi != xdpi

2013-02-05 Thread bob
Here's an image of what I'm talking about: https://lh4.googleusercontent.com/-MpX24QBNZTk/URF-DhwoStI/AMA/gtyCa4O7CDY/s1600/dpibad2.png On Tuesday, February 5, 2013 3:08:46 PM UTC-6, bob wrote: I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I imagining

[android-developers] Re: ydpi != xdpi

2013-02-05 Thread RichardC
See this post: https://groups.google.com/d/msg/android-developers/FiwVYQ5F3IQ/3IkntEedsk8J On Tuesday, February 5, 2013 9:08:46 PM UTC, bob wrote: I think I saw on my Nexus 7 that the ydpi differs from the xdpi. Was I imagining or is this really the case with some devices? Can someone

[android-developers] Nfc reader application

2013-02-05 Thread jitesh adnani
I want to develop an app that could read any nfc tag or card and display all the details in that nfc tag or card. -- -- 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

Re: [android-developers] Re: asynctask vs. FragmentRetainInstance.java in API demo

2013-02-05 Thread Streets Of Boston
Instead of Threads or AsyncTasks that do the background work getting the data from the server, use Loader (AsyncLoader). You can use the LoaderManager to initially load them and also to restart them. Restarting them would allow you to implement your 'refresh' functionality. On Tuesday,

[android-developers] Installed platform version not showing up in Virtual Device Manager

2013-02-05 Thread don rhummy
In Eclipse, the Android SDK Managaer shows that I have the platform versions 2.3.3-4.2 installed, but when I go to create a new device in Android Virtual Device Manager, it only shows 4.2 as an option. What could be wrong? -- -- You received this message because you are subscribed to the

[android-developers] Installed platform version not showing up in Virtual Device Manager

2013-02-05 Thread RichardC
In Android SDK Manager expand each node in the list and make sure you have the AVD images installed for each version. -- -- 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] Rollback mechanism of Logcat in android

2013-02-05 Thread Bajrang Asthana
I am interested to know after what time or size Logcat file of device rollbacks. Actually I am reading some of the information from it. -- -- 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] Custom array adapter

2013-02-05 Thread arunkumar . k
Hi, I m create a list-view sample.i have one problem.i want to display item in list view...my code is given below public class Sliding_listview extends ListActivity { private static final String[] items={lorem, ipsum, dolor, sit, amet,consectetuer, adipiscing, elit, morbi, vel,

[android-developers] Re: Android ADK problem

2013-02-05 Thread Luis
fileinputstream.available() is device dependent. The way I worked around it was by having a dedicated read thread. On Saturday, July 21, 2012 4:22:29 AM UTC-5, 4ntoine wrote: Hi, evebody! I'm playing with Android ADK and have strange problem with my Galaxy Tab 2. After opening accessory i

[android-developers] Get sorted list android applications on basis of rarely used

2013-02-05 Thread Bajrang Asthana
Hi , I want to get a list of android applications on basis of rarely used. I am not getting how can we access last run time of application. I thought it could be possible through reading of logcat file. But looking on log file of device, I found that the first entry of logcat is of 2 days

[android-developers] Re: PopupWindow - controlling size?

2013-02-05 Thread Mohit sharma
Any solution yet ? On Thursday, June 10, 2010 3:02:00 PM UTC+5:30, Axel Garcia wrote: I have exactly the same problem... did you finally found some solution? Thx On May 27, 8:17 pm, Nathan critter...@crittermap.com wrote: I've experimented with a PopupWindow, but don't have a very

[android-developers] Re: PopupWindow - controlling size?

2013-02-05 Thread Mohit sharma
Can you please explain more ? On Friday, July 23, 2010 8:39:08 AM UTC+5:30, Ryan Tan wrote: You can set the height and width of the PopupWindow to a non-absolute value by referencing the anchor view's width and height. On Jun 10, 5:32 pm, AMGG axel...@gmail.com wrote: I have exactly the

[android-developers] Changing Radio stations through headphones

2013-02-05 Thread Ansh
Hi Guys , I am an android developer developing apps for 2 yrs.I am having HTC one v and when i listens to radio and want to change the station i need to change it through my phone's radio app.I need to know if i can do it via headset directly with the hardware button on the headset like some