[android-developers] Error while uploading the screenshots

2012-09-28 Thread surya pavan
I just signed up with Market and uploaded my app. On the next screen, it is asking me to upload assets. After i choose screen shots for the app and hit upload, it gives me an error saying Unable to parse response. If you have a browser extension or add-on installed which changes the JSON

[android-developers] sendEmptyMessageAtTime issue

2012-09-28 Thread Dmitriy F
A handler that I defined doesn't get a message set with sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is valid. What am I missing here ? @Override protected void onResume() { super.onResume(); mNavigationBarFragment.configureFor(0); Calendar

Re: [android-developers] sendEmptyMessageAtTime issue

2012-09-28 Thread Kostya Vasilyev
sendEmptyMessageAtTime needs an uptime value. Unless your Android device booted on 1/1/1970, the value you get from Calendar will be off. 28.09.2012 11:32 пользователь Dmitriy F midnight@gmail.com написал: A handler that I defined doesn't get a message set with sendEmptyMessageAtTime. The

Re: [android-developers] Error while uploading the screenshots

2012-09-28 Thread TreKing
On Fri, Sep 28, 2012 at 2:26 AM, surya pavan tsuryapa...@gmail.com wrote: I just signed up with Market and uploaded my app. On the next screen, it is asking me to upload assets. After i choose screen shots for the app and hit upload, it gives me an error saying Unable to parse response. If you

Re: [android-developers] Google cancelled this order. Reason: Other

2012-09-28 Thread Kostya Vasilyev
2012/9/28 Nathan nathan.d.mel...@gmail.com On Thursday, September 27, 2012 3:28:25 PM UTC-7, Kostya Vasilyev wrote: Google Checkout / Market / Play is weird and buggy. Well, that I know - just wondering if there is a particular latest bug, like on of those stormy days Checkout decides not

[android-developers] Re: Aligning a view to an ImageView in different resolutions

2012-09-28 Thread skink
adam On Sep 27, 6:02 pm, Adam Lichwierowicz adam.lichwierow...@gmail.com wrote: i think it should just work provided you get the matrix after the layout management has been done on your imageview Than please advice when exactly (or where in the code to be precise) is this moment - since in

[android-developers] Explain the preparation speed of MediaPlayer in this application

2012-09-28 Thread Dmitriy F
Here's an https://play.google.com/store/apps/details?id=com.maxxt.pcradiofeature=search_result#?t=W251bGwsMSwxLDEsImNvbS5tYXh4dC5wY3JhZGlvIl0. that I've found for playing radio live-streams - pcRadio. I made a similar application with pretty simple code inside. // constructing the player

[android-developers] Re: sendEmptyMessageAtTime issue

2012-09-28 Thread Dmitriy F
Right, thanks On Friday, September 28, 2012 11:31:50 AM UTC+4, Dmitriy F wrote: A handler that I defined doesn't get a message set with sendEmptyMessageAtTime. The time I get from updateTime.getTimeInMillis is valid. What am I missing here ? @Override protected void onResume() {

Re: [android-developers] Re: runtime compilation of dalvik bytecode

2012-09-28 Thread Ross Bamford
On Friday, 28 September 2012 00:28:40 UTC+1, Kristopher Micinski wrote: On Thu, Sep 27, 2012 at 6:33 PM, Ross Bamford rosc...@gmail.comjavascript: wrote: On Thursday, 27 September 2012 18:28:40 UTC+1, Kristopher Micinski wrote: FYI during a project I work on we've written a

[android-developers] Issues with local/device concerning return key

2012-09-28 Thread Jan Burse
Dear All, Has somebody observed that the return key on the soft keyboard does something else emit than: KeyEvent.ACTION_DOWN and KeyEvent.KEYCODE_ENTER. But nevertheless cause a text component to go to the next line? Could this be device/local dependent? Bye -- You received this message

Re: [android-developers] Can´t create an AudioRecorder object

2012-09-28 Thread Kirillov Artem
There is a series of articles on how to develop a speaker on pet Android. Information on the voice recording can be found in this article. There are sources. http://snowpard-android.blogspot.com/2012/09/talking-pets-development-pet-for.html -- You received this message because you are

[android-developers] Re: runtime compilation of dalvik bytecode

2012-09-28 Thread Jan Burse
Ross Bamford schrieb: No, it goes directly to Dex. The original interpreter runs on any Java platform (Deelang was originally intended as a generic scripting language for embedded devices) but the compiler is strictly Dalvik. It wouldn't be difficult to transform the Dee VM bytecode to Java

Re: [android-developers] Multiple ViewPagers in one activity (bug in support library?)

2012-09-28 Thread Cel
thanks for posting the answer! i have a similar problem, but im not sure how exactly did you change the id of the fragments? i.e. with ViewPager we do not add the fragments ourselves so cannot assign the tag there, and the fragments are instantiated in code, so cannot set the id in xml? ta!

