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

2013-01-22 Thread Nikolay Elenkov
On Tue, Jan 22, 2013 at 4:50 PM, Eliseo Baruzzi baruzzi.softw...@gmail.com wrote: Il giorno lunedì 21 gennaio 2013 18:12:30 UTC+1, Nikolay Elenkov ha scritto: What are you trying to do? What I want to do is to use the UID received from the phone to read/write the tag emulated on the

[android-developers] java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

2013-01-22 Thread a
Hi, I have a HTTP server in Android. When I issue multiple GET requests, sometimes I am getting an exception like the following: 01-22 10:28:22.779: W/System.err(2019): java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer) 01-22 10:28:22.779: W/System.err(2019): at

Re: [android-developers] Uncaught exception thrown by finalizer - java.io.IOException: close failed: EIO (I/O error)

2013-01-22 Thread Marco Serioli
Found the problem in another part of code! I didn't close JsonParser before delete the associated file.. Calling close() has solved problem. The exception was only on big files and only recently. Same code, time ago, give me no exception! 2013/1/22 Marco Serioli mseri...@gmail.com I have

[android-developers] Re: Android Stock eMail no longer content: uris for EXTRA_STREAM

2013-01-22 Thread Sascha
Ah, thanks a lot! You pointed me in the right direction :) getType() was not implemented correctly, probably because I didn't need to until now. Cheers Sascha Am Dienstag, 22. Januar 2013 01:10:36 UTC+1 schrieb Nobu Games: Your ContentProvider must be fully implemented for the correct

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

2013-01-22 Thread Eliseo Baruzzi
Il giorno martedì 22 gennaio 2013 09:03:27 UTC+1, Nikolay Elenkov ha scritto: On Tue, Jan 22, 2013 at 4:50 PM, Eliseo Baruzzi baruzzi@gmail.com javascript: wrote: Il giorno lunedì 21 gennaio 2013 18:12:30 UTC+1, Nikolay Elenkov ha scritto: What are you trying to do?

[android-developers] Click events doesn't work on a button after Animation

2013-01-22 Thread Ansh
Hi guys , i am facing a weird problem.I have a layout and there is a button inside that layout.On clicking of the button i need to translate that layout towards up say for example 30%.I am able to achieve this but when animation ends i loose click event on the button which a very weird and

Re: [android-developers] Click events doesn't work on a button after Animation

2013-01-22 Thread Mark Murphy
This is expected behavior. Either: - Do not use TranslateAnimation, but instead switch to the newer ViewPropertyAnimator framework (and NineOldAndroids for a backport), or - Do not bother with setFillAfter(true), but instead attach an AnimationListener that will adjust the layout so the widget

[android-developers] Failed to start the camera on HTC wildfire (Android 2.2.1)

2013-01-22 Thread sameer khan
I have developed the camera app to capture the image and it is working fine. Someimes when we perform multiple clicks(4-5 times) on cam icon to capture the image followed by home button, App unable to start the camera on device. Same issue is reflected in default camera app as well.

[android-developers] Re: Overlay - Maps API v2

2013-01-22 Thread lbendlin
You'll have to clean up your terminology. Most likely what you want is a Marker, not an Overlay. Markers have InfoWindows that you can modify as needed (including buttons) On Monday, January 21, 2013 1:47:08 PM UTC-5, Diego Nunes wrote: Good afternoon guys. Someone has created a new

[android-developers] Re: Google Map Android Api V2 not working

2013-01-22 Thread lbendlin
what happens when you use a custom tile provider? On Tuesday, January 22, 2013 1:05:10 AM UTC-5, Haps wrote: Hi Guys, I am trying to use the latest api launched by google i.e. *Google Map Android Api V2* All the code and each scenario is correct, but I am still having the blank fragments

[android-developers] how to show popup window in webview

2013-01-22 Thread Mr cool
i have developed web applictaion in android here i need to show the pop inside the webview, i tried in many way when i using window.open means it open on the same webview or it can load in browser. i have done the following settings WebSettings settings = Browser.getSettings();

