[android-developers] Re: OnTouchEvent disable

2012-04-27 Thread moktarul anam
Dear Memo, try to use view.setFocusable(false) and check Enjoy Moktarul Anam On Friday, 27 April 2012 09:16:39 UTC+5:30, Memo wrote: Hello every one, In my program, I handle a touch event on the screen using OnTouchEvent, if I handle the touch , I will do some tasks and during

[android-developers] Re: OnTouchEvent disable

2012-04-27 Thread moktarul anam
Dear Memo, try to use view.setFocusable(false) and check Enjoy Moktarul Anam On Friday, 27 April 2012 09:16:39 UTC+5:30, Memo wrote: Hello every one, In my program, I handle a touch event on the screen using OnTouchEvent, if I handle the touch , I will do some tasks and during that,

[android-developers] Android application StartUp Internals

2012-04-27 Thread Mansoor
Hi all, I am very much interested to know how an android application starts.After much googling I understood something but not fully. Below some of my observations: 1.When i click an application icon from launcher ,System look for activity with intent action main and category Launcher and starts

[android-developers] Customizing Android Battery Icon

2012-04-27 Thread Jovish P
Is it possible to customize default Battery Icon on Android without rooting the phone ? Any APIs are available ? Any way to do that ? -- 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] sdk version

2012-04-27 Thread fachhoch
if I want to deploy my app in a real device should that device sdk version match with my app sdk version? Also how can I find the sdk version of any device? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Problem while running ICS..?

2012-04-27 Thread Abhilash baddam
Hi, I had made an application whose target api level is 2.2 and min:sdkversion in manifest i mentionedas 7. This application is running in all devices even in tablets also, but this application is not running in the devices whose OS is ICS Do i need to mention anything in manifest to run it

[android-developers] Re: Refresh current list after receiving notification

2012-04-27 Thread moktarul anam
Dear rachana govilkar , try to use android broadcast receiver/ service. Moktarul On Thursday, 26 April 2012 17:56:32 UTC+5:30, rachana govilkar wrote: Hello, I have an application in which i display list of messages between two users. Whenever i receive notification for new message,i

[android-developers] Re: Off-screen View hierarchy in OpenGL ES. Views incorrectly invalidating each other.

2012-04-27 Thread hanni
Hi, Thanks Romain! I tried overriding this method and managed to get the results I wanted. Just thought that I'd post how I did it. Perhaps it helps someone, or perhaps someone has pointers on how to do it cleaner: I overrode invalidateChildInParent(), storing the dirty region in a member

[android-developers] Re: NFC Detection

2012-04-27 Thread Dominik
yes, simply register your application with an intent filter in the manifest and declare on which tags (tag types / mimeType) your application should be started. Dominik Am Dienstag, 24. April 2012 13:49:52 UTC+2 schrieb NontKub Klinkhajorn: I want my app can scan tag when it close.Example

Re: [android-developers] Does gravity work in nested LinearLayouts?

2012-04-27 Thread Niels Delporte
I have, didn't work though. I eventually changed tracks and solved it with a RelativeLayout: RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android; android:layout_width=fill_parent android:layout_height=wrap_content android:padding=10dip TextView

Re: [android-developers] Re: Total Available memory for Memory Management logic.

2012-04-27 Thread Daniel Drozdzewski
Dallas, Very good pointer to developer resources - thanks a lot! Serves me well for not scanning through these for some time now. Daniel On 26 April 2012 17:47, Dallas Gutauckis dall...@gmail.com wrote: The Android developer site also explains why SoftReference and WeakReference are no

[android-developers] Re: Selling paid apps at Google Play

2012-04-27 Thread Zsolt Vasvari
Correct, since there is no longer Google group for Market, this group is your best bet. As far your question: You don't need a company, in the legal sense of the word to sell apps. As long as you paid your $25 fee with a US credit card with a US billing address, your account should be in

Re: [android-developers] Re: How to change default HIPRI connection expiry?