[android-developers] javax.net.ssl.SSLException: Not trusted server certificate error in 2.1

2012-09-28 Thread ramesh aravelli
Hi all, I am developing an application that need a certificate verification from the server. It works fine on Android 2http://boardreader.com/tp/Android%202.html.2 version and above, but for android 2.1 it gave me an exception javax.net.ssl.SSLException: Not trusted server certificate. can any one

Re: [android-developers] Key, Gesture, Menu, etc.. für History Up/Down

2012-09-28 Thread Jan Burse
Jan Burse schrieb: Dear All, Assume I have a terminal app for Android. How would I implement history up/down? (*) On the classical PC one would use the up arrow and the down arrow, but on Android. Hints welcome. Bye (*) The up and down already works under the hood, question is what in the

[android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
Hi, I am unable to get the values form values-sw480dp on my sony Xperia device which is 480 x 854 neither on Samsung galaxy tab which is 600 x 1024. But able to get on Motorola Xoom which is 1280 x 752. e.g res/values-sw480dp/strings.xml/ string name=hello_worldhello world/string The values

Re: [android-developers] Multiple ViewPagers in one activity (bug in support library?)

2012-09-28 Thread Jethro Borsje
Hi there, I did not change the *tags* of the fragment. I made the id of the View which contains the ViewPager unique. The FragmentPagerAdapter creates the tags for the fragments based on the id of the View which contains the ViewPager, see:

Re: [android-developers] Android resource qualifier

2012-09-28 Thread Marina Cuello
Your first two devices have a low density, lower than 160dpi, so they measure on dp is smaller than what you expect. Check http://developer.android.com/guide/practices/screens_support.html to get the theory behind it. Marina On Sep 28, 2012 7:37 AM, vinay kumar vk872...@gmail.com wrote: Hi, I

Re: [android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
Hi there According to http://developer.android.com/guide/topics/resources/providing-resources.html, sw480dp means «smallest side of screen must be at least 480 dp». Now dp is a «pixel on a 160 dpi screen», so actual size of e.g. Xperia in dp would be I guess 320 x 569 (provided it's a hdpi

Re: [android-developers] Android resource qualifier

2012-09-28 Thread Marina Cuello
I'm sorry. I wrote lower when I was thinking higher, LOL. The dpi values for ldpi, mdpi and so on are only standard ones, and most devices have different values. Try getting the xDpi and yDpi from a DisplayMetrics. I have an Xperia Neo V and the width was around 250dp. Marina On Sep 28, 2012 8:51

Re: [android-developers] Android resource qualifier

2012-09-28 Thread vinay kumar
I checked for xdpi and ydpi values on my device call following method in oncreate method. DisplayMetrics metrics = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(metrics); metrics.xdpi; 239.05882 metrics.ydpi; 243.72585

[android-developers] Re: Google cancelled this order. Reason: Other

2012-09-28 Thread John Coryat
We see about 15% of all orders canceled for one reason or another. The odd thing is if the user tries again in 24 hours, the order usually goes through. The problem comes when the user just gives up in frustration. I've seen four or five canceled orders from the same user in a row. I can just

[android-developers] CalendarView OnDateChange Listener Issue

2012-09-28 Thread LemonCodes
I've already implemented this listener in order for me to display something when a certain date is clicked, but the problem is that when i scroll the CalendarView down, it automatically displayed something but i didn't click anything, i just scrolled down to anther month in CalendarView and

[android-developers] Fragment Transactions

2012-09-28 Thread Apurva Goyal
Hello, I have a framelayout where I am adding a listfragment and adding it to backstack. If user selects an item in that list, I start a new transaction and replace the last fragment with a new one. But when I press back button, I dont see my first list fragment, rather I see the original

[android-developers] Re: Google cancelled this order. Reason: Other

2012-09-28 Thread Nathan
I'm getting about 20% in the last few days. Many of them are the same people over and over - some trying ten times. I can only imagine their frustration. Both app and inapp purchases. Some are 0 days, but others are not. In one case, a user was able to buy the app, then failed at an inapp

[android-developers] How to get a (neat) list of phones that my app will run on

2012-09-28 Thread decastro
I noticed that on the website for google play developers you can get a window tha tells you the phones your app will work on... but the precise way is gives this information is a nightmare to get into a neat csv list - you can't simply cut and paste. I wonder if anyone knows an easier way? --

[android-developers] Android motors

2012-09-28 Thread bob
Have any of you used Android devices to control electrical motors? I'm thinking of maybe doing this, but I don't know what the state of the art is. -- 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] Re: Fragment Transactions

2012-09-28 Thread G. Blake Meike
I think you've misunderstood the use of the Fragment Tag. It looks like RouteCategoryFragment is the splash screen, yes? When someone clicks you want to replace it with a CountyListFragment? If so you need to use the same tag (probably COUNTY_TAG). That is the unique identifier for the

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-09-28 Thread Kostya Vasilyev
2012/9/28 Nathan nathan.d.mel...@gmail.com I'm getting about 20% in the last few days. Many of them are the same people over and over - some trying ten times. I can only imagine their frustration. Both app and inapp purchases. Some are 0 days, but others are not. In one case, a user was

Re:[android-developers] uploading app to android market

2012-09-28 Thread lokesh gupta
Hi On Sep 28, 2012 1:04 AM, John Merlino stoici...@aol.com wrote: I created a developer profile on Google Play and paid the 25 dollar registration fee. I received an email confirmation: Thanks for your interest in publishing your applications to Google Play. Please return to the Google Play

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-09-28 Thread Nathan
On Friday, September 28, 2012 9:18:21 AM UTC-7, Kostya Vasilyev wrote: This, I believe, can be useful sometimes: https://wallet.google.com/manage/ I had one user report that removing the credit card from his profile there, then adding it back, made his next attempt at ordering succeed.

[android-developers] Android dog whistle

2012-09-28 Thread bob
I basically want to have one Android device send an audio signal to several other Androids. It will probably be one frequency. I would prefer if humans can't hear it. Does this sound reasonable? Any frequency suggestions? -- You received this message because you are subscribed to the

[android-developers] Dynamic .APK from GooglePlay store / Android

2012-09-28 Thread Marcelo Tomio Hama
My issue is very related with *this*http://stackoverflow.com/questions/11407019/dynamic-apk-in-android question. I'm working in a app that must implement a very uncommon behavior and, in my current overview, I don't know if it is a possible implementation. The main sequence of my desired

[android-developers] Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread lbendlin
We had a few users complaining about a new behaviour of our application on ICS. We show an activity, start an AsyncTask to retrieve data from the interwebs, and use onProgress to update the activity screen. However, if the Developer Option setting Don't keep activities ( Destroy every

[android-developers] Just launched my app last week, could you test it please?

2012-09-28 Thread Roger
Hey people, just launched my app last week. if you could test it and report with opinions here, it would be awesome! Here is the link for the app: * https://play.google.com/store/apps/details?id=com.aximod.callscontrol* * * Thanks for your attention. -- You received this message because you

[android-developers] Hardware acceleration and drawPath problem

2012-09-28 Thread thibault
I have a Drawable whose draw method make calls to Canvas.drawText and Canvas.drawPath. When hardware acceleration is enabled, I only see the text displayed, none of the paths are displayed. Everything is correctly displayed when hardware acceleration is disabled. Does anyone have ideas

[android-developers] Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread RichardC
Do you have the logcat output from your tests where it failed? -- 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] How can I prevent two buttons from being clicked at the same time?

