[android-developers] cookie management under webviews

2013-06-21 Thread BearTi
Hi, when I´m set 180 Cookies in my WebView, these 180 cookies are saved and can be displayd again. When I´m create 181 Cookies, just 150 are stored (Number 32-181). Now when I set 181 Cookies, just 151 are stored and so on... Why is this so? Is it a bug or what are the maximum values for

[android-developers] Re: uploaded file on Google drive , bbut onActivityResult returnd 0

2013-06-21 Thread Ana
*Hi Martin, Thanks for correcting me , this is a test application, so didn't bother abt hard coded values. it isuploading file. My problem is that i am using a intent to uploada file, but i want to perform some action once file is successfully uploaded . can you help me to find out the

[android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
Hi Friends I Want To Connect Server As Pc And Client As Android device(emulator) After connecting i want to sends and recive mesgs from eachothers.. I Am not able to do so.. Please Help me put friends please Thanks...In Advance -- -- You received this message because you are subscribed to the

Re: [android-developers] Updating APK that supports 3.0+ only

2013-06-21 Thread TreKing
On Thu, Jun 20, 2013 at 11:35 AM, Darren McEntee darren.mcen...@gmail.comwrote: My question is, when i upload the new APK to my Google Play account, where the app is currently listed: (1) Will the current users of the app who are on Androd v2.1 - v2.3 just not get the updates from that point

Re: [android-developers] Socket Programing

2013-06-21 Thread Kristopher Micinski
You should just be able to use any Java sockets tutorial, that isn't the hard part, Kris On Fri, Jun 21, 2013 at 6:53 AM, Ibrahim Sada ibrahim.in...@gmail.com wrote: Hi Friends I Want To Connect Server As Pc And Client As Android device(emulator) After connecting i want to sends and recive

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
I used bro..i can do java server client properly..bt i cant do server as java and android as client i cant do yaar On 21 June 2013 17:36, Kristopher Micinski krismicin...@gmail.com wrote: You should just be able to use any Java sockets tutorial, that isn't the hard part, Kris On Fri,

Re: [android-developers] Updating APK that supports 3.0+ only

2013-06-21 Thread Darren McEntee
Thanks for the update TreKing, So: (2) Will **NEW** users of the app running Android v2.1 to v2.3 not see the app listed on Play if they search for it? To my understanding, yes, they will see the last published version that supported their device. Ah ok, so this might work. If the

Re: [android-developers] Socket Programing

2013-06-21 Thread Kristopher Micinski
Please talk in more understandable English :-), What specifically are you having trouble with? There's no special function you have to call on Android that makes things magically work. Kris On Fri, Jun 21, 2013 at 8:18 AM, Ibrahim Sada ibrahim.in...@gmail.com wrote: I used bro..i can do java

Re: [android-developers] uploaded file on Google drive , bbut onActivityResult returnd 0

