[android-developers] Re: capture frames from camera

2011-01-07 Thread ko5tik
You could supply socket to media recorder, and it will write live data into it - so you can capture data before it saved. ( this will be already compressed though ) On Jan 6, 11:11 pm, android-ivs lyl...@gmail.com wrote: I am writing an Android app for video processing. As a first step, I

[android-developers] Why is the original softkeyboard daemon still running even after I reconfigured it in the setting-keyboard?

2011-01-07 Thread Peter Teoh
First, start avd, and then adb shell in a terminal, and ps to see the following processes: # ps USER PID PPID VSIZE RSS WCHANPC NAME root 1 0 296204 c009a694 c93c S /init root 2 0 0 0 c004dea0 S kthreadd root 3

Re: [android-developers] how to fetch the facebook friend list

2011-01-07 Thread Robin Talwar
even i am on the same boat. Would appreciate some guidance On Fri, Jan 7, 2011 at 12:51 PM, rajesh chandrasekaran crajeshdanger...@gmail.com wrote: Hi I am new in android. In my android application i have one button if user click that then i need to display the friend list of the facebook

[android-developers] Re: Amazon to Policy Android Market Place

2011-01-07 Thread ko5tik
lmor...@earthcam.com wrote: I don't, because for some bizarre reason they are making it US-only! What on earth are they thinking? Selling all over the world is mayor PITA - all the different tax regulations, payment providers... Not to speak of US export restrictions - you sell some funny

Re: [android-developers] Why is the original softkeyboard daemon still running even after I reconfigured it in the setting-keyboard?

2011-01-07 Thread Dianne Hackborn
It's not a daemon, it's just a process, and it's behaving as the documentation describes Android manages processes: http://developer.android.com/guide/topics/fundamentals.html#proclife On Fri, Jan 7, 2011 at 12:19 AM, Peter Teoh htmldevelo...@gmail.com wrote: First, start avd, and then adb

Re: [android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-07 Thread Dianne Hackborn
Yes you do, it is not in the SDK. On Thu, Jan 6, 2011 at 11:00 PM, MerlinBG merli...@gbg.bg wrote: By public I mean included in the public API - not internal. To reuse it, not to copy/duplicate it. Thanks for the link, I do use Google quite successful :) The question was more like do we

Re: [android-developers] HTTPS POST problem

2011-01-07 Thread Filiz Gökçe
Do you have any snippet which connects Https server with httpclient? Filiz Gökçe On 6 January 2011 19:23, Michael Rueger mike.rue...@gmail.com wrote: On 1/6/11 7:02 AM, Filiz Gökçe wrote: There is no exception in both cases. Generally we get proper response for the first time but null

Re: [android-developers] class name (Dbi) does not match path (classes/Dbi.class)

2011-01-07 Thread Kostya Vasilyev
07.01.2011 0:46, Tobiah пишет: More information for whoever. The warnings come every time I save a file. Not when I run the app. Eclipse rebuilds every time you save (by default). Looks like the two build systems (ant/eclipse) are stepping on each other's toes. Perhaps you can find a way

[android-developers] Re: java/locationlistener

2011-01-07 Thread JAlexoid (Aleksandr Panzin)
Let me put it in C terms: When you pass in the LocationListener object to requestLocationUpdates() method, you are passing a value of the reference to LocationListener, not a reference to the field/variable mListener. Some help on Java in this area:

[android-developers] Android : Issues with medialets ads

2011-01-07 Thread jayabal
Hi Guys, I wanna use medialets ad in my android app. I have faced some issues which are listed below, 1. Got an sample with downloaded sdk, banner ads are not working in the sample itself, can anyone got this issue, whats wrong with the banner ads? 2. And Interstitial ads are working fine

Re: [android-developers] Android : Issues with medialets ads

2011-01-07 Thread Miguel Morales
You might want to contact their support. On Fri, Jan 7, 2011 at 1:35 AM, jayabal padmavathy.jayaba...@gmail.com wrote: Hi Guys, I wanna use medialets ad in my android app. I have faced some issues which are listed below,   1. Got an sample with downloaded sdk, banner ads are not working in

