» Home » size » Page 1
How to select font size and stil being future compatible depending on screen density/size/size of images in Android
Category : Android

I create a game board with squares. The size of each square (both height and width) is phone_pixel_width/number_of_squares to maximize the size of each square on the game screen depending on resolution (oh and I do not support mdpi devices, thus it does not get to small).


Now my problem is that I also write text in these squares. If I use the same font size for HVGA screens and for


View Replies


AudioCache Heap size overflow issue req size: 1053184, max size: 1048576
Category : Programming Languages

I am developing an app where i want to play two mp3 files simultaneously one as background music and want to control the sound of each player separately. The file size is 5 mb each


i have done with main audio file but when i try to play second file with it it throws error


SoundManager mSoundManager = new SoundManager();
mSoundManager.initSounds(getBaseC

View Replies


ERROR/AudioCache(493): Heap size overflow! req size: 1052672, max size: 1048576
Category : Programming Languages

I got Sound Error in My application, would you suggest me for right approach


08-23 12:43:45.560: ERROR/AudioCache(493): Heap size overflow! req size: 1052672, max size: 1048576


I make A class soundManage to manage the sound and every time in new class , I make it object and try to play sound effect in the game.


import java.util.HashMap;
import andr

View Replies


On a USB Mass Storage Class device, is the block size equals to the cluster size? How to determine the cluster size of a usb drive?
Category : Web Design

On a USB Mass Storage Class device (usb stick e.g. 4gb), how do you determine the 'cluster' size.


The cluster here, is taken from the context of Fat32 file system.


Using SCSI commands, I could determine the logical block size, i.e. 512 bytes.
Is this the same as the cluster size? Can this be considered as cluster size?


For a diskless device like this, i


View Replies


how to get web page size, browser window size, screen size in a cross-browser way?
Category : Web Design


how to get windowWidth, windowHeight, pageWidth, pageHeight, screenWidth, screenHeight, pageX, pageY, screenX, screenY in IE/FireFox/Chrome/Opera? or jquery, GWT?
as showed in picture above!


thanks!


View Replies


MIPS: If Instruction size is 2 byte, will the register size be the same? or register size is optional?
Category : Programming Languages

I am studying computer architecutre, and I want to know if register size depends on instruction size for the MIPS? In most of the diagram given, it's a 4 byte register with 4 byte instruction, but in the exercise, it is given 2 byte instruction.


View Replies


NicEditor font size mody from <font size='1'> tag to <span style='font-size: 8px'>
Category : Web Design

Hi I am using NicEditor and I want the font size work in defferent way bec. rightnow the editor uses the:


<font size='1...7'>the selected text here</font>


I wan't it to become a span tag i.e.


<span style='font-size:30px'>the selected text here</span>


Here is the code for the dropdown:



View Replies


Batch script to list the files above a specified size inside a folder ordered by Size
Category : Programming Languages

I have this code to list the files above a particular size inside a folder?
But I want the list to be in sorted order by "Size"


Could anyone please help me with this?


@echo off & setLocal EnableDelayedExpansion
pushd D: emp_files
for /f "tokens=* delims= " %%a in ('dir/b/s') do (
if %%~Za gtr 1000000 echo %%~nxa%tab% %%~Za%tab% %%~ta >>t

View Replies


How to reduce AlertDialog.Builder title font size and positive button size?
Category : Programming Languages

Is it possible to reduce the AlertDialog.Builder title font size and positive button size? If yes, Just let me how to do?


View Replies


Program/Approach to find max heap size and max perm gen size for any system configuration?
Category : Programming Languages

To Test the max heap size and max permgen space, As per reply suggested by Gilli at Max amount of memory per java process in windows?, i wrote a simple java class with main method just printing system out


when i ran the class from Console with below param it ran fine but with 2048 it gave the error could not reserve Could not reserve enough space for object heap. It means for my s


View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .