Database management for android apps - Android Studio

Hi, I am making a test music store app for learning purposes. I am able to design the UI but I am not familiar with what happens on the server side. If I were to build a real life music store where people could upload their music and sell (like itunes but in small scale), where would I store the music uploaded by the creators? What kind of hosting I would have to choose and what kind of database management tool would be used? I need some basic idea on the topic. It would really helpful if someone could point in the right direction. Thanks!!

Related

Double-Twist adds ability to browse/sync android apps just like itunes?...

http://m.lifehacker.com/5552262/doubletwist-adds-android-market-search
Haven't tried it yet since I'm not by my computer but I saw this article and thought you guys might want to try it out
Seems like an great copy of itunes now for all us window users with the app browsing capability in addition to the music sync.
What do you guys think about it?
hmm like appbrain. Made me remember Google's mp3 store demo from GoogleIO (mp3s from the market).

Google Play Store (Android Market) v3.5.19 + Modded

Google Play is your one-stop shop for all your favorite entertainment. With over 450,000 apps, millions of songs and books, and thousands of movies, Google Play has something for everyone. Before you decide what you want, sample a free music or book, view app ratings, reviews, and screenshots, or watch a movie trailer. Google Play is a more connected, powerful experience.
The power of the cloud
How cool would it be if your entertainment was just available anywhere? Now it is. Buy a book on your Android phone and read it on the web at play.google.com. http://goo.gl/ovsCS Buy a new album on your Android tablet and listen to it on your desktop at work. Rent a movie online and watch it anywhere on your phone. That’s the beauty of the cloud. You can read, listen and watch all your favorite content anywhere you want. No software required and no wires or syncing needed, and the best part - Google Play cloud is free to use.
Share what you love
Discover, shop, enjoy, and share music, movies, books, and apps anytime, anywhere. When you discover an amazing song, a nail-biting thriller or memorable movie, the first thing you want to do is share it with your friends. On Google Play sharing your favorite entertainment just got easier. You can easily share posts about your favorite books, music, movies, games or apps to your circles on Google+, email, or text message in a single click.
Play with music
Find music you love
Google Play has hand-picked rising artists and great bands from your favorite genres. With music on Google Play, you’ll get personalized recommendations based on what you listen to most. And when you're not shopping for new music, rediscover your library by creating an Instant Mix.
Buy now, listen now, sync never
There are hundreds of free songs and millions more to buy on Google Play. The music you choose is automatically stored in your Google Play music library and instantly ready to play on your computer, Android phone or tablet.
Your music, anytime, anywhere
Access your Google Play music library anywhere, anytime - no syncing, no wires. Stream music instantly on the Web and listen on your Android phone or tablet with the Google Play Music app. Not online? No problem. Just pin your favorites to your mobile device for offline playback.
Organize your music
Keep all your music in one place. Anything you get on Google Play is automatically stored in your music library and you can even add up to 20,000 of your own songs for free. With your music saved online, you can stop worrying about storage space and start enjoying your collection anywhere.
Give your friends a free listen
Sharing is caring. When you buy music on Google Play, you can share a free listen with your friends on Google+. And you get a free listen when they share what they've bought with you. It's sharing, discovering and buying music made simple.
Play with books
Find new books
Discovering your favorite books and authors has never been easier. With Google Play, shop the world's largest selection of eBooks - from thrillers to comedy, cookbooks, bestselling fiction, and everything in between - find over 4 million books to choose from, including millions of free titles. With Google Play, your next great read is always at your fingertips.
Buy anytime, anywhere
Shop on the web or on your device, find the eBooks you love, and start reading instantly. Choose from millions of titles, browse new releases, sample books for free, and find the latest up-and-coming authors.
Share what you love
Sharing the books you love with family and friends is just a click away. With Google Play you can easily post your favorite reads to your circles on Google+, via email, or text message, right from the pages of your book, without skipping a beat.
Your books in the cloud
With Google Play enjoy seamless syncing and easy access across your devices. All your books are stored in the cloud, so your entire library is always with you, accessible from any connected device. And with offline reading, it’s never been simpler to dive into your favorite books when you are offline, out of range, or in the air. Start reading on your tablet, continue on the web, and finish that chapter on your phone. You’ll pick up the story just where you left off, always on the right page.
Customize your reading experience
Read your books any way you like them on Google Play. Easily switch between day or nighttime mode, view in landscape or portrait, choose your font, text size, line height, and customize to your heart’s content.
Play with apps and games
There is an app for everyone
Race to the finish line. Score a goal. Buy stocks. Read the news. Buy movie tickets. Update your status. Personalize your phone with live wallpapers, ringtones, and widgets. With over 450,000 Android apps and games your phone truly is your mobile entertainment system, organizer and portable computer all wrapped in one.
Find new apps and games
Looking for new apps? Check out our staff picks, hand-picked by our editorial team, browse apps by category or just search for them. You can also read reviews and ratings from other app and games users, and even add your own.
Get the latest updates
App developers are always updating their amazing apps with new features, tools and fixes. Google Play makes keeping your favorite apps up to date easy. Select ‘update automatically’ in your app settings and your app will always be updated. Or choose to update all your apps in one click. It’s that simple.
Get your favorite app, anywhere
Just found a new app on the web and can’t wait to try it? Install it from Google Play on the Web without ever touching your device. The app you install is now available on the device you choose - instantly.
Play with movies
Find the movies you love
Choose from an incredible selection of thousands of movies on Google Play including HD titles, new releases, award-winning films or your favorite classics. Whether you’re in the mood for comedy, drama, animation, action or a documentary, there’s a movie that’s right for you.
Watch it now or later
Rent movies and watch them instantly. Alternatively, download your movie for offline viewing and view it later using the Google Play Movies app or watch it directly on the Web.
Watch it anywhere
Watch Google Play movies anywhere -- your couch, your friends’ house or in-flight. When you rent a movie with Google Play you can watch it on your phone, tablet or any Web connected PC.
What's in this version:
You now have the Installed and All tabs you can swipe between. The former one is what we used to have before - it lists all apps installed on your device. The latter lists all apps you've ever installed in case you want to download them again or travel down the memory lane. This is quite handy, and I've seen this list before in the Play Store on the web, so it's great to get it here in the mobile app.
The All tab contains a handy dropdown with all your accounts (if you added more than one) and lets you switch between them very easily (as opposed to clicking Menu, etc).
A few of the stock apps that apparently never got linked to the Play Store before got identified and picked up this time, and updates to them were waiting for me when I fired the Store up. I've complained about this very bug in my last rant, and it looks like someone listened.
More Info:
Code:
https://play.google.com/store[/
ht....imageshack.us/img707/9979/a9jvgwzq.png[/IMG]
thank you mate
downloading..........
force closes on aokp milestone modded version please help
w8 , what does the mooded ver do ?
can u like download paid apps for free or what :S ?
hi there, can we have more mirrors other than megashare? It's not very friendly universally...
poppienutshell said:
hi there, can we have more mirrors other than megashare? It's not very friendly universally...
Click to expand...
Click to collapse
I think we need more links also megashare does not work for me either
works like a charm, even with non-stock LCD density there is no "not compatible application" sign.
application not install
i have samsung s2 rooted but whenver i try to install i have getting error that application not install
so wht i ll do plz help
Installation for both works but I cannot get it to work as modded I think because I'm on SD not NAND.
Any workaround for SD built?
I've tried all of these and still get "server error"
This new version market work good and feast in my desire hd:thumbup::what:
Sent from my HTC Desire HD With Beats Audio using xda premium
what's the difference between the moded market and the original one ?
Reading The OP Will answer that... guess u did not read before posting isnt it
Verstuurd van mijn HTC HD2 met Tapatalk
Beautiful thing
thanks for posting
It doesn't work for me on on HD2. I use signed version and my device DPI is 190.
Any guess why? Can someone help me?
big thanks for you
This looks cool.
Will try it out.
thnx
Doesn't change anything for me, too.
Always installs in /data/apps and not /system/apps, does this make any difference? Moving it manually there does no difference.. :/
€dit: Got a hot reboot and got into bootloop? 0o Had to hard reset, re-flashing system had no effect.. (no bad blocks)
Does it work?
edit
i need sleep i guess cause what i posted wasnt for this version of play store lol
sorry about that

