Find the Name of Applications on iOS for Opening via SSH
Filed Under Apple, Geek, Hacks and Mods | 2013-07-05, 21:35
This is probably a post that will only be useful to a handful of people. Say you want to launch applications on an iPhone without actually touching the iPhone? Why? I don’t care, you probably have your reasons. For me it’s because I’m putting my old iPhone 4 in a dock permanently and want to be able to display different things without getting up and going over to it. Also I want to script things to open at different times for different reasons.
This requires a jailbroken iPhone obviously, and assume you’ve already installed OpenSSH (you have changed your root password, right?).
You want to download the “open” application from Cydia. Then all you’ll need to do is ssh into your iPhone and use “open [application bundle name]”. Sounds easy, right? The tricky part is knowing each application’s bundle name. some are easy to guess, like com.apple.calculator, whereas others are harder like com.Halfbrick.Fruit for Fruit Ninja.
Now you could download iFile from Cydia and go through every single folder in your /User/Applications directory and open the iTunesMetadata.plist and locate the “softwareVersionBundleId”. That works, but it’s a pain in the ass. Instead you can just run the following commands while ssh’d into your iPhone:
Get a list of all the default installed apps (and some Cydia apps):
find /Applications/ -name Info.plist -exec plutil -key CFBundleIdentifier {} \; |sort
Get a list of all the downloaded apps:
find /User/Applications/ -name iTunesMetadata.plist -exec plutil -key softwareVersionBundleId {} \; | sort
Those commands should spit out a list of bundle names. You should be able to guess most of them, and then ones you don’t know? Well, just open them. Here’s a list of some of the default ones:
com.apple.AdSheetPhone
com.apple.AppStore
com.apple.DemoApp
com.apple.Maps
com.apple.MobileAddressBook
com.apple.MobileSMS
com.apple.MobileStore
com.apple.Preferences
com.apple.TrustMe
com.apple.VoiceMemos
com.apple.WebSheet
com.apple.calculator
com.apple.camera
com.apple.compass
com.apple.fieldtest
com.apple.gamecenter
com.apple.iosdiagnostics
com.apple.iphoneos.iPodOut [Music]
com.apple.mobilecal
com.apple.mobileipod
com.apple.mobilemail
com.apple.mobilenotes
com.apple.mobilephone
com.apple.mobilesafari
com.apple.mobileslideshow
com.apple.mobiletimer
com.apple.nike
com.apple.purplebuddy
com.apple.reminders
com.apple.stocks
com.apple.videos
com.apple.weather
com.apple.webapp
com.apple.youtube
Iphone failures – Uploading Photos
Filed Under Apple | 2008-07-26, 22:49
So I took a couple photos as we walked around Monterey this afternoon with my new 3g iPhone. It seemed like I got some nice quality shots with the 2mp camera as far as I could tell when looking at them on the device. I downloaded Shozu, an app that looked really promising as far as features go. In short it interfaces with a number of sites and allows you to upload photos and browse the sites from a streamlined interface. I installed this free software so I could upload photos to Flickr from the car.
It kind of worked. My photos are indeed on Flickr, but not exactly as I expected. First off, I had to upload some images twice before they would show on my Flickr stream even though Shozu said they uploaded fine. Then I go to check to see how close to our actual location the iPhone was able to geotag the photos. There were no geotags. Hmm, ok maybe the gps wasn’t able to get a strong signal on a clear day, by the beach, while we were outside for an hour. But why doesn’t it have any other exif data? Also, why didn’t it upload a full size 1600×1200 image? A 2mp camera is worthless if my photos are sent in 640×480 resolutions.
At first I thought all of this was Shozu’s fault, but then I tried emailing a photo to Flickr and saw that it was posted without exif data, meaning no geotagging. At least it got posted in 800×600 though. It’s still not the full 1600×1200, but it’s a step in the right direction. But this doesn’t mean Shozu is off the hook. Shozu did something I think really sucks. They added their own tagline to my photo description without asking, plus they tagged my photo with “Shozu”. The lower resolution, auto-tagging, and photo description spamming means I’ll be uploading my photos to Flickr via email or a better app in the future.
All in all, I’m very disappointed in how the iPhone handles sending images. What point is there in geotagging photos if that info (along with all the other exif data) is stripped out when you send them? And why can’t I send a full resolution photo? Limited to only one photo attached to an email? Oh, and one last thing.. Apple, why the hell do you keep correcting exif to “exit”. Exif is a completely valid word in the realm of cameras. I wish you would let me add words to the autocorrect bug feature. iPhone for the fail when it comes to mobile uploading of photos.
WordPress app for the iPhone
Filed Under Apple | 2008-07-22, 00:05
The app that I (and ever other blogger) has been eagerly waiting for is finally here! WordPress has released what looks to be a full featured app for the iPhone for all us on the go bloggers. I had to jump on iTunes to grab it because I wasn’t finding it in the app store on device, but I’m posting from it now. :). Oh, and the best part? It’s free!
UPDATE: After 2 posts via the WordPress app for the iPhone I have the following to say:
– It’s awesome.
– I wish it posted an image before the text instead of after.
– It made a weird test post that got picked up by TwitterTools plugin at first.
– It’s hard to make valuable posts without being able to copy and paste urls from the browser.
– Writing html markup in the post is amazingly annoying with iPhone keyboard.
– I really like the “local draft” feature in addition to saving a draft on the server.
It’s time for iPhone Apps
Filed Under Apple | 2008-07-20, 23:58
Yes, I went out and did it. One and a half hours in line last Wednesday at the San Francisco Apple store on Stockton and I walked out with a 16gb iPhone 3G. So far I’ve been very impressed. It has it’s downsides, things that the Sidekick still does infinitely better, but it does do some things better than the Sidekick. The 3G speeds, integrated GPS, and App Store with tons of apps (500+?) are what finally sold me. I’ll be going into detail more on various aspects in the near future I’m sure, but in the meantime, here are the apps I’ve loaded in the last 4 days:
Pandora: #1 reason to get a 3G iPhone.
Twitterific: When it works, it’s good. Not great, but good. Likes to crash and reboot my phone every now and then
AIM: Blows. Sidekick is far superior.
MySpace/Facebook: Maybe I’ll actually keep in touch with friends when I can log in while in a stall.
Last.fm: Was buggy and not working last time I tried.
WeatherBug: A little more info than the normal Weather App
Movies.app: Was kind of neat to be able to pull up all the info on The Dark Knight, including directions to the theater in less than a minute
Yelp: Have yet to use this even though we use the website all the time. I doubt it’s handy much outside of the Bay Area from what I hear though.
Epocrates Rx: You never know when you might need to look up drug interactions
Remote: Controling iTunes and having album art on the remote is pretty neat, and will be handy for parties, but would be more useful if I had a dedicated iTunes machine and not a laptop I have to hook up to speakers
Exposure: meh.. Flickr access, but it needs work
Google: nice and quick Google searching, quicker than safari
Graffitio: augmented reality ftw! This is straight out of some cyberpunk novel, I just hope more people start using it, and the app gets improved.
Spanish/Mandarin Audio Phrasebook: I could use some freshening up on my foreign languages.
Urbanspoon: Haven’t used this yet, but I know one night we’ll be sitting around saying “Where should we eat dinner?” and I’ll bust this out, watch my girlfriend roll her eyes, and randomly select a place to eat.
Shazam/midomi: Haven’t used either of these yet, but figure they’ll come in handy sometime when I need to identify a song. I will be real curious to see if they’ll be able to pick up on songs in dj mixes that need identifying.
MealSplitter: probably worthless
PayPal: Will definitely come in handy. Another step towards this cyberpunk novel future where physical money starts getting phased out. How long before you can but vending machine snacks in the US with your phone?
TouchTrain: Damn, I’ve got some big fat thumbs.
Loopt/Whrl: I’m really interested in all the location aware apps, need more time to check them out
Tuner: Streaming shoutcast stations? yes please! BassDrive without a computer = awesome
JirboBreak: Figured I needed at least one game for when I’m really really bored
myLite: obligatory (free) flashlight app