Controlling mpd/ncmpcpp on laptop from iphone - ios

I just set up ncmpcpp on the ubuntu side of my macbook pro, and I'm trying to make an iphone app to control it. How would I go about doing this?
Should I use bluetooth or wifi? (which one would be easier)
And then how would I go about implementing it? What packages should I install in linux? And how would I use them?
I know it's kind of a big topic, and I have several broad questions, but if you can answer any of them or provide any information that would help, I would be incredibly grateful!
Thanks!

That sounds like an ambitious project with a significant scope.
Whenever ideas like this crop up, it's good to take a step back and ask: "What am I trying to accomplish?".
Are you simply wanting to run a music "server" on your Ubuntu portion, and access it via your iPhone? Or are you trying to make a "remote control"?
There are likely apps that will do what you're wanting to do... I know, I know mdp/ncmpcpp is super neat looking, but... practicality!

Related

Simple memory monitor for iOS

I have zero iOS programming experience but I'm good with Android and Java programming. I also know my basics in C++. Here's what the app needs to do:
List out all the current running apps in the phone and display how much Ram each is consuming.
Put the ram usage by each app onto the Logger.
That's it.
It's simple enough and I've read up as much as I can about Objective C and Swift (I can use either) and I've found an interesting tool here that does something similar to what I need to do.
If any of you can give me any advice I'd be forever in debt as I really need to get this done well. If you need anything else, let me know. Thanks a bunch.
Edit: to make myself clear, I'm only asking if this is even possible in iOS and what approach I may take and if there are any tools you recommend. I'm not asking anyone to do this for me.

iOS Interactive Remote Debugging

Is it possible to interactively remote debug an iOS App with xCode (or some other interactive debugger, if necessary)?
Has anyone got a neat framework I can stick in my App that will allow this? I can imagine Apple might not want this for live Apps, but for enterprise deployment and for Beta deployment, it would be ace.
A workflow that might work is a customer with a bug can get in touch and then I can email them with a link that will launch my app and connect it to my debug server. With magic.
There's an S.O. question from back in '11 about this – I'm hoping things might have moved on. However, a post here suggests it's probably not possible.
I want to be clear crash reporting, log acquiring and analytics are all very nice and everything (you're right – I use them too), but that is not what this question is about. Thank you :-)
Definitive answers along the lines of "This is just not possible because …" or, "It's possible but fearsomely involved because …", or ideally "Yeah, it's easy and cool, check out …" would be wonderful.
Thanks.
I think what you are searching is not possible. If you want, take a look at Bugfender, it's a product we have built that helps somewhat to do what you want.
With Bugfender you can get the logs from a remote device you choose, is not remote debugging but for now it might be the closest thing to what you want.

iPad special keyboard

An autistic boy is using iPad for communication.
But he tend to repeat some of the keys.
repppppppppppppppppppppppppppppppeat instaed of repeat
Is it possible to solve this by a special sw?
Develop an app that will modify the keyboard?
Or install additional keyboard as additional language?
Or install a hook on the keyboard stream and filter it? (windows allows it)
I am not sure if Apple allows any of these ...
Any other solution?
Please note that I am not looking into developing a special application for him. I want him to be able to use any application.
Thanks
Ori
While trying to find an answer I came across this.
https://itunes.apple.com/us/app/imean/id364906155?mt=8
Hope this can help. In any case I will keep you posted on this if i find something more..

Testing/Demoing UIMotionEffects in the simulator or on the device

I'm trying to build some educational content for iOS and would like to show how the new UIMotionEffect stuff works in practice. Currently there does not seem to be a way to do any UIMotionEffect stuff in the simulator, which makes sense. But even when trying to do Airplay or HDMI out means that UIMotionEffect's get turned off. As a last resort I can of course just capture the live screen of a device with another camera, but I'd still prefer to do something like the demo from WWDC, although I'm sure they were using some special setting or something. If anyone has any ideas and/or suggestions, that'd be great, thanks!
The only way I've been able to figure out how to do this is through the use of a capture card. The Blackmagic Thunderbolt Shuttle is finicky but when it works it works really well.
Better late than never...but I found this clever solution on GitHub by toco.
https://gist.github.com/toco/6727120
Just add the h. and m. files to your project. I've tested on AirServer on my Mac and it works great.

secure ios app from hack - objective-c

Is it possible to make app not launchable if it has been cracked and installed from installous? I don't want to see my app in installous
It's not that easy and it not answerable within some words or code snippets.
But you might check this:
http://www.shmoopi.net/ios-anti-piracy/iphone-piracy-protection-code-tutorial-2/
http://www.cocos2d-iphone.org/forum/topic/7667
http://thwart-ipa-cracks.blogspot.com/2008/11/detection.html
The read also here:
http://www.learn-cocos2d.com/2010/05/ignore-everything-youve-heard-about-app-store-piracy/
There are ways to detect whether your app is running on a jailbreaked device or whether your app has been modified (aka cracked). Take a look here and here for example.
From my point of view all you are getting by using these methods is a waste of time. Maybe you can make it harder for potential crackers and keep away the script kiddies. But you won't get that far that no talented cracker on earth would be unable to crack your app. Even one single cracker on earth who's able and motivated to crack your app is enough to upload it to hundred's of sites.
If really big companies fail at protecting their apps I really doubt that you will achieve it... so: wasted time which should be better spend on improving your app.
Probably not, because the part of cracking your application is to remove all restrictions (registration, detection of jailbreak, ...).

Resources