size

Three20 Image Gallery - Shows Oversized Image, Then Focuses

I have used the Three20 Framework to setup an image gallery in my iPhone App. I am sending in the specific width and height for each image, but when I view the individual images, they load at a slightly oversized size, they are a bit pixelated, and then they focus down to the correct size/ratio. Most of the images are 300 x 400 and I a...

Maximum size of zipped file to unzip in iphone sdk?

I have one zip file that i want unzip .the size of this file is 70 MB. but application is crash when i unzip file. its run fine for 40 MB file. what i can do to unzip 70 MB file ? ...

[Actionscript3] How to specify width and height when loading external swf file??

Hi guys I am trying to load an external swf file. The swf width and height is small and I want to enlarge it when loading it. (My scene has large width and height). My current code could load the file but I am not sure how to enlarge the swf width and height. I would appreciate if anyone can help me about it...Thanks var request:URLR...

Three20: Change the CGSize of a Thumbnail?

Hello all. I was wondering if there is a way to set the size of the Thumbnails in in the TTPhotoViewController from the three20 framework? So far I found out, the images need to be 75x75 px while I'd like them to be more of a rectangular shape i.e. 60x75 px.... Thanks in advance! ...

C - read string from buffer of certain size

Hey, I have a char buf[x], int s and void* data. I want to write a string of size s into data from buf. How do I do that? Thanks in advance. ...

How can I upload large (30Mb) files in a ASP.NET application ? (VB) I've tried raising MaxRequestLength, but no luck..

How can I upload large (30Mb) files in a ASP.NET application ? (VB) I've tried raising MaxRequestLength, but no luck... I'm using the FileUpload control, I already googled this issue a bit, and people seem to solve it by raising MaxrequestLenght on the web.config file. I did that, and it didn't work. I also raised it on the code, and s...

delphi - calculate directory size API?

hi, Anyone knows other way to get a directoy's size, than calculate it's size by counting file with file? I'm interested on some win32 API function. I've google it about this, but i didn't found relevant information so i'm asking here. Best regards, PS: I know how to calculate a directory size by using findfirst and findnext and sum...

Something like RestoreBounds for WindowState

Hi, I have an application that is starting minimized. I can set RestoreBounds to set to which size will the window restore when user restores it. But how can I set if the form should restore to maximized or normal state? Normal is by default. I wish there was something like RestoreWindowState. Can I do this using API somehow? ...

Set flex application size

Hi, I have set the size of the application container width="1040" height="716" When I run the application, I get a clipped version of the application. I am using a 1024 X 768 monitor. I understand that the size of the application is greater than than of the available browser space, so where do I set the application to have scroll to s...

Set.size() doesn't match the number of elements in iterator

Why doesn't Set.size() match the number of elements in the set's iterator? I'm using a HashSet, and I added some duplicate values. Those duplicates were automatically eliminated since I used a set. Set.size() is returning 16. When I actually iterate over the elements, I get 13. What can be causing this difference? Am I doing it rig...

C# application GUI breaking on different Windows icon/text size settings

http://i.imgur.com/OXfC7.png I have a c# form application that has a fixed size (cannot be resized) and cannot be maximized. Users who have a different setting for their icon/text sizes breaks my GUI (the entire form is bigger, background images start tiling, etc. Help? ...

HTML Page Size - page weight

Hi all, I have to measure the over all page size of all the pages on my company's intrAnet site. Please let me know how I can measure / calculate it. Expectation : I open the intrAnet page in IE/Firefox. After it is completely loaded, the tool or utility should give me the complete size of page. PS : Complete size of page means :Accu...

How to get byte size of multibyte string

How do I get the byte size of a multibyte-character string in Visual C? Is there a function or do I have to count the characters myself? Or, more general, how do I get the right byte size of a TCHAR string? Solution: _tcslen(_T("TCHAR string")) * sizeof(TCHAR) EDIT: I was talking about null-terminated strings only. ...

Guess a buffer size and recall an api function or call it everytime twotimes to get exact buffer size

I want to retrieve the version information of msi-package(s) What's the better way? First: Guessing a buffer that is large enough and recall if it doesn't fit (ERROR_MORE_DATA) 1 func call vs. 3 func calls and buffer can be bigger then needed Second: Call the api function to get the buffer size and then recall it to get the string w...

How does this "size of array" template function work?

Possible Duplicates: Can someone explain this template code that gives me the size of an array? Magic arguments in function templates Can someone explain how this code works? I know that the purpose of this code is to get the length of an array, but I don't know how this code works: template<typename T, int size> int GetArr...

Physical size of font in points in Android

Hello. I have two devices - HTC Tattoo and Sony Ericsson Xperia X10. One has 145 DPI, the other 245 DPI. When I specify font size for a TextView in points, like this: textView.setTextSize(TypedValue.COMPLEX_UNIT_PT, 6.5f); I get different physical size of text on these two devices. On 245 DPI, the text is barely readable. Now, "pt"...

Specifying width and height as percentages without skewing photo proportions in HTML

I was wondering if in the width and height attributes, I could specify width and height as percentages? Well, I guess that is obvious, because when I try so, it resizes, but it appears to skew the quality of my image. Here is an example of my markup with fixed attributes: <img src="#" width="346" height="413"> Now, while trying to ...

Android: Measure/detect covered area by a finger touch on screen (NOT only touch coordinates)

Hi I would like to get access to the area covered by a finger for each touch event on an Android. Every touch event will result in a coordinate pair X and Y independent of how big the finger and consequently the touch area is that triggered the event. I was wondering if there is a way to get the area data which triggered the touch eve...

Problem reading files greater than 1GB with XMLReader

Is there a maximum file size the XMLReader can handle? I'm trying to process an XML feed about 3GB large. There are certainly no PHP errors as the script runs fine and successfully loads to the database after it's been run. The script also runs fine with smaller test feeds - 1GB and below. However, when processing larger feeds the scr...

Android max ping size less than 64K

Hi, doing some tests with my ADP1 (version 1.6) I noticed that the maximum ping that I can send when it's connected with wifi (ad.hoc or with a router) is of 57740 bytes, shouldn't be 64K? I think it's related with the receiving buffer, do somebody know how to modify it or how to get information about it? ...