Short answer: You don't have to use MTP; you can use PTP.
By now it is no secret that Galaxy Nexus does not mount as USB mass storage for some wise technical decisions made by the Nexus developers. Now there are a plenty of posts floating around on how to install software in Linux to enable MTP access so that you can access the files from your Linux.
None of those worked for me, partly because of the fact that I am running Linux-Mint 10, and the libmtp that comes for this version is outdated. I can do some hacking to update my version of libmtp, and hopefully work. But, as much as I love Linux, and OSS in general, I hate to give out instructions that require compiling, editing config files, etc.
So the simplest solution that worked for me was to use PTP instead of MTP. Choosing this option causes my Nautilus file explorer to immediately identify the phone as a photo source. And voila, you can now open a file explorer and browse, add, remove files from the phone.
Savor the screenshots to get an idea how easy it is to use PTP to access the files as compared to compiling code and what-not.
Showing posts with label ICS. Show all posts
Showing posts with label ICS. Show all posts
How to use MTP on Google's Galaxy Nexus in Linux
Labels:
Android,
Galaxy Nexus,
Ice Cream Sandwich,
ICS,
MTP,
PTP
How to play a long MP3 on Android alarm
I recently bought a Samsung Galaxy Nexus; Google's flagship Android phone, sporting the latest Ice Cream Sandwich. Suffice it to say that I am simply in love with this device.
I wanted to play recordings of Japji Sahib and Rehraas Sahib every morning and evening, respectively. These are about 22 minutes long each, and they should be played exactly once, and the player should stop after the play.
If your MP3 file is shorter than 10 minutes, then the standard 'Clock' App can play your MP3 without issues. You just have to create a folder named "alarm" on the storage card and place your MP3 files there, and they'd magicaly appear in the "ringtone" choices when creating an alarm.
There's a lot of material already floating around the 'net for doing this: www.google.com/search?q=android+alarm+MP3
There are a few problems with everything I've seen so far:
None of the alarm apps allowed me to do what I wanted. So I started looking for some customizable way of launching the Music app on my own, and finally I found AppAlarm.
AppAlarm allows you to launch any app on an alarm. So I could create a playlist that has just one song, and then use AppAlarm to play that playlist using the Music App. By default the Music app will not loop the songs, but if you were using the Music app and you configured the app to either 'Repeat All' or 'Repeat One' setting then the Music app will loop (repeat) the alarm song too.
So here's how to to get it done. In the Music app create a playlist with just one song that you want to play when alarm goes off. Launch AppAlarm, and 'Add New Alarm'; 'Enable' the alarm and tap on 'App to Launch'; choose 'Create Shortcut', choose 'Music Playlist', and select the playlist you just created above. On the resulting dialog box, click 'Select App' and scroll down to select the 'Music' app from the list. Choose time, repeat everyday, etc settings to your taste, and you are done.
I wanted to play recordings of Japji Sahib and Rehraas Sahib every morning and evening, respectively. These are about 22 minutes long each, and they should be played exactly once, and the player should stop after the play.
If your MP3 file is shorter than 10 minutes, then the standard 'Clock' App can play your MP3 without issues. You just have to create a folder named "alarm" on the storage card and place your MP3 files there, and they'd magicaly appear in the "ringtone" choices when creating an alarm.
There's a lot of material already floating around the 'net for doing this: www.google.com/search?q=android+alarm+MP3
There are a few problems with everything I've seen so far:
- The default Clock's alarm runs for only 10 minutes.
- Any other alarm/clock app runs the MP3 in a loop
- 'AlarmDroid' lets you stop the alarm (mp3 song) after a set number of minutes (Advanced > Ringer Duration).
None of the alarm apps allowed me to do what I wanted. So I started looking for some customizable way of launching the Music app on my own, and finally I found AppAlarm.
AppAlarm allows you to launch any app on an alarm. So I could create a playlist that has just one song, and then use AppAlarm to play that playlist using the Music App. By default the Music app will not loop the songs, but if you were using the Music app and you configured the app to either 'Repeat All' or 'Repeat One' setting then the Music app will loop (repeat) the alarm song too.
So here's how to to get it done. In the Music app create a playlist with just one song that you want to play when alarm goes off. Launch AppAlarm, and 'Add New Alarm'; 'Enable' the alarm and tap on 'App to Launch'; choose 'Create Shortcut', choose 'Music Playlist', and select the playlist you just created above. On the resulting dialog box, click 'Select App' and scroll down to select the 'Music' app from the list. Choose time, repeat everyday, etc settings to your taste, and you are done.
Labels:
Alarm,
Android,
Galaxy Nexus,
Ice Cream Sandwich,
ICS,
MP3,
Music,
Nexus
Subscribe to:
Posts (Atom)