2012-09-28 Thread Streets Of Boston
Hi, I have this issue (at least on the Galaxy Tab 10.1 running 3.2 and the Nexus 7). E.g. I have a screen with more two buttons. When i put two fingers down, one finger on one button, the other on the other button, at the same time, both buttons are clicked at the same time. I.e. the

[android-developers] Re: Android dog whistle

2012-09-28 Thread Lew
bob wrote: I basically want to have one Android device send an audio signal to several other Androids. It will probably be one frequency. I would prefer if humans can't hear it. Does this sound reasonable? Any frequency suggestions? I spent a few minutes googling for the frequency

[android-developers] Re: Just launched my app last week, could you test it please?

2012-09-28 Thread Lew
Roger wrote: Hey people, just launched my app last week. if you could test it and report with opinions here, it would be awesome! Here is the link for the app: * https://play.google.com/store/apps/details?id=com.aximod.callscontrol* * * Thanks for your attention. I would be happy to

[android-developers] Re: Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread G. Blake Meike
As RichardC says, it is going to be hard to figure this out without more information. The only change that I am aware of, controlled by that Dev Option setting, is that Activities are scheduled for destruction when they become invisible. What do you mean by leave the activity. The most

Re: [android-developers] How can I prevent two buttons from being clicked at the same time?

2012-09-28 Thread Harri Smått
On Sep 28, 2012, at 11:45 PM, Streets Of Boston flyingdutc...@gmail.com wrote: Is there a reliable or proper way to prevent a click of multiple buttons at the same time, e.g. a second button won't click when another finger is still down on the screen? I don't know whether this is a proper

[android-developers] Geocoder.getLocationFromName() works over wifi, throws IOException over 3G

2012-09-28 Thread Markos Fragkakis
Hi all, This is the initialization code for my Geocoder: Geocoder gc = new Geocoder(this); ListAddress newAddresses = gc. getFromLocationName(arg0.toString(), 10); The above code works perfectly over Wifi and throws an IOException: Could not parse response from server over 3G. Do you