2012-04-27 Thread Mohamed Chakib O.
Thank you! I will give it a try Le 26 avril 2012 19:33, Robert Greenwalt rgreenw...@google.com a écrit : If you are making your own system image you can set the expiration timeout (or turn it off) through config.xml settings. If you are not making a new system image you cannot adjust the

[android-developers] Audio / Performance Issues on ICS / Android 4

2012-04-27 Thread piezo
Hello I have a music (sequencer/synth) app in Android Market. One of its strengths is that it uses very little resources and plays smoothly even on the oldest and cheapest devices and only requires Android version 1.6. However, since the arrival of ICS, I get more and more complaints about

[android-developers] android camera and image processing / control image enhancement

2012-04-27 Thread Dominik Schaudel
The background to my question is: I am currently developing a system for the recognition and detection of traffic signs. For this I use colour segmentation in the hsv colour space. The system/algorithm works very well via webcam and desktop pc. I have ported this algorithm to Android via

[android-developers]

2012-04-27 Thread Perumss Naren
HI all, How to recall(refresh or reload) the tabA in tabActivity when tabA(current tab) is selected again. In tabA i loading groupactivity from there it will go to webview that too created as a activity. now when i click that tabA it should refresh (load the groupactivity)

[android-developers] How to recall(refresh or reload) the tabA in tabActivity when tabA(current tab) is selected again.

2012-04-27 Thread Perumss Naren
HI all, How to recall(refresh or reload) the tabA in tabActivity when tabA(current tab) is selected again. In tabA i loading groupactivity from there it will go to webview that too created as a activity. now when i click that tabA it should refresh (load the groupactivity)

[android-developers] Re: Video Streaming Using Darwin Streaming Server(DSS) through Ethernet LAN

2012-04-27 Thread Ricardo Silva
Hi, Did you found a way to play RTSP on Android-x86 using VideoView? Thanks Segunda-feira, 11 de Abril de 2011 12:16:39 UTC+1, saha escreveu: I have my Blaze board running Gingerbread, Connected to my Desktop and i am able to ping from PC to Board. Installed DSS on Desktop and i am

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Mark Murphy
On Thu, Apr 26, 2012 at 10:32 PM, Agus agus.sant...@gmail.com wrote: As soon as I throw a dialog within activity that has setSystemUiVisibility set to HIDE_NAVIGATION,  that flag got cleared. Is that the expected behavior? Beats me, sorry. -- Mark Murphy (a Commons Guy)

Re: [android-developers] android camera and image processing / control image enhancement

2012-04-27 Thread Jim Graham
On Fri, Apr 27, 2012 at 02:48:10AM -0700, Dominik Schaudel wrote: The background to my question is: I am currently developing a system for the recognition and detection of traffic signs. For this I use colour segmentation in the hsv colour space. The system/algorithm works very well

Re: [android-developers] sdk version

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 2:51 AM, fachhoch fachh...@gmail.com wrote: if I want to deploy my app in a real device should that device sdk version  match with my app sdk version? Not necessarily. http://developer.android.com/guide/appendix/api-levels.html Also how can I find the sdk version of

Re: [android-developers] Problem while running ICS..?

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 3:21 AM, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I had made an application whose target api level is 2.2 and min:sdkversion in manifest i mentionedas 7. This application is running in all devices even in tablets also, but this application is not

Re: [android-developers] Android application StartUp Internals

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 2:21 AM, Mansoor musafir4frie...@gmail.com wrote: 1.When i click an application icon from launcher ,System look for activity with intent action main and category Launcher and starts that activity. No. The launcher already found the main/launcher activity, which is why

Re: [android-developers] Customizing Android Battery Icon

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 2:26 AM, Jovish P android.f...@gmail.com wrote: Is it possible to customize  default Battery Icon on Android without rooting the phone ? No. I'm not even sure rooting the phone works -- it might require custom firmware. -- Mark Murphy (a Commons Guy)

