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
4
votes
2 answers
Error inflating class button
I just started learning Computer Science and Android development. I've been going through some helloworld demos to try and learn.
So going wild, I tried to rewrite a program that has one button for two buttons using the onClickListener. While I…

Tye Hetherington
- 43
- 1
- 3
4
votes
1 answer
Fragment Inflate Error When Changes Orientation
Ok, here is the problem, i have one Fragment Activity that has two fragments inside it. One is a ListFragment and the other a Fragment. So, i want to display the Fragment depending on which item is selected. Here is the problem. If i start this…

Gabriel Bastos
- 540
- 1
- 7
- 16
4
votes
3 answers
inflate in merge
Hi I'm trying to inflate my layout with tag here is my main.xml :

Kęstas Venslauskas
- 391
- 1
- 5
- 14
3
votes
4 answers
Android: Inflating layout takes to long
Found a Solution!
I now use a ViewPager instead of a ViewFlipper.
The Views are now generated within my run() method (which is already there because I fetch data from the web) and saveed in a Map.
In my Handler I only call…

amfa
- 51
- 1
- 6
3
votes
1 answer
How to put an activity into a fragment?
I have a ViewPager with 3 pages. In each page, I would like to insert a listview which is populated in seperate classes. Now, I found the simplest method is by inflate layouts which has a fragment in it. Lets say I have 3 pages.
In page 1 I inflate…

borislemke
- 8,446
- 5
- 41
- 54
3
votes
1 answer
Fragments with custom list adapter causing crash on inflate view
I am attempting to convert one of my apps to use Fragments to improve how the app looks and works on ICS / Honeycomb but I've come across a problem which although I've spent many hours Googleing and reading answers on here I can't seem to find a fix…

stecooper
- 48
- 5
3
votes
2 answers
Inflate XML file from internal memory
I've copied an XML file from /assets to my applications data folder (data/data/package.name/files/). I'm doing this because the user will be able to modify a lot of data, and I want to save that data to the internal memory and then load it again…

Snailer
- 3,777
- 3
- 35
- 46
3
votes
1 answer
how to know when view has inflated using the onFinishInflate
I want to know when my TabActivity has inflated so i tried this code
@Override
protected void onFinishInflate() {
super.onFinishInflate();
}
i get the error: must override or implement a supertype method
I cannot understand why that is…

Erik
- 5,039
- 10
- 63
- 119
3
votes
1 answer
Some Users having issues with App, Resource Loading, I am unable to replicate.. Image/Drawable load
I have an App that was working perfectly, then I released an update and now suddenly some users cannot inflate the main view.. it is dying on inflation of the XML on line 28 with a nested exception of
Resources$NotFoundException: File From…

Speckpgh
- 3,332
- 1
- 28
- 46
3
votes
4 answers
java.util.zip.deflater equivalent in c#
does anyone know how can I achieve java's Deflater.deflate() functionality in .NET so it would be understandable for java's Infalter.inflate() method?
regards,
Rafal

Rafal Szumilas
- 31
- 1
- 3
3
votes
1 answer
Z_DATA_ERROR midway through inflate
I need to decompress some zlib compressed files found within a game's save data. I have no access to the game's source. Each file begins with 0x789C which tells me that they are indeed compressed with zlib. However, all calls to inflate on these…

mrg95
- 2,371
- 11
- 46
- 89
3
votes
2 answers
Android inflating xml layout generates RuntimeException
I'm new to Android and i'm trying to inflate a layout in xml but i get a RuntimeException. I have cut out almost everything except for my activity class and the class extending SurfaceView.
Can anyone tell me what i'm doing wrong?
main.xml:

Henrik
- 31
- 1
- 2
3
votes
2 answers
Error `invalid distance too far back` when Inflate HTML gZIP content
I want to inflate HTML webpages. I am using zlib functions
inflateInit2(&zstream,15+32);
and then
inflate(&zstream,Z_SYNC_FLUSH);
It works for lots of webpages correctly but for "www.tabnak.ir" it does not work correctly.
invalid distance too far…

sam
- 1,363
- 1
- 20
- 32
3
votes
2 answers
Updating a Deflating Dictionary before Reinflating
If I use the java.util.zip.Deflater to compress a piece of text with a set dictionary of "apple orange banana" for the sake of argument, do I have to use this exact dictionary to decompress the text?
If I were to use a more up to date dictionary to…

Qor
- 153
- 5
3
votes
1 answer
C++ and zlib, help deflating a string
I've been trying to deflate and inflate a string, and this works:
char text[600] = "Testing deflating and inflating";
char out[600];
uLong ucompSize = strlen(text) + 1;
uLong compSize = compressBound(ucompSize);
// Deflate
compress((Bytef *)out,…

Clara
- 31
- 1
- 2