so in android 4.0.1 a new ''updated" version of the android TTS pico engine was introduced. it sounds much less robotic now. In Scott's clean ROM the new voice has been implemented, but in Newt's 4.0.3 ROM the old pico voice is used.
Does anyone know which files control the TTS engine? I already tried replacing the /system/tts folder in newts rom with the one from clean rom and it didnt work.
I know there are a few apps in the market to change the tts voice, but i dont want to pay the $3. i would rather donate it to the rom developers here on xda
this should really be posted in general, as it is not development and a question, though i understand you wanted to get more developer attention by posting here.
That being said, here is some news i found here:
http://developer.android.com/sdk/android-4.0.html
Text-to-speech Engines
Android’s text-to-speech (TTS) APIs have been significantly extended to allow applications to more easily implement custom TTS engines, while applications that want to use a TTS engine have a couple new APIs for selecting an engine.
Using text-to-speech engines
In previous versions of Android, you could use the TextToSpeech class to perform text-to-speech (TTS) operations using the TTS engine provided by the system or set a custom engine using setEngineByPackageName(). In Android 4.0, the setEngineByPackageName() method has been deprecated and you can now specify the engine to use with a new TextToSpeech constructor that accepts the package name of a TTS engine.
You can also query the available TTS engines with getEngines(). This method returns a list of TextToSpeech.EngineInfo objects, which include meta data such as the engine’s icon, label, and package name.
Building text-to-speech engines
Previously, custom engines required that the engine be built using an undocumented native header file. In Android 4.0, there is a complete set of framework APIs for building TTS engines.
The basic setup requires an implementation of TextToSpeechService that responds to the INTENT_ACTION_TTS_SERVICE intent. The primary work for a TTS engine happens during the onSynthesizeText() callback in a service that extends TextToSpeechService. The system delivers this method two objects:
SynthesisRequest: This contains various data including the text to synthesize, the locale, the speech rate, and voice pitch.
SynthesisCallback: This is the interface by which your TTS engine delivers the resulting speech data as streaming audio. First the engine must call start() to indicate that the engine is ready to deliver the audio, then call audioAvailable(), passing it the audio data in a byte buffer. Once your engine has passed all audio through the buffer, call done().
Now that the framework supports a true API for creating TTS engines, support for the native code implementation has been removed. Look for a blog post about a compatibility layer that you can use to convert your old TTS engines to the new framework.
For an example TTS engine using the new APIs, see the Text To Speech Engine sample app.
Click to expand...
Click to collapse
The bolded part leads me to believe that you need new framework api(s) to be able to change over. Though i could be completely wrong, this was just my best guess.
Also, since we do not have a FULL release, but rather a ICS leak, it may be that there are more difficulties than a full release would have.
i was going to post in general, but like you said i thought the devs would have a better chance at seeing it here. a mod can move if necessary.
i did see the post you mentioned on a google developer site. i guess the new APIs will be implemented when we finally have a official ICS build.
you should have went with your gut and post it in the general section. the devs will see it, or hear about it or someone who has knowledge will answer it. please keep the dev section clean for development. thanks.
Hi all,
I am developing an android app. I would like to know are there any tips/ways to optimize the app before posting it on Google play. Is it necessary for me to do this or the Android OS will take care of these? So far I've used simple tools like zip align, layout opt, 9 patch etc..
Also are there any tools I can test my app using automation like monkey testing.
thanks in advance
Murali
QA of Any Android Apps
Hi, you can test your application before uploading your app on Google Play follow below link i think you will get best information how to test and upload your apps.
Thanks,
developer.android.com/google/play/billing/billing_testing.html
Hi..
im so curious about this, what is the difference between:
1. AOSP Webview and Google Webview?
2. What are the advantages of them?
3. Which one is better (or suggest) to using in custom roms nougat?
i noticed, mostly all custom roms preinstalled with AOSP webview (as you can see it in dev. options on "webview implementation".) but once we donloaded google/android system webview in playstore it automatically replaced the AOSP webview with Google one. and theres no option to switch or choose between them.
4. does the Dev's or AOSP webview will always be updated?
(since google webview always does within playstore)
If anyone have ideas about them, a bit of explanations which one should i pick on custom rom, i would be much appreciated, and im sure people would like to know also, thanks a lot!
It honestly depends on the developers to update the WebView implementation themselves. The difference comes in that ROMs ship Chromiums implementation instead of Chromes meaning that we lack the proprietary stuff shipped in Google's standard WebView. You will also notice that Chrome can provide WebView features too. Often Canary is the best route to take on this as it provides the latest implementation of WebView, and in my experience, has been more than stable (WebView at least, the browser isn't excactly a joy)
I've found Google Webview to be more stable than some ROM's builds of AOSP Webview. If you notice apps using that little web browser within apps crashing more often than normal switch it.
I prefer the Android Web Viewer because its less invasive. MHO They may crash more because of google play's aggressiveness as an intrusive APP
As many of you know, the latest google maps adopts ar to give directions through signs appearing on camera. Did anybody find a way to make it work on our x2? Other arcore app are working ok (like measure, etc) on our device.
Google Maps with ar needs the user to be Local Guides level 5 and above and (unless a recent update changed it) to be on the google maps beta program.
EDIT-- This post is super old (but still works).
Another method (maybe better for your use case?) is the Aurora store. Please see the COMMENTS SECTION.
How To Download any app on the playstore, Without installing GMS, GAPPS, AMAZON, Or any other App Store
EVOZI:
https://apps.evozi.com/apk-downloader/
GOOGLE PLAY STORE:
Android Apps on Google Play
Enjoy millions of the latest Android apps, games, music, movies, TV, books, magazines & more. Anytime, anywhere, across your devices.
play.google.com
Simply paste the playstore link to evozi, of the app you want to download!
This is not warez, you Can Not Download Paid apps.
This site just caches and backs up all our favorite apps.
Rarely, if you're looking for something too obscure, it will not be able to locate it.
Have Fun
Google Play Store lets you download and install Android apps on an Android-powered phone or tablet or emulator if GMS Core already are installed thereon.
Sometimes evozi will say something about "you're being rate limited" and it won't work. I think this is bc they are getting too much traffic. I use Evozi in this example, as it is the cleanest (adless) experience, but do bare in mind you can always use other Mirrors~! sites like APKpure.com are mostly safe
any idea how does https://apps.evozi.com/apk-downloader/ work as am trying to automate some work and i dont want to depend on apk-downloader or any other mirror
@synackers sorry I just now had the time to research what I wanted to share. There's a "store" that has access to the playstore repositories, that is open source, and gives the user the freedom to choose to enable google features or not. This works on windows phones too and I would guess WSA too?
It is called the "aurora store" it's website is here:
auroraoss.com
This is still new to me so I can not explain it personally but the knowledge is available
This article explains a little about it and shows pictures
Maybe they have a github repo somewhere you can obtain the code you need to dl things
Hope it helps!
Hi Jeneh , to be honest am not interested in any open source apk mirroring available in internet
am seeking to understand how auroraoss or evozi actually works behind the screen ... how do they give you apk to be downloadable is also fetched from other mirror or do they have google developer and google offer any api to play store ..etc
more deep technical details is of my interest . i do appreciate your feedback
@synackers The Aurora Store is different from evozi or other sites like evozi, in that it actually accesses the repositories, ie the link to the android app in question.
For instance: to download the app "Termux" a call is made to get the app from com.termux and it goes on to install and build from there, the latest software.
When using evozi or apk mirror, they save actual hard copies of the apps to their servers to share to users, which could be any older version of the app.
Evozi regularly redownloads the more popular apps from the play store and they take requests. However there is No version choice available. The downloaded apks hash signatures will match the playstore app sigs for that app version.
Sites like apk mirror and others tend to keep all the older app versions and provide a choice which version to download. This is my only use case for these as they are more risky and you should vet the sigs on them.
Here is aurora's gitlab https://gitlab.com/AuroraOSS/AuroraStore
This link has all the code to be able to go through and find exactly what you need.
Some info on the code
"Aurora Store was originally based on Sergei Yeriomin's Yalp store. Aurora Store v4.0 is a rewrite of version 3 in Kotlin"
The developer of the store has made a page here on xda that maybe they would be willing to give better insight to a specific question you have in the installation process to provide the technicals.
Outside of Aurora, it may be beneficial to learn about PackageInstaller to be able to manually install and or uninstall apps with code. Or Package Manager, if you open that spoiler and select the "PM" option you can see all the code for using it.
Hi Jenneh ,
much appreciate your response and cooperation |
https://www.codevoila.com/post/77/how-to-install-or-uninstall-an-android-apk-file-programmatically this is definitely valuable and its crystal clear for me on how aurora works.. i had a glance at the code in github .
now my challenge or use case which i want to achieve is as following ;
1. need to take APK directly from play store ( i dont mind if google offer paid API which am not aware or seen )
this should be automated off android physical phone / or emulator
working in other project ^^ and stuck in this point
what i have noticed indeed evozi take package from playstore cause i checked an APK which recently was published and not available in any other mirror site
Aruroa still need mobile phone or emulator to work
Thanks again and appreciate your cooperation
With regards to thread's title "Download Any Apk Off The Playstore Without installing Google, AMAZON, or Any other APP Store" take note that you of course need an app store to get APKs from.
Never make use of Aptoide: it's Large, Decentralized, Dangerous.
Aptoide is one of the most sophisticated app sources. The store works with a distributed network of different store providers and combines them on a unified platform. However, this poses significant security risks.
Truely not what am seeking , any mirror is not an enterprise grade options cause security risk is high so if there is any way to download directly apk from play store without the need for emulator or device would be much appreciated
The app store with least security risks is Google Play Store.
Apps from outside of the Google Play Store are also scan using Google Play protect on the device, it is a security risk to install apps outside of the Play Store but as long as you trust the app developer you should be fine.
well, what is the case if i need to automate a way for MDM solutions
IDK.
Probably MDM isn't not applicable if the managed devices differ in Android version and ARM architecture.