[Q] Google maps app - Wildfire Q&A, Help & Troubleshooting

Hello,
I am using ADT Bundle (Eclipse) and am trying to use Google maps in my project.
I have HTC Wildfire with CyanogenMod7 (2.3.3 API level10).
I am using Google Play services for Froyo (library).
I can get my project to show gray screen with Google logo and plus and minus buttons.
But it doesn't render maps.
I get this error:
Tag: copybit Text: Error opening frame buffer errno=13 (Permission denied)
I presume that this is due to wildfire not supporting OpenGL ES 2.0
Is there a software library that emulates OpenGL ES 2.0 that I can install to my phone?
Many Thanks!

I totally messed up the title/question:
Should have been like:
Is there OpenGL ES 2.0 lib for Wildfire?

most of developers left wildfire android
vladvlad777 said:
Hello,
I am using ADT Bundle (Eclipse) and am trying to use Google maps in my project.
I have HTC Wildfire with CyanogenMod7 (2.3.3 API level10).
I am using Google Play services for Froyo (library).
I can get my project to show gray screen with Google logo and plus and minus buttons.
But it doesn't render maps.
I get this error:
Tag: copybit Text: Error opening frame buffer errno=13 (Permission denied)
I presume that this is due to wildfire not supporting OpenGL ES 2.0
Is there a software library that emulates OpenGL ES 2.0 that I can install to my phone?
Many Thanks!
Click to expand...
Click to collapse
well it's right place to ask for help but sorry to say most of developers long ago left wildfire. so I would say you to head over with your question to android stack or android development forums with your questions. I don't know whether is of any use to you but Google has dropped support of froyo ROMs. now Google play and services don't work below 2.3.7. Good luck

vladvlad777 said:
I totally messed up the title/question:
Should have been like:
Is there OpenGL ES 2.0 lib for Wildfire?
Click to expand...
Click to collapse
Wildfire doesn't have a GPU so therefore it won't support OpenGL ES 2.0

try running cm7 or above, if it works it may be because the os version is not supported, if not then it is because they have dropped support for the device.

Related

openvpn anyone?

hi,
did anyone find a way to use openvpn on htc hero?
Catscrash said:
hi,
did anyone find a way to use openvpn on htc hero?
Click to expand...
Click to collapse
Not yet, but I am using the CyanogenMod 4.0.1 on my Dream and I have seen Donut on the HTC Click -- in both cases, Settings --> Wireless Controls is showing an option for VPN Settings, so I'm guessing that it would be a matter of time before this is available on the Hero and Magic firmware
Be patient, or wait for someone to cook a ROM with this feature
VPN wil be in Donut.
For now, it seems possible to implement it.
For the program GUI, it should good to extand that program to support openvpn and pptp vpn.
First of all tun driver is needed, you'll find it here.
Install and, as root, type:
# insmod /system/lib/modules/tun.ko
lsmod command should give you:
tun 11300 0 - Live 0xbf000000
That should load the tun kernel module.
I think we should then have to compile openvpn using android ndk.
A guy did it for the dream. Worth trying it. Maybe someone else could tell if binaries compiled for Dream can work on Hero
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
gogh57 said:
OpenVPN ist working on hero. I used the binaries for the G1. But the CIPHER is different: AES-256-CBC. I'm now testing it and if it's stable, perhaps I'm gonna compile openvpn with complete static openssl, so all functions should work.
If someone is interested, I can post my scripts and settings.
Click to expand...
Click to collapse
I am REALLY interested to now how you compiled it.
Hi!
I haven't compiled openvpn until now. I used this one:
https://www.digital-bit.ch/wiki/OpenVPN_auf_dem_G1
Just tried, may work. But i can't connect to my astaro because the key needs auth wit user and pw.
This Version hasnt been compiled with --auth-ask-pass. And reading from commandline doesn't work either..
I did compile it on my G1 with CyanogenMod ROM.
As far as I can see, it is working perfectly: I'm using it with certificates for 3 different VPNs.
Only issue: I wasn't able to complile a shared version of liblzo, so the binary is statically linked against liblzo.a (751 KB... )
Ah, yes, of course no GUI interface, shell only...
Hi!
Cool, could you post the binary? Could you give me a hint how you did it? I had several problems.
Would be perfect if someone could compile openvpn with " --enable-password-save"
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
wolfiedk said:
Please post it, when a OpenVPN GUI for the HTC Hero / Magic is available.
Thans alot
Click to expand...
Click to collapse
The great spam protection measures in this forum deny posting links for new users, so you have to manually follow them.
See: github.com/fries/android-external-openvpn
There is also an app and a statically linked openvpn binary at github.com/fries/android-external-openvpn/downloads
The openvpn binary has the following features:
* --enable-password-save
* statically linked against a blowfish enabled openssl
* statically linked against liblzo
Build:
* openvpn-static.bz2 was build on a donut-tree (1.6) for htc-magic
* openvpn-android-2.1.tar.bz2 was build on a cupcake (1.5) tree for htc-magic
* should run on a verity of (rooted) phones, please try it an give feedback.
A dynamically linked version is also available. The above git repo integrates seamless into the android build system. Some instructions may be found here: wiki.github.com/fries/android-external-openvpn/
Any feedback is welcome. Enjoy.
read this first -> http://sourceforge.net/projects/tunneldroid/files/README/download
First make sure kernel is compile with tun module
install tunneldroid from market
binary download -> http://sourceforge.net/projects/tunneldroid/files/openvpn-binary.zip/download
The newest version of my 'OpenVPN Settings' app is available at github.com/fries/android-external-openvpn/downloads