Re: [android-developers] SDcard booting on blaze board through fastboot

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 12:44 AM, Mamatha K mamatha...@gmail.com wrote:        I am facing problem in sdcard booting on blaze board. Step #1: Visit http://source.android.com Step #2: Click on the Community tab Step #3: Find a Google Group of relevance to your question Step #4: Ask your

[android-developers] Re: Enable User Friendly keyboard based on input

2012-04-27 Thread Frontendboss
Thanks! So if you are accessing a webpage using an iphone which has a form field with input type = email. On iPhone it automatically displays a softkeyboard with @. This article covers the other types as well. http://www.456bereastreet.com/archive/201004/html5_input_types/ I want to know if

[android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Mansoor
Hi Mark Thanks for your reply :) I have some doubts regarding the reply to point 2. When i call setContentView(layoud id) only new window instance get created before that there is no UI so no need of window right? I am only a android application developer but i wish to know what really happening

Re: [android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 7:26 AM, Mansoor musafir4frie...@gmail.com wrote: I have some doubts regarding the reply to point 2. When i call setContentView(layoud id) only new window instance get created before that there is no UI so no need of window right? No. You can prove this by actually

Re: [android-developers] Unknown Android Packaging Problem: java.lang.ArrayIndexOutOfBoundsException: 13

2012-04-27 Thread Shantanu Mitra
Great!!! ... Now ADB will detect all the devices attached to your system along with emulator ... That's why you are getting a list of multiple devices but if you attach such devices which are not supported by the Google's default USB drivers then you need to search for the right driver to get it

Re: [android-developers] sdk version

2012-04-27 Thread Chandra Sekhar
just keep this line in your Androidmanifest -- -- 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

Re: [android-developers] sdk version

2012-04-27 Thread Chandra Sekhar
uses-sdk android:minSdkVersion=4 / -- -- -- 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] Re: Android application StartUp Internals

2012-04-27 Thread Mansoor
Thanks a lot Mark -- 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

Re: [android-developers] sdk version

2012-04-27 Thread Chandra Sekhar
uses-sdk android:minSdkVersion=4 / now it supports starting os version with 1.6 and ending with current version 4.0.3 -- -- -- -- 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] Android WideVine HLS/DRM support

2012-04-27 Thread petr.maza...@mautilus.com
It will be soon 2 years since Google acquires the WideVine company that provides the DRM support for protecting e.g. the HLS H.264/AAC streams. According to the http://www.widevine.com/ not only Android, but also iPhone/iPad and game consoles like Wii or PS3 ares supported. Does anybody

[android-developers] Android WideVine HLS/DRM support

2012-04-27 Thread petr.maza...@mautilus.com
It will be soon 2 years since Google acquires the WideVine company that provides the DRM support for protecting e.g. the HLS H.264/AAC streams. According to the http://www.widevine.com/ not only Android, but also iPhone/iPad and game consoles like Wii or PS3 ares supported. Does anybody

[android-developers] Re: RelativeLayout layout_alignParentRight changes parent

2012-04-27 Thread kodlan
I'm having the same issue. Is there any workaround for that? -- 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] value of EditText duplicated in ListView

2012-04-27 Thread Seif-Allah
I have list item with EditText in it, I dont know how many items there will be. I have a problem when I enter some text in EditText, and then scroll down a ListView, after I've scroll up again there is no text in my first EditText, or there is some text from other EditText from ListView. please

[android-developers] Re: Non-square pixels

2012-04-27 Thread SytheZN
So short of modifying the display drivers themselves to report the larger resolution and translate, there's no way to trick it... Thanks though. On Apr 26, 5:52 pm, Dianne Hackborn hack...@android.com wrote: No, Android fundamentally has no current support for non-square pixels. On Wed,

[android-developers] Re: Show 3D object on top of camera view (augmented reality)

2012-04-27 Thread santy
Thanks RAGHAV. On 19 abr, 20:33, Raghav Sood raghavs...@gmail.com wrote: Afraid to be the one to break it to you, but your research isn't very thorough. AndAR does exactly what you want. In fact, one of their code sample projects is a perfect carbon copy of what you want. Loading 3d models

