inflate is the decompression counterpart to the lossless compression algorithm and format deflate. The deflate format was created by Phil Katz of PKWare for the PKZip (.zip) archive format. Public domain software provides deflate and inflate functionality in the gzip utility and the zlib library. (Note that this tag has nothing to do with Android view inflate.)
Questions tagged [inflate]
357 questions
3
votes
1 answer
Is there a function for inflate (zlib/miniz) which return upper bound of inflate/decompress size?
I know that zlib/miniz provides compressBound which returns a upper bound of deflate/compress size, according to plain-text size. That's convenient.
Is there a function for inflate (zlib/miniz) which return upper bound of inflate/decompress size?
Or…

junfx
- 123
- 8
3
votes
1 answer
zlib inflate decompression operation
I have a data buffer which contains multiple compressed members, it could be deflate or zlib compressed member.
I found that zlib inflate call returns Z_STREAM_END after processing the first compressed block, Here multiple compressed member can be…

ronex dicapriyo
- 161
- 1
- 2
- 12
3
votes
5 answers
how to convert double to string in android
i want to convert string in my constructor into double, i can't change it in my constructor, because in one process, the variable must in double, and other class must be string, can you tell me the way to convert it..? this is my constructor…

Aoyama Nanami
- 2,532
- 9
- 32
- 50
3
votes
2 answers
How to create multiple copies of ImageView object programmatically?
I have an ImageView object, R.id.tile, defined in my XML layout, and what I'm trying to do is create clones of it and place each of them at different coordinates.
This is what I have so far:
protected void onCreate(Bundle savedInstance)
{ …

LanguidLegend
- 53
- 2
- 2
- 6
3
votes
1 answer
Android 4.2: IllegalstateException: One or more children of this LayerDrawable does not have constant state
Since the new update from Android 4.1 to 4.2 on my smartphone, my app throws an exception, when it initializes a ViewPager and its Activities.
The Exception:
java.lang.IllegalStateException: One or more children of this LayerDrawable does not have…

Mossos
- 97
- 1
- 11
3
votes
1 answer
Multiple inflated views in loop for
I want to show several ListView views, each with its corresponding title in a LinearLayout.
I have a LinearLayout, I inflate a view to fill the title and ListView and add that view to the LinearLayout in a loop, but only one title and list appears…

Sterling Diaz
- 3,789
- 2
- 31
- 35
3
votes
3 answers
Read with Ruby a Zlib string created with Node.js
Some pieces of our app are written in Ruby and others are written using node.js.
We share data among them using a redis store that stores zlib chunks.
We write to it with the following code using node:
zlib.deflate(xml.toString(), function(error,…

Julien Genestoux
- 31,046
- 20
- 66
- 93
3
votes
1 answer
BaseAdapter selecting item and processing issue
I have a ListView which extends BaseAdapter. I have a data[] array. The ListView inflates and populates correctly. What I am trying to do is make a ImageView visible on the list item (basically a check image on the right side of the inflated view)…

lumpawire
- 468
- 1
- 7
- 16
3
votes
5 answers
getting Fatal Exception caused by admob
I have an app on the market using admob and now I would like to update my app. When I test this new version I get a Fatal Exception caused by the admob.
04-06 15:09:04.123: E/AndroidRuntime(409): Caused by: android.view.InflateException: Binary XML…

kmb
- 73
- 1
- 2
- 9
2
votes
1 answer
how to inflate a list view to a fragment
i am using fragment in my application.there are 5 tabs.in 1 tab i need to inflate a list view on a button click.given below is my code for that tab.
public class TabStoreLocatorFragment extends Fragment implements OnClickListener {
private Button…

andro-girl
- 7,989
- 22
- 71
- 94
2
votes
1 answer
What's the different between javascript deflate and java.util.zip.Deflater
I wrote some Javascript code.
compress with base64 and deflate
function base64 (str) {
return new Buffer(str).toString("base64");
}
function deflate (str) {
return RawDeflate.deflate(str);
}
function encode (str) {
return…

littletiger
- 651
- 1
- 8
- 14
2
votes
2 answers
How to use zlib in kernel extension projects for mac os x?
I want to develop a network kernel extension on mac os. I got some data with gzip format in function sf_data_in(). I included the header file named , and my mac crashed when it was running the code below after I loading the kext with…

kyle
- 21
- 1
2
votes
2 answers
Reading big chunk of xml data from socket and parse on the fly
I am working on an android client which reads continues stream of xml data from my java server via a TCP socket. The server sends a '\n' character as delimiter between consecutive responses. Below given is a model implementation..
…

Krishnabhadra
- 34,169
- 30
- 118
- 167
2
votes
1 answer
Inflate balloon when item is selected
I have a map activity that has many pins of map, and when I click a pin, a custom balloon opens, showing some information about that pin. Also, I have a search bar, where if you type the name of a knob, the info appears there, but I want it to go to…

Ovidiu Birgu
- 439
- 2
- 6
- 24
2
votes
1 answer
Android custom listview
hello all
i am working on project to display tasks for employee , and these tasks needs to sets the tasks status by employees i handle this by menus to make update stats this is the array adapter
public class MyArrayAdapter extends…

khwileh
- 39
- 7