Help needed regarding HTTPClient

by Viju » Fri, 20 May 2011 09:34:06 GMT


Sponsored Links
 Hi,

Is it possible to get all the HTTP URL request triggered by the
browser (Apache) from my client application ?
If then, can you please tell me the framework API which gives me the
URL ?


I'm developing some kinda of HTTP sniffer application for android
which will log all the HTTP Url request made by the native browser
(Apace) and store it in a local file.

-- 



Other Threads

1. Please help in getting screen coordinates of a view

Hii All,

I am developing a game in android and i want to capture screen
coordinates of a view(ImageView) which is embedded in frame.

Hierarchy is
<LinearLayout android android:layout_height="fill_parent"
android:layout_width="fill_parent" >
     <RelativeLayout android:layout_height=fill_parent"
android:layout_width="fill_parent" >
           <FrameLayout android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:id="@+id/frame14"></FrameLayout>
   </RelativeLayout>
</LinearLayout>

At run time i am attaching two image views for frame layout.I wanted
to capture screen coordinates of frame layout.But Couldnt do it.if i
say

(FrameLayout) f=(FrameLayout)findViewById(R.id.frame14);
int[] loc = new int[2];
f.getLocationOnScreen(loc);
System.out.println(loc[0]);
System.out.println(loc[1]);

I get Null Pointer Exception for getLocationOnScreen() method.

If I try to get f.getLeft() and f.getRight() they return as 0
coordinates.

Can anyone please tell me how to find location on screen of a view.

I tried even in onStart() method,,,still i get Null Pointer Exception.

Please tell me how to get screen coordinates of a view in android.

It is very urgent.Please help.

Thanks
Kavitha
--~--~---------~--~----~------------~-------~--~----~

2. Can i convert AMR to MP3 OR WAV in my activity?

Hi Android Experts,

i want to convert recorded AMR sound into mp3 or WAV within my
activity, is there any method or package i can use?

i am using this activity for recording:

Intent intent = new Intent
(MediaStore.Audio.Media.RECORD_SOUND_ACTION);
 startActivityForResult(intent, SELECT_AUDIO);

this gives me amr content uri but my question is , how can i get the
mp3/wav uri?

i posted this question long ago but still no solution, please help me
as i am really stuck on this.

Thanks
--~--~---------~--~----~------------~-------~--~----~

3. Rename media file

4. What is the best price to charge for an app?

5. eclipse is not talking to android

6. If the bluetooth is build as module not build in, where is better to insmod it

7. Error while Lauching Music player