[android-developers] geolocation

2012-09-28 Thread aek
Hi there, I am tryin to run a simple code to illustrate the geolocation service. Unfortunately I am having an unexpected exception that unable to execute the activity. any help! thank you in advance simple pg for geolocalisation package

Re: [android-developers] Dynamic .APK from GooglePlay store / Android

2012-09-28 Thread TreKing
On Fri, Sep 28, 2012 at 1:52 PM, Marcelo Tomio Hama hama.marcelo...@gmail.com wrote: So, how can I properly implement this? What's the purpose of this? What are you trying to achieve? Does GooglePlay store provide a way to pass dynamic arguments to downloaded apps? No. Plus, remember

Re: [android-developers] Just launched my app last week, could you test it please?

2012-09-28 Thread TreKing
On Fri, Sep 28, 2012 at 3:10 PM, Roger roger.cam...@gmail.com wrote: Hey people, just launched my app last week. if you could test it and report with opinions here, it would be awesome! This group is for questions about developing Android apps, not to solicit free labor. Wait for users to

Re: [android-developers] geolocation

2012-09-28 Thread TreKing
On Fri, Sep 28, 2012 at 6:03 PM, aek abdelkader.2004...@gmail.com wrote: I am tryin to run a simple code to illustrate the geolocation service. Unfortunately I am having an unexpected exception that unable to execute the activity. Try reading the stack trace. It tells you the exact problem

[android-developers] Re: Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread lbendlin
I traced it down to the following line SQLiteDatabase myDb = ((myApp) getApplication()).getDb(); which gets a pointer to the open database in the application singleton. This is technically outside of the activity, so maybe that is why the code fails. But still, it's not entirely

[android-developers] Re: Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread G. Blake Meike
that's a little odd. Still no details, but I've done something similar in my code, a lot and have never noticed this problem. Did you, by any chance, pass the Activity context to the db, when you opened it? If you are willing to share, I'd really love to see this code and the error

[android-developers] Share DataStream between activities

2012-09-28 Thread Telmo Neves
Hi everybody I need to pass a dataOutputStream and DataInputStream between activities in my app so i can have communication between app and server always i need How i can do this ? Is it possible without need a new socket? Thanks -- You received this message because you are subscribed to the

[android-developers] Re: Update Apps Content

2012-09-28 Thread hnic101
Thanks for that I was afraid I may have missed this step while creating the app. do you know of a tutorial/help that I could get for this. I have a server that i would love to use http to get information but all the videos i've found have shown java or php. I need to see how to pull article

[android-developers] Re: Developer option Don't keep activities impacting AsyncTask?

2012-09-28 Thread lbendlin
No, I was using the application context throughout. The error is that the activity cannot connect to the database by the application context when that option is checked. I now created a second pointer, using the dbHelper class directly, and that seems to work. I am just concerned about side

Re: [android-developers] Share DataStream between activities

2012-09-28 Thread Kristopher Micinski
There are two ways to do this: You can stuff the stream in the global application context, *or*, you can use a background service to manage the connection and interface with the connection in your activities. kris On Fri, Sep 28, 2012 at 9:40 PM, Telmo Neves telmoneve...@gmail.com wrote: Hi

[android-developers] Re: Hardware acceleration and drawPath problem

2012-09-28 Thread thibault
I've made some progress on this, but I think there are two bugs in the hardware acceleration: 1) When Canvas.drawPath is called with a path created via the Path.transform(Matrix matrix, Path dest) method, nothing is drawn. A work around is using an alternative method Path.addPath(Path path,

[android-developers] Menu icon contrast

2012-09-28 Thread Andrew Gregory
Hi, It seems that new devices have a light-on-dark style when it comes to the UI, specifically menus. Older devices have a dark-on-light style. These are completely at odds with each other and makes it difficult to select an appropriately shaded icon for menus. I've settled on a light gray, which

Re: [android-developers] Re: Hardware acceleration and drawPath problem

2012-09-28 Thread Romain Guy
You are running into a well known hardware acceleration limitation. Paths are currently transformed into OpenGL texture at the size you define them. This means that if your Path contains only coordinates between 0 and 1, the texture will be 1x1. This is why your addPath() solution works. This is

Re: [android-developers] geolocation

2012-09-28 Thread Asheesh Arya
this exception cause due to because your device cant get last location thats why you got null pointer exception Location mLocation = mLocationManager. getLastKnownLocation(locationprovider); if (mLocation!= null) String text = Last location lat: + mLocation.getLatitude()

[android-developers] How to Get FocusListener event from Service UI to ActivityUI

2012-09-28 Thread shubh
I created UI component (2-3 Button in a row) from Service class using android WindowManagere . And able to get focus in service UI, but not able to swich focus between activity UI and service UI, focus stick with service component. If I do View.GONE for service component then control