[android-developers] Testing in app billing ended with DisplayErrorMessage[Your order could not be processed. Please try again.]

2012-04-27 Thread siva
Hi, I tested an inapp purchase app in two devices[Motorola xoom and samsung galaxy tab 10.1]. In Motrola xoom it works fine but for Samsung galaxy tab its not working, i am getting the below exception: ERROR/Volley(8252): [12] BasicNetwork.performRequest: Unexpected response code 500 for

[android-developers] Odd ICS only, ScrollView/ListView, landscape only shadow at top of View

2012-04-27 Thread Eric Miles
I am seeing an odd dark shadow at the top of all ScrollView and ListViews in my application that I can't seem to get rid of. The odd part about it, it ONLY appears in landscape mode on the Galaxy Nexus or in the emulator. It doesn't appear on any emulators running 2.2 or 2.3.x, nor does it

[android-developers] Re: Android application StartUp Internals

2012-04-27 Thread Nadeem Hasan
The view provided in setContentView() is only that, the content part of the activity. The system creates the top-level view along with any optional chrome (titlebar/actionbar) and a top-level FrameLayout within which the content view you set is displayed. If you don't call setContentView(),

Re: [android-developers] Customizing Android Battery Icon

2012-04-27 Thread lbendlin
Not really needs custom firmware code, but needs custom artwork to replace all the existing battery state icons in the OS file system. On Friday, April 27, 2012 7:13:10 AM UTC-4, Mark Murphy (a Commons Guy) wrote: On Fri, Apr 27, 2012 at 2:26 AM, Jovish P android.f...@gmail.com wrote: Is

Re: [android-developers] android camera and image processing / control image enhancement

2012-04-27 Thread dschaudel
I've already discussed this in the 'OpenCV4Android' google group. However, the problem could not be solved. In the 'Android Developers' google group I was advised to open a discussion about this on stackoverflow.com. There, the problem could not be solved either. Therefore, I think it seems

Re: [android-developers] Customizing Android Battery Icon

2012-04-27 Thread Mark Murphy
On Fri, Apr 27, 2012 at 1:02 PM, lbendlin l...@bendlin.us wrote: Not really needs custom firmware code, but needs custom artwork to replace all the existing battery state icons in the OS file system. Yeah, I wasn't sure if the icons were ordinary files (just somewhere only root can get to) or

Re: [android-developers] android camera and image processing / control image enhancement

2012-04-27 Thread Jim Graham
On Fri, Apr 27, 2012 at 10:09:18AM -0700, dschaudel wrote: Therefore, I think it seems legit to post this issue in the 'Android Developers' group, doesn't it? I wasn't questioning the legitimacy of posting the question. I was simply saying that I seem to recall several people posting this

Re: [android-developers] Re: Non-square pixels

2012-04-27 Thread Dianne Hackborn
I'm not sure what you mean by that. Android will ignore the aspect ratio of the pixels. If your pixels are tall, the entire UI will be visually corresponding taller than normal. I can't imagine what trick a display driver would do to change this in any reasonable way. On Fri, Apr 27, 2012 at

Re: [android-developers] value of EditText duplicated in ListView

2012-04-27 Thread Justin Anderson
After you edit the text in the textview you need to update your adapter with the new information, and then call notifyDataSetChanged(). Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Apr 27, 2012 at 8:32 AM, Seif-Allah

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Dianne Hackborn
It's more complicated than that. Each window can make a request fot the system UI visibility, but since there is only one system UI at some level this is global. The top-most application gets to control it. That is why there is:

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Agus
Hi Dianne, Why is the systemUiVisibility for the activity window not get reset when the dialog get dismissed? -Agus. On Fri, Apr 27, 2012 at 11:12 AM, Dianne Hackborn hack...@android.comwrote: It's more complicated than that. Each window can make a request fot the system UI visibility, but

Re: [android-developers] Re: Backporting stagefright and NuPlayer to Android 2.2?

