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. cropped picture with ImageView?

Dear developer,

I'd like to show a picture with the ImageView, but the picture should
be cropped.

Lets say the original picture is 250x250.

I'd like to show a 100x100 part of it.

To show the complete picture:

<ImageView android:id="@+id/bildchen"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/bildchen" /

My first idea was to exchange wrap_content against 100px:

<ImageView android:id="@+id/bildchen" android:layout_width="100px"
android:layout_height="100px" android:src="@drawable/bildchen" />

But this didn't work at all. The picture just was stretched
proportionally.

So I played around with the attributes android:scaleType and
android:adjustViewBounds and android:cropToPadding - without any
results yet.

My last shot was to load the picture into the background instead of
the src.

Who helps me out on this?

Greetings,
Marco

-------------------------------------------------------------------------------------------------------------------------------------------------------------

Lieber Entwickler,

ich wrde gerne bei einem ImageView ein Bild in Originalauflsung
darstellen, allerdings abgeschnitten.

Sei die Grafik 250x250 Pixel gro.

Allerdings will ich nur 100x100 als Auschnitt darstellen.

Um das Bild vollstndig darzustellen:

<ImageView android:id="@+id/bildchen"
android:layout_width="wrap_content"
android:layout_height="wrap_content" android:src="@drawable/bildchen" /

Nun hatte ich gehofft, wenn ich statt wrap_content eine absolute Gre
eingebe, wurde die Grafik abgeschnitten werden:

<ImageView android:id="@+id/bildchen" android:layout_width="100px"
android:layout_height="100px" android:src="@drawable/bildchen" />

Leider wird das Bild proportional verkleinert. Ist ja schon mal nicht
schlecht, aber fhrt nicht zum gewnschten Ergebnis.

Ich hab dann mit den Attributen android:scaleType und
android:adjustViewBounds und android:cropToPadding rumgespielt aber
kein Ergebnis erzielen knnen.

Auch der Versuch die Grafik statt im src in den background zu laden
hat nicht den gewnschten Effekt erzielt.

Wer kann mir helfen?

Gru
Marco

PS: ich mchte spter mittels Tween Animation die Grafik in dem WIdget
scrollen; beispielsweise wie der On/Off Button beim iPhone...

-- 

2. Obtain unicode string for Roslien Language

Hi,

I have an assignment to be completed.
The assignment needs sms texting service facility in Roslien Font (for
each  English alphabet we have a corresponding alphabet in Roslien,
something like  Wingdings) for Android platform.
On going through the posts available on different forums in internet,
I observed that in order to send a different language text, I need to
send the sms as a unicode string.
The problem is,  I have no  clue on how to obtain the unicode string
for a completely  new font , Roslien.
I have a " .ttf "  file for the font which as such which contains the
alphabets in the language.

Please help me , how do I obtain unicode string for the particular
font.

Thanking You,

Regards,
Srikant Aggarwal
Android Developer

-- 

3. Is it possible to always use a custom Instrumentation?

4. Database management

5. *Sharing SOFTWARE-SOFTWARE yang Keren-keren dong. Kira-kira APA?

6. *Sharing SOFTWARE-SOFTWARE yang Keren-keren dong. Kira-kira APA?

7. Bottom second Nexus