I have this iPhone app, which plays streaming video from a source(Just video, no audio).
Is there any mechanism by which i can capture this streaming video or record them, for later playback?
I'm developing an app where I use performSelectorInBackground to do some sync task in the background. In my code I want to be able to detect whether I'm runing in a background process. This way I can prevent alert messages which might otherwise show up.
Thanks for your help!
Markus
I have an app with a tab bar, and nav controllers in each tab. When user shakes the device, a UIImageView appears as a child view in the nav controller. But the UIImageView must contain a special image, depending on the device's current orientation.
If I write just
- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)
if (interfaceOrientation == UIInterfaceOrientationPortrait|| interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown) {
//Code
}
else if (interfaceOrientation == UIInterfaceOrientationLandscapeRight||interfaceOrientation == UIInterfaceOrientationLandscapeLeft) {
//Code
}
}
The view just goes crazy if user rotated the device before shaking. Is there a method to get iPhones current orientation?
I've designed my SQL CE tables using the built-in designer in VS2008. I chose the wrong names for a couple. I am now completely stuck trying to find a way to rename them.
I am refusing to believe that such a feature could have been "forgotten". How do I rename an existing table using the VS2008 designer, or a free stand-alone app?
Hi there, I would like to make a system tray icon from Adobe AIR app a drop target. Is this even possible ? Digging hard, but without success so far.
Thanks
like build in apple notes app, after you swipe to delete the selected row, it will select the nearest available row automatically.
The logic should be:
if row count 0 then
if deleted_row == last row then
select deleted_row_index-1 row
else
select deleted_row_index+1 row
end
end
i have try to implement the above logic in the commitEditingStyle event, but the selection fail.
the selectRowAtIndexPath logic just don't work in this event, if i apply it in a button, it works.
any idea?
Recently Google introduced an SDK for application usage tracking on mobile devices (Google Analytics for Mobile Apps). Unfortunately, it seems that it only supports IPhone and Android devices.
Do you have any idea if this framework can somehow be used from Windows Mobile / Compact Framework applications or if Google is planning to release an SDK for WM?
BTW, I don't mean a WM application for browsing through GA server reports, but an SDK for tracking your mobile app's usage.
I was wondering how to build a FQL query where i could receive links/urls of my app that an user's friends have liked. I got the link table which looks good but there i need an object id, which i dunno how to retrieve for my urls.
I'd like to add a feature to my android app that automatically backs up the sqlite database to the sd card.
What's the best way to go about this?
Any examples/tutorials available?
I have created a volume controller for iTunes but I would like this app to place an icon on the OS X system menu bar and have my slider controller drop down. I created this because I have to switch to iTunes to change the volume of the music because I am using the digital-out audio and the keyboard keys do not work in digital-out mode. Any guidance would be greatly appreciated.
1) Refcounted pointers need stack variables to have constructors / destructors called at predictable places.
2) Objective-C, afaik, does not support the above.
3) The cocoa libraries are bound in Objective-C, not C++.
Thus, my question: is there a easy way to use the Cocoa libraries, yet still have most of my app in C++ (and thus use my refcounted pointers)?
Thanks!
(iPhone in the title since this is mainly targeted at the iPhone)
Hi all,
I am writing an iPad app that downloads a rather large .csv file and parses the file into objects stored in Core Data. The program keeps crashing, and I've run it along with the Allocations performance tool and can see that it's eating up memory.
Nothing is alloc'ed or init'ed in the code, so why am I gobbling up memory?
Code at: http://pastie.org/955960
Thanks!
-Neal
Hi, I'm creating a PHP web app, and I want to make it secure, fast and scalable. At the start, I'm using a Shared Hosting, but I'm planning movimg to a VPS. Can you suggest me some tips, please?
Doing a bit of advance research, and am stuck on the point summarized
in the title. Namely, is there any way to forward-lock an APK
installed programmatically, from another app? I've not come across
anything beyond a hint in the following post:
http://groups.google.com/group/android-developers/msg/e39941389d4a4cf8
I can't see anything in the docs for PackageManager about forward-
locking, but I readily confess that this is an unfamiliar area of the
SDK for me.
[Cross-posted with the Android-Developers Google group]
Hi,
I have a few classes:
Article
-------
Content
ID
Magazine
--------
Name
Code
And 3 tables in database:
Articles
Magazines
ArticlesInMagazines (two fields: IDArticle and CodeMagazine)
In my app, I've got a module to manage Articles, and a datagridview to relate their associated magazines
DataGridView has twofields:
MagazineCode
IsPublished (indicates articles which have been published in this magazine).
The same article can be in many magazines (1:n)
How would you implement on model ?
Article have to has a field : List ??
I am concerned because Magazine associates Articles
i am wondering regarding Java: is there a file extension separator?
like *.doc, the "." being the question.
i know there is a line.separator. just would like my app to be portable so i need to know.
thank you.
Hi everyone,
I'm trying to make a predicate that includes special characters
For example:
[[myIngredients filteredSetUsingPredicate:[NSPredicate predicateWithFormat:@"name BEGINSWITH[c] %@", [alphabet objectAtIndex:idx]]];
Here I will get all the ingredient which starts with (let say for idx = 5) 'e'. As I have to do my app in english and french, some ingredients start with special character like 'é' or even 'œ' for 'o'. How can I include these special characters in my predicate?
Best
Hi,
Stupid Monday morning basic/noob question...
Is Page_Load generally called for an ASP.Net MVC app?
We just have one page, Default.aspx.cs - which only seems to be called for / and not for any sub-paths, so I dont think it is generally called...
Thanks,
Chris
What is the best way to display a large chunk of text (taken from a .txt file in the app) in a UIScrollView so a user can scroll about it? Length of the text is variable.
I am using PakageMaker.app to create an installation package for Mac OS X and I'd like to insert a web link to my site on the Introduction screen of the installation. Is there any way to do this because I have not find any instruction about it in the docs?
Thanks in advance.
I have a UIScrollView subclass with a certain subview I'd like to prevent from scrolling (while all the other subviews scroll as normal).
The closest example to this I can think of is UITableView's "index strip" on the right side (look in the Contacts app to see an example). I am guessing this is a subview of the table (scrollview) but it does not move as the user scrolls.
I can't seem to make my subview stay put! How can I accomplish this?
Hello,
I have some proccess that i would like to run in the background the whole time.
so i made it "service".
my question is: is there anyway to prevent from the user to kill this service? (even if he uses third party app)
thanks,
ray.
Looking for a large European developer/software conference, open-source-friendly, programming-language-neutral, platform-neutral, vendor-neutral. Any recommendations?
apparently there briefly used to be a Euro OSCON (2004-2006? what happened?)
some good language/app-specific ones like EuroPython, EuroSciPy, DjangoCon
European BarCamps seem kind of fragmented, esp. for an English-speaking audience
anything bigger or better? If there isn't anything, I wonder if O'Reilly would resurrect Euro OSCON.
Hi All,
I have created an app in salesforce platform,
i have some primitive records in that, i need to import them in visual force.
For example,if we create a record in Account in Salesforce,,,
like charles,Jennifer,Tom and all
i need to import them in visualforce and do things which i can do in salesforce..please help me out with this
Thanks