[android-developers] Digest for android-developers@googlegroups.com - 5 updates in 3 topics

Comments: (0)

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

    Alberto GR <aagr.lp640@gmail.com> Apr 30 10:26AM -0700  

    Hi, i have a question if a make an app, where i use the android of google i
    will have some legal problems about using it? its a free app
     
    Best regards

     

    Alberto GR <aagr.lp640@gmail.com> Apr 30 11:39AM -0700  

    Hey thanks a lot!!!, this realy help me a lot!!
     
    Thanks
     
    On Wednesday, April 30, 2014 1:22:05 PM UTC-5, TreKing wrote:

     

    SABYASACHI SINGH <sabyasachisingh.nitjsr@gmail.com> Apr 30 09:36AM -0700  

    adb interface crashes/hangs randomly on my windows system , says APPCRASH ,
    Fault : winusb.dll in more details. I have re-installed the latest sdk
    and phone drivers , still seeing the issue. Any idea what it could be.
     
    The issue happens on windows test mode also
     
     
    thanks

     

    sourabh sahu <souruitian@gmail.com> Apr 30 12:33PM +0530  

    Thanks Treking
     
     

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 12 updates in 7 topics

Comments: (0)

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

    Rahul Kaushik <rahulkaushik85@gmail.com> Apr 29 05:53PM +0530  

    Hi,
     
    I am developing an app which opens the phone dial er and user can make a
    call,i want to read the start time for that phone Call. i.e when user
    connected to that number .
     
    is this illegal ?
     
    Please Suggest
     
    Thanks
    RK

     

    sourabh sahu <souruitian@gmail.com> Apr 29 04:51PM +0530  

    I want to implement multicolumn autocomplete search in listView.
     
    I have a class Lets say Person with name, age, address as an attribute.Now
    I am
    creating a customadapter with Person class for listView.Now I want
    multicolumn autocomplete search i.e. if I type Name,age,address etc it
    will search.
     
    Regards,
    Sourabh

     

    Marina Cuello <marina.eariel@gmail.com> Apr 29 12:42PM -0300  

    You need to go to "Install new software..." and choose the "Android
    Developer Tools Update Site". Then select the tools you need to update and
    unmark the "Contact all update sites..." check. Then follow the update
    process and it will work.
     
    Marina
     
     

     

    Sheado <chadata@gmail.com> Apr 29 01:39PM -0700  

    Hi Android/Google,
     
    If my app uses MediaCodec to encode MP4 videos that our users create would
    I have to worry about licensing MP4 or is that covered by the device
    instead?
    I plan on using WebM wherever possible, but it seems that some devices are
    missing that encoder.
     
    Thanks!

     

    Abhilash Baddam <abhilash.androiddeveloper@gmail.com> Apr 29 10:54PM +0530  

    Hi All,
     
    I am getting the crash in 8"inch LG G Pad... specifications of this device
    is:
     
    *Size: 8.3" Resolution: 1920*1200 density: 240dpi*
     
    This device should pick layout from:* layout-sw720dp and *drawables from
    *drawable-xlarge-hdpi, *
    am i right?
    Can anyone help me on this...
     
     
    On Sat, Apr 26, 2014 at 11:44 PM, Abhilash Baddam <

     

    TreKing <trekingapp@gmail.com> Apr 29 02:48PM -0500  

    On Tue, Apr 29, 2014 at 12:24 PM, Abhilash Baddam <
     
    > I am getting the crash in 8"inch LG G Pad... specifications of this device
    > is:
     
     
    You should share what the crash is.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Peter Siegmund <peter.siegmund@gmail.com> Apr 29 02:45AM -0700  

    I've got a problem mit *rotating a view* with two fingers.
     
    My view is rotated to the specific angle and I *didn't move* my fingers on
    the screen. After that, the getX/getY returns new values because my
    underlaying view was rotated. I can't use getRawX/getRawY, because this
    functions didn't have any parameter for the pointer. Is there a way to calc
    the *raw-values* of getX/getY?

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 4 updates in 2 topics

Comments: (0)

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

    Nathan <nathan.d.mellor@gmail.com> Apr 28 11:38AM -0700  

    Okay, I installed updates to the Android SDK.
     
    It tells me that I need to update the ADT plugin and redirects me to Check
    for Updates.
     
    Checking for Updates says there are no updates. I checked the download site
    for the ADT and it matches.
     
    In the meantime, no Android targets are available.
     
     
    Nathan

     

    张张斌 <kimichangsign@gmail.com> Apr 29 10:10AM +0800  

    Me too! check every time when eclipse started.
     
     
     
    --
    如果邮箱有问题,请转至kimichangsign@sina.com

     

    Thorsten Jolitz <tjolitz@gmail.com> Apr 28 10:17AM +0200  

    >> thought I ask anyway ... thanks for any hints.
     
    > Run the emulator on a different machine and connect using TCP.
    > Or, better yet, develop on a real device.
     
    The latter is probably the way to go, thanks.
     
    --
    cheers,
    Thorsten

     

    Diego Torres Milano <dtmilano@gmail.com> Apr 28 10:15AM -0700  

    Use *-no-window* (disable graphical window display) argument and you can
    use if from command line (i.e. adb shell).
     
    On Monday, 28 April 2014 04:17:46 UTC-4, Thorsten Jolitz 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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 2 updates in 1 topic

