[Q] Q> Why OGG? - AT&T Samsung Galaxy S II Skyrocket SGH-I727

Why does android use .ogg files for alerts, notifications and such? I understand that it is a royalty free, open source format, but I'm just curious if that is the only reason or if there is more.
Thanks in advance...

U answered your own question. Android itself is an open source free platform, so it doesn't make sense to use a proprietary audio format on such a platform

iHenry said:
Why does android use .ogg files for alerts, notifications and such? I understand that it is a royalty free, open source format, but I'm just curious if that is the only reason or if there is more.
Thanks in advance...
Click to expand...
Click to collapse
It also has a very good quality to file size ratio, as I understand it.
But I think the big reason is it doesn't require a license.
.

Related

Developer Question about IM

I'm not a developer but have a general question for developers. Is the "IM" application part of the SDK to where developers could add clients/services/applications in to the IM application? A friend of mine has a dev phone and in the IM application it only has Google Talk, where of course T-Mobile bundles their SMS IM clients in the G1, it seems from the naked non-developer eye that this is possibly open to where third parties could integrate their own IM networks in to this application?
The entire source code for the IM app is up on the official android repository. Just download, make desired changes, sign and install
Datruesurfer said:
The entire source code for the IM app is up on the official android repository. Just download, make desired changes, sign and install
Click to expand...
Click to collapse
If thats the case I wonder why other IM programs such as Hello AIM! aren't utilizing this space?
xelencin said:
If thats the case I wonder why other IM programs such as Hello AIM! aren't utilizing this space?
Click to expand...
Click to collapse
That's developer preference really... They may be borrowing certain parts of it while changing the UI... You really cant tell without the source code.

The Battle For Wesnoth (open Source Iphone and PC game)

wesnoth.repositoryhosting.com/trac/wesnoth_wesnoth/[/url]
wesnoth.org
Possible port for Android? That would be amazing.
bump ....
it think its possible, but certainly we need proffesional.
arcadejumpers said:
wesnoth.repositoryhosting.com/trac/wesnoth_wesnoth/[/url]
wesnoth.org
Possible port for Android? That would be amazing.
Click to expand...
Click to collapse
This would be fantastic!
They posted that they were looking for developers, but I don't think they found anyone. Anyway here's the link: http://forum.wesnoth.org/viewtopic.php?f=6&t=18607
Maybe somebody gets interested!
janfsd said:
They posted that they were looking for developers, but I don't think they found anyone. Anyway here's the link: *link*
Maybe somebody gets interested!
Click to expand...
Click to collapse
That post is much too old. Also, Android is much more beyond "Java Developers". Instead of making a recreation, we could directly port this. Anyone interested in doing this yet?
BUMP! Hope I'm not being annoying by reviving this thread! but
maybe this is a bit late - hope not too late.
i saw the discussion on how to port the code.
i can tell you, you dont need to port most of the code at all. projects i looked into which run on multiple platforms make themselfs a lib - like libwesnoth.so - which features all the wesnoth c/c++ functions - the java implementation is more like a gui wrapper then, which mostly calls the library functions.
so you can maintain one codebase, which makes about 95% of the code - and the java code perhaps 5%. dont forget, underneath of the java gui which the user sees lives a full linux userland, which a 2.6 kernel with most of the common used libs.
if you wanna take a look, what is inside, download for example cyanogen 6.1 which is based on google aosp sources. inside the zip you find the system folder, which contains files you find in the root of a usual system. for investigation, look inside this .zip file: http://mirror.teamdouche.net/get/bravo/ ... signed.zip
hope this info helps a bit.
Click to expand...
Click to collapse
Just a little quote from the link! I just want a wesnoth port so badly. I'd gladly pay for the game.
Used to play this game on my nokia n810 lot of fun please someone!

[Q] how to convert .java and .class to apk

