problem

Calling TextView.setText() periodically causes the UI to jerk

I'm coding an audio player where a thread updates the TextView representing the track's elapsed time, every 250 milliseconds. The display looks like this: 1:30/2:30<-----Progress Bar-----> TextView 1 is 1:30/ and TextView 2 is 2:30. Both are set to wrap_content for width. What happens is that on every 250 millisecond cycle, the thre...

Why is Wordpress Jquery broken?

Well I have really strange problem with the wordpress and with Jquery. Since few week ago when we upgraded the hosting, the Wordpress Jquery in the ACP and in some parts of the widgets on the site is broken. I tried disabling plugins it's same. Tried reinstalling and not adding any plugin, still same. Tried downloading and adding new Jqu...

Eclipse problem keeps opening old versions/copies of the files

I am having problem with my Eclipse PDT version. I keeps opening older version of a file until I close it and open it again. So what is happening. I edit a file with Eclipse - test.php. I close it. Then I compare it (test.ph) with another one in WinMerge, save the changes and when I open the file again in Eclipse it is still the same as...

nil values magic

I have faced the plain simple situation, that i can't figure out. I have to deside, whether to show the "more" link, depending of the articles count The code is plain simple @no_more = offset + length >= Article.count @no_more variable equals to nil sometimes. I see in debugger, that offset=0, length=10 and Article.count=12 But the...

Ensuring data is in date order using 2 paged lists

I have a 2 streams of data both of which contain date information. I get 10 items from the first which is a SQL database and 10 items from the second which is a Twitter feed. When a request comes in to get more data it then retrieves the next 10 items from each source. The problem I have spotted is that second set of 10 items from t...

jqVideoBox problem in Explorer?

Hello, I want to show a video in my site and I decided to use the jqVideoBox plugin. Everything works ok. The only problem I have is that in Internet Explorer 8, the actual video change its size and thus the padding I am using is not working for the right size. It is like being cut on the right site. Is anyone know how to solve this pro...

Contact API problem for 1.6 & 2.2

Hi All, I am looking for the solution to get contact details (Phone, Email, Zip) from the device. I have implemented code for OS 1.6 as well as for 2.2. I am building an application with API level 4 (1.6), but when I run the build in 2.2 device I am getting email and phone string null. CODE - for OS 1.6 public void ImportCustomers(C...

ajax problem in firefox while retrieving <select name='value'> value

dear all, i'm getting this problem with firefox and not with IE. In first combo, i'm getting roles: <tr> <td>Select Role:</td> <td> <select name="usrrole" onChange="showuser(this.value)"> <option value=''>Please Select</option> <?php $rle = "select * from role_table"; $dorle = mysql_query($rle); while($data = mysql_fetch_arra...

AS3 ScrollPane Component scroller problem

AS3 ScrollPane Component scroller, When i test the project locally, scrollbar works fine, when i put my project to my website, scroller do not scroll when i want to drag it up and down. Something prevents it to scroll? what? ...

Terrible Eclipse (3.5) - problem with "Install new software"

I want to install additional software for Eclipse (I use 3.5 because 3.6 is not yet for Scala and Android). Problem is: The downloads / installations are INSANELY slow, I didn't get past 5% on the ADT plugin (for example) in one hour - same for everything else I tried Firefox (no other software so far, IE works fine, etc...) is slowed...

Views 6.x-2.11 problem

Hi all, I have Views 6.x-2.11 installed as well as image attach module on my system. I'm having a hard time making Views to display multiple images attached to a node. It just shows one image only and that's it. First I thought, slideshow module is at fault and, I removed it and use unformatted style setting instead to make sure if that'...

Automatically FirstView controller calls second view controller in viewdidAppear.

Hi friends, I am using 2 views in navigation controller in a tab bar. In that First view controller in navigation should automatically call the second view controller without showing First view controller ( by pushing pushviewcontroller on viewdidAppear). The issue is when i click on the tab bar on first time it goes to Second view...

Problem with posting in Facebook Wall with PHP. Why it wokrs only in Firefox?

Hello, I want to post in my Facebook page Wall a message through my web page. I manage to do this with the next code: <?php $config['baseurl'] = "http://....facebook/index.php"; if ($fbme){ if (isset($message)){ try { $statusUpdate = $facebook->api('/me/feed', 'post', array('message'=> $message, 'picture'=> ...

Updating recent updates - Problem in procedure - Any other approach?

I have a Section in my website called Recent Updates. in that I will show the latest 5 updates at first when the page is rendered. When a New update is done at real time, the new update will be appended to the top of the updates list and the last one will be deleted. My approach: For this problem, what im doing is, First i renders th...

UIimagepicker controller image only selection

Hi all, I have to give functionality to select photos by the user. I have used this. ipc.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; Now I have to restrict user to select only photos and i want videos to be not displayed on the list. Or somehow user should not select video at all. Please suggest some way out. Than...

JAVA JDBC Jtds problem to establish a conection

guys i'm with a Hell Problem!! :| i want to make a access to my sql database than is placed in ASUS\MSSQLSERVER1 and database names "Test" with access to user teste with password teste in java code i coded this: @Test public void TesteTemp() throws SQLException, InstantiationException, IllegalAccessException, ClassNotFoundExceptio...

Rails 3 Authlogic - 'acts_as_authentic' undefined

I'm getting the following error: NameError (undefined local variable or method `acts_as_authentic' for #<Class:0x1037e6310>): app/models/user.rb:2 app/controllers/user_controller.rb:3:in `new' I'm using Rails 3.0.0, with Ruby 1.8.7. Authlogic is in my Gemfile as follows: gem 'authlogic', :git => "git://github.com/binarylogic/auth...

Session data lost between pages PHP?

I am making a news add form using post method. In the second page i make data validation. I define the variables like $message = $_POST["message"] and after that $_SESSION['message'] = "$message"; after that I echo the session var and everything look fine the data appear. And when I click to send which go to another page to add the data ...

MetaData Problem: SymmetricSecurityBindingElement

I am figuring out someone else's code and I am trying to generate a proxy out of one of the services and it generates the following error... System.InvalidOperationException: An exception was thrown in a call to a policy export extension. Extension: System.ServiceModel.Channels.SymmetricSecurityBindingElement Error: Specified argument w...

Android 2.1 Insert contact problem

Hi! I am working on a contact import for Android 2.1. The following snippet is wokring: Intent in=new Intent(Intent.ACTION_INSERT, ContactsContract.Contacts.CONTENT_URI); in.putExtra(Insert.NAME, "Mark Maier"); in.putExtra(Insert.PHONE, "1234567"); in.putExtra(Insert.PHONE_TYPE, CommonDataKinds.Phone.TYPE_FAX_WORK); startActivity(in); ...