Is there a way to disable the status bar in iPhone web apps? I'm working on something that requires a fixed, fullscreen view, and the status bar is rather annoying.
Hi!
I am looking for an elegant way to get the OS version like: "Windows XP Professional Service Pack 1" or "Windows Server 2008 Standard Edition" etc. Is there an elegant way of doing that? I am also interested in the processor architecture (like x86 or x64).
cheers
Hi,
how do I download and archive full web pages (HTML, CSS, JS, images) on the iPhone?
I know how to download the single files. But is there any existing approach to get all files (e.g. all included javascripts), which are linked with a particular web page?
I'm loading profile pictures from Facebook, cache them on disk and load them into cells of a UITableView.
Now I'm wondering, how I can find out when someone has changed his/her profile picture on Facebook that I have to load the new image from the web instead of using the one cached disk.
The url of the image is always the same. Is there a…
I wanna do something like this:
int main() {
try { runApp(); }
catch(std::exception const& ex) {
if(runningInDebugger()) throw; // let the IDE show me what went wrong
else displayMsgBox("Something went wrong! " + ex.what());
}
}
Needs to work at least in VS2008 but the more debuggers it supports, the…
I have seen people say that BeOS was a very good platform and it was very nice to program for it etc.
What was so special about it? What does it get you (as a programmer) that another OS doesn't?
I have this (simplification):
$(li).click(function{alert("test");});
<li>
<input>
</li>
What's the best way to bind an event to li but not fire when the user clicks on the input element?
What's the easiest way to create a simple HTTP server with Java? Are there any libraries in commons to facilitate this? I only need to respond to GET/POST, and I can't use an application server.
What's the easiest way to accomplish this?
if i got a c++ executable file like this: executable.exe and i want to add some parameters like:
executable.exe +username = pino
how do i get in c++ that i filled in pino as my username?
i got an iframe in an echo:
<iframe width='100%' height='100'>$content</iframe>
$content = eval ( "\$bugs = \"" . gettemplate ('bugs') . "\";" );
but it doesnt work.
how can i use the eval function from php to show the page in an iframe?
thnx!
If I have a instance method and within this method I do something like this:
NSString *peopleString = [peopleList componentsJoinedByString: @", "];
...
UILabel *likeLabel = [[UILabel alloc] initWithFrame:CGRectMake(16.0+6.0f, 4.0f, 252.0f, 12.0f)];
[likeLabel setText:peopleString];
[likeLabel setFont:[UIFont fontWithName:@"Arial"…
Im using the Windows Media Player OCX in a program runned on hundreds of computers (dedicated).
I have found out that when video acceleration is turned on to "full", on some computers it will cause the video to fail to play correct, with green squares between movies and so on. Turn the acceleration to "None" and everything is…
I have the following question regarding MVVM light: what "drives" the UI? I see I can have a ViewModel per View I am showing; the ViewLocator handles all the ViewModels (for caching as I understand). But what is driving the UI?
If I have a Command defined in my ViewModel that says "ShowDetail"; do I have to write the code for…
Hi,
I am trying to pass @intDocumentNo and @intCustomerNo to a stored procedure using VBA but only @intCustomerNo is updated in dbo.tblOrderHead. I don't think the problem is with the procedure because if I enter the values manually it runs properly.
What am I doing wrong?
VBA Code:
Private Sub intCustomerNo_Click()
Dim…
I need to be able to build all directories up to and including the directory specified by my File object. For example, suppose I have something like this:
File file = new File( "/var/a/b/c/d/" );
But only /var/ exists. I need a method that builds up to d, and I was wondering if there was a method in a java io library…
Hello,
I have a clas with 3 dependency properties A,B,C. The values of these properties are set by the constructor and every time one of the properties A, B or C changes, the method recalculate() is called. Now during execution of the constructor these method is called 3 times, because the 3 properties A, B, C are…
I got an adress example: 0x003533 , its a string but to use it i need it to be a LONG but i dont know how to do it :S has anybody a solution?
so string: "0x003533" to long 0x003533 ??
I'm currently working on a class which exposes an internal List through a property. The List shall and can be modified. The problem is, entries in the internal list could be set to null from outside the class.
My code actually looks like this:
class ClassWithList
{
List<object> _list = new…
So far the only tutorials I've been able to find are on directx11tutorials.com, which are essentially inferred from the existing samples. Does anyone know where to find other tutorials, or better yet open source projects using DirectX 11? (Extra points for project code using DirectX 11 :) )
I'm new to stackoverflow and I'm looking for a question list, like the one on top, which just contains questions about interested tags. For example I'm interested in Java, but I have no clue about Python and questions about python clutters my questions page. I don't have answers concerning any python…
A quick question to delegates. Lets say, CLASSA has a delegate defined:
@protocol MyDelegate
-(void) didFinishUploading;
@end
In CLASSB I create an instance of CLASS A
-(void) doPost {
CLASSA *uploader = [[CLASSA alloc] init];
uploader.delegate = self; // this means CLASSB has to…
Hey all.
Having a reallllll mind pain.
I have a php image uploader which is all good and sotring the file and the jquery ajax is returning the image in an ammended html div with a div set up like this:
#crop-holder {
width:80px;
height:80px;
margin:10px 10px 20px 10px;
border:1px…
Is there a way to find the path to a native dll loaded with DllImport?
The only thing that comes to my mind is a series of calls: LoadLibrary(), GetModuleFileName() and FreeLibrary().