[Q] Things to know before beginning a music player app for WP8

First of all, hello to everybody. I have just joined xdaDevelopers.
To business now..
I recently bought my first Windows Phone (Nokia Lumia 520). One of the reasons for getting it was for developing my own WP8 apps.
I would like to start with a music player app - one that can play mp3 files from phone memory and SD card; arrange songs according to name, albums and artists; create playlists; have capabilties of fast foward and rewind (seeking); and recognise album arts.
What do I need to know before I can start building it?
I have zero experience in app development; I am a web designer.
I noticed that there are very few "polished" music players (which function properly as well as have a nice UI) in the WP store. Any particular reason for that (other than the platform being relatively new)?
I created this post mainly because the lack of quality music players appeared a bit strange to me. I have heard that a particular file type can be accessed by only one app (please correct me if I am wrong). So does it mean that one has to somehow uninstall the default music player in order to use the newly downloaded one?
For instance, I have "Adobe Reader" which can read PDFs from my MicroSD card. But the "PDF Reader" app (which I installed just yesterday) cannot even find them! So I had to uninstall the latter.
So I wanted to know if there was something about WP8 that doesn't allow such things - if these "security measures", which render apps like file managers less useful, are also responsible for the lack of music players in this otherwise very fantastic platform.
Please note that I come from Android, and am very new to Windows Phone platform. So kindly point out if there's something incorrect about my assumptions.
Thanks and regards.
Hi,
Welcome to Windows Phone. The Lumia 520 is a great choice in my humble opinion. In regards to why there are so few music apps, there are probably several reasons. One such is the fact, that the easiest way to make one is to integrate with the built-in music features, which however limits you in several ways, like not being able to add more file types, not being able to customize the experience too much, playlisting is limit as far as I know, which basically puts you in the position, that the only actual improvement you can do upon that is implementing a new streaming service. The other route is to implement your own music player, but then you're going to have issues making it work in the background (not to mention, that implementing a music player isn't entirely simple).
gdebojyoti said:
What do I need to know before I can start building it?
Click to expand...
Click to collapse
1. Make sure you have hardware for it. I recommend a minimum of Windows 8 Pro 64bit, but you can find instructions for Windows 7 on this forum as well. You'll need VT-x support on your CPU, plenty of RAM.
2. Download and install the WP8 SDK.
3. Once you open Visual Studio, you can start by creating a new project, you'll need a UI project (I recommend Windows Phone App or HTML5 App templates) and a music playback project (WP Audio Playback Agent -OR- WP Audio Streaming Agent).
4. For tutorials on how to get started I usually go to Pluralsight.com, because I have a subscription there, and they're plain awesome, but I'm sure there are a bunch of other sources as well, which are for free.
gdebojyoti said:
For instance, I have "Adobe Reader" which can read PDFs from my MicroSD card. But the "PDF Reader" app (which I installed just yesterday) cannot even find them! So I had to uninstall the latter.
Click to expand...
Click to collapse
If you have both Adobe Reader and PDF Reader installed, once you tap on a PDF file (say after downloading one in IE) an option should appear for you to select which app you wanna open it with.
gdebojyoti said:
So I wanted to know if there was something about WP8 that doesn't allow such things - if these "security measures", which render apps like file managers less useful, are also responsible for the lack of music players in this otherwise very fantastic platform.
Click to expand...
Click to collapse
You can install and use as many audio/music apps you like, but obviously only one can have the background music feature used at one time. (You can only have one music playing in the background).
Also:
"Developers must pay an annual subscription fee of $99, (this, according to Todd Brix, the General Manager for Windows Phone Apps and Store team, is currently on an ongoing promotion at $19) to become an App Hub member and submit apps to the Windows Phone Store. There's no limit on the number of free submissions for paid apps. There's a limit of 100 free submissions for free apps; thereafter, there's a fee of $19.99 per submission for free apps." - Wikipedia
Hope I helped, and happy coding!
:fingers-crossed:
@TheGoldrocker: Thank you for your reply. It did clear up quite a few things.
As of now, I am okay with "integrating with the built-in music features" as you said.
What I want to do is modify the UI and UX a bit. Some of the features can be as follows -
1. Introducing a scroll bar;
2. Option to get rid of the grouping system by name;
3. Control over the font size;
4. Allowing the currently playing song to continue if I select the song (currently it starts playing from the beginning);
5. Enabling the seeking feature (tapping the timeline of the song so as to play from that point of time);
6. Having a tile feature in the start screen with options to pause, change song, etc (number of options would depend upon the length of the song);
7. Showing the album art of the currently playing song in the tile;
8. Having an animated background in the app (just a wide photo which slowly slides from left to right).
Am I allowed to do the above?
You're welcome.
"Integrating with the built-in music features" doesn't mean you get to rewrite the UI/functionality of the current Music+Videos app. What it means is, you get to use the built-in classes for simplifying music playback in your new app. You'll still have to build up a new UI around your classes, you'll also have to write quite a few lines of code for the playback functionality (but obviously way less than if you tried to write your own music player from scratch).
Now sadly I cannot answer all of your questions with absolute certainty, because I haven't tried writing a music player yet, but I'll give them a shot.
I numbered your list:
gdebojyoti said:
1. Introducing a scroll bar;
2. Option to get rid of the grouping system by name;
3. Control over the font size;
4. Allowing the currently playing song to continue if I select the song (currently it starts playing from the beginning);
5. Enabling the seeking feature (tapping the timeline of the song so as to play from that point of time);
6. Having a tile feature in the start screen with options to pause, change song, etc (number of options would depend upon the length of the song);
7. Showing the album art of the currently playing song in the tile;
8. Having an animated background in the app (just a wide photo which slowly slides from left to right).
Click to expand...
Click to collapse
1. Yes, since you'll have to make a new UI from scratch, and you'll have the ability to include any logic behind it you want.
2. Yes, the grouping can be avoided AFAIK.
3. Same as 1.
4. Same as 1.
5. Don't think so. Someone else with more knowledge will have to answer this to be sure, though.
6. If you mean a tile on the start screen, which, when tapped will play/stop/next/prev/whatever and STAY on the start screen? No. Tiles (sadly) always open a program (even if for only a millisecond). You can use this for deeplinking to favorite songs/playlists/streaming services though, which is cool.
7. Same as 1.
8. Same as 1.
Hope I helped.
Thank you for your reply.
TheGoldrocker said:
6. If you mean a tile on the start screen, which, when tapped will play/stop/next/prev/whatever and STAY on the start screen? No. Tiles (sadly) always open a program (even if for only a millisecond). You can use this for deeplinking to favorite songs/playlists/streaming services though, which is cool.
Click to expand...
Click to collapse
By "deeplinking", do you mean pinning songs to the start screen by 'long pressing' on them?
I do hope that Microsoft introduces interactive tiles in some future update. Sort of start screen widgets.
gdebojyoti said:
By "deeplinking", do you mean pinning songs to the start screen by 'long pressing' on them?
Click to expand...
Click to collapse
Deeplinking is launching an app with a link toward a specific page with parameters. Imagine it as a URL to a specific page on a website. If your app and pages support it, you could tap on a tile (say on the start screen), which opens your app, and instantly navigates to a playlist, album, song, whatever you made that tile link to.
Pinning items to the start screen can be triggered by anything you want. You, the coder, decides how you're gonna allow the user to pin their songs/albums/playlists/artists/whatever.
Here's a little tutorial on this topic:
http://wp.qmatteoq.com/first-steps-...-links/?utm_source=dlvr.it&utm_medium=twitter
Okay, thanks. I'll have a look at that.
To make a media player for windows phone is to know insanity.
Why we no join forces?
There are a couple fo things the guys here forgot to tell you:
You can not read Mp3 files from SD card.
You can not read mp3 files from the user music folder.
You only have access to web resources or your app's isolated storage.
You basically have to engineer a way to get them to the app storage.
mcosmin222 said:
To make a media player for windows phone is to know insanity.
Why we no join forces?
Click to expand...
Click to collapse
I don't think I have enough knowledge to be able to help you. I am just a beginner.
mcosmin222 said:
You can not read Mp3 files from SD card.
You can not read mp3 files from the user music folder.
You only have access to web resources or your app's isolated storage.
You basically have to engineer a way to get them to the app storage.
Click to expand...
Click to collapse
Well, that's why I will try to "integrate with the built-in music features". Hopefully it will be okay then.
I am not trying to make the next best thing in the music player app category.
I am just trying to make one which has a slightly different UI and is able to play mp3s.
Sort of a project of mine.
By the way, can someone please tell me if I can use technologies like HTML5 to create this app? Actually I don't know C#.
Or should I learn C# before attempting this app?
gdebojyoti said:
I don't think I have enough knowledge to be able to help you. I am just a beginner.
Well, that's why I will try to "integrate with the built-in music features". Hopefully it will be okay then.
I am not trying to make the next best thing in the music player app category.
I am just trying to make one which has a slightly different UI and is able to play mp3s.
Sort of a project of mine.
By the way, can someone please tell me if I can use technologies like HTML5 to create this app? Actually I don't know C#.
Or should I learn C# before attempting this app?
Click to expand...
Click to collapse
You can not integrate with the built-in player.
There are too many limitations to explain. You will see.
Yes, learn C#
Okay.