Re: [android-developers] Re: Reusing the +/- number spinner from TimePickerDialog?

2011-01-07 Thread MerlinBG
Thank you. -- 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

[android-developers] 3G data is paused when phone goes to idle/sleep

2011-01-07 Thread Lars Olsson
Hi, In my application I would like to send/receive data even when the phone goes to idle/sleep. For Wifi connections, I use WifiManager.WifiLock to make sure that the connection stays alive even when device goes to sleep. But I have not found anything similar for 3G data connections. The

[android-developers] Re: how to fetch the facebook friend list

2011-01-07 Thread rajesh chandrasekaran
Hi Robin, Did u done any other android application relative to Facebook like post,update the image, etc.if u have done plz share the code. Thanks C.Rajesh On Jan 7, 1:21 pm, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: even i am on the same boat. Would appreciate some guidance On

[android-developers] Show Dialler on clicking an option menu

2011-01-07 Thread jennifer
have an option menu. while clicking the option menu an edittext a button is amde visible in a screen but i need to show a phone dialler there. Im showing that dialler by clicking the edit text.. but my requirement is to show that dialler with that edittext button by clicking the option menu

Re: [android-developers] Orientation sensorLandscape on Froyo

2011-01-07 Thread Olivier Guilyardi
Anyone? TIA On 01/06/2011 04:11 PM, Olivier Guilyardi wrote: Hi, my app only runs in landscape but I would like to allow the reverse landscape orientation (270°), which is supported by Froyo and up AFAICS. The sensorLandscape screenOrienation is precisely what I need IIUC, but this is

Re: [android-developers] HTTPS POST problem

2011-01-07 Thread Kumar Bibek
A few messages back, I had given a link to a sample project which uses HttpClient for https requests. https://github.com/coomar2841/PTracker/tree/master/src/com/beanie/ptrack/web Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 7, 2011 at 2:22 PM, Filiz Gökçe

[android-developers] When is an app movable to sd card?

2011-01-07 Thread Stephan Wiesner
Hi, what do I have to do in order for my app to be movable to sdcard? App2SD for example lists my app as not movable. Thanks and greetings from Zurich, Stephan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

Re: [android-developers] When is an app movable to sd card?

2011-01-07 Thread Kumar Bibek
Your device should be on 2.2 and up. And your application should explicitly say if it is movable or not. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 7, 2011 at 4:29 PM, Stephan Wiesner testexpe...@googlemail.comwrote: Hi, what do I have to do in order for my

Re: [android-developers] When is an app movable to sd card?

2011-01-07 Thread YuviDroid
These docs are helpful: http://developer.android.com/guide/appendix/install-location.html On Fri, Jan 7, 2011 at 11:59 AM, Stephan Wiesner testexpe...@googlemail.com wrote: Hi, what do I have to do in order for my app to be movable to sdcard? App2SD for example lists my app as not movable.

[android-developers] Re: 3G data is paused when phone goes to idle/sleep

2011-01-07 Thread MrChaz
Using a WakeLock keeps the system awake and will keep a 3G data connection alive. -- 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] How to Change Screen Resolution Programmatically?

2011-01-07 Thread sjor
Hi. Let me tell you my problem. I want to change my screen resolution. I can change it in an application but it changes only application's screen. I wanna set system's resolution so it won't be important which application is running on front. My device's resolution is set as 1280 * 720 p. Can I

Re: [android-developers] How to Change Screen Resolution Programmatically?

2011-01-07 Thread Kumar Bibek
As far as I know, Screen resolution is more of a hardware thing. And if it all, the device supports multiple resoluton, it can only be set to only some of the resolutions that might be available or those which your display driver supports. This group is probably not the right place to ask this

Re: [android-developers] Re: How to access mail ?

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 2:30 AM, Bob Kerns r...@acm.org wrote: All of what you say here is true. But Android-the-platform (not Android-the-OS) is really missing out here, failing to fully and effectively leverage a KEY FEATURE of Android -- the use of intents and content providers to integrate.