[android-developers] Re: how to show popup window in webview

2013-01-22 Thread Nobu Games
WebView does not have a concept of a floating window. Neither does the stock Android browser or any other Android browser I know of. However you could do the following: Provide a JavaScript

[android-developers] Re: Failed to start the camera on HTC wildfire (Android 2.2.1)

2013-01-22 Thread Nobu Games
Have you tried restarting your phone and directly starting the stock / default camera app? Can you reproduce the problem then without starting your own app? If in that case the screen turns black again you probably have a faulty camera driver on your phone. But in my own experience is probably

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-22 Thread saex
This is not the solution, i tryed it, but the padding is insufficient on some large screen phones. And i if put a lot of padding the text appears a lot to the right on smal screen resolution phones. I'm sure that exist's better solution for this El martes, 22 de enero de 2013 01:23:34 UTC+1,

[android-developers] Re: sliding in a new layout

2013-01-22 Thread G. Blake Meike
There's an ugly flash after the menu slides out. If you find out what it is, please let me know! -blake -- 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

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-22 Thread Nobu Games
Do you specify the padding in pixels (px) instead of dp? Using the pixel unit is discouraged because of the different screen sizes and densities. Alternatively you could call setGroupIndicator(null) and provide your own custom group indiciator icon integrated in your group item view layout. On

[android-developers] [Google Maps API v2] Info windows Title

2013-01-22 Thread Filipe Batista
Hello, I am using a custom InfoWindowAdapter to show a custom InfoWindow. In my layout i have the following TextView: TextView android:id=@+id/balloon_item_title android:layout_width=match_parent android:layout_height=wrap_content android:text=My Title android:singleLine=true

Re: [android-developers] [Google Maps API v2] Info windows Title

2013-01-22 Thread Mark Murphy
Probably. If I understand correctly, what is shown in the info window is not the actual widgets, but rather a Bitmap created from those widgets. If so, that would explain why animated effects will not work. On Tue, Jan 22, 2013 at 11:19 AM, Filipe Batista batista.fil...@gmail.com wrote: Hello,

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-22 Thread TreKing
On Tue, Jan 22, 2013 at 9:26 AM, saex elpablos...@gmail.com wrote: This is not the solution, It might the be *the* solution, but it is *a* solution. I know. I've used it. And it works. i tryed it, but the padding is insufficient on some large screen phones. And i if put a lot of padding

Re: [android-developers] [Google Maps API v2] Info windows Title

2013-01-22 Thread Filipe Batista
Yep, you are right. I have just noticed in here: https://developers.google.com/maps/documentation/android/marker?hl=en Note: The info window that is drawn is not a live view. The view is rendered as an image (using `View.draw(Canvas)`) at the time it is returned. This means that any

[android-developers] problem samsung android.graphics.Bitmap.createScaledBitmap

2013-01-22 Thread Antonis Kanaris
Hello i create an application with camera and resize the photo 640x480.In my smartphone android sony ericsson work but no work Samsung Galaxy Tablet.I have this error java.lang.NullPointerException at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:432) at

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-22 Thread Summer Xia Jiang
Yes, this works. Thanks! On Mon, Jan 21, 2013 at 5:08 PM, Michael Leung michaelchi...@gmail.comwrote: actionBar.setSelectedNavigationItem(x)? On Tue, Jan 22, 2013 at 4:17 AM, Summer novelt...@gmail.com wrote: Could you give me an example of how to set the fragment to be active? Thanks

[android-developers] Re: about custom listview

2013-01-22 Thread Abdullah
i write that code.but i have other problem.i explain for you.checkboxes names are chbx_A,chbx_B,chbx_C,chbx_D,chbx_E ok. and when i check a check box how can i uncheck others checkbox.only one checkbox can be check in same row. i write code checkbox changestate listener.i handle check change

Re: [android-developers] Uncaught exception thrown by finalizer - java.io.IOException: close failed: EIO (I/O error)

2013-01-22 Thread Lew
Marco Serioli wrote: Found the problem in another part of code! I didn't close JsonParser before delete the associated file.. Calling close() has solved problem. The exception was only on big files and only recently. Same code, time ago, give me no exception! Why do you use an