What does * mean? - GLOSSARY

People have always asked me (and I've always asked people) what does * mean. * being the thing you are asking. Most of the time you will probably guess or ask. If you ask you could be making your self easily a noob.
I have made this in order to help. If you see a mistake or incorrect definition please tell me so I can correct it.
* - anything and everything possible. A good example would be "All my friends live at 10* Croxley Street." This is saying that they are all live at 100, 101, 102, 103, 104, 105, 106, 107, 108 and 109.
Dev - See developer.
Developer - A man or woman who has created (developed) software.
ROM - 1. A modified version of the Android operating system operating system. 2. Read Only Memory, a place where information is stored and can not be destroyed, modified or written to.
AOSP - "Android open source project" a project by Google Inc. to give android to developers and manufactures for free (see open-source)
Open-source - (not to be confussed with free) A peice of software that is free to edit, use, distribute and share with no charge.
CM - See cyanogenmod
Cyanogenmod - A free open-source project based on the AOSP. It is a modded (see modded) version of the Android firmware
Firmware - see ROM (1)
Stock - An unchanged version of something. Example: I just flashed stock sense
OTA - "Over the air" a term used to indicate software that was sent to phones directly through the internet to their phones.
FOTA - "Firmware over the air" this normally refers to ROM's but can refer to radio firmware (see OTA)
Firmware - a piece of software to make hardware function correctly. This can refer to Radio Firmware, but is normally used as another name for ROM (1)
Radio - (not to be confused with Radio Firmware) A piece of hardware that allows communication. There are 3 main radios in your phone. Bluetooth, WiFi and GSM/CDMA.
Radio Firmware - (see firmware) a type of software that allows correct communication with the radio and the operating system. A newer firmware would normally improve battery life and call quality. The radio firmware only applies to the CDMA/GSM radio.
CDMA/GSM - A type of network communication between phones and carriers. GSM phones normally are included with SIM Cards that authorize them onto the network. CDMA have this authorization built in and do not need a sim card.
Kernel - An important part of all operating systems that handles the CPU and other vital components. A modded kernel may be used for overclocking.
Overclock - (not to be confused with underclock) to exced the default maximum CPU speed. This could make a phone more powerful but may cause damage. Although no damaged has been reported so far it could still drain battery life.
Underclock - to change your phones maximum frequency to LOWER than the default to attempt to extend the phones lifespan and battery.
Mod - A modification to a part of the phones software. It is also POSSIBLE to mod the phones hardware but is not recommended.
Modding - To perform a mod
Modded - to have included mods
Modification - see mod
Governor - a system embedded into the kernel to automatically change the current working CPU frequency depending on the workload. It would only go up to what it is overclocked (or underclocked) to, this is called the maximum frequency. It would not drop bellow the (just as eaisly configurable) minimum frequency.
Library's/Libs - a set of instructions for applications to use to function. A functioning camera lib would allow the camera to be used.
WFS - "Wildfire S" an armv6 device made by HTC in 2011.
Logcat - A logging system built into the ADB
ADB - "Android Debug Bridge" a system that can be accessed using a computer where you can manage the device from. You need the Android SDK to use it.
SDK - "Software Development Kit" a set of tools used for software development.
WIP - "Work In Progress"
JDK - "Java Development Kit" an SDK for the java platform. It is needed to run the Android SDK.
JRE - "Java Runtime Environment" a collection of binarys and files to allow java software to execute.
Execute - To "run" or "start" a binary
Binarys - (sometimes called bin's) a group of executable files.
RAM - Could be one of three meanings: 1. Memory for the CPU to process processes. 2. Random Access Memory, a place where information can be used, executed from, modified, or deleted. 3. A type of sheep.
SD - Short term for MicroSD
Marvel - A gsm version of the phone
Marvelc - The cdma version of the phone
Marvelct - A rare Easten CDMA version of the phone.
Marvel* - all versions of the HTC Wildfire S (see *)
GB - Could mean one of two things. 1. Gingerbread or 2. Great Britain
Gingerbread - Android 2.3
Froyo - Android 2.2
Honeycomb - Android 3.x. it was never released or ported to the wildfire s because it was built for tablets.
Ice cream sandwich/ICS - Android 4.0. The latest version of Android.
CM9 - Cyanogenmod 9. A modified version of ICS. (see cm)
RUU - "ROM Update Utility" An automatic installer for Radio Firmware, ROM and HBOOT
HBOOT - The bootloader for all modern HTC Android phones.
Custom recovery - A o version of the stock HTC recovery to install unoffical ROMs.
AFAIK - "As far as I know"
KANG - The process of creating a code based of someone else's code.
Zipalligned - This is something that makes a ROM faster. If you can improve this please contact me!
Deodexed - Where ODEX files are moved into the actual applications
APK - "Android Package" an Android application
Cache - A temporary collection of files that are created to speed up an app. A cache/cached file can be cleared without any loss of important data.
Sent from my Wildfire S powered by .sense using my fingers.
Good idea !
Sent from my HTC Wildfire S A510e using XDA App
benjamingwynn said:
Developer - A man or women who has created (developed) software.
Click to expand...
Click to collapse
So, are you trying to say it takes only one man but more than one woman to develop software, or is that a typo?
CafeKampuchia said:
So, are you trying to say it takes only one man but more than one woman to develop software, or is that a typo?
Click to expand...
Click to collapse
Typo lol
Sent from my Wildfire S powered by .sense using my fingers.
benjamingwynn said:
* - anything and everything possible. A good example would be "All my friends live at 10* Croxley Street." This is saying that they are all live at 10, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 10a, 10A, 10X, 105083b, 10e3.4dq!3 ....
Asterisk can stand for every value like you say, but that includes nothing, characters, signs and multiple characters and/or numbers and/or signs ​
ROM - 1. A modified version of the Android operating system. 2. Read Only Memory, a place where information is stored and can not be destroyed, modified or written to.
operating system has been doubled​
-- Firmware - see ROM (1)
Firmware - a piece of software to make hardware function correctly. This can refer to Radio Firmware, but is normally used as another name for ROM (1)
Firmware is doubled​
Click to expand...
Click to collapse
Nice done, just a few changes i would recommend if i'm allowed to
I changed and marked it directly at the quoted text
Will add this to the index, thx for doing it
Awesome info appreciate it
Good one......I don't know if the moderator sees this but if you do.....STICKY PLEASE!!!!!
what does KANG means?
dream707 said:
what does KANG means?
Click to expand...
Click to collapse
I don't know, asked around and google didn't help.
I wana to know,too
来自我的HTC Wildfire S 使用XDA 高级版 发送
There is a definition here: http://wiki.cyanogenmod.com/wiki/Terminology
Sent from my HTC Wildfire S A510e using XDA App
Mazer.one said:
There is a definition here: http://wiki.cyanogenmod.com/wiki/Terminology
Sent from my HTC Wildfire S A510e using XDA App
Click to expand...
Click to collapse
Done.
This should be sticked
MrTaco505 said:
This should be sticked
Click to expand...
Click to collapse
I agree.
Sent from my Wildfire S powered by .sense using my fingers.
Really a good dictionary
Thankyou for helping us
Enviado desde mi HTC Wildfire S usando Tapatalk
MrTaco505 said:
This should be sticked
Click to expand...
Click to collapse
And so it has.
SomeDudeOnTheNet said:
And so it has.
Click to expand...
Click to collapse
I contacted an admin
Sent from my HTC Wildfire S using xda premium
benjamingwynn said:
I contacted an admin
Sent from my HTC Wildfire S using xda premium
Click to expand...
Click to collapse
That I know.
Sent from my HTC Wildfire S using xda premium
error...
alot of thanks man,,,
ah just in Kernel line, u hav wriiten nay instead of may...
AmAnzx said:
alot of thanks man,,,
ah just in Kernel line, u hav wriiten nay instead of may...
Click to expand...
Click to collapse
Thank you, fixed it.
Sent from my HTC Wildfire S using xda premium

[Q] Android 4.4.2 Clock app source code to modify in Android Studio?

I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
You can download whole android source tree including alarm app from here: http://source.android.com/source/downloading.html
VoiceScripter said:
I'm looking for the Android 4.4.2 Clock app source code to modify in Android Studio.
Is that possible to find?
I don't need to replace the clock app or to change the whole Android 4.4.2 OS. But I would like to use the built in Clock application (source code) to make another application with just a few modifications.
I saw a clock application on the Google Play store that said it was the stock clock with modifications. That's where I got the idea that finding the Google source code for its Clock application might be possible. Ideally it would be a project file ready to use in Android Studio.
Thanks.
Is this it?
https://android.googlesource.com/platform/packages/apps/DeskClock/+/eclair-passion-release
Click to expand...
Click to collapse
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Run? you can compile any source code in Android Studio, whether it will run or not depends on which SDK you select and what target platform you use assuming you don't induce errors with mods.
VoiceScripter said:
Thank you. Will I be able to run any of that in Android Studio (0.8.9)?
I am able to run the Android Studio included samples, but no luck running samples that were not included with Android Studio. Like the samples on this page...
https://developer.android.com/samples/index.html
Currently, I'm going to try the method on this page...
https://github.com/gdg-hudson-valley/android-samples
Thanks.
Click to expand...
Click to collapse
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
No you don;t need Linux, you can download the source code in pieces rather than use GTHUB.
JUst Google "android clock example" you will find dozens of example apps and source code
VoiceScripter said:
When I say "Run", I'm talking about the little arrow in the Android Studio toolbar that says "Run".
I am able to run samples in Android Studio. The built-in applications were easy. The Android samples from this page were problematic.
http://developer.android.com/samples/index.html
Now I can run those Android samples too, thanks to this useful page.
https://github.com/gdg-hudson-valley/android-samples
Everything functions properly with the samples in Windows, the applications run on my USB-connected Android tablet.
So I looked at the webpage you provided.
http://source.android.com/source/downloading.html
There, it says that Linux (or a virtual machine in Windows) is necessary. So I installed Linux and then Java and then Android Studio. I didn't download the whole source code like on that page, but I imported (previously downloaded through Git in Windows) the Deskclock source code and ran it. Instead of 63 errors, it produced 67 errors.
I have installed every single SDK, in fact every single checkbox in the SDK Manager. Everything was there. Seems to me like its a problem with IDE configuration files. But I know it can be done. That's how ROM makers produce their ROMs.
I got the Deskclock application from this Android source repository page.
https://android.googlesource.com/?format=HTML
Must I use Linux as described on that page you provided to download the source described there in order to make any of the stock applications run in Android Studio? If so, I will get back into Linux and try that way.
Thanks.
Click to expand...
Click to collapse
I appreciate your attempts to help, but you should know by now that I'm putting much effort into doing this. It is apparently not a trivial thing.
When one "Googles" the term "android clock example" it produces a grand total of five results that are mostly off-topic.

[Library] AppListManager

Windows APIs for retrieving list of apps work very slowly, and also they don't show installed legacy apps (WP8 xap packages). This library solves these issues.
This library includes a built-in caching mechanism; so after the first scan, It'll take only a few seconds to refresh data. Also, this library extracts information about legacy apps by calling a legacy API and then extracting information manually from each app's files.
I'm already using this in the new version of App Data Manage Tool (You can compare the app start speed between version 2.1.0 and 1.5.4)
License: You can use this library in your apps and modify it to fit your needs, as long as you mention the name `AppListManager` and the name of the publisher `Mahdi Ghiasi` with a link to the repository in Github.
GitHub repository link: https://github.com/mghiasi75/AppListManager
Thanks for writing this! I've been considering writing something that would scrape the registry for installed apps, because (as you say) the public APIs are bad. I may just use your library instead. Thank you for open sourcing it!
Library updated with a better way to load legacy apps info, thanks to @gus33000.

Chrome 64-bit not running on 4a5G, because of 8GB RAM requirement

I was getting excited reading this https://www.androidpolice.com/2021/03/15/these-android-devices-are-eligible-for-64-bit-chrome/
For those of you who picked up the latest Android devices (Android Q+ and 8GB+ of RAM), we’ve rebuilt Chrome as a 64-bit binary, giving you a more stable Chrome that is up to 8.5% faster to load pages and 28% smoother when it comes to scrolling and input latency.
Unfortunately, when I downloaded Chrome version "89.0.4389.90 arm64-v8a + armeabi-v7a Android 10+ nodpi" from APKMirror I was still getting 32bit (chrome://version). Turns out the 6GB of RAM on the Pixel 4a 5G are not enough for chrome's memory hunger?!?
I am guessing somebody could do a build or modification to lower the RAM requirement?
Any other ideas?
istrebitjel said:
My chrome://version
Click to expand...
Click to collapse
Just use Bromite instead, it's better for your privacy
I had that problem as well and found a best solution: manually download and install the same 64-bit build version of Chrome, Trichrome Library and Webview from apkmirror.com, and upgrade manually. Bromite is ok, but I prefer stable Google Chrome from Google Play to enjoy Google Sync and all goodies. I'll explain:
Starting point: I have a Xiaomi Mi 8, which has 6 GB RAM and was always frustrated that I can't install 64-bit Chrome and Webview from Play Store, because by Google's decision only 8GB up can. This is a bit ridiculous for me, because I'm losing the best performance of the main app that I use in my phone, the web browser. I don't use many apps at once and 64-bit Chrome only takes some hundred megabytes of ram more than 32-bit. And sure Chrome 64-bit is faster than 32-bit, so after lots of studing and trying I found a solution. I don't like that Google forces me to have 8Gb Ram to run 64-bit Chrome! I manage my own phone, apps and RAM. ;-)
Example for latest version at the time of writing:
I start by searching for 'Chrome Fast' in apkmirror.com. Then it links in the download page to required Trichrome Library. And finally I search for 'Webview same_trichrome_version number' and once in its download page I check it links to the same previous trichrome Library, because they interdepend. So I download in this order: Chrome Fast, Trichrome Library and Webview. Then I install in this order:
Trichrome Library 102.0.5005.99 (arm64-v8a + arm-v7a) (500509934) Notice the same build number. Mixing build numbers won't work. 34 ending builds always contain 64-bit libraries. I have examined them to make sure.
Google Chrome: Fast & Secure 102.0.5005.99 (arm64-v8a + arm-v7a) (Android 10+) (500509934 Build, always last '34' ending) (apkbundle). You need an app to install apkbundles, like APKMirror Installer. I use APP Manager (root). You can add your language if it is avaiable. Normally it installs in english.
Android System WebView 102.0.5005.99 (arm64-v8a + arm-v7a) (Android 10+) (500509934) Notice the same build number (apkbundle)
Install the three packages in order: (Trichrome, Chrome and Webview). Google Chrome 64-bit will only start when the same Trichrome Library version is installed.
Webview is optional, but is highly recommended since it is always loaded in memory and used by any application that displays a web page (i.e: Outlook). Webview also depend on the same Trichrome Library version, so you'll want all three apps in synced versions so Android is optimized for 64-bit rendering and using shared processes and memory. If you don't install Webview 64-bit you will be wasting memory for 32-bit webview processes and 64-bit process for Chrome 64-bit/Trichrome Library.
If you install all 3 components, you are actually replacing 32-bit for 64-bit rendering for the whole system, taking only a few hundred megabytes more of RAM (out of 6GB in my phone).
You'll need to install manually all three apps to upgrade, I stringly advise you to untick Chrome auto update from Google Play so it doesn't get replaced by 32-bit version again.
Important: Also, from time to time, clean your system of older Trichrome Library installations. You can't uninstall them! I haven't been able to uninstall Trichrome Library with 'adb uninstall' or any package command/app. Only solution is using a root File Browser, like 'Material Files' and manually delete folders of older versions. Each version has two places:
/data/app/com.google.android.trichromelibrary_version_number****** (~124Mb)
/data/data/com.google.android.trichromelibrary_version_number***** (a few kb)
Enjoy Chrome 64-bit! Check chrome://version page.

Categories

Resources