2013-06-21 Thread TreKing
On Thu, Jun 20, 2013 at 3:59 AM, Ana anamika.k...@gmail.com wrote: i have tried below code to upload a txt file in gDrive successfully , but i m getting 0 in onActivityResult Is it documented that the Google Drive app returns a result or are you just assuming this and hoping for the best?

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
if u want i can send u my code... On 21 June 2013 17:58, Kristopher Micinski krismicin...@gmail.com wrote: Please talk in more understandable English :-), What specifically are you having trouble with? There's no special function you have to call on Android that makes things magically work.

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
package com.in2em.clientactivity; import java.io.BufferedWriter; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.net.InetAddress; import java.net.Socket; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.util.Log; import

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
Please friend check my code.. On 21 June 2013 18:16, Ibrahim Sada ibrahim.in...@gmail.com wrote: package com.in2em.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.InetAddress; import

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
package com.in2em.server; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; import java.net.InetAddress; import java.net.ServerSocket; import java.net.Socket; public class Server { public static void main(String[] args) {

Re: [android-developers] Updating APK that supports 3.0+ only

2013-06-21 Thread TreKing
On Fri, Jun 21, 2013 at 7:21 AM, Darren McEntee darren.mcen...@gmail.comwrote: Or how can i get Google to confirm this? That's a good one. It's nice to start the day off with a good laugh, thanks. You'll have better luck pulling the back tooth out of a jaguar than getting specific answers

Re: [android-developers] Socket Programing

2013-06-21 Thread Kristopher Micinski
Nobody here is going to check your code, why don't you debug it yourself and show some effort that you actually tried to diagnose the problem: perhaps by debugging and stepping through your code. Then when you find out what might be wrong report back and people can give some advice. Nodbody is

Re: [android-developers] Socket Programing

2013-06-21 Thread Ibrahim Sada
thanks Friend...i will keep ur words... On 21 June 2013 18:55, Kristopher Micinski krismicin...@gmail.com wrote: Nobody here is going to check your code, why don't you debug it yourself and show some effort that you actually tried to diagnose the problem: perhaps by debugging and stepping

[android-developers] Handling process killed by system

2013-06-21 Thread Benoit Vermont
Hi, I've been reading intensively the Android Application Framework FAQ (http://developer.android.com/guide/faq/framework.html) and it says that the system can kill process if needed to free memory. Well, fair enough, only it also destroys singletons and static instances. So when we launch the

[android-developers] Re: Handling process killed by system

2013-06-21 Thread Streets Of Boston
The singletons stick around as long as your process is alive. If your process is killed (and therefore your DalvikVM running your app), nothing sticks around, including your static variables/fields. This is just like any other Java/C/C++ app. The issue is that the OS kills your process, not

Re: [android-developers] Socket Programing

2013-06-21 Thread Kristopher Micinski
It's not to make you go away, it's just saying: learn to use the debugger. Once you have something that's going wrong with your program report back and ask for help. Otherwise nobody knows what to look for, one person could see the program works completely fine, one person could see it won't

[android-developers] Re: Handling process killed by system

2013-06-21 Thread Benoit Vermont
The problem with parcelable and serializable it that it creates new instance of the object for each Activity that is launched. It means that, every time you leave an Activity, to go back for instance, you will have to write the modified object, and check the onActivityResult each time, to

[android-developers] Re: Handling process killed by system

2013-06-21 Thread Streets Of Boston
Your app is stateful (state is carried over from Activity to Activity) and this is indeed an issue you'll run into. If you want to use a static variable (object) for your session state, you'll have to code your own persistence. E.g. Access your (global/static) state through a static method

[android-developers] help me to get android Map key

2013-06-21 Thread mansur Android
Hi, I am trying get android google Map key, where II have followed all the steps that mentioned herehttps://developers.google.com/maps/documentation/android/start. During the step: Creating an API Project when I tried to ON for *Google Maps Android API v2,* the service for 'Google Maps Android

Re: [android-developers] Updating APK that supports 3.0+ only

2013-06-21 Thread Darren McEntee
they will see the last published version that supported their device So, do i have two published versions of my app, is that allowed? This new APK update (v1.28 Android 3+) i want to publish soon. But this is where i get confused, can i have 1.27 (Android 2.1+) app and v1.28 (Android 3+)

[android-developers] canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread Leith Bade
I have been banging my head for a while trying to figure out why my custom view was not drawing properly until I tried turning off hardware acceleration. It is to do with canvas.drawCircle. It is drawn in solid blue at about 300px radius. I also use canvas.drawText and that works fine under

Re: [android-developers] canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread Romain Guy
Until 4.2 the hardware accelerated rendering pipeline would render circles as a texture using the radius you specify in the drawCircle() call. It would then scale the texture based on the Canvas transform. In this case you are stretching a picture of a circule that's 1px large, which is why you

[android-developers] Re: canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread RichardC
See this thread: https://groups.google.com/d/msg/android-developers/2DT6JaPszR0/-Q2g6ZLRM5sJ On Friday, June 21, 2013 5:32:51 PM UTC+1, Leith Bade wrote: I have been banging my head for a while trying to figure out why my custom view was not drawing properly until I tried turning off

[android-developers] heatmap using TileOverlay on Google Maps v2

2013-06-21 Thread raj
Hi, I am trying to generate a heatmap, based on a set of LatLng points in Android Maps v2. I am using the algorithm from here: http://blog.furiousbob.com/2011/05/12/heating-up-my-new-xoom-tablet/ I have gone through some examples online, but it uses Overlays which is not just deprecated, but

Re: [android-developers] Updating APK that supports 3.0+ only

2013-06-21 Thread TreKing
On Fri, Jun 21, 2013 at 10:49 AM, Darren McEntee darren.mcen...@gmail.comwrote: So, do i have two published versions of my app, is that allowed? This new APK update (v1.28 Android 3+) i want to publish soon. But this is where i get confused, can i have 1.27 (Android 2.1+) app and v1.28

Re: [android-developers] help me to get android Map key

2013-06-21 Thread Elvin
I am doing a app i want to print a text from app to an printer connected with usb. can any one help me in this please i got the driver for windows 7 but not for the android how i can do it ? On Fri, Jun 21, 2013 at 11:45 PM, mansur Android mansur.andr...@gmail.comwrote: Hi, I am trying get

[android-developers] Cross-platform development question

2013-06-21 Thread Mark Turkel
Hi all, This is an interesting question, but a bit of background first...my company has been developing software for almost 30 years now. We have always been a .net house, but now we're creating Android and iOS apps as well. I don't want to have to write business logic and database access

[android-developers] Re: Cross-platform development question

2013-06-21 Thread Jonathan S
Java is more verbose than C# because it requires a lot of boiler plate to get it to work. If you can make a RESTful Service to return data as XML or JSON, it would be useful. On Friday, June 21, 2013 5:17:31 PM UTC-4, Mark Turkel wrote: Hi all, This is an interesting question, but a bit of

[android-developers] How to support Redeem Code in Android App?

2013-06-21 Thread ASB
Hi Android Developers, I have recently created a Physics based app called *High School Physics*. This app helps the high school university students who are interested in physics to learn the concepts clearly without getting intimidated by the sheer amount of Mathematics involved in it. The

[android-developers] Re: canvas.drawCircle broken with hardware acceleration on 4.1?

2013-06-21 Thread Leith Bade
Thanks for the fast reply guys! Is there a page that lists all the limitations of the hardware accelerated rendering engine and the Android versions applicable? That would be very useful. It's cool to see the Android developers actually read these emails. On Saturday, 22 June 2013 03:29:09

Re: [android-developers] How to support Redeem Code in Android App?

2013-06-21 Thread Michael Leung
Do you mean you send the code to the users then they can download your app free. I don't think Google play has this function. On Sat, Jun 22, 2013 at 1:54 PM, ASB arjun.s@gmail.com wrote: Hi Android Developers, I have recently created a Physics based app called *High School Physics*.