» Home » Stuffs » Page 1
Do GUI stuffs on the doInBackground
Category : Programming Languages

I read about asyncTask and learnt that onPostExecute and onPrExecute are used to update the UI while doInBackground is used to do heavy operation on another thread.

I was wondering, would it be "bad" to do GUI update on the DoInBackGround. For example, displaying a Toast etc.

Why I want to do that? Because sometime I want to use the results of this long operations to d

View Replies

how to separate string value of the another stuffs?
Category : Web Design
UIAlertView *myAlert=[[UIAlertView alloc]
initWithTitle:@"Logging in" message:@"you are a member in our website
Welcome Dear %@ ",UserName.text

this code is showing error for me because i put in the string variable wich is the text of a text fie

View Replies

Drag stuffs, Actionscript 2.0 to 3.0
Category : Programming Languages

I have done a drag and match flash stuff by using Actionscipt2.0, but now I need to change it to 3.0. After I changed it, the flash can no longer drag the stuffs, can anyone please take a look at the code to see which part I was converting it wrong. Thanks.

Actionscript 2.0 version:

var randomPositionFrame = int(Math.random()*9)+1;

View Replies

Python: calling 'curses' twice stuffs up my terminal
Category : Programming Languages

I'm using curses for a puzzle in a terminal game (Mac OSX, Python 2.6.5). The puzzle involves spinning some dials to open a lock. My code, somewhat simplified (excuse the ugliness):

import curses
dial = ["| -1 |","|-1/3 |","| 0 |","| 1/2 |","| 2/3 |","| 1 |"]
clear = " "
pointer = " ^ "
subdials = [clear,clear]
d = {'d0':{},'d1

View Replies

removing extra stuffs from content creation page (Drupal 6.x)
Category : Coding

Drupal 6.x

How do I remove collapsible frames - "Authoring information","Revision information", "Publishing Options" - from content creation page? For what is worth, I'm logging in as a regular user and I don't want these controls to be presented to regular users.
P.S : I also like to remove save/preview buttons as well.

View Replies

Best way to flush or clear Ajax “temp” stuffs in IE7
Category : Programming Languages

Can any one please let me know, that, i need to clear the "temp" files every time i run the ajax process using php.

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .