I'm a Java and C# developer, and, I admit, I'm not that good in PHP.
I need to store an object in an application scope that lives as long as the app itself is running. I can't save it in the Session, because it expires, also I can't serialize it to disk.
Is there something like a C# Application object in PHP?
...
Hi!
I have small COCOA Mac OS application to play with core data.
I have overridden default save function to do extra job after saving document (automatically save a zip copy also).
Every time I save - program crashes with EXC_BAD_ACCESS in line where I call [super writeToURL ...]
The good part is - document is being saved properly. He...
We got this Canon IR C3200, and we cant find any way to change how long before Power Saving Mode kicks in, or just disable it.
Anyone know how to do this ?
Best Regards
Lasse Gaardsholt
...
Hello,
we mvvm lovers all know Josh Smith mvvm sample and how he has saved the customer in the detail customer view by injecting the repository object into the customerViewModel`s constructor.
But a viewmodel should not know about repositories. Its just a model of a view nothing must being aware of persistence etc...
How can I registe...
Hi,
I am able to save the data to database using the save command.
But the entered data is not cleared after successfully save operation.
How do I clear the values in ViewModel itself.
Thanks
...
Hi,
I'm having a site done in wordpress with some 10 pages. I'll need to save it, the whole site with the links working for offline use every time i update the content. Now what am doing is save each page then link everything etc.. but i want to do this programing.. so i dont have to do manually or are there any tools or class already?
...
Hey,
I have been following this tutorial on embedding SQLITE in my iPhone App. The thing is, when adding a new object into the SQL DB everything is fine, but, as soon as i change anything (e.g.) the name of the entry, and then restart my app, the new name is not saved.
Since I couldn't find a similar issue nor have I been working with ...
What approach could someone suggest to save the current page as an HTML file to the server? In this case, also note that security is not an issue.
I have spent endless hours searching around for this, and have not found a single thing.
Your help is much appreciated, thank you!
Edit
Thank you all for your help, it was very much apprec...
I'm building a CLI survey app in Java that lets users answer multiple-choice questions. Please tell me how my approach can be improved.
Each answer to a question is recorded as an int, which is the index of that choice in the array of choices for that question. All answers for a survey are saved as an int array. I'm thinking of seriali...
Hi,
I'm trying to save a location and retrieve the location on a map afterward using Core Location, MapKit and Core Data frameworks.
What I've done is I just made entity named POI and added properties such as latitude (double type), longitude (double type) with few others.
Simply put, my app saves POI with two NSNumbers. (lat and l...
I need to read the duplicates chunk from an .x file.
.x file can be saved in text format, I wrote a tool that generates meshes and saves them in x files, I found that if I'm generating the x file with duplicates, and calculate the adjacency info, and passing it to the save function, it will save a chunk with the duplicates.
pMesh->Gene...
So we've got an app that needs to save and load its state from disk.
We've got the state in an object currently and that object is being serialized directly to XML with the XML serializer object. I've gone over this with the other developer on the project and he seems to think this is the perfect way to go about it. He asserts that hav...
I have a picture url like this http://www.address.com/image.jpg
I want do dynamically save this image on my server
How can i achieve this using php
Thanks
...
Is there anyway to save a URL with NSUserDefaults without setURL:forKey: that is only available to iOS 4.0 and later?
I am loading HTML files locally with fileURLWithPath, and it starts at an intro page and the user can click through to whatever. For now, everytime a user starts over it loads back default to intro.htm. I would like to b...
I started learning core data and I wanted to do a simple category->object->detail application. I started with the location tutorial. After I've done it, I moved all the auto-generated code from my appDelegate to a new DataProvider class and i put a tabbar at the beginning of the app. So I have a TableView tabbar item (with a navigation c...
I'm wondering what the most efficient way of updating a single value in a domain class from a row in the database. Lets say the domain class has 20+ fields
def itemId = 1
def item = Item.get(itemId)
itemId.itemUsage += 1
Item.executeUpdate("update Item set itemUsage=(:itemUsage) where id =(:itemId)", [usageCount: itemI...
I'm working on displaying a set of images, then if the users wishes, to have the ability to save the image to the SD card. I need help saving them to external storage. Can someone help me out with this?
Grid View:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Gri...
Hi to all,
i would like make a simple script that store one dynamic image (Random) in a variable and then show that in another page (Like before).
This is the source code that show the image in the 1st page (Where i need to store):
<img alt="CaptchaA" style="display:block;" src="image_gen.php?rnd=8900yh0484" id="captchaB" name="captch...
Hi
I am making an iPad app, it currently has multiple UITableViews named like so:
monTable, tueTable, wedTable etc...
I would like to have a UITextView which is editable. Then any text when the user leaves the text view it saves the chunk of text and is linked to the cell selected in the table. So when that cell is reselected the text...
I'm setting up an after_save callback in my model observer to send a notification only if the model's published attribute was changed from false to true. Since methods such as changed? are only useful before the model is saved, the way I'm currently (and unsuccessfully) trying to do so is as follows:
def before_save(blog)
@og_publishe...