Comments: (0)

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

    Thorsten Jolitz <tjolitz@gmail.com> Apr 27 04:41PM +0200  

    Hi List,
     
    I successfully installed Android on Archlinux and created and compiled
    my first test project with Emacs android-mode.
     
    ,--------------------------------------------
    | BUILD SUCCESSFUL
    | Total time: 9 seconds
    |
    | Compilation finished at Sun Apr 27 16:15:20
    `--------------------------------------------
     
    However, the tutorial for developing Android with Emacs
    (http://blog.refu.co/?p=1242) continues like this
     
    ,-------------------------------------------------------------------------
    | And now if you click on the applications icon inside the emulator and go
    | to the device's applications you should see one called test_activity
    | with a little Droid as an icon.
    |
    | Android test_activity
    | Click on the test_activity application and then you will see the
    | text that you wrote in the main layout xml file
    `-------------------------------------------------------------------------
     
    Since I like to work on the console (without X11) I ask myself if there
    is any way to use the emulator from the console? Most likely not, but I
    thought I ask anyway ... thanks for any hints.
     
    --
    cheers,
    Thorsten

     

    Nikolay Elenkov <nikolay.elenkov@gmail.com> Apr 28 10:23AM +0900  


    > Since I like to work on the console (without X11) I ask myself if there
    > is any way to use the emulator from the console? Most likely not, but I
    > thought I ask anyway ... thanks for any hints.
     
    Run the emulator on a different machine and connect using TCP.
    Or, better yet, develop on a real device.

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 8 updates in 4 topics