[android-developers] Re: sliding in a new layout

2013-01-22 Thread dashman
yes there is. i think i'll use a viewflipper or something similar. i appreciate your help. On Tuesday, January 22, 2013 10:46:35 AM UTC-5, G. Blake Meike wrote: There's an ugly flash after the menu slides out. If you find out what it is, please let me know! -blake -- You received

[android-developers] icon choosing

2013-01-22 Thread bob
When you create an Android app initially in Eclipse, there are all sorts of icons to choose from. But what about an existing app? Is there a way to get those same instant icons for an existing app? -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] using anctionbar to implement tab, how to jump to another tab programmly?

2013-01-22 Thread Summer
yeah, it works. thx 在 2013年1月21日星期一UTC-8上午10时17分32秒,Summer写道: Could you give me an example of how to set the fragment to be active? Thanks 在 2013年1月20日星期日UTC-8下午9时15分22秒,Michael Leung写道: Can you set the tab with B Fragment to be active? On Mon, Jan 21, 2013 at 9:25 AM, Summer

[android-developers] Android MVC

2013-01-22 Thread dashman
I'm starting to write an app that'll have several separate screens - maybe displayed on the page at the same time (using Fragments) - maybe not. They all share a global app state. That is, if one screen modifies the state, I want it notified autmatically to the other screens. In the olden days

[android-developers] End user ANR stack trace has no line number

2013-01-22 Thread Peri Hartman
I have received an ANR from an end user, but the top line (in my code) has no line number. Why is that, and how am I supposed to identify the error? The code is obfuscated using progaurd. More specifically, the first few lines of my stack trace are: java.lang.NullPointerException at

Re: [android-developers] icon choosing

2013-01-22 Thread Tor Norbye
Use the New wizard, and select Android Android Icon Set -- Tor On Tue, Jan 22, 2013 at 1:28 PM, bob b...@coolfone.comze.com wrote: When you create an Android app initially in Eclipse, there are all sorts of icons to choose from. But what about an existing app? Is there a way to get

Re: [android-developers] End user ANR stack trace has no line number

2013-01-22 Thread Mark Murphy
http://stackoverflow.com/questions/14466838/anr-has-no-line-number Which itself is a duplicate of: http://stackoverflow.com/questions/4619301/proguard-retrace-tools-output On Tue, Jan 22, 2013 at 5:58 PM, Peri Hartman pe...@kotatko.com wrote: I have received an ANR from an end user, but the

Re: [android-developers] ExpandableListView Expand icon overlays the text titles of the items

2013-01-22 Thread Kostya Vasilyev
There is a theme attribute exactly for this: http://developer.android.com/reference/android/R.attr.html#expandableListPreferredItemPaddingLeft so one could do: android:layout_marginLeft=?android:attr/expandableListPreferredItemPaddingLeft or

Re: [android-developers] java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

2013-01-22 Thread Michael Leung
set the permission yet? On Tue, Jan 22, 2013 at 6:36 PM, a ramalingam.arch...@gmail.com wrote: Hi, I have a HTTP server in Android. When I issue multiple GET requests, sometimes I am getting an exception like the following: 01-22 10:28:22.779: W/System.err(2019): java.net.SocketException:

[android-developers] Re: Android MVC

2013-01-22 Thread Nobu Games
There is nothing much you can design in these regards because Android comes with its own strong concept of MVC. The Application class is usually not interesting at all so you shouldn't create a derivative class based on it. The main class that is interesting for you is Activity (or

[android-developers] Re: sliding in a new layout

2013-01-22 Thread G. Blake Meike
Fixed. -blake On Tuesday, January 22, 2013 1:24:23 PM UTC-8, dashman wrote: yes there is. i think i'll use a viewflipper or something similar. i appreciate your help. On Tuesday, January 22, 2013 10:46:35 AM UTC-5, G. Blake Meike wrote: There's an ugly flash after the menu slides out.

[android-developers] Re: Volume setting problem

