Hi all,
I would like to display the gallery item the user clicked on in full screen, however, only if it is the item in the center.
If the clicked item is not in the center I would want it just to be centered.
Any idea how to distinguish the item which is currently in the center from all other items?
Thanks, Rob
I am doing this assignment, and there are some stuff (from start-up materials) that I cannot comprehend.
typedef enum
{
NORTH,
EAST,
SOUTH,
WEST,
NUM_POINTS
} Point;
typedef Point Course[NUM_POINTS] ;
I don't get the idea behind the last line , and how can I use it in the code?
I can get the active window's process, but I have no idea how to get the location of that process, as far as I can see the process object only has ProcessName property which just returns like chrome instead of C:\pathtochrome\chrome.exe
How can I get the latter because I'm trying to get the process's File Description attribute, but I need the full path to it.
Hi,
I'm a beginner of ASP. I'm maintaining at ASP 1.0 page and I want to reload the page with an additional parameter when user click client-side URL.
The objective is to export the table currently display in Excel. So I want to reload the page with a special parameter that would tell the page to change the ResponseType to be Excel data.
Any idea ?
Thanks
I'm getting drawing cache of the view, that is set as contentView to the Activity. Then I set new content view to the activity and pass that drawing cache to it. But Android recycles my bitmaps and I'm getting this exception:
06-13 01:58:04.132: E/AndroidRuntime(15106): java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@40e72dd8
Any way to fix it? I had an idea to extend Bitmap class, but it's final. Why GC is recycling it?
Hi All,
I would like to display a DatePicker where the year field would be visible or not, according to a checkbox.
But I didn't find anything giving me a way to implement it.
Any idea please ?
Thanks in advance.
A client of mine needs the ability to expire pages on specific dates. When that date arrives, the page should be inaccessible (possibly switch to a non-published state) and should not appear in all menus.
Any idea how to go about this?
When I added the JExcelAPI http://jexcelapi.sourceforge.net/ to the
class path and run my app, I get:
trouble writing output: shouldn't happen
[2009-07-16 14:32:19 - xxx] Conversion to Dalvik format failed with
error 2
any idea?
thanks
Hi,
I have a flex application and need to show the real time data into the chatrs and datagrids.
Eralier we are used Httpservices to showing the real time data and historical data into charts and datagrids. But now we are going to replace the Httpservices to remote objects.
So which places generally need to change. I have a little bit idea about remote objects.
Thanks,
Ravi
Any idea how I can overlay the following two functions to compare them?
ln[1]:= p1 = Plot[(E^((Pi/6)^(1/3)/x) (Pi/6)^(2/3))/((-1 + E^((Pi/6)^(1/3)/x))^2 x^2), {x, -2.2, 2.2}]
ln[2]:= p2 = Plot[(E^((Pi/6)^(1/3)/t) (Pi/6)^(2/3))/((-1 +
E^((Pi/6)^(1/3)/t))^2 t^2), {t, 0, 2.0}]
When I try Show[p1,p2] it doesn't work
I have a requirement where in I want to redirect to an external Url
Here is my code
in routes.rb
map.connect "/myapp/:someparam" ,
:controller = "foocontroller" ,
:action = "redirect_to_external_url"
In my foo controller i have this action
def redirect_to_external_url
redirect_to "http://externalurl.com/#{params[:someparam]}.html"
end
which will redirect to the external url
The problem That I am facing is
After redirecting, The browser shows "http://externalurl.com/bar.html whereas I want the browser to show "/myapp/bar" url (ex http://mydomain.com/myapp/bar) for seo purpose.
Any idea on how this can be achieved in rails ?
The Rails version that I am using is 2.3.4
Im trying to set up a AMP installation on my windows 8 laptop. However, Im not being able to get PHP to talk to MySQL. When I start apache server, the following error log is generated
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_mysql.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_mysqli.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line ..
Any idea why this could be happening?
I was wondering (if possible) if there was a program/tool/utility that when I create a new file and provide it with an extension that it creates the tags automatically?
For example, a new file I create called index.php would have the appropriate tags auto-generated inside:
<?php
?>
I hope you get the idea. Does one, or could one, exist, preferably Windows based?
Any information regarding this would be helpful.
I have developed an App for the Amazon Kindle Fire HD.
While distributing I got a report from amazon that its not running on almost all Kindle devices and a blackscreen is displayed. They send me a logcat log file and I found out that it's not possible to load some assets directly from APK file (accessing via C++ and zlib).
Everything is running fine if I start it via Eclipse.
Any idea whats going wrong?
Thanks!
Dear Cocoa Developers,
I'm creating a backgrounded cocoa application. The only thing that it's missing is the ability to take text inputs!
I'm making the application backgrounded by setting "Application is background only" in the Info.plist
But no matter what I do I can't make any window the keyWindow.
makeKeyWindow
makeKeyAndOrderFront
Both don't work...
I know apps can do this, anyone have any idea how you can get background application to have a key window?
Thanks,
JPoz
I want to develop an ebook application for iPhone.
I'm new to iPhone developement, so don't have much idea about how to proceed.
What I know is, I need the following:-
iPhone SDK
Intel Mac running mac OS X
Xcode (?)
Please indicate is that correct and how I can proceed to build an ebook application.
Thanks.
Hi,
I have a DHTML layer that floats across a webpage. Everything is working with the DHTML layer, except when it goes pass the Windows Media Player toolbar. It goes behind the toolbar. Any idea how to fix this?
Thanks in advance for your help.
Hi
I need function which returns:
for any number from range = result
[0.001,0.01) => 0.01
[0.01,0.1) => 0.1
[0.1,1) => 1
[1,10) => 10
[10,100) => 100
etc.
My first idea was to use if, but this the worst way. Is there a simple solution?
I am in the process of creating a Ruby on rails portal
This portal requires a lot of data feeding by the site owner's back-office personnel.
My client has this problem :
the office staff should not be able to access the back office interface from any other than his office computers
I have no idea how to achieve this. Is there a method for this?
Thanks in advance.
Hello.
I'm using the AjaxToolkit in asp.net project c# code.
I have a script managet and an update pannel in my page. It all works perfect.
The only problem is that I can't figure out how to show the Ajax loader gif while the request is processed.
Any idea?
TY
Hello,
I am using feedparser for parsing from XML file.But I couldn't parse <geo:lat>, <geo:long> tags using feedparser from that file! Do you people have any idea how I can parse those tags using feedparser in python?
Thanks in advance!
hi,
I want to do custom tableview which scrolls horizontally.If you see this URL
If you go to SUPERLIST tab in flash iphone simulator,you can see one column is differed from other columns which scrolls horizontally.any idea to do this?any help please?
Been there, done that - but got no idea... If you ever had ideas as to what sort of sites might be popular these days (and are not going to keep them in secret), please share them. People might wish to implement them.