Comments: (0)

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

    gjs <garyjamessilva@gmail.com> Apr 25 11:30PM -0700  

    Hi,
     
    Look in your Google Play Console to see if there is any crash reports.
     
    Try adding code to your App to trap & email you details of any crashes,
    there are various libraries available to help you do this.
     
    Regards
     
     
     
     
    On Saturday, April 26, 2014 2:44:00 PM UTC+10, abhay_401 wrote:

     

    Abhilash Baddam <abhilash.androiddeveloper@gmail.com> Apr 26 07:58PM +0530  

    HI gjs,
     
    Thanks for the reply. My app is working without any crash in 7" and 10"
    tablet but issue with 8.3" tablet.
    Do I need to specifically add any layout folder or anything else...
     
     

     

    TreKing <trekingapp@gmail.com> Apr 26 11:22AM -0500  

    On Fri, Apr 25, 2014 at 11:44 PM, Abhilash Baddam <
     
    > I am suspecting the issue might be due to any layout file, but I am not
    > sure.
     
     
    Have you tried configuring an emulator instance to match this tablet's
    specs?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Abhilash Baddam <abhilash.androiddeveloper@gmail.com> Apr 26 11:44PM +0530  

    Hi Treking,
     
    Thanks for the reply...
     
    I tried to create an emulator with the specifications of the LG G tab and
    ran app so many times but every time emulator is behavior is strange. Its
    stopped working and a pop up comes with the message emulator stopped
    working.
    How can I run the app in emulator, do i need to make any settings for
    emulator so that I can run the app in emulator.?
     
     
     

     

    lbendlin <lutz@bendlin.us> Apr 26 04:28AM -0700  

    You could verify the first assumption by doing the distance calculation
    manually.
     
    On Friday, April 25, 2014 2:16:17 PM UTC-4, Nathan wrote:

     

    Nathan <nathan.d.mellor@gmail.com> Apr 26 09:52AM -0700  

    If I had the hardware, yes.
     
    As it is, I will have an end user try a single linear distance that is
    known to him and see how it compares.
     
    Nathan
     
    On Saturday, April 26, 2014 4:28:38 AM UTC-7, lbendlin wrote:

     

    dsurround <dsurround@gmail.com> Apr 26 08:04AM -0700  

    The speech recognition built into Android, supplied by Google, changed
    recently (within the last few months). It used to recognize the end of
    speech within 2 seconds of the last utterance. It now waits 10 seconds
    which is unacceptable to my voice based applications and an annoyance to
    any users. The parameters to set that time delay do not work. Will this
    be changed back so the default will be what it used to be? I highly
    recommend that approach. If not, please make the parameters have a real
    effect. Please advise.
     
    (My apps effected are Teachem US capitals, Talkteme and Tungs

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 6 updates in 5 topics

Comments: (0)

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

    Abhilash Baddam <abhilash.androiddeveloper@gmail.com> Apr 26 10:14AM +0530  

    HI,
     
    I have developed an application which supports all mobiles and tablets.
    But one of the user reported that the app is getting crashed after login
    when navigating to Homescreen.
    The user ran the app in LG G Pad 8.3 inch size tablet. Here I have tested
    app in both 7" and 10" tablet but I didn't get any crash but its crashing
    in 8.3" LG G pad.
    I don't have logs and tablet so that I could not be able to test or find
    root cause.
     
    LG G pad resolution: 1920*1200 (hdpi and xlarge) and size is 8.3inch
     
     
    Here in my app I used layout structure like this,
     
    res/layout-sw600dp/main_activity.xml # For 7" tablets (600dp wide and bigger)
    res/layout-sw720dp/main_activity.xml # For 10" tablets (720dp wide and bigger
     
    I am suspecting the issue might be due to any layout file, but I am not sure.
     
    Can anyone suggest me what can be the issue. Do i need to include and
    specific layout folder or drawable folder under res folder to support
    8.3". Usually from which it should pick layout files and drawable
    files for this 8.3 inch.
     
    I have read supporting mutilple screen article from developer site.
     
    Please guide me in this.
     
     
    Regards,
     
    Abhilash Baddam

     

    Nathan <nathan.d.mellor@gmail.com> Apr 25 11:16AM -0700  

    In one weekend, I suddenly got six reports that distance measure by GPS was
    way off. Way off. Like walk 500 feet and it says you just walked 32 miles.
     
    On further interrogation, ALL of these reports were from device model
    ME173X, the Asus Memo pad.
     
    Possibilities are the following:
    Getting erroneous or inconsistent results from the Location.distanceTo or
    Location.distanceBetween method. (Sounds really weird, but some behavior
    described by an end user could be caused by that.)
    Getting a bunch of noisy location data form the GPS. But this is already a
    common scenario, and they would see other effects from it.
     
    Anyone aware of any weird things from that device?
     
    Nathan

     

    Sam Duke <samduke474@gmail.com> Apr 25 09:57AM -0700  

    Im trying to show a camera preview to the user of arbitrary size. What I'd
    like to do is pick an appropriate camera size based on the size of the
    preview, then effectively do a center-crop of the camera output into this
    (ie maintain aspect-ratio of the camera preview). As far as i can tell, the
    camera by default stretches the camera onto the surface view so i need to
    make the surface view have the same aspect as the chosen camera size and
    then use another view to crop this.
     
    I've had some success by adapting the code from the (rather complicated)
    android Camera app. (from here)
    https://android.googlesource.com/platform/packages/apps/Camera.git/+/master
    I noticed that the app uses two modes of operation depending on whether
    surface textures are available. I didn't want to get into manually drawing
    onto canvases as that seems overkill for this so I essentially tried to
    take the surfaceholder implementation and flip the equality test in
    "PreviewFrameLayout" like so:
     
    if (longSide < shortSide * mAspectRatio)
     
    Right now i have the correct behaviour in a small preview, but if i try to
    make it the start of the screen the application seems to just quit (i think
    drawing off the screen causes an issue).
     
    SO I'm basically back at square 1 and I've been working at this for so long
    i figure i must just be doing something wrong. can anyone tell me what im
    doing wrong or if this is even possible? It feels like there is some
    fundamental limitation preventing me from having one view crop another...

     

    ANKUR GOEL <ankur1486@gmail.com> Apr 25 01:04PM +0530  

    Sorry for my bad ,
     
     
    heres example
     
    <ScrollView>
    <LinerarView>
    <RelativeLayout>
    </RelativeLayout> layout 1 some more items and when click
    they will expand
     
    <RelativeLayout>
    </RelativeLayout> layout 2 some more items and when click
    they will expand
     
    <RelativeLayout>
    </RelativeLayout> layout 3 some more items and when click
    they will expand
     
    <RelativeLayout>
    </RelativeLayout> layout 4 some more items and when click
    they will expand
     
    <RelativeLayout>
    </RelativeLayout> layout 5 some more items and when click
    they will expand
     
    Here when i click layout 4 the view will expand and the contents are
    going out of screen ,
    so i want to move the contents to be fit on screen
     
    Say layout shud move up when expanded .
     
     
    </LinerarView>
    </ScrollView>
     
     
     
    Thanks and Regards:-
     
    Ankur Goel
    09019040351
    S/W Engg.
     
     

     

    TreKing <trekingapp@gmail.com> Apr 25 11:15AM -0500  

    > out of screen ,
    > so i want to move the contents to be fit on screen
     
    > Say layout shud move up when expanded .
     
    I don't know what a "LinerarView" is, but you can try figuring out the y
    position of that view that expanded and then using:
    http://developer.android.com/reference/android/widget/ScrollView.html#smoothScrollTo%28int,%20int%29
     
    Or use an expandable list view, which seems like what you've described and
    does the whole "scroll to expanded section" thing automatically.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Jadranko Bodiroga <jadrankobodiroga1985@gmail.com> Apr 25 04:19PM +0200  

    xexexexexe..TreKing Rulesssss :)
     
     

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 3 updates in 2 topics

