Is there any release plan to provide following feature

by sushil » Sat, 19 Sep 2009 10:32:08 GMT


Sponsored Links
 Hello,
I want to log follwing events in Android.
1) URL typed in browser and also URL for redirected page, response
code of request.
2) Download initiated by browser, in that what is MIME type of
content, content size(Bytes)
3) Receive call back when Music , Video started , paused or stopped.
4) Log position of activity Icon in Launcher activity.

But currently there is no any API or system service is available.
Is there any plan to provide these API/Service ?
If Yes , when it will be available ?

Please provide answer to these questions,

Thanks in advance.

Regads,
Sushil



Other Threads

1. Editing XML files using DOM in Android

Hi all ,
I am developing an application where i need to update a value in an
XML file according to the value entered by the user  and send this
updated file to some server.I am using DOM to do this ..but the
problem is that the function setNodeValue does not seem to
work ....When i print the value after changing the content it gives
the same value as before ...

Code:

                         NodeList list = null;
                        DocumentBuilderFactory dbf = 
DocumentBuilderFactory.newInstance();


                        //xmlFile = fileName;
                        try
                        {
                                DocumentBuilder db = dbf.newDocumentBuilder();
                                InputStream istream = null;
           istream=(this.mCtx).getResources().openRawResource
(R.raw.currencyconverter);
                            xmlDoc2 = db.parse(istream);

                        Element docEle = xmlDoc2.getDocumentElement();
                        list = docEle.getElementsByTagName("Variable");
                         for (int j = 0; j < list.getLength(); j++)
                    {
                        Node child = list.item(j);
                        if (child.getNodeType() == Node.ELEMENT_NODE) {
                       Element element=(Element)child;
                       setTextValue(element,"contentvalue","1000");
        System.out.println("This is the text value"+getTextValue
(element,"contentvalue"));


                        }
                    }

                        }

                        catch (Exception e)
                        {
                                e.printStackTrace();

                        }
This is the setTextValue method :

 private static void setTextValue(Element ele,String tagName,String
Value)
         {


        try {
                 NodeList nl = ele.getElementsByTagName(tagName);
                 if (nl != null && nl.getLength() > 0)
                 {

                          Element el = (Element) nl.item(0);

                         if (el.getFirstChild() != null)
                         {
                                 el.getFirstChild().setNodeValue(Value);
                              // This is the statement which does not
seem to work

                         }

                 }
        }
            catch (Exception e)
            {

             e.printStackTrace();

            }

         }



Please help.... i am not able to understand what is happening .
THANKS.


--~--~---------~--~----~------------~-------~--~----~

2. Android design question

The system in place to pass information between the screens... I am
confused why the team chose to reinvent the wheel via the putExtras
methods.  Instead of making the transport objects inherit from
Parcelable and the like, why not just use Java's OO strength and set
objects to Activities themselves.  For instance, like this:


class Caller extends Activity {
   public on buttonClick() {
          ThisScreen ts = new ThisScreen();
          ts.SetCustomValue(10);

          startActivity(ts)
   }
}

class ThisScreen extends Activity {
   public void onCreate() {
       txtBox.setText(Integer.toString(i));
   }

   public void SetCustomValue (int i) {
            ...
   }
}

Instead we are having to unnecessarily learn new concepts.  Was there
a compelling reason to implement it they it's implemented that I am
not seeing?

Thanks.

--~--~---------~--~----~------------~-------~--~----~

3. startActivityForResult problems

4. SSL client authentication

5. What's the bar at the top of the screen called?

6. Touchscreen PenMoun

7. does anyone try using this application - PHONEPLUS CALLBACK?