adding sound to apps in linuxs - Java for Android App Development

hey i am running Ubuntu 14.04 and this is wear i do all of my development.
i have been coding android apps for a little while now and would like to add sound in all the tutorials i have seen or read they say add it to the raw folder and then set up a media player variable.
but on my Linux i went to my work space folder i has all the image type folders but there no raw folder?
how do i add sound if there's no raw folder?
thanks for the help in advance

beefmaster said:
hey i am running Ubuntu 14.04 and this is wear i do all of my development.
i have been coding android apps for a little while now and would like to add sound in all the tutorials i have seen or read they say add it to the raw folder and then set up a media player variable.
but on my Linux i went to my work space folder i has all the image type folders but there no raw folder?
how do i add sound if there's no raw folder?
thanks for the help in advance
Click to expand...
Click to collapse
The IDE does not create all possible folders when creating the project (otherwise your project would be pretty heavy on empty folders), so just create the raw folder manually (mkdir raw).

Related

mkrom question

I would like to know how to put files into \program files path. i have an application (pocket plus) which installs some of it contents into \program files\pocket plus . how can i do this with mkrom? from my understanding files1 and files2 go into windows.
thanks
alex
You can only create files in windows, and use the initobj things to make RAM copies. You probably want to run straight from windows, and adjust the registry settings and other stuff accordingly.
We've found that almost anything will run happily from \Windows.
excellent. so basically copy all the files a program uses to windows, modify the reigstry to look in windows instead of program files? am i correct?
thanks
alex

How do I access phone content to reskin?

How do you access all of the images/files for the os? There are some things Id like to swap out here and there. Try re-skining a few things. Do I need a kitchen?
Any help would be appreciated!
Thanks
-Aaron
CFC_GUI would be the ticket you are looking for.
Depending on what you are trying to edit depends on if they are manila files, png, bmps. what are you trying to edit?
CFC GUI seems like the ticket! I cant seem to locate the manila folder to edit the file though.
aaronbass said:
CFC GUI seems like the ticket! I cant seem to locate the manila folder to edit the file though.
Click to expand...
Click to collapse
The manila files are all stored in the windows folder but it is not a simple as editing the image and then putting it back. Make folder on your desk top for the files. Once you have CFC loaded up then go to tools and export to png, then you can edit them. once you edit the png files then use cfc to make them QTC files again and move them to your device. it will take some trial and error and maybe a reset or two to get the hang of it. Just read all you can on CFC and manila file editing
Active Sync the phone and the "windows" folder is nowhere to be found.
I have been reading about CFC GUI and I understand how stuff is done but, I cant find the windows folder...makes me feel retarded
aaronbass said:
Active Sync the phone and the "windows" folder is nowhere to be found.
I have been reading about CFC GUI and I understand how stuff is done but, I cant find the windows folder...makes me feel retarded
Click to expand...
Click to collapse
you just need to set the "show all files and folders" option in windows on your pc, then the windows folder on the phone will be visible
thanks man, found the folder and grabbed the files!
It's even easier then your making it. You can Active Sync , start CFC_GUI , go to Device, select "export files" , pick a folder to send them all to.

Emulator loading worng images

building a Game for Android ..
i deleted some Images from the Res folder on drawable-hdpi/ldpi/mdpi
refreshed
now when i load the program on the emulator it loads diffrenet images..
Progeam : Eclipse
SDK : Level 8 (2.2)
anyone had this problem b4 thanx for any help
Problem Sloved :
Remove any Images from the Res Directory.
Delete R.java manually move/copy back all the images to the directories
hit refresh in Eclipse ..
R.java will be created again and it works
Another way to accomplish this if you're using Eclipse to develop in is to go to "Project > Clean". This will delete your R.java file and force a rebuild.

Apps Default Folder

Hello All,
I just write this post because I want to know if there is a way to modify the path of all app folder create their folders. Because in Internal Memory I've so much folder and when I'm looking for a real important folder like Pictures , Documents etc, I've now 50 folders.
Do you know a way to do that?
Thanks!

App Localization / Globalization?

Hi all!
I'm a fairly inexperienced one-man developer, and I'm looking to make my apps viewable in different languages, in order to increase its popularity/usefulness in other countries.
My apps are quite text-heavy, so ideally it could be as simple as re-directing to text files with the proper language included, but I honestly have NO idea and I haven't been able to find any step-by-step tutorials simple enough to make sense to me.
Can anyone here help? Or at least point me in the right direction?
Thanks.
Also, if this topic is in the wrong section, please feel free to move it....
You can use resources files in Visual Studio. Create a folder named AppLocalResources for just a folder in you project and a folder named App_GlobalResources for your entire solution. In this folders you can add a Resource file name like your objects. See more on MSDN
TrivialPanPan said:
You can use resources files in Visual Studio. Create a folder named AppLocalResources for just a folder in you project and a folder named App_GlobalResources for your entire solution. In this folders you can add a Resource file name like your objects. See more on MSDN
Click to expand...
Click to collapse
thanks for your help .
Here is a link in MSDN :
http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff637520(v=vs.105).aspx
hope to help you

Categories

Resources