Comments: (0)

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

    Casvah <damccull@gmail.com> Apr 24 05:46PM -0700  

    Well I solved this one on my own, and here's the answer for anyone who
    wants to know: Apparently some USB 3.0 ports don't recognize the device
    quite properly unless it's already got a driver installed via a USB 2.0
    port. In other words, it doesn't recognize the adb portion of the device,
    only the mtp portion. If you first install it with the USB 2.0 port, then
    it works fine in the 3.0 ports as well!
     
    On Monday, April 21, 2014 11:14:44 PM UTC-7, Casvah wrote:

     

    ANKUR GOEL <ankur1486@gmail.com> Apr 24 05:55PM +0530  

    Hi all ,
     
    i am having one scroll View inside that i have multiple relative layout and
    have some fields in relative layout .
     
    When i click on any relative layout the layout is expanding but the
    contents are going out of screen .
     
    Can anybody help me so that the relative layout shud move up and the
    contents will fit to screen .

     

    TreKing <trekingapp@gmail.com> Apr 24 02:06PM -0500  


    > i am having one scroll View inside that i have multiple relative layout
    > and have some fields in relative layout .
     
    That's not possible as ScrollView only supports one direct child.
     
     
    > When i click on any relative layout the layout is expanding but the
    > contents are going out of screen .
     
    What is "the layout"? Why is it expanding?
     
     
    > Can anybody help me so that the relative layout shud move up and the
    > contents will fit to screen .
     
    Move up where?
     
    Your description is extremely vague and you will likely not get a good
    answer. Clarify your issue and it would probably help if you included
    pictures to go with it.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 8 updates in 4 topics

