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
6
votes
1 answer
Non symmetric java compression
I have a data sample:
byte[] b = new byte[]{120, 1, -67, -107, -51, 106, 20, 81, 16, -123, 107, 18, -51, -60, 31, -30, 117, -4, -53, -60, -123, 25, 70, 71, 23, -111, 89, 12, 8, -83, 49, 4, -14, -93, -63, 73, 32, 89, -55, -112, -123, 10, -30, 66, 69,…

user2078222
- 135
- 10
5
votes
3 answers
Error parsing XML: unbound prefix on custom LinearLayout
I found this example of Custom LinearLayout on stackoverflow but it throws errors when i try to run it, can someone find what's wrong with it?
Custom LinearLayout:
package com.example.androidapp.widgets;
import android.content.Context;
import…

Yaqub Ahmad
- 27,569
- 23
- 102
- 149
5
votes
1 answer
How do I Inflate a Custom View in XML?
This is my first time trying to use a custom view in XML and I am not sure on how to do it. Any help would be greatly appreciated.
I am using Interfuser's coverflow and need to inflate it where I can use it in a XML format so i can add other…
user742030
5
votes
1 answer
Length values from deflate algorithm
I compressed the text "TestingTesting" and the hex result was: 0B 49 2D 2E C9 CC 4B 0F 81 50 00. I can't figure out the length and distance codes. The binary below is reversed because the RFC says to read the bits from right to left (thanks…

ItsJustMe
- 137
- 1
- 1
- 6
5
votes
3 answers
Android: android.view.InflateException: Binary XML file line #13: Error inflating class in SAMSUNG Galaxy S
I am having a strange error that seems to occur only in Samsung Galaxy S with Android 2.2 (I've tested the application in Motorola Milestone 2 Android 2.2 / Xperia X10 Android 1.6 / Nexus One Android 2.2 / Google G1 Android 1.5 and 1.5 emulator and…

pandre
- 6,685
- 7
- 42
- 50
5
votes
1 answer
Inflating a view multiple times in the same parent when a button is clicked
My app is about creating surveys. In order to do so, the user should be able to create new fields dynamically.
So, when creating a new survey, an Activity is shown with only 2 buttons (add and delete). When a user clicks the add button, a row…

Tivie
- 18,864
- 5
- 58
- 77
5
votes
1 answer
Including Android Activities (and their layouts) in JAR files
I'm trying to write a library that can be shared as a JAR file. This library will include an Activity and I'd like to include the layout in the JAR. Since it doesn't seem possible to include resource files in a JAR and I don't want the end-users to…

Jeremy Logan
- 47,151
- 38
- 123
- 143
5
votes
2 answers
Using JavaScript to inflate a blob?
I'm using a websocket to send a Jpeg image in blob form. I've compressed (gzipped) the blob but I'm unable to find a way to decompress it using JavaScript. Does anyone know how?
This is the code I'm using to read the blob and then convert it into…

Joey Morani
- 25,431
- 32
- 84
- 131
5
votes
0 answers
DEFLATE after Substitute on Apache Proxy Server
I've got a problem in configuring Proxy on Apache. I want to:
get a content from a website (Deflate or not) ;
apply a filter on it to substitute some text on the body of the page ;
resend the page to the client after apply the Deflate filter to the…

user1913376
- 51
- 4
5
votes
1 answer
Placing a Drawable object in a view on a layout in an Android fragment
I think the title covers it :) I have a drawable object that fetches .png photo which I can manipulate with gestures. I also have a xml layout with a background image that is supposed to be behind this drawable object. Everything happens in a…

3mpetri
- 599
- 1
- 9
- 26
4
votes
2 answers
android.view.InflateException: Binary XML file
I'm getting this strange error in the logcat and I've tried everything that came to my mind to solve it and still getting it.
Here is the logcat:
11-08 12:30:26.184: E/AndroidRuntime(4396): FATAL EXCEPTION: main
11-08 12:30:26.184:…

androide
- 71
- 1
- 6
4
votes
1 answer
Android - Inflating ListView
I am trying to populate a listview where each row has 2 textviews and a button. I think I nearly have it working properly but right now the ListView only shows 1 item in the ListView and ignores the other data. I also have 2 xml files (shelfrow.xml…

Plokoon
- 125
- 2
- 4
- 9
4
votes
2 answers
Android inflate view using an existing view object
I have a custom view that I would like to create from a resource template. My custom view constructor accepts additional parameters that are set as additional info for the custom view.
Problem is when I inflate the view I get a view object that is…

faridz
- 729
- 1
- 9
- 9
4
votes
1 answer
Reading very large gzip file in JavaScript on client side without node.js
I want to make a javascript routine that works like GzipInputStream in Java, to read very large gzip file on client side without using node.js.
This is my code (not working yet), inspired from here :
function ab2string(buf) {
var str = "";
var…

dhany1024
- 133
- 2
- 9
4
votes
3 answers
On what conditions getChildView() is called in ExpandableListAdapter
In my app, getChildView() inside my ExpandableListAdapter isn't being called while the adapter returns the correct child count (when getChildrenCount() is called).
My question is; what are the conditions that need to be met, in order to have…

D.Ginzbourg
- 490
- 7
- 22