2012-04-27 Thread Dianne Hackborn
The media framework uses various private APIs, has components that talk directly to hardware (DSPs for encoding/decoding, etc), etc. This doesn't seem to me like a good idea. And not for perspective -- you would not end up with two instances of media service always running, because you are

Re: [android-developers] Re: Enable User Friendly keyboard based on input

2012-04-27 Thread Justin Anderson
If you are creating the UI, then yes. If you are talking about an existing browser app or something like that then you would be at the mercy of the developer. I don't know for sure, but it also might be more difficult with a WebView or full-fledged browser... Thanks, Justin Anderson MagouyaWare

[android-developers] ActivityUnitTestCase and sendKeys()

2012-04-27 Thread Danny D
Can anyone please quickly confirm that ActivityUnitTestCase and sendKeys() DO work as the Android Developer docs describe. I've searched through a number of threads on this topic and I'm getting conflicting info. I've run through the Spinner and SpinnerTest samples, and the call to sendKeys()

Re: [android-developers] get image from gallery and set in fragment

2012-04-27 Thread Justin Anderson
Look at your logcat output and figure out why your app is closing... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, Apr 26, 2012 at 1:08 AM, vani reddy vani.reddy.bl...@gmail.comwrote: Hi friends, I need to access gallery and select an image

[android-developers] Fwd: طلاق

2012-04-27 Thread hosein bitaraf
-- Forwarded message -- From: Erfan Attarzadeh erfan_...@yahoo.com Date: Fri, Apr 27, 2012 at 8:16 AM Subject: طلاق To: -- 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] GPX issue emulator crash on error 3 code

2012-04-27 Thread danielmd3...@gmail.com
This code crashes the emulator, can anyone tell me why? !DOCTYPE HTML html head titlePhoneGap/title script type=text/javascript src=cordova-1.6.1.js/script script type=text/javascript /** Called when phonegap javascript is loaded */ function onDeviceReady(){

[android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-27 Thread Streets Of Boston
I'm debugging on a device. When setting a breakpoint in a process that runs a Service or a BroadcastReceiver on a spot in the code that is run on the main (UI) thread, the phone's watch-dog service kills the process, because I'm stepping through the code slowly. Is there a way, when in

Re: [android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-27 Thread Justin Anderson
AFAIK there isn't... But if I'm wrong, I would love for someone to point out how to do it as well! Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Apr 27, 2012 at 2:46 PM, Streets Of Boston flyingdutc...@gmail.comwrote: I'm debugging on a device.

Re: [android-developers] How to debug Service/BroadcastReceiver and prevent Watchdog from killing process when stepping through the code?

2012-04-27 Thread Kostya Vasilyev
Make a Handler and post the processing logic to it as a runnable. You will still get the ANR which you can ignore, but the process won't be killed. -- K 28 апреля 2012 г. 1:09 пользователь Justin Anderson magouyaw...@gmail.comнаписал: AFAIK there isn't... But if I'm wrong, I would love for

Re: [android-developers] systemUiVisibility is a global flag across apps?

2012-04-27 Thread Dianne Hackborn
They do get cleared. So if you turn on low profile, and the user does something in the nav bar or system bar to take it out of low profile, you will get a callback about the change and it will be cleared from your window. Otherwise it would keep trying to go back to low profile mode. On Fri,

[android-developers] Re: Selling paid apps at Google Play

2012-04-27 Thread Narek Gevorgyan
Hi, Thanks for helpful comments, yea I only found this place for posting my message. Okay Let me try to open a bank account in US, seems I need to order mail forwarding service. Hope I'll not be double taxed. Regarding a lawyer, I talked with some of them but no result, seems I need a lawyer

[android-developers] Can not get the source from https://android.googlesource.com/platform/manifest -b android-4.0.1_r1

2012-04-27 Thread Bin Dou
Hi all: I have already repo initialized in my workdirectory, but I got the problem when i try to repo sync. DownloadError: android.googlesource.com: urlopen error [Errno 111] Connection refused failing all week long, anybody can help me. Thanks in advance -- You received this message