Comments: (0)

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

    Horrrorgoogle <dharma.kshetri@gmail.com> Apr 23 09:27PM -0700  

    Actually , i spent lots of time for this. but couldnot find proper solution
    for getting soap header in android.
     
    What i am doing in android look at this, I trying various method :
     
    *String NAMESPACE="http://tempuri.org/" ;*
     
    *String SOAP_ACTION="http://tempuri.org/ISimpleCustomHeaderService/DoWork"
    ;*
     
    envelope.headerOut = new Element[3];
    envelope.headerOut[0] = buildAuthHeader();
    private Element buildSessionHeader() {
    Element nodeElement = new Element().createElement(NAMESPACE, "web-node-id");
    nodeElement.addChild(Node.TEXT, "node");
    return nodeElement;}
    private Element buildNodeIDHeader() {
    Element sessionElement = new Element().createElement(NAMESPACE, "web-session-id");
    sessionElement.addChild(Node.TEXT, "session");
    return sessionElement;}
    private Element buildUserHeader() {
    Element userElement = new Element().createElement(NAMESPACE, "web-user");
    userElement.addChild(Node.TEXT, "user");
    return userElement;}
     
    ================================================================
     
    envelope.headerOut[0] = buildAuthHeader();------------------private Element buildAuthHeader() {
    String test = "ns";
    Element h = new Element().createElement(NAMESPACE, "Header");
    Element first = new Element().createElement(NAMESPACE, "web-user");
    first.addChild(Node.TEXT, "web_user_name");
    h.addChild(Node.ELEMENT, first);
     
    Element second = new Element().createElement(NAMESPACE, "web-node-id");
    second.addChild(Node.TEXT, "web_node_id");
    h.addChild(Node.ELEMENT, second);
     
    Element third = new Element().createElement(NAMESPACE, "web-session-id");
    third.addChild(Node.TEXT, "web_session_id");
    h.addChild(Node.ELEMENT, third);
    return h;
    }
     
    ====================================================
     
    List<HeaderProperty> headerList=getHeaderList();
    ------------
    androidHttpTransport.call(SOAP_ACTION, envelope,headerList);
    ---------------private List<HeaderProperty> getHeaderList() {
    List<HeaderProperty> headerList = null;
    try {
     
    headerList = new ArrayList<HeaderProperty>();
    // String security=HeaderUserName+":"+HeaderPassword;
    // headerList.add(new HeaderProperty("Authorization", "Basic " + org.kobjects.base64.Base64.encode(security.getBytes())));
    headerList.add(new HeaderProperty("web-user", "user Id"));
    headerList.add(new HeaderProperty("web-node-id","node id"));
    headerList.add(new HeaderProperty("web-session-id","session id"));
    }catch (Exception e) {
    e.printStackTrace();
    }
    return headerList;
    }
     
    androidHttpTransport.call(SOAP_ACTION, envelope,headerlist);
     
    =========================================== and
     
    Element[] header = new Element[1]; header[0] = new
    Element().createElement("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd","Security");
     
    Element ws = new Element().createElement(null, "web-user");
    ws.addChild(Node.TEXT, "First");
    Element wni = new Element().createElement(null, "web-node-id");
    wni.addChild(Node.TEXT,"Second");
    Element wsi= new Element().createElement(null, "web-session-id");
    wsi.addChild(Node.TEXT,"Third");
    header[0].addChild(Node.ELEMENT, ws);
    header[0].addChild(Node.ELEMENT, wni);
    header[0].addChild(Node.ELEMENT, wsi);
    // add header to envelope
    envelope.headerOut = header;
     
    Please suggest me what is method above correct set soap header
     
    *Would you recommend me how to get soap header in c#.*
     
    This problem is also publish on stackoverflow<http://stackoverflow.com/questions/23244189/soap-header-not-getting-in-android-and-how-to-get-soap-header-in-wcf>
    .

     

    genedyne <genedyne@gmail.com> Apr 23 11:02AM -0700  

    Here is the scenario:
     
    A smart phone is used to interface to a piece of equipment via WIFI (i.e.
    the equipment provides limited access point capability, and the phone
    connects to this).
    An application on the phone wants to send an email.
    It appears that (at least DEFAULT) behavior on phones is to route email via
    WIFI if connected, and the cellular provider if not connected via WIFI.
    Since the WIFI link in this case does not provide internet connectivity,
    the email SHOULD be routed to the cellular provider.
     
    Q1: Is Android smart enough to figure out that the WIFI link is NOT to the
    internet, and route the email to the cellular provider? If so, is this
    basic to android, or is it a feature that may or may not exist depending on
    the version and/or brand? This is the preferred solution, and I've noted
    Windows can determine if a network has internet access or not (but might
    know by doing something dumb, like pinging microsoft servers, etc.)
     
    Q2: Assuming Android is not 'smart enough' or cannot determine the WIFI
    link is not internet capable, is there a way for the application attempting
    to send an email to SPECIFY the email is to be routed via the cellular
    provider? I'm guessing this is unlikely, as a poorly written (or
    intentionally badly-behaved) application could rack up $$$ using cell data
    transfer when a perfectly good WIFI link was available.
     
    Thanks.

     

    Robert Greenwalt <rgreenwalt@google.com> Apr 23 11:28AM -0700  

    Q1 - not today. We're working on this.
     
    Q2 - not easily.
     
    Is this a common scenario for you?
     
    Regards,
    Robert
     
     

     

    genedyne <genedyne@gmail.com> Apr 23 06:33PM -0700  

    Thanks. Working on it today means it can't be relied upon, even when
    finally released, as there are allot of old phones out there...
     
    We are just bringing an industrial tool to market that operates as
    described. I don't believe there is an easier way to configure the system
    (using bluetooth instead of WIFI might work, as it would not divert email
    routing into a black hole, but we need the range of WIFI).
     
    The current work around is having the user drop the WIFI link, send the
    email, then turn the WIFI link back on (if required).
     
    Cheers,
    Robb.
     
    On Wednesday, April 23, 2014 2:28:14 PM UTC-4, Robert Greenwalt wrote:

     

    genedyne <genedyne@gmail.com> Apr 23 06:37PM -0700  

    For that matter, as the IoT grows, I'd expect there will be plenty of other
    situations where the same issue will arise. I really doubt we're the only
    ones to be so 'creative' ;-)
     
    On Wednesday, April 23, 2014 2:28:14 PM UTC-4, Robert Greenwalt wrote:

     

    Robert Greenwalt <rgreenwalt@google.com> Apr 23 07:37PM -0700  

    How about trying wifi first?
     
     

     

    Raymond Rodgers <raymond@badlucksoft.com> Apr 23 01:27PM -0400  

    Is the alarm working while the screen is on, but it's failing when the
    screen is off? If so, you may need to implement a wakelock or partial
    wakelock for it to work properly.
     
    On 04/19/2014 09:11 AM, Sunil.K wrote:
     
    --
    Raymond Rodgers
    http://www.badlucksoft.com/
    http://anevilgeni.us/

     

    "Danny S." <danny.schimke@googlemail.com> Apr 23 06:55AM -0700  

    Hi,
     
    I have a (read-only) database with appointments. I need to store these
    appouintments into the Android calendar using the CalendarProvider.
    There is no sync needed. I don't know how to identify an event (by it's ID)
    to prevent duplicate entries of the same appointment. Additionally I don't
    know which appointments to remove if they no longer exists on DB.
    Can I save an event with a custom ID or does it come from the API?
     
    What I want:
    1. Add events to the Android calendar.
    1.1. If the appointment already exists it should not stored twice (no
    duplicates).
    2. Remove events that no longer exists on server side.
     
    Thank you very much in advance, hope someone can give an advice.
     
    -Danny Schimke

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 7 updates in 6 topics

