[android-developers] Re: How to Verifying Correctness of App in Eclipse

2013-09-27 Thread Anirvan
Thanks for the input Kris. What you're saying does make sense. And while I'm not going to get into static analysis, by "the right thing" what I was looking at is a bit more simpler like checking things inline with what a programmer would do using asserts. Anyways, I understand that the problem

Re: [android-developers] Html.fromHtml limitations.

2013-09-27 Thread Nathan
On Friday, September 27, 2013 3:15:18 PM UTC-7, Kostya Vasilyev wrote: > > There was an old blog post by Mark Murphy, perhaps it's still on his site. > > Or just look at the source: > > > https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/text/Html.jav

Re: [android-developers] How many TCP connection are alive in android device

2013-09-27 Thread danaimset
Hi Dirk! MQTT is really good. I've never heard about it. Regarding 24/7 We have two states: 1. In charge (connected devices, push all required data (apks, general info, media content) to all tablets from the server; 2. In use (updates not allowed, only critical information could be submitted by

[android-developers] Re: problem centering the camera in Maps V2

2013-09-27 Thread Gary Blakely
After reading the docs at I found that the following code works well. However my original code should have worked so I guess there are still some bugs. CameraPosition cameraPosition = new CameraPosition.Builder() .target(new LatLng(Lat, Lon)) .zoom(15) .bearing(0) .tilt(45) .build(); map.animate

Re: [android-developers] Xml file corrupted over sprint cellular network ?

2013-09-27 Thread Robert Greenwalt
I understand Sprint is investigating and may contact you for more info. On Thu, Sep 26, 2013 at 2:01 AM, Gaurav Sharma wrote: > I am having a very strange issue in my android app. I receive xml file > from server and perform operation based on xml content. > > It is working on almost every netwo

Re: [android-developers] Html.fromHtml limitations.

2013-09-27 Thread Kostya Vasilyev
There was an old blog post by Mark Murphy, perhaps it's still on his site. Or just look at the source: https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/core/java/android/text/Html.java You will want handleStartTag -- K 2013/9/28 Nathan > Html.from Html. can pars

[android-developers] Html.fromHtml limitations.

2013-09-27 Thread Nathan
Html.from Html. can parse html into a Spanned. It mentions it has limitations. Is it documented anywhere what limitations those are? It could be useful for context help and a lot more lightweight than using a Webview I've been considering something like this. http://blahti.wordpress.com/2012

[android-developers] Long Click in the presences of a ContextualActionBar.

2013-09-27 Thread Nathan
Here's a situation I have run across. We have a Contextual Action Bar on screen. So far so good. When the user dismisses this, they are also done with the Activity/Fragment so we go ahead and close it for them. While our contextual action bar is active, the user long presses an EditText fiel

