[android-developers] Digest for android-developers@googlegroups.com - 7 Messages in 5 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    stanlick <stanlick@gmail.com> Dec 31 07:41AM -0800  

    The first png shows my LinearLayout in a ScrollView and hence my weights
    are being ignored. You will not even see the TextView below the Image.
     
    The second is the LinearLayout pulled away from the ScrollView and the
    weights are being computed. However, since the LinearLayout is no longer
    in a ScrollView, I cannot scroll the biography text!
     
    Another thing I'm curious about is the value assigned to the weight of each
    view. I set android:weightSum="100" on the LinearLayout and expected to
    use percentages for the three views on it. Like maybe 33/33/33. However
    the way to make the image smaller is to actually use a larger weight! I'm
    starting to expect cats will chase dogs and water to run uphill!
     
    Thanks and Happy New Year

     

    Doug <beafdefx@gmail.com> Dec 31 11:22AM -0800  

    Weights only make sense when the container of the LinearLayout is
    constraining the height of it. With its height constrained, LL is then
    forced to impose heights on all of its children. It will use weights to do
    this if you specify them.
     
    When the container of a LL is a ScrollView, the SV doesn't impose a
    constraint on the height of the LL, which means the LL doesn't impose a
    height on its children. It lets them all be as tall as they want. The SV
    will then allow the user to scroll to see the entire contents of the LL if
    it overflows the ScrollView's height.
     
    If you want everything to be constrained to fit on the screen, don't use a
    ScrollView. If you want to allow scrolling, then accept that the LL will
    not impose a height on its children. If you want to constrain the height
    of just one child in a LL, then give it an explicit height measurement in
    dp to override its natural height measurement.
     
    Doug
     
    On Monday, December 30, 2013 2:39:16 PM UTC-8, stanlick wrote:

     

    Doug Gordon <gordonwd@gmail.com> Dec 31 05:30AM -0800  

    1) It seems like you could figure this out just by setting a few
    breakpoints and following what happens when the long-press menu is
    activated.
     
    2) Do you really have a separate copy of code for each fragment that differ
    only by the FRAGMENT_DAY_NAME constant? This is bad practice for a number
    of reasons plus the extra work required (if you find a bug, you'll have to
    make edits in all those modules?).
     
    On Friday, December 20, 2013 11:10:44 AM UTC-5, Paul-Peter Tournaris wrote:

     

    Nick <nickw1509@gmail.com> Dec 31 04:44AM -0800  

    Hi,
     
    An app I'm developing which uses SurfaceTexture worked fine on a Galaxy S3
    using Android 4.1. However, on upgrading to Android 4.3 I now get a strange
    "barred" or "striped" effect which looks like the camera feed in very low
    resolution.
     
    On a new Nexus 7 running 4.3 and then 4.4 I get the same effect which
    suggests something has changed between 4.1 and 4.3. I don't seem to get any
    opengl errors generated.
    The most common error people seem to run into with SurfaceTextures is not
    using the GL_TEXTURE_EXTERNAL_OES type; but I do use this.
     
    Does this sound familiar? If anyone wants to look at the code it's at
    https://github.com/nickw1/Freemap/tree/master/java/texturetest/src/freemap/texturetest;
    I don't really want anyone to spend any time on this, I'm just mailing on
    the offchance that it's a problem which sounds familiar to someone.
     
    Thanks,
    Nick

     

    Nick <nickw1509@gmail.com> Dec 31 04:45AM -0800  

    BTW just to clarify: forgot to say that the SurfaceTexture is streamed to a
    GLSurfaceView and then I draw two triangles covering the screen using the
    texture. Sorry for omitting this.

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 11 Messages in 5 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    stanlick <stanlick@gmail.com> Dec 30 02:39PM -0800  

    I have a LinearLayout with three views on it TextView, ImageView
    and TextView. The image was pushing the third TextView off the bottom of
    the screen, so I added weight to the three views. Now when I place this
    LinearLayout on a ScrollView, the weights are being ignored! Is there a
    way to constrain the size of an image without hardcoding pixels? I have
    tried every android:scaleType available and nothing works quite right.

     

    TreKing <trekingapp@gmail.com> Dec 30 06:20PM -0500  


    > Is there a way to constrain the size of an image without hardcoding
    > pixels? I have tried every android:scaleType available and nothing works
    > quite right.
     
    Posting your layout, what it looks like now, and what you're trying to get
    it to look like, would help immensely.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Parikshit Tomar <parikshitsinghtomar1857@gmail.com> Dec 30 09:16AM -0800  

    What I understand from that you need a button by which you can share some
    info to their facebook friends.
     
    For that you have three options 1. Use share intent to share any thing on
    social sites. you can also filter these intents.
    2. use a third party library which will provide not facebook but also
    another social site sdk integration such as till I remember is social auth.
    3. Use facebook sdk for better and best approach and you can TAGs friends.
     
    I apply all three options as i need.
     
    On Saturday, 28 December 2013 21:51:08 UTC+5:30, MobileVisuals wrote:

     

    12169 <ashish.acet@gmail.com> Dec 30 04:20AM -0800  

    Hi,
     
    I have found some applications that claims to free the RAM of the
    device.after search i have found that they free the inactive memory of the
    device.but i donot found any api to free the inactive memory of the
    device.any help how we can free the RAM of the device.

     

    meshgraphics <meshgraphics@gmail.com> Dec 30 04:57AM -0800  

    The Android philosophy is all about freeing memory as needed. The os is
    constantly looking to kill an app if it needs the memory. Otherwise, it
    will leave the app in place for a quick load.
     
     
     
    On Monday, December 30, 2013 7:20:04 AM UTC-5, 12169 wrote:

     

    12169 <ashish.acet@gmail.com> Dec 30 06:51AM -0800  

    but,i want to know how i can free this memory.
     
    On Monday, December 30, 2013 4:20:04 AM UTC-8, 12169 wrote:

     

    meshgraphics <meshgraphics@gmail.com> Dec 30 07:47AM -0800  

    For what?

     

    12169 <ashish.acet@gmail.com> Dec 30 08:15AM -0800  

    Hi,
     
    I have seen an application clean master that free the system memory when
    we click the option( boost memory).and it actually free the system RAM and
    i checked this programmatically.but i donot know how this application free
    the system RAM.any help?
     
    On Monday, December 30, 2013 4:20:04 AM UTC-8, 12169 wrote:

     

    Nobu Games <dev.nobu.games@gmail.com> Dec 30 08:48AM -0800  

    I could imagine that forcing the OS into a low memory situation might
    trigger what you want. By temporarily allocating large blocks of memory
    from native code (using the NDK) the OS may try to stop background apps and
    services which in turn will free their claimed resources and RAM. Don't
    forget to free your allocated memory.
     
    On Monday, December 30, 2013 10:15:17 AM UTC-6, 12169 wrote:

     

    Paul-Peter Tournaris <p.tournaris@gmail.com> Dec 30 04:24AM -0800  

    Anyone????
     
    On Friday, 20 December 2013 18:10:44 UTC+2, Paul-Peter Tournaris wrote:

     

    Tolriq <tolriq@gmail.com> Dec 30 01:04AM -0800  

    Well for low or normal rated app this can be only half bad or good.
     
    For very high rated apps the result is catastrophic when a 4.9 rating 5
    star rating is the only way to get known over competition this change that
    generate lot's of false rating is just killing some apps.
     
    Google have to do something quick because the effects of this are really
    important and the more they wait the more it will impact some devs :(
     
    On Sunday, December 29, 2013 10:52:35 AM UTC+1, Ifor wrote:

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 3 Messages in 2 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    MobileVisuals <eyvind@astralvisuals.com> Dec 29 07:45AM -0800  

    Yes, I have searched on the net and also in this forum before posting. I
    didn't find any answer, that is why I posted this thread.
     
    On Sunday, December 29, 2013 2:28:43 AM UTC+1, TreKing wrote:

     

    TreKing <trekingapp@gmail.com> Dec 29 01:33PM -0500  


    > Yes, I have searched on the net and also in this forum before posting. I
    > didn't find any answer, that is why I posted this thread.
     
     
    Odd. Searching for "android share facebook" yields tons of information.
     
    Are you looking to just share something in general, with Facebook as one
    option, or are you looking to restrict the sharing exclusively to Facebook?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Ifor <ifor@blueyonder.co.uk> Dec 29 01:52AM -0800  

    That explains why I am getting more reviews the last few weeks. I had seen
    the increase in activity but was not aware of the cause. Personally it's
    not having a detrimental affect on my numbers more the opposite in fact as
    my average is slowly going up.
     
    Hi,

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 6 Messages in 4 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    MobileVisuals <eyvind@astralvisuals.com> Dec 28 08:21AM -0800  

    I want to add a button, where people can share the link of the app on
    Google play to their Facebook friends. How can I implement the "share
    on Facebook" feature? Nebula galaxy live wallpaper is an app, which
    already have implemented this.

     

    TreKing <trekingapp@gmail.com> Dec 28 08:28PM -0500  


    > How can I implement the "share on Facebook" feature?
     
     
    Have you tried using Google? This seems like something that would have a
    ton of information available.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    "Linda" <L@frogpad.com> Dec 29 09:28AM +1100  

    Web Version http://frogpad.cmail1.com/t/r-e-pnltil-suyllcjl-n/ | Update preferences http://frogpad.updatemyprofile.com/r-pnltil-D79C00D0-suyllcjl-p | Unsubscribe http://frogpad.cmail1.com/t/r-u-pnltil-suyllcjl-x/ http://frogpad.cmail1.com/t/r-fb-pnltil-suyllcjl-m/ Like http://frogpad.cmail1.com/t/r-fb-pnltil-suyllcjl-c/ http://frogpad.cmail1.com/t/r-tw-pnltil-suyllcjl-q/ Tweet http://frogpad.cmail1.com/t/r-tw-pnltil-suyllcjl-a/ Forward http://frogpad.forwardtomyfriend.com/r-suyllcjl-D79C00D0-pnltil-l-f
     
    Froggie is back! Exciting news....
     
    Happy Holidays My Friends,
     
    It's been nearly ten years since I released the first FrogPad device and change the lives of so many people with its revolutionary keyboard design. My original FrogPad keyboard helped thousands of people achieve greater efficiency in their jobs, enhanced usability of mobile devices, and even more importantly brought full typing efficiency to those with limited use of their second hand.
     
    Over the last few years you have all warmed my heart so much with your words of kindness, your inspirational stories, and your dedication to FrogPad. During that time I have strived to bring you a new FrogPad device updated with the latest technology, utilizing the feedback you have all provided, and taking advantage of the newest features that we can bring into the new FrogPad.
     
    Late this summer I had the wonderful pleasure of being introduced to Andrew and Brandi Taylor the owners of Satori Tech Solutions, Inc. a successful software and product design firm based in Dallas, TX. Like many of you it didn't take long for them to become true Froggie fans and see the FrogPad for the world changing device that it is. Over these last few months together with the team from Satori, we have worked countless late nights and weekends to bring you a new and improved FrogPad device.
     
    Today I am so thankful for the years I have had, the friends I have made with you all, and the new partners I have been able to bring onboard. With your help, Froggie is now unstoppable and I am so pleased to announce that we are about to launch the FrogPad2 keyboard!
     
    Like the FrogPad keyboard, the new FrogPad2 keyboard will revolutionize the way you use your keyboard forever. It's unique one handed design will allow you to quickly and easily learn to type at up to 100 wpm (We've got the videos to prove it) with just a single hand, leaving your other hand free to use your mouse, joystick, Wacom tablets, or simply just giving you back the ability to type with complete efficiency.
     
    We didn't want to just recreate the existing FrogPad though, we wanted to give you something even better. The new FrogPad2 has a number of features that are sure to please such as:
     
    Compatible with all major PC's, Macs, tablets, and phones! Backlighting for Easy Low Light Use Easy one button switching between Bluetooth devices Long lasting lithium battery Adjustable profiles so you can make any key work the way you need Full gaming compatibility Programmable hotkeys And much more Over the next few days we will be sharing more details about the new FrogPad2 device and on New Years day 2014 we will begin taking orders for the new FrogPad2 device. We would love for you to take a few moments of your time and head over to the FrogPad.com website to learn more about this revolutionary device. This year make a resolution to ditch the hundred and fifty year old dinosaur you type on today and take your computing experience to the next level.
     
    Looking forward to sharing Froggie with you,
     
    Linda Marroquin
     
    President,
     
    FrogPad, Inc.
     
    Edit your subscription http://frogpad.updatemyprofile.com/r-pnltil-D79C00D0-suyllcjl-z | Unsubscribe http://frogpad.cmail1.com/t/r-u-pnltil-suyllcjl-v/

     

    Amit Mangal <forum.amit.mangal@gmail.com> Dec 28 11:00PM +0530  

    I apologize if I insulted I was just frustrated please forgive me

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 15 Messages in 8 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    "Eric Wong (hdmp4.com)" <ericwongcm@gmail.com> Dec 26 11:35PM -0800  

    Sounds like you didn't about LVL licensing and implement LVL based
    restrictions to prevent this.
     
    On Friday, 27 December 2013 16:29:54 UTC+11, Heshan Perera wrote:

     

    TreKing <trekingapp@gmail.com> Dec 27 04:33AM -0500  

    On Fri, Dec 27, 2013 at 12:29 AM, Heshan Perera <
     
    > Let's say user "A" pays for and installs it. Now user 'A' can extract this
    > apk from his device and freely distribute it to other users, who will not
    > have to pay for it anymore.
     
    In this scenario, the "other users" are stuck with the ripped version of
    the app. They cannot update it via Google Play. If an update becomes
    available, they will have to pay for it, or wait for "A" to re-redistribute
    the update to them.
     
    > I know the advice to tackle this situation is to request an online login
    > but, for an application that does not require web connectivity for its base
    > functionality, this seems to be a bad practice in terms of usability.
     
    Where is this advice? I thought the advice was to use the LVL.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Kristopher Micinski <krismicinski@gmail.com> Dec 27 08:54PM -0600  

    >> but, for an application that does not require web connectivity for its base
    >> functionality, this seems to be a bad practice in terms of usability.
     
    > Where is this advice? I thought the advice was to use the LVL.
     
    I suppose you could say that LVL is a type of service that implements this,
    but it seems like a particularly streamlined way of doing so..
     
    Kris

     

    Amit Mangal <forum.amit.mangal@gmail.com> Dec 27 08:19PM +0530  

    Hi trek in I am dwawing overlay on the button which is clicked if u need
    code I can send but I m sure now you should leave programming as u told u r
    developing last 4 years u r just wasting programming resources

     

    TreKing <trekingapp@gmail.com> Dec 27 08:17PM -0500  


    > Hi trek in I am dwawing overlay on the button which is clicked if u need
    > code I can send but I m sure now you should leave programming as u told u r
    > developing last 4 years u r just wasting programming resources
     
     
    I think you just insulted me, but it's hard to tell through your horrible
    grammar and spelling. I'll assume what you meant was "you're right" and
    "I'm sorry". In which case, I thank you and accept your apology.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Tolriq <tolriq@gmail.com> Dec 27 02:37AM -0800  

    Hi,
     
    My app rating is being hijacked by competitors and I don't know what to do
    :(
    I've tried to contact Google but there's no category for that and they
    don't answer from the other category contact :(
     
    My app is 4.9 rating since a very very very long time and all very very few
    bad rating always had comments.
    Since 14 days I start to have lot's of 1 or 2 stars rating without any
    comments and without having released a new version or the app having
    problems.
    There's still the same amount of 4 / 5 star rating coming every day.
     
    This graph for the 6 last months from Play Store console
    : http://postimg.org/image/i2bpm94vt/ shows the problem clearly and proves
    without a doubt the hijacking action :(
     
    What are the possible actions against that ?
    This is a shame that years of work can be attacked so easily :(
     
    How to contact some Google representative to have this investigated ?
     
    Regards,
    Tolriq

     

    b0b <pujos.michael@gmail.com> Dec 27 03:02PM -0800  

    I have observed something exactly like you describe in my own app.
    The graph you posted is similar to mine.
    I had stable ratings since forever until Dec 11th where unexplained 1-star
    ratings started to appear until the ratings finally stabilized (flat graph)
    on Dec 21th.
    At first I though it was an attack from competitors but now I think there
    might be another explanation.
    Dec 10th, Google approved a batch of Chromecast apps. My app is an obvious
    candidate from Chromecast support but of course it is not
    in the app list Google approved this day. I now think that the unexplained
    bad ratings came from users expecting Chromecast support.
    Since I believe your app is a potential candidate for Chromecast support,
    that could be it. Many CC users do not understand why some apps
    supports CC already and others do not and go the 1-star route. They just
    think developers are lazy or something...
     
    I wouldn't care too much (unless drop in ratings continue) since your app
    is rated exceptionnaly high and a 0.03 drop in rating is not going to have
    much consequence.
     
     
     
    On Friday, 27 December 2013 11:37:06 UTC+1, Tolriq wrote:

     

    codeguru <codeguru42@gmail.com> Dec 27 12:17PM -0800  

    I have a free Lite edition and paid Premium edition of my app. The Premium
    edition is supposed to import any existing data from the Lite edition when
    it first runs. What tools can help me automate testing of this use case?
    Can I do this with JUnit?

     

    andrew95434 <andresespinosapc@gmail.com> Dec 27 09:56AM -0800  

    Thanks !! I'm sorry, I have to search better, I had not found any detection
    camera code.
     
    On Friday, December 27, 2013 6:26:08 AM UTC-3, TreKing wrote:

     

    Giorgis <giorgist@gmail.com> Dec 26 11:32PM -0800  

    I would like to create an Audiobook as an app. I wonder if I would be
    breaching the terms of service ?
    I would like it to be completely self contained such that after
    installation all the data as well as the app is on the phone.
    I have searched far and wide in the forum and the Google legalese to find
    what can and cannot be made into an app, and I can't find anywhere if this
    is a questionable practice.

     

    TreKing <trekingapp@gmail.com> Dec 27 04:27AM -0500  

    > I have searched far and wide in the forum and the Google legalese to find
    > what can and cannot be made into an app, and I can't find anywhere if this
    > is a questionable practice.
     
    If this is your own original work, why would this be "questionable"?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    George Tsoukalas <giorgist@gmail.com> Dec 27 08:35PM +1100  

    No completely my own work, with me owning the copywrite.

     

    Amit Siddhpura <siddhpuraamitr@gmail.com> Dec 26 11:28PM -0800  

    Hi Alex,
     
    i have make so many dictionaries,
    https://play.google.com/store/apps/developer?id=iGeniusDev&hl=en, right now
    i am using SimpleCursorAdapter, but after, i got that i must use
    CursorLoader for better performance,
     
    So, my problem is that i do not know what will be ContentUri, and
    ContentProvider for my application, because i am using existing database
    and start reading from that,
    I am very thankful to you if you provide me help regarding this project,
     
     
    Also i have searched in stackoverflow that some person don't want to use
    ContentProvider (
    http://stackoverflow.com/questions/7182485/usage-cursorloader-without-contentprovider) in
    CursorLoader, can you tell me why thay are don't want to use?
    because if they don't provide than it will be create some problem also

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 14 Messages in 11 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Heshan Perera <anthonyheshanperera@gmail.com> Dec 26 09:29PM -0800  

    Let's say I published a paid Android app to Google Play for selling.
     
    Let's say user "A" pays for and installs it. Now user 'A' can extract this
    apk from his device and freely distribute it to other users, who will not
    have to pay for it anymore.
     
    Hence, as a developer, I lose out. I know the advice to tackle this
    situation is to request an online login but, for an application that does
    not require web connectivity for its base functionality, this seems to be a
    bad practice in terms of usability.
     
    So out of curiosity, why aren't these APKs signed to run for a specific
    account prior download ? This is what iTunes does with their IPAs, they are
    signed with the relevant Apple ID.
     
    What are the possible reasons for Android / Google to not follow suite ?

     

    Kristopher Micinski <krismicinski@gmail.com> Dec 27 12:07AM -0600  

    FYI this is why full app encryption exists in Jelly Bean.
     
    DRM is a moving target, you could always imagine a user which roots the
    device and copies the APK out of memory (though this would be pretty
    technically involved...). So while no perfect solution exists, full app
    encryption definitely gets you closer..
     
    Kris
     
     
     
    On Thu, Dec 26, 2013 at 11:29 PM, Heshan Perera <

     

    andrew95434 <andresespinosapc@gmail.com> Dec 26 04:23PM -0800  

    I need an application that detects movement with the camera and starts
    calling a number. And if someone grabs the phone, the application closes.
     
    I don't know much of programming, but the application doen't exist, so I
    want to create it. Can someone help me with anything to do it?
     
    How can I make a code to...
    ...call someone?
    ...make a motion detection camera?
    ...close the application when the phone moves?
     
    Thanks in advance.

     

    "Gabriel Simões" <gsimoes@gmail.com> Dec 26 11:55AM -0800  

    Is it possible to give to specific users free licenses on LvL or in app purchases credits?
    If so, how?
     
    Regards

     

    "Gabriel Simões" <gsimoes@gmail.com> Dec 26 11:56AM -0800  

    Is it possible to give to specific users free licenses on LvL or in app purchases credits?
    If so, how?
     
    Regards

     

    "Gabriel Simões" <gsimoes@gmail.com> Dec 26 11:53AM -0800  

    Is it possible to give to specific users free licenses on LvL or in app purchases credits?
    If so, how?
     
    Regards

     

    Miguel Carrallo <hushhushapp@gmail.com> Dec 26 10:51AM -0800  

    Hi
     
    We take a video using ACTION_VIDEO_CAPTURE with EXTRA_VIDEO_QUALITY set to
    0. When capture a video, the size is aprox. 1mb/sec. How can i compress
    this video to reduce the resolution or compress it to send to web service?
     
    Thanks.
     
    Miguel

     

    BoD <bodlulu2@gmail.com> Dec 26 02:01AM -0800  

    Kristopher,
     
    I don't see how I was rude (is "ping" a bad word?"). You're the one who insists on changing the subject, talking about grammar, etiquette, and feelings...
    Do you have any information regarding issue 61950? If not, please refrain from replying to this.
     
    Thanks a lot,
     
    --
    BoD

     

    Michael Banzon <michael@banzon.dk> Dec 26 01:15PM +0100  

    No. Please stop.

     

    Kristopher Micinski <krismicinski@gmail.com> Dec 26 11:05AM -0600  

    I don't have any information on this particular issue, but if anyone did,
    they would have pointed it out. I pointed you at various other resources
    which may be more helpful than the Android development list. In particular,
    this list relates to app development. While asking about issues which
    impact apps is certainly acceptable, you should also look at platform
    development forums if you're looking for platform issues.
     
    As for telling me not to reply, I'm the only person giving you relevant
    information. I'm guessing the reason nobody else has is that they don't
    want to be talked down to..
     
    Kris

     

    sweety fx <fxsweety@gmail.com> Dec 26 07:40AM -0800  

    This is how I am parsing it for single image url
     
    ArrayList<Data> mData = new ArrayList<Data>();
     
     
    @Override
     
    public void characters(char ch[], int start, int length) throwsSAXException
     
    {
     
    mData.get(mCount).mImageUrl = new String(ch, start, length);
     
    }
     
     
    This works fine for a single image url.
     
    How can I parse for more than one image url?
     
     
     
     
     
    On Wednesday, December 25, 2013 1:52:39 AM UTC-5, Danny D wrote:

     

    Sandeep Armal <armalsandip@gmail.com> Dec 26 04:18AM -0800  

    I am using one autocomplete. I want to show this autocomplete as a
    multiline. I don't want to show dropdown as a multi line but i want to show
    textbox as a multi line.
     
    I also use multiline attribute in .xml file but it's showing nextline key
    on keyboard and i don't want to use user to press this and go on next line.
     
    *What happening now*
     
    I am typing something in textbox after finishing space it's scrolling
    horizontally. and show all text in one line.
     
    *What i want*
     
    Suppose user typing and after finishing space of textbox then automatically
    cursor will goes on next line so user can see all text at one time without
    scrolling horizontally.
     
    Here is my code.
     
    <AutoCompleteTextView
    android:id="@+id/txtTags"
    android:layout_width="fill_parent"
    android:layout_height="44dip"
    android:layout_marginLeft="12dip"
    android:layout_marginRight="12dip"
    android:background="@drawable/borderforloginedittext"
    android:gravity="center_vertical"
    android:hint="eg: Breakfast, spicy, italian "
    android:inputType="textPersonName|textImeMultiLine"
    android:imeOptions="actionSearch"
    android:paddingLeft="70dp"
    android:scrollHorizontally="false"
    android:verticalScrollbarPosition="right"
    android:dropDownHeight="fill_parent"
    android:dropDownWidth="match_parent"
    android:textColor="#333333"
    android:textColorHint="#999999"
    android:textSize="16sp" >
    </AutoCompleteTextView>
     
    I need impeoption as an actionsearch so user can press search key of
    keyboard.
     
    Please give some reference or hint.

     

    Sadhna Upadhyay <sadhna.braahmam@gmail.com> Dec 26 11:41AM +0530  

    Hi Guys,
    Can some one tell me that how to connect vpn to android
    programatically if any one have idea please share with me
    .
    Thanks in advance
     
     
    On Thu, Dec 19, 2013 at 12:35 PM, Sadhna Upadhyay <sadhna.braahmam@gmail.com

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 3 Messages in 3 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Mike Portnoy <mportnoy555@yahoo.com> Dec 25 07:48PM -0800  

    Hi guys,
        Please try my new app and help me spread it out, I'm sorry to use  this group as part of my advertising,
    I'm an indie and don't have any money to spend on advertising!!!
     
    Here it is!
     
    Drum Freedom
     
    https://play.google.com/store/apps/details?id=com.keken.drumfreedom
     
    Thanks!

     

    Alok <kulsuhas@gmail.com> Dec 25 04:31AM -0800  

    I have a Webpage which requires Mutual auth to load the page.
    I get onReceivedError() with ERROR_FAILED_SSL_HANDSHAKE. In the logs "Could
    not establish a secure connection" is printed by Webkit.
    I have searched extensively but could not find an answer. There are several
    posts but nothing conclusive.
    I tried all 3 solutions posted here :-
    http://stackoverflow.com/a/15590041/340068
    The solution likely to work was :-
    Solution 1:
    use ClientCertRequestHandler anyway (It's marked as hidden, but apparently
    still usable):
     
    So i modified the android.jar to include the internal API for overriding
    onReceivedClientCertRequest()
    But i am not getting the callback at runtime. Same is the case with any
    third party browser. I tried loading the same webpage in a standard
    browser. I got a callback on UI asking the User to select a Client
    certificate.
     
    So seems that only system browser app can get the callback for
    onReceivedClientCertRequest() from Webkit.
     
     
    In case of iOS platform, Webview cannot directly load the site too . But
    making an HTTPS Connection using NSURL ,
    keeps the Client certificate in memory for some time and Webview can load
    this page successfully.
     
    On Android i have successfully setup HTTPS communication by registering an
    SSLSocketFactory loading Client and Server certificates.
    I can do REST API calls using that.However unlike iOS, i cannot find a way
    in which Android webview can use the Client certificate for Mutual auth.
     
    I think having Mutual auth over a Webview should be supported by the
    platform as one of the basic requirements for security. Is there any update
    on this issue ?

     

    Danny D <daniel.m.devine@gmail.com> Dec 24 10:52PM -0800  

    Not 100℅ understanding your question. How familiar with SAX are you? You should be handling the start element and end element for each <imageurl>, put them into a list of either String or URL or URI objects. For the latter two, you'll need to add the host and any path stuff.
     
    There are lots of SAX parsing tutorials to show you some techniques. In general, you're parser is going to keep eating the imageurl objects until they're done.

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 4 Messages in 3 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    BoD <bodlulu2@gmail.com> Dec 24 04:21AM -0800  

    All I'm "long" for is a response from someone at Google...
     
    --
    BoD

     

    Kristopher Micinski <krismicinski@gmail.com> Dec 24 10:05AM -0600  

    You should really stop acting rude if you want anyone to help you. First
    you said you bumped an issue to which nobody responded (which is fine,
    within reason), but all you seem to do is argue. I already gave you an
    accurate answer, acting rude makes you even less likely to get a response,
    and if you're looking for bug information and statuses you should really
    try android-platform.
     
    I understand you're probably just being haughty because you misspoke and
    feel embarrassed, subsequently hoping to self justify yourself by composing
    a trite response, but doing so is antithetical to getting a response...
     
    Kris
    Kris

     

    neuber jose sousa <neuberfran@gmail.com> Dec 24 07:44AM -0800  

    RESOLVED RESOLVED
     
    Em domingo, 22 de dezembro de 2013 20h02min14s UTC-3, neuber jose sousa
    escreveu:

     

    sweety fx <fxsweety@gmail.com> Dec 24 07:37AM -0800  

    Hi,
     
    I am using SAX parser to parse the RSS feed. Previously, the RSS feed
    only returns an id like say"12345"(<imageId>12345</imageId> and I need to
    construct an url with this id which will return multiple images in xml
    format.
    Now I get the RSS feed with multiple images with same node, like,
    <imageurl>image url1</imageurl><imageurl>image
    url2</imageurl><imageurl>image url3</imageurl>.
    how can I parse them into an array or list and use them later by
    constructing the xml format(the same way the image id url does) and place
    then local storage. Use the local storage xml format to retrieve all the
    images
     
    2 things need to considered in it. I might either get one image url and
    image id. or I may get multiple image urls instead of id. When I get one
    image url, I don't need to construct the xml.
    How can I handle this situation?

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 1 Message in 1 Topic

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    Kristopher Micinski <krismicinski@gmail.com> Dec 23 11:22AM -0600  

    You're still using "rhetorical" incorrectly, the word you're long for is
    "sarcastic." You should at least give a pointer to the issue in your
    subsequent pings in case someone doesn't want to have to dig through logs
    of the list from weeks ago.
     
    Kris
     
     
     

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

[android-developers] Digest for android-developers@googlegroups.com - 11 Messages in 5 Topics

Comments: (0)

Group: http://groups.google.com/group/android-developers/topics

    BoD <bodlulu2@gmail.com> Dec 22 09:55AM -0800  

    It was a rhetorical question, Kristopher.
     
    --
    BoD
     
    On Thursday, December 19, 2013 7:17:58 PM UTC+1, Kristopher Micinski wrote:

     

    Kristopher Micinski <krismicinski@gmail.com> Dec 22 01:02PM -0500  

    I don't think you understand what that word means, or at the very least,
    you're using it incorrectly :-).
     
    Google engineers respond to a very small amount of questions on this list
    that concern core functionality, but in my experience don't participate in
    discussions all that often: I suspect because they are simply swamped with
    "real work" and want to be careful in the phrasing of their responses so as
    not to misspeak.
     
    Kris
     
     
     

     

    BoD <bodlulu2@gmail.com> Dec 22 04:33PM -0800  

    No but really, I was not *actually* asking about Google engineer's presence
    on this list. Thanks for your input though. (<- rhetorical again! ;))
    I'm curious about issue 61950, which in my opinion is troubling because it
    concerns the Activity stack - hence my "pings".
     
    --
    BoD
     
    On Sunday, December 22, 2013 7:02:27 PM UTC+1, Kristopher Micinski wrote:

     

    Dekra <dekra06@gmail.com> Dec 21 11:27PM -0800  

    Which device and os version does it happen?
    can you paste the exception?

     

    kevikev2020 <kkawai2@gmail.com> Dec 22 04:14AM -0800  

    Sure, here it is. Also attached a screenshot of the devices and OS. Since
    adding try/catch in Hackborns code, I haven't seen one report of crash come
    in.
    java.lang.NullPointerException
    at android.support.v4.a.e.a(LocalBroadcastManager.java:297)
    at android.support.v4.a.e.a(LocalBroadcastManager.java:46)
    at android.support.v4.a.f.handleMessage(LocalBroadcastManager.java:116)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:137)
    at android.app.ActivityThread.main(ActivityThread.java:4944)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:511)
    at
    com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1038)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:805)
    at dalvik.system.NativeStart.main(Native Method)
     
    On Saturday, December 21, 2013 11:27:25 PM UTC-8, Dekra wrote:

     

    Jonathan S <xfsunoles@gmail.com> Dec 22 01:23PM -0800  

    This doesn't explain much. Im sure you have more exceptions after that one.
     
    On Sunday, December 22, 2013 7:14:06 AM UTC-5, kevikev2020 wrote:

     

    kevikev2020 <kkawai2@gmail.com> Dec 22 01:45PM -0800  

    There are still exceptions of course but no more of the
    LocalBroadcastManager which was occurring the most out of all the
    exceptions reported by Google and Flurry.
     
    On Sunday, December 22, 2013 1:23:12 PM UTC-8, Jonathan S wrote:

     

    Kostya Vasilyev <kmansoft@gmail.com> Dec 23 01:54AM +0400  

    While I can't answer the original question, here is what I would recommend:
     
    - Exclude LocalBroadcastManager from obfuscation
    - Break down the statement where the crash happens into several more simple
    ones, so you can tell where it goes wrong
    - Monitor crash reports
     
     
    1. br.receivers.get(j).receiver.onReceive(mAppContext, br.intent);
     
     
    change to:
     
     
    1. ArrayList<ReceiverRecord> receivers = br.receivers;
    2. ReceiverRecord record = receivers.get(j);
    3. BroadcastReceiver receiver = record.receiver;
    4. Intent intent = br.intent;
    5. receiver.onReceive(mAppContext, intent);
     
     
    Maybe there are better ways, but that's what I would do...
     
    -- K
     
     
    2013/12/23 kevikev2020 <kkawai2@gmail.com>
     

     

    3c <ccounotte@gmail.com> Dec 22 02:57AM -0800  

    Any-one tried to use the android:persistent flag set to true in Application
    manifest? Might not really be a desired configuration, but might help some
    specific use cases.

     

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.