2013-01-22 Thread scadaguru
Any solution to this? I am also having same issue? On Tuesday, July 24, 2012 7:19:56 AM UTC-5, bt wrote: Ping. Nobody can help? On Wednesday, July 18, 2012 9:33:35 PM UTC+2, bt wrote: Hi, I have BroadcastReceiver which listens for PHONE_STATE_CHANGED actions. In my test if phone state is

Re: [android-developers] pass parameters between threads

2013-01-22 Thread droid dev
.. What you said there doesn't make sense. A variable has to be explicitly declared as a class or instance member; it doesn't just magically appear when you remove a local variable. I think what John was describing does make sense. He had inadvertently created a new response var in an inner

[android-developers] Re: Adjust ringer volume for incoming calls

2013-01-22 Thread scadaguru
Any update on this? On Tuesday, April 26, 2011 6:57:50 PM UTC-5, Josh wrote: I'm currently using a BroadcastReceiver on android.intent.action.PHONE_STATE to detect when an incoming call is arriving. Then, after checking a few user values, I attempt to alter the ringer volume using the

[android-developers] setStreamVolume does not work

2013-01-22 Thread scadaguru
I have BroadcastReceiver to listen PHONE_STATE when it receives the incoming call it does not ring. I see logcat shows it set the correct ringer stream volume level but still it does not ring. I am testing this on Nexus 4 running xylon custom ROM. Any help? Below is the code: public class

Re: [android-developers] Re: Not working calendar events query.

2013-01-22 Thread AMAL SHIWANTHA
Thanks for your information. Great work. * . Thank you, With Best regards, Sun Certified, * *Amal Shiwantha Ranasinghe.* * * *Google + https://plus.google.com/117853962252903474075/about | Linkedinhttp://lk.linkedin.com/in/amalshiwantha | Ceylon Calendar - 2012 http://youtu.be/ggBxYcoEiz8 |

Re: [android-developers] Click events doesn't work on a button after Animation

2013-01-22 Thread Ansh
Thanks for your comment Mark. - Do not use TranslateAnimation, but instead switch to the newer ViewPropertyAnimator framework (and NineOldAndroids for a backport), * I can't use ViewPropertyAnimator framework because i need to support for below 3.0 API level.* - Do

[android-developers] Different layout for Different screen sizes.

2013-01-22 Thread sree android
Hi, i am implementing UI design for samsung S3 and nexus S.when i am run my project compatability of screen is change. i am using separate layout in res folder like layout-sw240dp(Nexus S), layout-sw320dp(S3).when i am running these both devices are take layout-sw320dp xml file. can help any one

[android-developers] Re: Different layout for Different screen sizes.

2013-01-22 Thread paresh mayani
I doubt the density of the device you are playing with. I would suggest you to check the density of the device by using: DisplayMetrics dm = context.getResources().getDisplayMetrics();int densityDpi = dm.densityDpi; Check for more info:

[android-developers] Key should not be taken by activity till Toast is shown

2013-01-22 Thread Revathi Ramanan
Hi All, I trigger a toast message when a wrong number is entered by user in Edit Text box. The toast duration is Toast.LENGTH_LONG. My requirement is till the Toast is shown to the user, no Keys should be accepted by Edit Text. For this, I am trying the below thing. I am starting a thread and

Re: [android-developers] java.net.SocketException: recvfrom failed: ECONNRESET (Connection reset by peer)

2013-01-22 Thread a
Thanks for your reply. Are you asking for the INTERNET permission? I have already set them. On Wednesday, January 23, 2013 1:18:55 AM UTC+2, Michael Leung wrote: set the permission yet? On Tue, Jan 22, 2013 at 6:36 PM, a ramalinga...@gmail.com javascript:wrote: Hi, I have a HTTP server

[android-developers] mapping of strings

2013-01-22 Thread sam jeck
I am dealing with a mobile application where a certain auto generated characters need to match with the most appropriate word in a separate file(a word list file-which contains words) . how do i map for the most possible word from the auto generated characters and the word list file. -- You