[Q] Music Cloud/Storage Stream Options ?

Hello Folks,
I am trying to find a way of keeping most of music available to me across my devices,
Android Tablet (Nexus7)
Android Phone (MotoX)
Various PC's
I have messed with Google Music and something about the interface doesn't do it for me.
MyMusicCloud is limited to 250 songs and other cloud services like Skydrive don't offer streaming services but just storage.
The idea is to stream, not really download to play, ideas and suggestions would be appreciated.
Pete
I used subsonic server for over a year. Works insanely well if you are willing to run a server from your PC. they're are raspberry pi solutions as well. Also, some use Plex, instead. Both are great options. As for cloud services, you can pretty much do Google music or amazon. Google gives you 20k songs free. Amazon gives you an unprecedented 250k songs for $25 a year.
Sent from my XT1060 using Tapatalk
pasta1234 said:
Hello Folks,
I am trying to find a way of keeping most of music available to me across my devices,
Android Tablet (Nexus7)
Android Phone (MotoX)
Various PC's
I have messed with Google Music and something about the interface doesn't do it for me.
MyMusicCloud is limited to 250 songs and other cloud services like Skydrive don't offer streaming services but just storage.
The idea is to stream, not really download to play, ideas and suggestions would be appreciated.
Pete
Click to expand...
Click to collapse
Just a heads up that if you are not into the Google Music app, you can now use third party software as the interface, but still use Google Music for its free storage capacity. I saw the article somewhere on this site, I will take a look for it.
---------- Post added at 10:59 AM ---------- Previous post was at 10:58 AM ----------
JustROLLIN said:
Just a heads up that if you are not into the Google Music app, you can now use third party software as the interface, but still use Google Music for its free storage capacity. I saw the article somewhere on this site, I will take a look for it.
Click to expand...
Click to collapse
Boom!
http://www.xda-developers.com/andro...cloud-streaming-to-third-party-music-players/
This should solve all your problems.
metaljr81 said:
I used subsonic server for over a year. Works insanely well if you are willing to run a server from your PC.
Click to expand...
Click to collapse
I used Subsonic for a while too, seemed to work well. As mentioned, you need an always on computer if you want access whenever. I remember it being a little tedious to set up. Subsonic also lets you stream video files, pretty neat, worked alright. I stopped using it when I discovered that my home Comcast internet usage was over the 200GB limit one month, but I can't verify it was Subsonic or something else on my network... I'm tempted to try Subsonic again, seems silly to upload my music to Google's server when I could just stream from home, provided your upload is fast enough and you have a static IP or DDNS.
I've had good luck with Cloudaround. The free version lets you stream from dropbox, and the paid version uses Box, GoogleDrive, Skydrive and others, as well as your local files.
I have used Amazon MP3 with good luck
I appreciate everyone's suggestions...
I guess one of my large pet peeves with Google Music is its inability to sync music to a folder, unless I am not seeing it.
When i use there music manager software and direct it a folder path it just copies everything over, if a file is deleted or renamed it does nothing, its not truly a sync piece of software, any work arounds ?
Pete

CALLING MUSIC LOVERS! Need beta testers for new web app...

Hi everyone,
I really need help from people who are willing to beta-test my webapp
In particular people who:
-listen to music a lot
-like testing new and fun techy things
So I'm a big fan of Last.FM and love being able to keep track of what I hear. I've always thought that Last.FM data so much potential to be put to better and more convenient use.
Hence, I coded up a web-based app that takes last.FM data, and allows for unlimited music discovery in the form of a simple web-based music player.
About the app:
-I have high standards for "usefulness" of apps. I'm confident you will at least find some value in this app.
-Probably one of the fastest ways ever to play music on your desktop.
-Built from the ground up so you don't need to have to spend too much time building your own playlist (LOTS of music discovery options)
-Possibly a TOTAL replacement for whatever you use to listen to music on your desktop.
I'm doing all this for fun in my free time, and I am hopeful that people might find it somewhat useful. I personally use it more often than my paid Spotify account.
If anyone is keen, do let me know.
Thanks!

Categories

Resources