I am creating an iphone performance app in which I would like to know the Disk Space available on iphone ... I know that a lot of apps do this but I cant seem to find this bit anywhere
HI,
During the development of my app, I was using Thread.Sleep to give our external devices some time to adjust to settings before making queries, as they are quite old and slow.
I now want to replace these with something a bit more stylish and correct.
Does anyone have a simple way to "wait" for a device rather than sleep, bearing in mind the device does not let us know when it is ready, so a wait is about as good as we can do !??
Regards, George.
One of the downsides of web.config/app.config is that it's just Magic Strings everywhere, since it's just an XML file.
Interpreted languages like PHP or Ruby have the advantage that the configuration is just code that is executed. In .net, doing stuff in code requires a redeployment, which defeats the purpose.
Now, before I build my own web.config replacement based on Boo or PowerShell I wanted to know if there is an existing one?
I am wondering if I setup some coordinates via addProximityAlert. How long will they keep staying there. Will that be until my app exists, or even later too.
We are about to embark on a major project which requires an Occasionally Connected Application.
The MS Sync Framework seems to offer a good solution with Sync Services for ADO.NET.
Has anyone used this in a production app, ideally with tens of thousands of users, and can you comment on how well it scales? Any other pitfalls or gotcha's?
Thanks!
I'd like to port my iPhone app to Android. The interface is constructed with artwork designed for 320x480 resolution. What steps do I need to take when I'm constructing the XML interface for the Android so that my GUI will be compatible with the different screen sizes (or at least the most popular ones...)?
I would like to add a favorites tab to my iphone app that i am developing. I am using core data to populate a UITableView and would like in the detailed view to be able to add the selected item to the users favorites.
Would i go about this by adding the selected item to a new array?
I am very new to xcode and iphone programming so as much help and code would be gratefully received.
Hello,
I want to run a program in linux without the X borders. It's a c++ program that uses a graphical library called GRX and when it is launched it runs inside a window.
Is there any way to "force" an app not to run in windowed mode? An exec, comand or something?
Cheers
I have no idea if this is intended behaviour, but whenever the application exits (say, the user is double-clicking the home button and pressing on the red dash on the icon) I get the dreaded SIGKILL.
Now, when I try to launch the app again all I get is the old screen state and a frozen (I presume ?) program.
It could be because of clunky memory management, but NSZombieEnabled doesn't seem to agree.
Any thoughts ?
Hi,
I'm using pde to run a processing app , and I got the following error :
"Verify that the java.library.path property is correctly set" .
could anyone of you tells me how to solve this problem ?
thanks in advance .
I am first time to write a camera app. At program, I am using setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE) and android:screenOrientation="landscape" in Manifest to set the landscape screen.
My problem is when use System.exit() or Intent. The screen will change to portrait automatically. But in my program, it haven't set any screen orientation again.
How can I prevent this problem?
Thanks!!
I am trying to scroll my tableview to the 2nd cell:
[self.tableView scrollToRowAtIndexPath:[NSIndexPath indexPathForRow:1 inSection:0]
atScrollPosition:UITableViewScrollPositionNone
animated:NO];
I get the error:
*** Terminating app due to uncaught exception 'NSRangeException', reason: '-[UITableView scrollToRowAtIndexPath:atScrollPosition:animated:]: section (1) beyond bounds (0).
'
My tableview has 30 cells that are appearing with no sections.
Is it possible to stream videos from a bunch of video cameras or any device for that matter to iPhone if the devices conform to Bonjour.
My concern was if the devices host their services over a wifi, how will my Iphone app manage to read and understand data(or video feed in this case) from different kinds of devices.
Thank you
I have 2 panels, the first one is the menu, and the second is the application main panel. Firstly the menu panel shows up, than i need to switch to the other panel if a specific button is pressed on the menu (the menu is hidden but the app returns to it after running is completed). && i need to resize the frame too if it's possible.
can i do this somehow?
In the organizer of Xcode 3.1.x I used to be able to download the application data for an app in development (not installed thru itunes). In Xcode 3.2 I don't see that option anywhere. Am I missing something?
I'm using StyledText widget in my SWT app. SWT by default appends "Input method" submenu to the end of existing context menu. Is there any way to remove it?
I'm not sure this is the exact cause of my problem but I'll explain the 2 symptoms I noticed:
If I put a break point on a Toast.makeText(..).show(), step over, then wait a few seconds before running, the toast will never appear.
I have a location callback that tries to show a toast, but it never appears. Maybe I'm doing something else wrong, this is the line in question in my open source distress signal app.
Any help or pointers would be appreciated,
--uber
We have splitted our grails application into several inplace-plugins.
Now we want to have the tests in the same plugin like the classes which they test.
Is it possible to configure our application (e.g. in BuildConfig.groovy) so that the tests in the plugins are executed too when we run "test-app"?
In XCode is it possible to build a clean version of my project and remove any saved property lists associated with it?
I'm refactoring my code constantly and the old property list that gets saved is causing my app to crash because the data has become old and rotten.
I'm looking for a tool along the lines of Fiddler, or better yet Wireshark, that would run on a Windows Mobile 6.1 device.
I have an app which calls some webservices on one of our servers, and I want to make sure it it going out to the proper address.
Thanks in advance.
This is not closely related to programming stuff, so I marked as community wiki.
I am wondering how can I show a live Presentation from an Android phone? I want to put on a big screen my app, while I am presenting at a conference. I will directly interact with the phone during the presentation and I want the mobile screen visible on the big screen.
Are there any apps that does this, or this is possible by the USB cable?
I'm using GlassFish v3. The following field is declared in a class:
@Resource
private javax.sql.DataSource _data_source;
The following is declare in web.xml:
<data-source
<namejava:app/env/data</name
<class-namecom.mysql.jdbc.Driver</class-name
<server-namelocalhost</server-name
<port-number3306</port-number
<usermyUser</user
<passwordmyPass</password
</data-source
At run-time _data_source is empty. What am I doing wrong?
I saw it's possible to speed nh app with configuration serialization (e.g. http://www.lucisferre.net/post/2009/06/18/Speed-up-nHibernate-startup-with-object-serialization.aspx). Is it pssible to serialize nh configuration in medium trust env. ?
I'm looking for a light, free tool to format my Vbscript code.
The only way I've found so far is to auto-format it in VisualStudio. Although, it's too much to launch VisualStudio for this purpose.
Is there any web app or a free light tool for this purpose? Maybe a plugin for Notepad++?