Re: [android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-27 Thread Alexander Osmanov
It's hard to just move on when you kinda spent a year writing your app and when the only thing left to do is to integrate it with billing :) On Friday, September 27, 2013 10:19:05 PM UTC+4, Nikolay Elenkov wrote: > > > On Sep 28, 2013 1:58 AM, "Alexander Osmanov" > > > wrote: > > > > There must

Re: [android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-27 Thread Nikolay Elenkov
On Sep 28, 2013 1:58 AM, "Alexander Osmanov" wrote: > > There must be no broken in one of such important part of the API. That's why I'd really like to hear some official recommendations for handling this. I refuse to believe there are no apps with IAB and server side data with accounts. > You ar

Re: [android-developers] How to Verifying Correctness of App in Eclipse

2013-09-27 Thread Kristopher Micinski
On Fri, Sep 27, 2013 at 1:03 PM, Anirvan wrote: > Hello Kris, > > Appreciate your response. > > Even I have an inkling that trying to write some plugin might just end up > being something *big*. However, what we need to establish is whether a > particular user was able to follow our tutorial and d

Re: [android-developers] How to Verifying Correctness of App in Eclipse

2013-09-27 Thread Anirvan
Hello Kris, Appreciate your response. Even I have an inkling that trying to write some plugin might just end up being something *big*. However, what we need to establish is whether a particular user was able to follow our tutorial and do some basic application changes as part of our chapter e

[android-developers] Re: InApp Billing v3 and multiple accounts

2013-09-27 Thread Alexander Osmanov
There must be no broken in one of such important part of the API. That's why I'd really like to hear some official recommendations for handling this. I refuse to believe there are no apps with IAB and server side data with accounts. Someone? Anyone? On Thursday, September 26, 2013 6:20:33 PM U

Re: [android-developers] debugging break pint not hittting

2013-09-27 Thread Mukesh Srivastav
Did you check the break point, was it placed in the correct line and also, check restart your adp and eclipse that helps. On Fri, Sep 27, 2013 at 5:30 PM, Sadhna Upadhyay wrote: > Hi guys, >m trying to debug my codebut it is not hitting any line ,but in other > project its working then why

[android-developers] Tiny stutter when displaying a large bitmap for the first time

2013-09-27 Thread hanni
I'm creating an application with large bitmaps in a scrolling list. I'm on a 1080p screen and the bitmaps are about 1080x1080 pixels each. All drawing is done directly to canvas in a custom View, and all of the bitmaps are loaded from resources into memory before doing any scrolling (well, at l

Re: [android-developers] How to Verifying Correctness of App in Eclipse

2013-09-27 Thread Kristopher Micinski
So the obvious question that comes to mind is: why do you need to do this within Eclipse, rather than using an Android testing framework. Are you talking about whether or not the user *physically* created the code, rather than testing it actually worked? I would give a word of warning against tryi

[android-developers] How to Verifying Correctness of App in Eclipse

2013-09-27 Thread Anirvan
The question might appear a bit vague, so allow me to explain a bit. I'm part of a startup that is trying to build a way to set up an Android tutorial, whereby, users also get to build a proper, functioning app alongside. Unlike teaching web-based technologies, we can't emulate the experience

[android-developers] Re: problem centering the camera in Maps V2

2013-09-27 Thread lbendlin
What happens if you set the camera tilt to zero? On Thursday, September 26, 2013 7:50:45 PM UTC-4, Gary Blakely wrote: > In my android app I have the following code... > > CameraUpdate center= CameraUpdateFactory.newLatLng(new LatLng(Lat,Lon)); > DebugLog.debugLog("centered camera on " + Lat + "

[android-developers] Re: android proguard is not working for the that is activated by the reflection?

2013-09-27 Thread Dan
Look for proguard-project.txt in your android project directory (with the AndroidManifest.xml and various other .properites files.) Pick one of the keywords to avoid having classes/members mangled by proguard to protect whatever you are calling/want called back: http://proguard.sourceforge.net/

Re: [android-developers] Navite Navigation Drawer

2013-09-27 Thread Simon Giddings
Well my, previous, understanding was that the support library was to provide functionality found in the most recent APIs, for earlier APIs. So, stuff in the v4.0 could be used in v2.3 via the support library. Perhaps you could clear something up for me. When I use just *one *item in the support l

Re: [android-developers] Navite Navigation Drawer

2013-09-27 Thread Alice Ni
So what if it is in the support library?. it is as native as it could be! On Thu, Sep 26, 2013 at 10:50 AM, Simon Giddings wrote: > I have seen the Navigation Drawer and am interested in it for my v4.1 > tablet application. > However, I see that the documentation describes it as being within

[android-developers] debugging break pint not hittting

2013-09-27 Thread Sadhna Upadhyay
Hi guys, m trying to debug my codebut it is not hitting any line ,but in other project its working then why it is not working in one project please let me know if any one ave any idea -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] Light Sensor and device in standby

2013-09-27 Thread Giuseppe Brando
Hi to everyone, someone can tell me if is possible to interact with the light sensor when the device is in standby? Thanks, -- 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@googlegro

[android-developers] Re: ASUS tablet

2013-09-27 Thread gjs
Hi, Is there an ASUS usb driver you need to install ? You can also debugging over Wifi instead of usb, maybe try that as well. Regards On Friday, September 27, 2013 12:13:32 AM UTC+10, eli wrote: > > I am using Eclipse and am able to communicate with a XOOM tablet for USB > debugging. However

[android-developers] Re: problem centering the camera in Maps V2

2013-09-27 Thread gjs
Hi, Don't know. What happens if you comment out the marker, is the map still centered at the same location ? Also does this vary with device rotation & / or different zoom - eg 21, & on phone or tablet ? I think there's also an option to move / animate & zoom the camera at the same, somethi