Re: [android-developers] google.com search button select issue on WebView

2011-01-07 Thread Kostya Vasilyev
Did you enable JavaScript for your WebView? http://developer.android.com/reference/android/webkit/WebSettings.html#setJavaScriptEnabled(boolean) -- Kostya 07.01.2011 16:19, sukumar bhashyam ?: hi, My app, which uses webview shows google.com http://google.com as default page. I'm not

[android-developers] Re: Android Emulator: Accounts Sync

2011-01-07 Thread Roger Tawa
Hi all, Just to close on my issue above, I was not able to turn on sync in the emulator because the images in the SDK were not correctly provisioned. This problem was fixed this past summer (summer of 2010) and the latest SDKs available as of today should contain this fix. Make sure to use

[android-developers] Re: how to convert colour image to black and white

2011-01-07 Thread sudha
Hi All, I have resolved this problem. I have used following colormatrix to get black n white picture:- ColorMatrix cm1 = new ColorMatrix(new float[]{0.5f,0.5f,0.5f,0,0, 0.5f,0.5f,0.5f,0,0, 0.5f,0.5f,0.5f,0,0, 0,0,0,1,0,0,

Re: [android-developers] google.com search button select issue on WebView

2011-01-07 Thread sukumar bhashyam
Ya, setJavaScriptEnabledhttp://developer.android.com/reference/android/webkit/WebSettings.html#setJavaScriptEnabled%28boolean%29 is enabled. Am I missing any other settings? On Fri, Jan 7, 2011 at 7:06 PM, Kostya Vasilyev kmans...@gmail.com wrote: Did you enable JavaScript for your WebView?

[android-developers] Re: How to submit one game with separate apk files for each device size.

2011-01-07 Thread Hari Edo
As a user, I'd hate to see ten different listings for the same game in the market, each with names like AwesomeGame - 480x854 Only or AwesomeGame - SomeTelco SuperHandset 6-HG Only. Make the app detect and respond to the resolution. If the level designs are so picky as to require completely new

[android-developers] How can we give path..?

2011-01-07 Thread Abhilash baddam
Hi, I can be able to display all images from Sdcard in emulator,there i have given the path like this *File images = new File(/sdcard/); *then it's showing all images from SDcard. Now i want to check the same application on mobile...there i have given path like this *File images = new

Re: [android-developers] How can we give path..?

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 9:45 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote:      I can be able to display all images from Sdcard in emulator,there i have given the path like this File images = new File(/sdcard/); then it's showing all images from SDcard. Do not do this. /sdcard

[android-developers] 3D Maps for Android

2011-01-07 Thread Apurva Goyal
Hello, I am currently working on an Android application with Map based activity. Its displaying the map fine. However I recently read about the 3D maps being available for Android. How can I incorporate these maps into my app. Thanks Apurva -- You received this message because you are

Re: [android-developers] 3D Maps for Android

2011-01-07 Thread Mark Murphy
You cannot incorporate those maps into your app at present. Those features are available for the standalone Maps application, but have not been exposed through the Maps API for third-party applications yet. On Fri, Jan 7, 2011 at 9:52 AM, Apurva Goyal tech.apu...@gmail.com wrote: Hello, I am

Re: [android-developers] How can we give path..?

2011-01-07 Thread Abhilash baddam
Hi Mark, can i give path like this... *File images = Environment.getExternalStorageDirectory(); * On Fri, Jan 7, 2011 at 8:18 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 9:45 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I can be

Re: [android-developers] How can we give path..?

2011-01-07 Thread Mark Murphy
If that is where your images are, yes. On Fri, Jan 7, 2011 at 10:11 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Hi Mark,            can i give path like this... File images = Environment.getExternalStorageDirectory(); On Fri, Jan 7, 2011 at 8:18 PM, Mark Murphy

Re: [android-developers] Re: Rotating an Android VideoView

2011-01-07 Thread TreKing
On Thu, Jan 6, 2011 at 11:30 PM, Darshan cmb...@gmail.com wrote: My app's requirement is that it should display the Video in Landscape mode only even when the device's orientation is changed to Portrait leaving all other controls to be in sync with the device's orientation. Thats why I am

[android-developers] Launching an application from a email. Is that possible?

2011-01-07 Thread Parag
Hi All, I am looking for a way to launch an application from a link sent in an email? Is that possible? The application i am developing is basically a work order application which is installed on the device. If a new work order comes an email will be sent to the registered email address and that

Re: [android-developers] Launching an application from a email. Is that possible?

2011-01-07 Thread Kostya Vasilyev
This can be done with an intent filter with a data element. http://developer.android.com/guide/topics/manifest/intent-filter-element.html http://developer.android.com/guide/topics/manifest/data-element.html -- Kostya 07.01.2011 18:49, Parag пишет: Hi All, I am looking for a way to launch

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Jay
I see, I'll take another look. Thanks, On Jan 6, 5:14 pm, Roger Podacter rogerpodac...@gmail.com wrote: what doesnt make sense?  i'll use the two commands we used as example, cat and echo.  we had to use those two.  the shellcommand works for both root access, and non-root if that's what you

Re: [android-developers] Launching an application from a email. Is that possible?

2011-01-07 Thread Kumar Bibek
I think yes. http://thinkandroid.wordpress.com/2010/02/02/custom-intents-and-broadcasting-with-receivers/ But if it will work on the gmail app, or any other app is a question that I am not sure of (but most probably you should be able to do this). Kumar Bibek http://techdroid.kbeanie.com

[android-developers] Re: How to Change Screen Resolution Programmatically?

2011-01-07 Thread sjor
I am sure it can be done by software. I have seen an example in WebtubeHD. But, it is not open source as you anticipate. I am gonna look libhdmi.c and build.prop tomorrow. Maybe I can make something. On 7 Ocak, 15:01, Kumar Bibek coomar@gmail.com wrote: As far as I know, Screen resolution is

Re: [android-developers] Re: How to give path..?

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 1:44 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Any help please I would start here. http://developer.android.com/reference/android/provider/MediaStore.Images.html

[android-developers] ThreadSafeConnectionManager timeout...

2011-01-07 Thread lou
Hi ! I'm actually trying to do an application with a websocket persistent connexion some http request. So I thank I need to use ThreadSafeConnectionManager, but I have a big problem with it : very very often I got a java.net.SocketException: The operation timed out even when the server's

Re: [android-developers] how to fetch the facebook friend list

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 1:21 AM, rajesh chandrasekaran crajeshdanger...@gmail.com wrote: i dont know how to do this, plz give me any idea Here's an idea - use the Facebook API for Facebook related functionality.

[android-developers] Re: When is an app movable to sd card?

2011-01-07 Thread Stephan Wiesner
Super, thanks :-) Stephan On 7 Jan., 12:11, YuviDroid yuvidr...@gmail.com wrote: These docs are helpful:http://developer.android.com/guide/appendix/install-location.html On Fri, Jan 7, 2011 at 11:59 AM, Stephan Wiesner testexpe...@googlemail.com wrote: Hi, what do I have to

[android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing the socket from another thread and catching an IOException, but I'm not quite sure how to get at the socket from the

[android-developers] How to link 3rd party .so file in android

2011-01-07 Thread Android Developer
Hi, Can someone let me know how to do this? I have a third party .so file that has to be used in my android application. I have written the jni and tried to access the apis of the third party library. But am getting errors that library not found. Can some one help on this? -- You received this

[android-developers] Re: ThreadSafeConnectionManager timeout...

2011-01-07 Thread ivan
Have you tried playing with the timeouts passed via the http params? HttpParams httpParameters = new BasicHttpParams(); ConnManagerParams.setMaxTotalConnections(httpParameters, inApp.gResources.getInteger(R.integer.HTTP_MaxConnCnt)); HttpConnectionParams.setConnectionTimeout(httpParameters,

[android-developers] Re: Refunds in the Market

2011-01-07 Thread H
Hi Brill/TreKing, did either of you get a chance to play with this and test it out..? I keep getting requests from users to translate my app if I give them a free copy. I'd be happy to do that, but if I refund them and Google treats that as a cancellation and the LVL starts responding no, then

Re: [android-developers] Re: Refunds in the Market

2011-01-07 Thread Marcin Orlowski
How do others handle this kind of request..? Market shall feature coupons. But unless that happen you can offer them refund with other channel, like PayPal? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

Re: [android-developers] How to link 3rd party .so file in android

2011-01-07 Thread Mark Murphy
Follow the instructions for the NDK: http://developer.android.com/sdk/ndk/index.html Ask NDK-related questions on the NDK list: http://groups.google.com/group/android-ndk On Fri, Jan 7, 2011 at 12:08 PM, Android Developer kavithasuni...@gmail.com wrote: Hi, Can someone let me know how to do

Re: [android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread Kostya Vasilyev
You could try closing the input stream - that should propagate to the socket. 07.01.2011 20:07, ivan пишет: I'm wondering what the currently suggested method is for interrupting a read operation of a socket input stream? I know that traditionally the read could be interrupted by closing the

Re: [android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread Kumar Bibek
Well, HttpClient doesn't use sockets directly, so you would not be able to close the corresponding sockets. The execute method is actually the method that is blocking for the first time. You can look at the underlying request classes like HttpPost and HttpGet. Both of them are subclasses of

Re: [android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread Kumar Bibek
@Kostya: The execute method is blocked till the server sends a request. Closing the input stream will not help in this situation. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Fri, Jan 7, 2011 at 10:44 PM, Kostya Vasilyev kmans...@gmail.com wrote: You could try closing

Re: [android-developers] Re: Refunds in the Market

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 11:10 AM, H m...@howardb.com wrote: Hi Brill/TreKing, did either of you get a chance to play with this and test it out..? We did. Here's the developer perspective: As Mark noted above, the Refund some money option does apparently not allow you to actually refund some

Re: [android-developers] How to interrupt a blocking I/O operation?

2011-01-07 Thread Kostya Vasilyev
It was implied that close() would be called from another thread (like the OP said he could do with a Socket reference). But then, I haven't used this library much. 07.01.2011 20:16, Kumar Bibek пишет: @Kostya: The execute method is blocked till the server sends a request. Closing the input

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread DanH
In the general (platform agnostic) case you solve this by having the stream relay though a service of some sort (eg, a thread) that is listening for messages from both the HTTP stream handler and whatever entity you have that will send the interrupt message. How you'd do this best on Android I

Re: [android-developers] Re: Refunds in the Market

2011-01-07 Thread H
Thanks for the quick reply. I've mailed the user and asked if he has PayPal and I'll try it that way - I've never used Paypal to transfer money this way before, so it's a learning experience for us all! I guess the one thing to be aware of is that the user still has to be in a country where

[android-developers] Re: ThreadSafeConnectionManager timeout...

2011-01-07 Thread lou
Thanks for your answer, And yes, I've already tried to modify these parameters, but I think it don't change anything, even when the server really don't respond. So...another idea? On Jan 7, 6:09 pm, ivan istas...@gmail.com wrote: Have you tried playing with the timeouts passed via the http

[android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
In a nutshell, I have/am trying to create reusable UI components in XML. I created a dead simple project that only fires an activity to show the UI. It can be downloaded here: http://dl.dropbox.com/u/409429/Bitmap%20Bg%20Test.zip I have a base_form.xml component that is referenced

[android-developers] Keeping ProGuard away of R class

2011-01-07 Thread Marcin Orlowski
I am trying to prevent ProGuard from touching my R class, but as of now I failed. I've tried adding various variations of --keep* to the config but it does not make much difference, and usage.txt always lists: package.R$drawable: public static final int app_icon which is what I want

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: Also, it appears this is a bug that is declined by the Android team.  Use less memory in your app was the original solution suggested by Romain Guy. http://code.google.com/p/android/issues/detail?id=8488 The issue you

Re: [android-developers] Orientation sensorLandscape on Froyo

2011-01-07 Thread TreKing
On Thu, Jan 6, 2011 at 9:11 AM, Olivier Guilyardi l...@samalyse.com wrote: Is there a way to achieve the same thing on Froyo? Maybe this blog post will help: http://android-developers.blogspot.com/2010/09/one-screen-turn-deserves-another.html

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
Thanks for all the replies! From another thread I've tried: mInputStream.close(); mRequest.abort(); mClientConnectionManager.shutdown(); mDownloadThread.interrupt(); All allow the read operation to complete. Maybe I shouldn't be using a SingleClientConnManager ... ? On Jan 7, 10:25 am, DanH

[android-developers] XML document parsing using the DOM API

2011-01-07 Thread Ajay Prabandham
Dear All, 1. I am currently trying to parse simple-structured xml documents using Android SDK DOM Parser API. e.g : document docidDocument1/docid featureFeature1/feature /document and so on. not much nesting of elements, a neat, flat document structure. I

[android-developers] writing an Authenticator to use with AccountManager

2011-01-07 Thread John Lussmyer
Is there a tutorial on how to write an Account Authenticator? I'm working from the one example I've found, SampleSyncAdapter, and having a lot of trouble understanding what the actual flow of control should be. For one thing, I actually have a separate Authorization Token - which is NOT the

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann joseph.is...@gmail.com wrote: In a nutshell, I have/am trying to create reusable UI components in XML.  I created a dead simple project that only fires an activity to show the UI. Your dead simple project will not run on any version of Android, due

Re: [android-developers] [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Romain Guy
This error message is usually not related to the GC. This message is logged when recycle() is called twice on the same bitmap. Considering you are doing your own bitmap management and calling recycle yourself in BaseForm I would suspect a bug in your code. On Fri, Jan 7, 2011 at 9:44 AM, Mark

Re: [android-developers] XML document parsing using the DOM API

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 12:04 PM, Ajay Prabandham parth...@gmail.com wrote: Any help would be greatly appreciated... 1 - New String(docid) is pointless. 2 - Please read the documentation for these classes. The APIs for DOM are pretty straightforward. If you do get stuck, there should be plenty

[android-developers] Re: playing RTSP over HTTP tunnel (RTP/TCP/AVP)

2011-01-07 Thread András Turi
For more then a month, no answer. Anyone? Posted also on stackoverflow, no answer there either. http://stackoverflow.com/questions/4425155/playing-rtp-tcp-avp-video-stream-on-android On Tue, Nov 30, 2010 at 5:10 PM, turiandras turiand...@gmail.com wrote: Hello! We are trying to play a video

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread niko20
Ouch wow you just got served, brotha. On Jan 7, 12:16 pm, Romain Guy romain...@android.com wrote: This error message is usually not related to the GC. This message is logged when recycle() is called twice on the same bitmap. Considering you are doing your own bitmap management and calling

[android-developers] Re: Trying to get my head around multi screen densities. With more info

2011-01-07 Thread niko20
Hi, setting anyDensity to True tells android that YOU will be handling all density specifics, including supplying density specific graphics. In other words, it won't scale anything. For the Galaxy tablet you can use size-specific drawable folders instead of using density specific folders and it

Re: [android-developers] XML document parsing using the DOM API

2011-01-07 Thread Frank Weiss
This is a familiar question on the Android SDK forum, yet has little to do with the SDK. Better to search the web where the subject of parsing XML with Java is covered more broadly. I would suggest using the SAX push or the SAX pull parsers instead of the document builder (DOM) parser. All are

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Roger Podacter
Sorry for not explaining it quite clearly the first time. So those 2 little code snippets I just posted above, those are from the ds2784battery class we used in my app, near the end of the file. Those are actually using the shellcommand class we imported. And when those code snippets give you the

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Jay
SUCCESS! I'm not going to copy the shellcommand.java file, but digging through it more and experimenting, I got something that works which I can now expand on. Thanks a lot. On Jan 7, 12:48 pm, Roger Podacter rogerpodac...@gmail.com wrote: Sorry for not explaining it quite clearly the first

[android-developers] App Add-on

2011-01-07 Thread John Gaby
I have a game for which I would like to be able to sell add-on packs. I would prefer that there was some in-game way to make these purchases, but, alas, there does not appear to be any such mechanism. I am considering the idea of creating separate add-on apps which, when run, would add features to

Re: [android-developers] App Add-on

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 12:55 PM, John Gaby jg...@gabysoft.com wrote: I mean, the user will be able to purchase the add-on, run it, and then request a refund, which would result in them getting it for free. Has anyone else had experience with this model? I have not, but presumably your main

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
Yes, I would check for the existence of the add-on, however, it is likely that the user would like to get rid of it at some point so it does not clutter his desktop. It would be nice to allow for that. I have thought that I could check for its existence only for 24 hours, and then not check any

Re: [android-developers] Re: App Add-on

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 1:06 PM, John Gaby jg...@gabysoft.com wrote: Yes, I would check for the existence of the add-on, however, it is likely that the user would like to get rid of it at some point so it does not clutter his desktop. It would be nice to allow for that. Just use the right

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
Curious if you even looked at the code. I suspect, you did not. On Jan 7, 12:16 pm, Romain Guy romain...@android.com wrote: This error message is usually not related to the GC. This message is logged when recycle() is called twice on the same bitmap. Considering you are doing your own

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
If you comment out the cleanupDrawables() method, you'll get the exception mentioned in the bug. I'm assuming you simply responded instead of looking/trying that out? On Jan 7, 11:44 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 7, 2011 at 12:36 PM, Joe McCann

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread JP
Alternatively, you could lower the connect and read timeout values at the HttpClient level and manage connectivity (that's what I do - I go with 3s connect timeout and retry if it fails). On Jan 7, 9:07 am, ivan istas...@gmail.com wrote: I'm wondering what the currently suggested method is for

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
Hey Mark, I moved the png into the respective folders and it works fine. Thanks for you help. Oh, side note, that zip was imported and installed and run fine on 3 different machines. Not sure the issue you are mentioning about my dead simple project. I and others had zero issues running on

[android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Joe McCann
BTW, your assessment was incorrect. It had to do with the placement of the png in their respective folders (h/m/l-dpi). Nothing to do with my code. On Jan 7, 12:16 pm, Romain Guy romain...@android.com wrote: This error message is usually not related to the GC. This message is logged when

[android-developers] Re: App Add-on

2011-01-07 Thread John Gaby
Thanks for the reply. So, it is possible to setup the intent so the app does not appear on the desktop? If so, how does the user run it for the first time (to install the add-on)? I am fairly new to Android development and not that experienced with setting up intents, so any help in that

[android-developers] Re: HTTPS POST problem

2011-01-07 Thread DanH
Note that if a request goes through once and the identical request doesn't show up on the server when issued a second time it's likely because somewhere along the way the response is being served out of a cache. On Jan 6, 6:52 am, Filiz Gökçe sonsuzlu...@gmail.com wrote: Hi, I try to connect

Re: [android-developers] Re: App Add-on

2011-01-07 Thread TreKing
On Fri, Jan 7, 2011 at 1:42 PM, John Gaby jg...@gabysoft.com wrote: So, it is possible to setup the intent so the app does not appear on the desktop? Let's clarify - on Android there's the HomeScreen (which more closely resembles a desktop) and a Launcher, where the apps are stored. The user

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
Can you change the timeout values once they've been set, or would you have to re-instantiate the HttpClient? On Jan 7, 12:30 pm, JP joachim.pfeif...@gmail.com wrote: Alternatively, you could lower the connect and read timeout values at the HttpClient level and manage connectivity (that's what I

[android-developers] Re: Eclipse ADT update ruins XML layout files development

2011-01-07 Thread sisko
Thanks for all you help. ADT 9 helps with the up and down positioning stuff and CNTL + SHIFT F also helps organizing the code for manual editing On Jan 4, 2:10 am, Julian cacif...@gmail.com wrote: Try the preview version of adt 9, it has the up and downs arrows.

Re: [android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Mark Murphy
On Fri, Jan 7, 2011 at 2:34 PM, Joe McCann joseph.is...@gmail.com wrote: I moved the png into the respective folders and it works fine.  Thanks for you help. Oh, side note, that zip was imported and installed and run fine on 3 different machines.  Not sure the issue you are mentioning about

Re: [android-developers] Re: [BUG] Easily Reproducable Bug in Regards to Bitmaps, Memory, and Recycling [sample project included]

2011-01-07 Thread Romain Guy
John, I was commenting on the exception you mentioned in your original email: FATAL EXCEPTION: main E/AndroidRuntime( 405): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.bit...@44f4c150 Running out of memory, which is what is mentioned in the bug you

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread Streets Of Boston
In my experience, if you use AsynTasks (or Future? instances) to do your HTTP I/O in the background, calling cancel(true) on these instances will interrupt the HTTP I/O. If i'm not mistaken, the apache HttpClient is sensitive to calling interrupt() on the thread on which it is doing HTTP I/O. On

[android-developers] How to gracefully terminate a remote service process?

2011-01-07 Thread Moto
Currently I believe I'm doing a ok job managing my application's remote service. When I'm done using it I can see the onDestroy() called, perfect... Now the issue is I can see the remote process still hanging around, via DDMS or via phone's running processes. Users see this and think I'm doing

[android-developers] Re: Can't Uninstall

2011-01-07 Thread nextgen
I have received a few replies regarding android versions and phone models and the problem seems to be occurring on Droid X and Android v2.2.1. Also, at least two are using Verizon as the carrier. I will search for this type of problem more specifically now using this info and I'll post what I

[android-developers] Re: How to interrupt a blocking I/O operation?

2011-01-07 Thread ivan
Were you using SingleClientConnManager or ThreadSafeClientConnManager? I've tried interrupting the thread blocking on the I/O operation, and it doesn't throw an InterruptedException. My guess is because it isn't in a wait(), sleep() or join() call as explained here:

Re: [android-developers] Re: Can't Uninstall

2011-01-07 Thread Dianne Hackborn
The first and third sound very much like an app pre-installed in the system image: it will not show up in the default manage apps downloaded list, but will be in the all list. You can not uninstall it (the button is disabled). You can install an update to it from Market, and I think Market will

Re: [android-developers] How to gracefully terminate a remote service process?

2011-01-07 Thread Dianne Hackborn
That is working as intended. The process is kept around with nothing running in it if there is enough memory, to reduce the work if it is needed again in the future. On Fri, Jan 7, 2011 at 11:59 AM, Moto medicalsou...@gmail.com wrote: Currently I believe I'm doing a ok job managing my

Re: [android-developers] How to gracefully terminate a remote service process?

2011-01-07 Thread Frank Weiss
This is a problem that the Google engineers have acknowledged. As you probably know, the issue is that the Android OS does delayed garbage collection of - and possibly reuses - dead porcesses, however the process name remains that of the last app it hosted, as reported via DDMS or via phone's

Re: [android-developers] Re: How to Change Screen Resolution Programmatically?

2011-01-07 Thread Dianne Hackborn
No, it can not. At least not at the third party app level. And not in the standard platform, which currently assumes the screen is one fixed resolution from the time it boots. And even if you could, it doesn't make sense to do so on the kinds of devices Android runs on, where the device is

[android-developers] Re: Trying to get my head around multi screen densities. With more info

2011-01-07 Thread Tabman
Not exactly the answer to your question but eventually I think you will find this helpful to test that you got what you are intending from your application: http://2cupsoftech.wordpress.com/2011/01/01/checking-your-app-against-android-market-technical-filters/ On Jan 6, 1:22 pm, Damien Cooke

  1   2   >