I have some java projects that i have created and i was wondering how to (if its possible) to create them to apk's and upload them to the market
Help will be appreciated thanks
http://developer.android.com may be helpful to you.
HTC Glacier running CM7 #33
thanks for the link, it is great!
jggimi said:
http://developer.android.com may be helpful to you.
HTC Glacier running CM7 #33
Click to expand...
Click to collapse
thanks but that still doesnt give me an answer lol
thanks for trying tho
What, you mean installing the SDK and importing your classes and whatnot into an Android project, then working up a framework for Activities and Intents -- in other words, creating an Android application -- isn't helpful?
There's a bazillion books and websites and such for Java developers who want to write Android apps.
jggimi said:
What, you mean installing the SDK and importing your classes and whatnot into an Android project, then working up a framework for Activities and Intents -- in other words, creating an Android application -- isn't helpful?
There's a bazillion books and websites and such for Java developers who want to write Android apps.
Click to expand...
Click to collapse
I understand that but I already have written programs in java, but i was just wondering is there a simple way to changing it to apk
ukrainehigh said:
I understand that but I already have written programs in java, but i was just wondering is there a simple way to changing it to apk
Click to expand...
Click to collapse
Hi there! As far as I know, there is no easy our direct easy to port applications from java to android.at least, you must rebuild all the user interface, and you also must add methods to deal with android's applications lifecycle...
Sent from my GT-P1000 using XDA App

Strongly need your advice

Hello everybody,
I am new to Android and web development in general. Recently Igot into a situation that is hard to figure out. I hope your professional advice can help me to solve the problem. A couple of months ago I realized that software dvelopment is a great way to earn money online. Making applications seemed to me the best way to have passive income streams bringing me cash from ads right into the pocket. I tried to code but it turned out to be so completely foreign to my mind and my nature, that I simply could not proceed.
Then, I decided to look for a company that actually develops software and knows how to do it. I found one company that looked legit and so we started working together. They created an app, implemented the ads and I uploaded it on the Android Market. It got really popular and I was so glad!
However, in a couple of months I noticed there was a new app that was EXACTLY like mine and it literally was stealling potential users that would choose MY app. I tried to contact the person but he said he had created the application before me. WTF! I saw he uploaded it AFTER I did.
What should I do? I see his app is increasing in downloads while mine is decreasing.
Report!! Perhaps???
Sent from my WT19i using xda premium
If I Have Helped You Can You Press
.
.
THANKS BUTTON
.
.
To support Me.
Welcome to the world of application development. Unless he literally stole your code, there really isn't much you can do about it. All you can do is to update your app to make it more appealing than his application. Have you also stopped to think that you two might be working with the same company? Double-dipping much?
prantoroy said:
Report!! Perhaps???
Sent from my WT19i using xda premium
If I Have Helped You Can You Press
.
.
THANKS BUTTON
.
.
To support Me.
Click to expand...
Click to collapse
Thank you. I pressed the Thank you button. I was thinking about it too but the thing is, how are they going to figure things out?
syung said:
Welcome to the world of application development. Unless he literally stole your code, there really isn't much you can do about it. All you can do is to update your app to make it more appealing than his application. Have you also stopped to think that you two might be working with the same company? Double-dipping much?
Click to expand...
Click to collapse
Thank you for your reply. Not many replied in my thread so I paticulary appreciate al the feedback I get
Is there a way to write an identical app ising a different code? I don't know about it.
Or, another qustion. Suppose he downloaded my app. How can he actually edit it? Does he use some sort of software? I was told, the apk file is like an archive that one can unzip and zip back again. But how would he do it, I wonder?
May be you are right and we are working with the same company although it's hard to imagine. There are thousands of companies in the world adn how in the world would we "meet" at one company? Here is thier website, by the way, may be it will help you to answer my questions --> a1qa website
May be you know better, I am a noob at software development, and I realize it.
Klaipedos said:
Thank you for your reply. Not many replied in my thread so I paticulary appreciate al the feedback I get
Is there a way to write an identical app ising a different code? I don't know about it.
Or, another qustion. Suppose he downloaded my app. How can he actually edit it? Does he use some sort of software? I was told, the apk file is like an archive that one can unzip and zip back again. But how would he do it, I wonder?
May be you are right and we are working with the same company although it's hard to imagine. There are thousands of companies in the world adn how in the world would we "meet" at one company? Here is thier website, by the way, may be it will help you to answer my questions --> a1qa website
May be you know better, I am a noob at software development, and I realize it.
Click to expand...
Click to collapse
You can easily unzip an apk file by using any Archive manager like WInZip, WinRAR , or 7-zip ... But can't actually make great changes like that ... But there is something called as Decompiling an apk, .. which will actually compiled the compiled java classes.dex file into .smali files... Now .. you can easily do some basic or sometimes even advanced changes to the app ... like for example .. you can change the app name by simply editing the string.xml in the res folder... then again recompile it into an apk and redistribute under a different name .. it's quite possible ... If you want to reduce the risk of such problems ... i'd recommend you have a look at ProGuard.
The ProGuard tool shrinks, optimizes, and obfuscates your code by removing unused code and renaming classes, fields, and methods with semantically obscure names. The result is a smaller sized .apk file that is more difficult to reverse engineer.
Click to expand...
Click to collapse
It is possible that someone can decompile your apk and read your source code if they had enough time and resources. If you are worried about such things you might have to begin using other techniques such as code obfuscation or encrypted compilers to protect your source code. And yes, it is possible to have two program do the same thing but have different source code to do it. Although there might be some parts that are the same, how you write you code will be different than how they write it.
You should be aware that making a lawsuit will cost you more money than you earned and if somebody makes something that does the same thing as you ddid, that still does not mean that they have stolen something from you. Jeez, how can somebody who hosts apps not know this, are you teenager or something?
Yes, in programming, it is possible to write programs in 50 different ways and do the same thing.
You cannot copyright ideas, only source code and functions...unless you are apple of course. They can copyright rectangular shapes.
What you should do? Get his app, and compare it to yours. I dont know if you can access source code in android apps because I dont develop aps yet, but if you can, you should compare his fuctions with yours. If the code is 80% simmilar, it is stolen.