Comments: (0)

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

    Russell Cecala <red.cricket.blog@gmail.com> Apr 22 07:21PM -0700  

    In the Google Play Store my app has this APK info: version code 4, version
    name 4.0 and main.4.com.redcricket.MyBigFatApp.obb
     
    You can see the screen shot here where I asked this question of SO:
     
    http://stackoverflow.com/questions/23233215/google-expansion-pack-library-not-using-correct-version-on-main-obb-file
     
    ... that proves (right?) that I used ...
     
    android:versionCode="4"
    android:versionName="4.0">
     
    ... in my `AndroidManifest.xml` file. I checked that when I install the app
    it downloads main.4.com.redcricket.MyBigFatApp.obb to the correct location
    but according to logcat the app is looking for ...
     
    04-22 18:13:03.513: I/MyBigFatApp(8455): expFilesDelivered()path_and_fileName
    = [/mnt/sdcard/Android/obb/com.redcricket.MyBigFatApp/main.1.com.redcricket.
    MyBigFatApp.obb] DOES NOT EXISTS RETURNING FALSE
     
    I use almost identical code for other app and they work just fine and not
    all of them are version 1. What could possibly be causing this? Is there a
    bug in Google Play?

     

    MathieuB <blanchmh@gmail.com> Apr 22 01:35PM -0700  

    If I understand your situation correctly, you shouldn't be using in-app
    billing if it's to buy flowers.
     
    Refer to this section
    : http://developer.android.com/google/play/billing/billing_overview.html#products
     
    "You can use In-app Billing to sell only digital content. You cannot use
    In-app Billing to sell physical goods, personal services, or anything that
    requires physical delivery."
     
    So you should be looking at something like paypal? stripe? etc.
     
    Le mardi 22 avril 2014 00:19:18 UTC-4, Michael Leung a écrit :

     

    Casvah <damccull@gmail.com> Apr 22 04:09PM -0700  

    They're non-moveable for a reason. You would need to have a rooted phone
    with special functionality to move them to an sdcard. Even then, you can't
    move apps with widgets or apps that have services you want to keep running
    because if the card gets unmounted it'll crash them.
     
    On Saturday, April 19, 2014 7:11:15 AM UTC-7, Josphat Muchiri wrote:

     

    Piren <gpiren@gmail.com> Apr 22 03:44AM -0700  

    Haven't checked this group for a while, good to see you're still here :)
     
    On Tuesday, April 22, 2014 1:59:03 AM UTC+3, TreKing wrote:

     

    Casvah <damccull@gmail.com> Apr 21 11:14PM -0700  

    When trying to install the driver for my n4 in MTP mode, windows reports
    "The folder you specified doesn't contain a compatible software driver for
    your device. If the folder contains a driver, make sure it is designed to
    work with Windows for x64-based systems."
     
    The problem happens with revision 9 of the driver. I used to be able to
    install in MTP mode without problem, but now windows won't let me. Is there
    something accidentally missing from the driver file that I have to wait for
    google to fix, or is there something I can do to make this work?
     
    I also tried Koush's universal adb driver. It installs fine, but I do not
    see my device in the output of adb devices with this driver.
     
    It seems to work just fine and dandy if I put the device in PTP mode, but
    that limits my ability to transfer files onto most parts of my device.
     
    What happened and how can I fix it?

     

--
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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 19 updates in 6 topics