[APP][ALL ANDROID VERSIONS] DEVELOPER CONSOLE for Google Play [Open-Source]

Hi I have an Google Play Dev Accaunt and Google have for everything an App ( Google Analythic , Google I/O etc.) but not for thhe Google Play Developer Console and beccause that I made an app about that !
I know that app isnĀ“t perfect and it unnecessary but I think it's nice for something even an app to have
Feedback is welcome !
And sorry for my bad english ...
Screenshots :
*Coming Soon*
The Open-Source Code is on GitHub :
https://github.com/Ch-Developer/Developer-Console
Click to expand...
Click to collapse
Download :
apk : View attachment 2887193
on Play Store : https://play.google.com/store/apps/....ai_christian_developer_app.Developer_Console
Developer_Console(2) is the old Version at the new Version changes :
#add imprint
#fix bug at log in
reserved
Well this just looks terrible.
ktetreault14 said:
Well this just looks terrible.
Click to expand...
Click to collapse
Why you so negative?
To op, great job
ktetreault14 said:
Well this just looks terrible.
Click to expand...
Click to collapse
Sorry but better than nothing or ?
gamepois0n said:
Why you so negative?
To op, great job
Click to expand...
Click to collapse
Thanks
I meant as in it looks like it steal your google sign in credentials.
ktetreault14 said:
I meant as in it looks like it steal your google sign in credentials.
Click to expand...
Click to collapse
Do not worry it does not. But if you do not believe me, here is the SOURCE code is made with beta AppInventor (http://beta.appinventor.mit.edu/)
View attachment Developer_Console.zip

			
				
believe me now?
sorry to sound truly negative but it is with best interest; but why would you be rfeleasing source code that is irrelevant to others to be able to check? if you are going to post a source code using a developement software thats minimally used to begin with? you might as well just make a simple layout, use buttons, and just load webviews to just load the mobile website for the developer console... as stupid as that may sound thats basically all i can truly think would be a good use for that because when its something as secure needed as the app developers developerconsole u will NEVER see too many people use random apps to access it, let alone using .shm and othe runknown file formats that dont open with notepad; so posting such soruce code is no use to any developer to "check for yourself" as it is still unccesable to the developers to check...
in other words basicly this topic should be marked as closed as there is no true way to check the legitmacy of this app and the codes submitted apon requested to see if its not malicious is irrelevant; as a google account hacking may be one thing; but a hacking to a developers console cannot be acceptible to other developers and thus why not many apps are made for the console as it just isnt trusted by other develoers to use unless it is really from "pub:Google inc." on google play
jkok said:
sorry to sound truly negative but it is with best interest; but why would you be rfeleasing source code that is irrelevant to others to be able to check? if you are going to post a source code using a developement software thats minimally used to begin with? you might as well just make a simple layout, use buttons, and just load webviews to just load the mobile website for the developer console... as stupid as that may sound thats basically all i can truly think would be a good use for that because when its something as secure needed as the app developers developerconsole u will NEVER see too many people use random apps to access it, let alone using .shm and othe runknown file formats that dont open with notepad; so posting such soruce code is no use to any developer to "check for yourself" as it is still unccesable to the developers to check...
in other words basicly this topic should be marked as closed as there is no true way to check the legitmacy of this app and the codes submitted apon requested to see if its not malicious is irrelevant; as a google account hacking may be one thing; but a hacking to a developers console cannot be acceptible to other developers and thus why not many apps are made for the console as it just isnt trusted by other develoers to use unless it is really from "pub:Google inc." on google play
Click to expand...
Click to collapse
So for example, I use a different google account for google for play and store in the browser I'm not always logged accaunt with my App Maker wherefore I use this app because I do not have an extra logout. And I can only repeat it is not a hack app that would AppInventor with the impossible
Based on the screenshots it seems like the app is just a bunch of WebViews that load the mobile version of the Dev Console. That isn't much different from just loading the page in the browser....and there's the added security concern about stealing account credentials as someone pointed out earlier.
Also, if you're going to make your project open source, don't share a proprietary format. Share the raw java source code on Github.
If they tell me how happy ... in a normal app with eclipse but I knew this I did with AppInventor as I have already written ...
davelee1054 said:
Based on the screenshots it seems like the app is just a bunch of WebViews that load the mobile version of the Dev Console. That isn't much different from just loading the page in the browser....and there's the added security concern about stealing account credentials as someone pointed out earlier.
Also, if you're going to make your project open source, don't share a proprietary format. Share the raw java source code on Github.
Click to expand...
Click to collapse
exactly! developers appericate when u "open source" to use a format we ALL can use and are comfortable with; i would prefeer even obfusticated java code that u need to route where all the things go thghen some random format they send out to use their program; but i have deminstrated to people in my local area that just because the app uses webviewsx it does not mean safe; there is still intents you can use to monitor keypresses in certain feilds (also why newer keyboard apps say they dont keep logs in their privacy notes because such things are known for keylogging)
and even if it is build in eclipse i dont feel i need to use an extention as he seems to make it sound like to just view it as i tried reading it in eclipse (as i removed notepad, wordpad, microsoft office so i can use eclipse on all documents) so even if i could see "the codes" why push your application to read the codes as even if u released the source, its still not readable without your extention program you made, and it may seem legitable to you as the developer (trust me on my app sms Tasks some things i do to it are questioned by some just for the fact its a sms-reciever client to control phones remotely with a pass phrase, u can see it in my sig for more details if u wanted further looks) but in regards to this not many people trust these things as you either need to use someone elses program to even read it, people dont trust random tools with little credits to it, and expecially when the app is sketchy and its logcats (and apk tool'd decompiled source codes when de-obfusticated) does show indeed this is WEBVIEWS but instead it also throws some exceptions, some exceteras, and a few more things then just loading a webview as it does, so im just saying that when you are doing stuff like these expecially something as secured needed as the developers console to release their apps, to release monitations, to make money and review statistics, not many people will trust a app to do so, and are even sketchy using mobile browsers to do so expecially from mobile internet (not wifi) as all networking is tracked from them and everything done on it even more then wifi-internet-compatible companies do even with VPN's and stuff theres some things that are truly not trusted in 3-rd party sources without true credibility, some people never trusted paypal in its early years due to it keeping logs of peoples creditcard information, social security information, and other details for tax-based incomes as even at its early times the encryptions used were minimal to what they have now
basicly if you read all the comments here, and all whats in them u will see that if you release the codes that made it, use it in a format we can all truly see and use as the sources u released are useless to debug or see its true credibility
Well said
-_- I gave you the source aso ....
Hey I make it to GitHub !
The Open-Source Code is on GitHub :
https://github.com/Ch-Developer/Developer-Console
Click to expand...
Click to collapse
Mhhhh..

Categories

Resources