Comments: (0)

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

    Michael Leung <michaelchikit@gmail.com> Apr 22 02:19PM +1000  

    I know if I process the in-app payment to activate some extra features in
    my app.
    I have to use google checkout. But If I process some payment in the real
    world, for example, I build an app for flower shop, they want to pay their
    order. Can I add other payment options?
     
    --
    Regards,
    Michael Leung
    http://www.itblogs.info - My IT Blog
    http://diary.skynovel.info - My Blog
    http://www.michaelleung.info - My Homepage

     

    Mahmoud Mortada <mody.mortada@gmail.com> Apr 21 08:12PM +0200  

    Hi all
    I want an algorithm to analyze sounds working on android.

     

    TreKing <trekingapp@gmail.com> Apr 21 05:59PM -0500  


    > I want an algorithm to analyze sounds working on android.
     
    Cool. I want a unicorn that shits gold and farts rainbows.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Alvin Schurman <alvin.schurman@gmail.com> Apr 21 07:33PM -0400  

    I would also like that unicorn...
     
    In the meantime, here is a link to a paper benchmarking several FFT
    implementations on Android (PDF):
    http://compmus.ime.usp.br/sbcm/2013/pt/docs/pos_tec_4.pdf
     
    You could also ask Google about "fastest FFT for Android" for some
    nice posts from stackoverflow.
     

     

    Mahmoud Mortada <mody.mortada@gmail.com> Apr 22 01:54AM +0200  

    Thanks Alvin, so I need to implement FFT with c++ .

     

    Mahmoud Mortada <mody.mortada@gmail.com> Apr 22 01:55AM +0200  

    Lol What a machine! If you got it share it with us .

     

    Nathan Barraille <nathan.barraille@gmail.com> Apr 21 03:54PM -0700  

    Hello,
    I am working on reducing the memory usage of my application, and it looks
    like one of the part that consumes a lot of it is the application Resources
    class that gives access to all my drawable pngs. I didn't find a lot of
    documentation on how it deals with memory, but it looks like it loads the
    png that are in my res/drawable/* folders when they are needed, and they
    are actually never released from memory.
    I have a couple questions about this:
    - Is this really what happens?
    - Are all screen density images loaded, or just the one adapted for my
    device?
    - Where kind I find more info about this?
     
    I have a bunch of pngs that are only being used once (Splash screen
    background, onboarding screens, etc...), but running the Eclipse MAT, it
    looks like they're never released from the Resources.
    - Is there a way to unload them from the memory once they're not needed
    anymore?
    - It looks like there is a method for flushing the Resources
    (http://developer.android.com/reference/android/content/res/Resources.html#flushLayoutCache()),
    but according to the doc it should only be used for tracking performances.
    Is it unsafe to use in my context?
    - Should I just not put large images in my res/drawable folder and decode
    them manually from the disk so that they don't get stored in Resources at
    all? If yes, where is a good place to store this kind of files?
     
    Thanks!

     

    sourabh sahu <souruitian@gmail.com> Apr 21 02:54PM +0530  

    Dear All,
     
     
    I am looking for any algorithm or program through which we can detect
    the quality of a building through its image.Lets say I have a photograph of
    some building, i want to know the condition of building.Is there anything
    that can be done to do this.
     
     
    Any help will be highly appreciated.
     
    Regards,
    Sourabh

     

    TreKing <trekingapp@gmail.com> Apr 21 06:43AM -0500  


    > I am looking for any algorithm or program through which we can detect the
    > quality of a building through its image.Lets say I have a photograph of
    > some building, i want to know the condition of building.
     
     
    What is "the quality" or "the condition" of a building?
    What does this have to do with Android?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    sourabh sahu <souruitian@gmail.com> Apr 21 05:48PM +0530  

    Look at these two images of the same building, one is in bad condition and
    another is good one.I want to develop a program differentiate that.
     
    Regards,
    Sourabh
     
     

     

    TreKing <trekingapp@gmail.com> Apr 21 08:26AM -0500  


    > Look at these two images of the same building, one is in bad condition and
    > another is good one.I want to develop a program differentiate that.
     
     
    What if the image of the "bad condition" is intentional? Like an artistic
    aesthetic? What about the interior? What about the 2 or 3 sides of the
    building you can't see from a 2D image?
    This doesn't really seem possible.
     
    Also, again, what does general, high-level question have to do with Android?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    sourabh sahu <souruitian@gmail.com> Apr 21 11:22PM +0530  

    Because I want to do that in android, thats y I have posted this here..
     
     
    > On Mon, Apr 21, 2014 at 7:18 AM, sourabh sahu <souruitian@gmail.com>
    wrote:
     
    >> Look at these two images of the same building, one is in bad condition
    and another is good one.I want to develop a program differentiate that.
     
    > What if the image of the "bad condition" is intentional? Like an artistic
    aesthetic? What about the interior? What about the 2 or 3 sides of the
    building you can't see from a 2D image?
    > This doesn't really seem possible.
     
    > Also, again, what does general, high-level question have to do with
    Android?
     
    -------------------------------------------------------------------------------------------------
    > 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.

     

    TreKing <trekingapp@gmail.com> Apr 21 05:58PM -0500  


    > Because I want to do that in android, thats y I have posted this here..
     
     
    You are asking for a solution to a high-level, conceptual problem. You're
    looking for a generic algorithm. Nothing you've asked is specific to
    Android.
     
    Regardless, I doubt your problem is solvable, given the issues I mentioned
    already.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Sanchiski <sanchiski@gmail.com> Apr 21 11:35AM -0700  

    Did you get any solution on that?
     
    On Saturday, April 9, 2011 9:22:42 AM UTC+2, chen ji wrote:

     

    chaozh <chaozhn@gmail.com> Apr 20 11:41PM -0700  

    I'm using PopupWindow to develop a Menu style UI. The content view of
    PopupWindow is created programmatically. The outer view is a scrollview and
    it has a new LinearLayout, the fragment codes is like:
    public class ContainerView extends ScrollView {
    ...
    public ContainerView(Context context) {
    super(context);
    init();
    }
    public ContainerView(Context context, AttributeSet attrs) {
    super(context, attrs);
    init();
    }
     
    private void init() {
     
    ...
     
    mContentView = new LinearLayout(getContext());
     
    mContentView.setOrientation(LinearLayout.VERTICAL);
     
    FrameLayout.LayoutParams layoutParams = new
    FrameLayout.LayoutParams(LayoutParams.MATCH_PARENT,
    LayoutParams.WRAP_CONTENT);
     
    layoutParams.bottomMargin = mArrowHeight;
    addView(mContentView, layoutParams);
     
    }
     
    I just want to dynamically create Menu item before showing PopupWindow, so
    my codes can accept a user customized Menu item layout and inflate it when
    user call addMenu function.
    But I also want to reuse Menu item view if user dismiss PopupWindow and
    reshow again! So I setVisibility with GONE when PopupWindow is dismissed
    and visible it when addMenu is called, the codes just like:
    public void addMenu(int id, String title, Drawable d) {
    View v = mContainerView.getMenuView(mMenus.size());
    mMenus.add(new MenuItem(id, title, d));
    if (null != v) {
    v.setVisibility(View.VISIBLE);
    } else {
    v = ((Activity)mContext).getLayoutInflater().inflate(mMenuResId, null);
    mContainerView.addMenuView(v);
    }
    * TextView text = (TextView)v.findViewById(mTextResId);*
    text.setText(title);
    text.setId(id);
    text.setOnClickListener(mViewOnClickListener);
    if (mImageResId > 0) {
    ImageView img = (ImageView)v.findViewById(mImageResId);
    img.setImageDrawable(d);
    img.setId(id);
    img.setOnClickListener(mViewOnClickListener);
    }
    }
    The Menu window can display without any error at the first time, but if
    dismiss it(touch screen out of PopupWindow) and click button to show it
    again, the exception is raised. The TextView object in the bold line is
    null. I debugged and the Menu item view is valid and also contains a valid
    TextView, but the id of *TextView is 0, *Why? I don't know who reset the id
    the TextView. I added breakpoint in onDismiss listener and found the ids of
    all Menu item view are cleared. I have no idea about it. Could you please
    help me take a look? How could I fix it?
    Thanks a lot!

     

    chaozh <chaozhn@gmail.com> Apr 20 11:49PM -0700  

    Additional:
    The LinearLayout contains the Menu Item view, if there is a Menu Item view
    in LinearLayou, it will be reused in next show, If there is no enough menu
    item view in LinearLayout, the new one will be created. The problem as I
    described, the GONE menu item view has correct View Id which is provided in
    XML layout. they are cleared with 0 or -1 after PopupWindow is dismissed. I
    don't know what's happened, what's the mechanism of Android View design.
    Your any help are appreciated!

     

    chaozh <chaozhn@gmail.com> Apr 20 11:50PM -0700  

    Additional:
    The LinearLayout contains the Menu Item view, if there is a Menu Item view
    in LinearLayou, it will be reused in next show, If there is no enough menu
    item view in LinearLayout, the new one will be created. The problem as I
    described, the GONE menu item view has incorrect View Id which is provided
    in XML layout. they are cleared with 0 or -1 after PopupWindow is
    dismissed. I don't know what's happened, what's the mechanism of Android
    View design.
    Your any help are appreciated!

     

    chaozh <chaozhn@gmail.com> Apr 21 02:04AM -0700  

    Did some testing, Removing all Menu item views from LinearLayout after
    PopupWindow dismiss and creating new items again if showing, no problem
    found, But why? ScrollerView, LinearLayout and menu item views are all
    created dynamically, why can't we reuse menu item views? why their ids are
    0 after dismiss popupwindow? who did it? Did I miss something in my codes?

     

    chaozh <chaozhn@gmail.com> Apr 21 02:03AM -0700  

    Did some testing, Removing all Menu item views from LinearLayout after
    PopupWindow dismiss and creating new items again if showing, no problem
    found, But why? ScrollerView, LinearLayout and menu item views are all
    created dynamically, why can't we reuse menu item views? why their ids are
    0 after dismiss popupwindow? who did it? Did I miss something in my codes?
     
    Thanks & Regards,
    Chao
     
    On Monday, April 21, 2014 2:41:07 PM UTC+8, chaozh 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/d/optout.

[android-developers] Digest for android-developers@googlegroups.com - 1 update in 1 topic

Comments: (0)

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

    "Enrique López Mañas" <eenriquelopez@gmail.com> Apr 20 11:52PM +0200  

    Yes, you should. According to the JavaDoc:
    http://docs.oracle.com/javase/7/docs/api/java/net/HttpURLConnection.html
     
    Each HttpURLConnection instance is used to make a single request but the
    underlying network connection to the HTTP server may be transparently
    shared by other instances. Calling the close() methods on the InputStream
    or OutputStream of an HttpURLConnection after a request may free network
    resources associated with this instance but has no effect on any shared
    persistent connection. Calling the disconnect() method may close the
    underlying socket if a persistent connection is otherwise idle at that time.
     
     
     
    --
    Enrique López Mañas
     
    *Twitter:* http://twitter.com/eenriquelopez
    *Google+:* http://goo.gl/1PLi2a
    *Phone:* +34 655 155 199 (ES)
    +49 157 84281461 (DE)
    *Site:* http://www.lopez-manas.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/d/optout.