Crosswalk runtime - Android Design Resources

I developed some hybrid html5 android app, with crosswalk runtime 14 shared for all my app, from I updated to the last crosswalk version (18), some of these don't work correctly.
The apps are based on jquery mobile mainly.
Anyone knows the changes in the crosswalk runtime that could block the correct work of these apps?
Note: I only use Cordova plugin to close the app.
Thanks a lot in advance..
Regards.
David.
Enviado desde mi D2303 mediante Tapatalk

Hi,
try the github url: https://github.com/crosswalk-project/crosswalk

Here is a complete changelog with complete description of changes from 14 to 18:
https://crosswalk-project.org/documentation/release-notes.html
As you can see there are quite some things that were refactored, also make sure you are using the latest version of Cordova and JQM. Also, there are some deprecated functionalities in Jquery since 2015, so you may need to check it as well.

Related

C++ Compiler for Android?

After googling this topic and finding nothing, I figured XDA was the place to go. I am looking for a way to get a C++ compiler working on my phone (mytouch slide) or android in general.
Thanks in advance
Que? Like a C++ compiler to compile for android? Why would u want this C++ don't run native on Android it must be called from java so it would be pointless.
There is an sdl port around that required zero knowledge of.java but I believe it still has to compile the java each time. If not it could be possible...
Sent from my Nexus One
I don't want to run the programs on my phone, just compile
Compile for what?
What is the Android NDK?
The Android NDK is a toolset that lets you embed components that make use of native code in your Android applications.
Android applications run in the Dalvik virtual machine. The NDK allows you to implement parts of your applications using native-code languages such as C and C++. This can provide benefits to certain classes of applications, in the form of reuse of existing code and in some cases increased speed.
The NDK provides:
* A set of tools and build files used to generate native code libraries from C and C++ sources
* A way to embed the corresponding native libraries into an application package file (.apk) that can be deployed on Android devices
* A set of native system headers and libraries that will be supported in all future versions of the Android platform, starting from Android 1.5
* Documentation, samples, and tutorials
The latest release of the NDK supports these ARM instruction sets:
* ARMv5TE (including Thumb-1 instructions)
* ARMv7-A (including Thumb-2 and VFPv3-D16 instructions, with optional support for NEON/VFPv3-D32 instructions)
Future releases of the NDK will also support:
* x86 instructions (see CPU-ARCH-ABIS.TXT for more information)
ARMv5TE machine code will run on all ARM-based Android devices. ARMv7-A will run only on devices such as the Verizon Droid or Google Nexus One that have a compatible CPU. The main difference between the two instruction sets is that ARMv7-A supports hardware FPU, Thumb-2, and NEON instructions. You can target either or both of the instruction sets — ARMv5TE is the default, but switching to ARMv7-A is as easy as adding a single line to the application's Application.mk file, without needing to change anything else in the file. You can also build for both architectures at the same time and have everything stored in the final .apk. For complete information is provided in the CPU-ARCH-ABIS.TXT in the NDK package.
The NDK provides stable headers for libc (the C library), libm (the Math library), OpenGL ES (3D graphics library), the JNI interface, and other libraries, as listed in the section below.
The NDK will not benefit most applications. As a developer, you will need to balance its benefits against its drawbacks; notably, using native code does not result in an automatic performance increase, but does always increase application complexity. Typical good candidates for the NDK are self-contained, CPU-intensive operations that don't allocate much memory, such as signal processing, physics simulation, and so on. Simply re-coding a method to run in C usually does not result in a large performance increase. The NDK can, however, can be an effective way to reuse a large corpus of existing C/C++ code.
Please note that the NDK does not enable you to develop native-only applications. Android's primary runtime remains the Dalvik virtual machine.
The ndk allows u to use c++ c/c++ code in Android. That code must be called from java tho.
Sent from my Nexus One
I don't think you guys are understanding his question... He's not looking to write apps for Android... he's writing stuff in C++ (presumably for desktop or maybe other embedded applications, I dunno) and just wants to be able to compile that code on his Android device...
Now as far as an answer to that question, they did kinda cover it... Since pretty much everything in Android runs in Java, I believe it would be pretty difficult to write a C++ compiler that could run on Android.
To install an compiler in your Android device, google around for how to install Debian in it. Don't be afraid, you install it in parallel of Android, you will need a command or terminal window as well (available in the marketplace).
Debian comes with everything you need to compile in your device.
I hope I was useful.
Cheers
Thank you abrigham for clearing that up for me. You are exactly correct.
Ernestus, that seems like it would cause more problems then it would be worth
hmm.. i was googling for this as well.. thought it'll be useful to have this around.
JDV28 said:
Thank you abrigham for clearing that up for me. You are exactly correct.
Ernestus, that seems like it would cause more problems then it would be worth
Click to expand...
Click to collapse
Next best option then is to cross-compile to Android/ARM from another platform. The arm-eabi toolchain provided by Google's NDK is one option as others have already mentioned.
Codesourcery ARM toolchain is another, for Linux i686 theres link to the downloadable archive see this post (search for 'wget THISLINK' text on that page).
- jc
If your looking to corss compile for android, check this link out.
http://teslacoilsw.com/dropbear
Installing debian isn't too bad, and would give you the most flexibility for compiling on the phone.
You could also ssh into another computer using connectbot or some other terminal and code/compile remotely.
Another way to do remote compiles is continuous integration. Edit/upload the file to your repository, and using a server such as Jenkins, run the compile and view the results through the browser or an app such as Hudson2Go. Jenkins will also auto-compile on edits and can send you a text if the build fails. Jenkins is very easy to setup.
Try finding an online c++ compiler or you could connect to a windows or linux machine/server to upload andcompile your c++ files.
JDV28 said:
After googling this topic and finding nothing, I figured XDA was the place to go. I am looking for a way to get a C++ compiler working on my phone (mytouch slide) or android in general.
Thanks in advance
Click to expand...
Click to collapse
Use "c4droid" this is a paid app.. anywy if you like search on the market.
Another alternitiv is out there now. Not sure how good it works.
C / C++ Compiler
im looking for compiler too i found i market a4droid compiler but it costs... and i couldnt find enywhere free apk
Easiest thing to do would be a chroot Linux environment from an existing distribution, like Ubuntu. Then compilers for nearly any language you can think of are an "apt-get install" away.
If you're running CyanogenMod 7, you have a large SD card, and you don't mind repartitioning the SD card and shaving off 2 GB or 4 GB for Linux, then I'll be posting a howto in the next day or two. I have Ubuntu 11.10 Oneiric Ocelot running out of /sd-ext cleanly, using only files from official sources (<32 MB file from cdimage.ubuntu.com and everything else via apt/dpkg with signature verification) rather than from rapidshare-like sites.
Or about a year ago there were instructions posted for unzipping a ~2 GB image containing an older version of Ubuntu downloaded from a filesharing site. You could do that if you have an immediate need.
you can download from my blog
http://dateno1.egloos.com/855501
it from https://market.android.com/details?id=com.n0n3m4.gcc4droid&feature=more_from_developer
it has some library problem but work well (i already compile few binary for my phone )
I think c4droid maches perfectly what you were looking for. I'm using it to work on my projects "on the road" and so far it works pretty well.
A little tricky to set up, since you need "gcc plugin for c4droid" but to choose g++ compiler, and builds are saved at "data/data/com.n0n2m3.c4droid/files/temp" or something like that...
There's another option, but you still have to pay: DroidEdit Pro. Perhaps better editor (didn't test it though) but without it's own compiler, you have to set up an external compiler from sftp server.

[MOD][Xposed]Malware Buster 1.1

Malware Buster
Intro:
This is a Xposed module. It helps to prevent malwares to register service/receiver which were disabled in My Android Tools before.
Manual:
Use My Android Tools/3C Tools to disable service/receiver of your target Apps Install this module, enable it in Xposed Installer, you need to reboot device at the frist time. Check the target Apps you want to disable in Malware Buster UI.
Troubleshoot:
Look at log of Xposed Installer, many runtime information will be shown there.
Reference:
http://developer.android.com/refere...tEnabledSetting(android.content.ComponentName, int, int) https://android.googlesource.com/pl...va/android/app/ApplicationPackageManager.java Some UI codes come from https://github.com/rovo89/XposedAppSettings
Download Link:
http://repo.xposed.info/module/com.rexpress.xposed.malwarebuster
流氓终结者
介绍:
Android上有很多流氓App, 比如xx地图, xx输入法, xxx钱包, xx点评, 会注册一堆service和receiver常驻后台, 即使在App的设置里关掉各种推送也没用. 常见的方法是使用绿色守护. 对于高级用户来说使用My Android Tools/3C Tools, 可以更有效地关闭不必要的service和receiver. 可是这些顽固的App会在运行的过程中重新注册这些service/receiver, 而My Android Tools只是静态地禁用, 没有常驻进程, 无法检测是否被重新开启了. 本App的解决方案是使用Xposed Module, 通过Hook setComponentEnabledSetting方法, 改写参数为DISABLED, 让流氓App无法重新注册service/receiver.
使用方法:
使用My Android Tools/3C Tools禁用service/receiver 初次安装在Xposed Installer里勾选后需要重启 打开本App的界面, 勾选需要和谐的App
Reference:
http://developer.android.com/refere...ting(android.content.ComponentName, int, int)
https://android.googlesource.com/pl...va/android/app/ApplicationPackageManager.java
Some UI codes come from https://github.com/rovo89/XposedAppSettings
Download:
http://repo.xposed.info/module/com.rexpress.xposed.malwarebuster
Source Code:
https://github.com/twilightgod/MalwareBuster
? good thx for share
来自我的 LG-D802 上的 Tapatalk
This module really caught my eye but I can't find "my android tools". Is this app only available for specific devices or in some countries? Can you post a play store link to "my android tools"?
[size=-4]Sent from my Boeffla powered Slim (4.4.4) GT-I9300[/size]
https://play.google.com/store/apps/details?id=cn.wq.myandroidtools
bravo
nice and neat, thank you developer
Is it possible to enable this also for System Apps?
I can see in Amplify that Play Services tries to use Services I have disabled.
Thanks!
need help
@twilightgod Some instruction with details would really be nice. What does it do? Does it just stop the components from loading, shut them down, bypasses them, or what? I already use My Android Tools, awesome app.
I don't have a plan to hack system app, it's dangerous in my local test.
Google Services work well and costs not so much battery without GFW, disabling some of them while keeping basic functionality work will not help to your battery in if you don't have a stable way to get off GFW (like shadowsocks) in my experience.
Sorry, I didn't put much details in English.
The use case is, some apps will register service/receiver when it's running, so even if you disable bad service/receiver in my android tools, they will be registered again in next run, because my android tools will not run all the time in background.
This app will help to prevent them from registration.
Myandroidtools is flagged as malware/Trojan/PUP by 4 different virus scanners and together with appstart and agree to the permissions of the app is a script invoking "qihoo", searching for x86, x64 and a few more libraries on your device.
I seldom buy applications, but this one seemed fine before I got to know it.

dot42 open source Xamarin alternative

dot42 is open source Xamarin alternative. You can create Android app using c#. You can grab latest stable version from official repository https://github.com/dot42/dot42. But developer Olaf Pettersen created many fixes and improvements on it own repository https://github.com/ninjasync/dot42. So I forked it, made some fixes, compiled and generated setup from Olaf repository. You can download it from my gdrive https://goo.gl/jxAHgF
Olaf ported some libraries to work with dot42: MVVM Cross, JSON .NET, OxyPlot etc. Check his repository.
If you have any question about how to compile your own version you can ask here.
Currently android 5.0 is not supported. Apk files not working.
Hi, I have already a game build in C so I can covert it in an apk file with this software? Is it possible? E.g. In one of game's folder there are file like
File ACT
File AIR
File CNS, DEF e SFF
Sent from my LG-D802 using Tapatalk 4 Beta

[APP] AmazMod

First public beta release!
Play store: https://play.google.com/apps/testing/com.edotassi.amazmod
Watch's service installer (only for Windows): https://github.com/edotassi/AmazMod/releases/download/1277/Amazmod.service.installer.ver.1277.exe
Watch's service apk: https://github.com/edotassi/AmazMod/releases/download/1277/AmazMod-service-1277.apk
Amazmod – the missing link for Pace and Stratos.
Thought that your watch can't do more? Well, it sure can!
Amazmod is a completing application for the Amazfit Client, compatible with the Store/Mi store versions, based on server/client configuration for your Amazfit watches, and is capable of working in two configurations:
1. No additional software on the watch – no installation is needed on your watch, just few specific settings changes in the Amazfit app.
2. Service component running on the watch – no root required for additional functionality, a manual installation is required on the watch with the provided semi-automated user friendly installer.
What you will your watch learn to do with Amazmod?
No service on the watch – stock configuration:
• Disabling all notifications – co-existence with the stock Amazfit app
• DND consideration – no notifications will be pushed to watch in DND mode
• Control over timeout of the notification screen
• Voice call notifications from your IM apps
• Local system notifications – Weather, Google cards, Calendar events and etc.
• Notification ungrouping
Service "additional" features - service installed on the watch:
• Pre-defined notification replies - set your own responces to IMs/emails/SMSs
• Battery usage chart of your watch with an estimated remaining time of the battery
• Tweaking – Manual brightness control of your watch
• Much much more to come
Stats:
Statistics regarding your notifications
Notification testing basic tool provided under the About menu, for a quick connectivity test with your watch.
The ongoing development of the AmazMod will provide more and more features, more control and optimizations both for your Smartphone and your Amazfit companion on your wrist!
** no goats were harmed during development, one goldfish ran away and joined the circus.
FAQ:
A- What's AmazMod app?
R- AmazMod is app that work parallel with the stock Amazfit Watch app to add advance feature to your Pace and Stratos.
A- What's the most feature of AmazMod?
R- AmazMod is born to increase the stock notification system with possibility read entire message without the limits of stock app, to reply a notification directly from watch, and more features like battery history graphics and other.
A- How to use AmazMod?
R- You need to have a working Amazfit Watch app paired with your Pace or Stratos and then install AmazMod from playstore. For advance feature, like notification reply, you need to install the AmazMod Service app on your watch using the installer provide in the description (PC is need for this step).
A- How is the battery impact of AmazMod?
R- AmazMod is studied to have advace feature like other app but with no more battery usage!
A- Why I don't receive any notification?
R- First be sure to restart both phone and watch to make connections work correctly and than see to have add the desired app in "selected app" menu of notifications options
A- After I install AmazMod, I can remove the stock app?
R- No, AmazMod need to have stock Amazfit app installed to can communicate with your watch
some screenshots:
I have been following this process on telegram... Where is the download link though ...
Gesendet von meinem Redmi Note 4 mit Tapatalk
endrancer said:
I have been following this process on telegram... Where is the download link though ...
Gesendet von meinem Redmi Note 4 mit Tapatalk
Click to expand...
Click to collapse
They are still testing for stability according to OP.
Sent from my Pixel XL using Tapatalk
endrancer said:
I have been following this process on telegram... Where is the download link though ...
Gesendet von meinem Redmi Note 4 mit Tapatalk
Click to expand...
Click to collapse
you can test the app by compiling it from the code on github, there is not yet a public build of the new version
the old releases can be found in the github section
Brilliant work OP!
Are there dual notifications using amazmod like with the normal app? And ist my sport data the same after installing AmazMod? So i need the official app after installing AmazMod?
Thanks!
noideaforaname said:
Are there dual notifications using amazmod like with the normal app? And ist my sport data the same after installing AmazMod? So i need the official app after installing AmazMod?
Thanks!
Click to expand...
Click to collapse
No. Yes. Yes.
Dear OP, thanks a lot for the app. I installed mod app on phone and apk service on my stratos. I could see nightscout appearing which is a proof that service is installed. I don't notice any change in the notification ui in the watch though. Its appearing same as old. I have unchecked the option original notifications option under mod settings. Are those changes implemented or is upcoming?
vijaysimhahr said:
Dear OP, thanks a lot for the app. I installed mod app on phone and apk service on my stratos. I could see nightscout appearing which is a proof that service is installed. I don't notice any change in the notification ui in the watch though. Its appearing same as old. I have unchecked the option original notifications option under mod settings. Are those changes implemented or is upcoming?
Click to expand...
Click to collapse
It is an old version, pre-alpha. The new version is being tested, please be patient.
amazmod_service.apk download
And where to find the amazmod_service.apk download? It is not on github...
attfarkas said:
And where to find the amazmod_service.apk download? It is not on github...
Click to expand...
Click to collapse
It is currently on alpha/beta stage so you will not find it compiled. What you can do is compile the sourced, found on github, with Android Studio. Hint, you will be missing a file that you need to generate, search on google how to
I'm an Amazfit-newbie As I understand this app is the successor of Amazfitmod? The app used to work without an app on watch but the new version (also?) has a watch-app? So the new version (Amazmod) needs the watch-app to be installed or is it optional? If so, what is the lastest version (Amazfitmod or Amazmod) which doesn't need the watch-app (because it isn't finished yet)?
bemoo said:
I'm an Amazfit-newbie As I understand this app is the successor of Amazfitmod? The app used to work without an app on watch but the new version (also?) has a watch-app? So the new version (Amazmod) needs the watch-app to be installed or is it optional? If so, what is the lastest version (Amazfitmod or Amazmod) which doesn't need the watch-app (because it isn't finished yet)?
Click to expand...
Click to collapse
It needs the original app because it uses it as a communication bridge
hi, today i try to install android studio and build the two apk and install on phone and pace but i can't give notification access (i really give it) i can't close the tutorial but i see when close the app in background the app is sync and connected
bjtmosfet said:
hi, today i try to install android studio and build the two apk and install on phone and pace but i can't give notification access (i really give it) i can't close the tutorial but i see when close the app in background the app is sync and connected
Click to expand...
Click to collapse
Phone model? Logcat? Thanks
Tomorrow I try to pick the logcat, Is my first time playing with Android studio so I could do a mistake. I try on s7 with oreo and virtual nexus 5 with 8.0 oreo too....I try to disable the startup guide but without success.
Ps Sono italiano
edotassi said:
Phone model? Logcat? Thanks
Click to expand...
Click to collapse
i try to launch directly on S7 with ADB and this is the logcat from android studio section "error"
07-06 18:07:32.115 1372-1372/? E/Zygote: isWhitelistProcess - Process is Whitelisted
07-06 18:07:32.115 1372-1372/? E/Zygote: isWhitelistProcess - Process is Whitelisted
07-06 18:07:32.115 1372-1372/? E/libpersona: scanKnoxPersonas
Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
07-06 18:07:34.585 1372-1453/com.edotassi.amazmod E/Fabric: Failed to retrieve settings from https://settings.crashlytics.com/spi/v2/platforms/android/apps/com.edotassi.amazmod/settings
07-06 18:07:34.590 1372-1458/com.edotassi.amazmod E/Answers: Failed to retrieve settings
bjtmosfet said:
i try to launch directly on S7 with ADB and this is the logcat from android studio section "error"
07-06 18:07:32.115 1372-1372/? E/Zygote: isWhitelistProcess - Process is Whitelisted
07-06 18:07:32.115 1372-1372/? E/Zygote: isWhitelistProcess - Process is Whitelisted
07-06 18:07:32.115 1372-1372/? E/libpersona: scanKnoxPersonas
Couldn't open the File - /data/system/users/0/personalist.xml - No such file or directory
07-06 18:07:34.585 1372-1453/com.edotassi.amazmod E/Fabric: Failed to retrieve settings from https://settings.crashlytics.com/spi/v2/platforms/android/apps/com.edotassi.amazmod/settings
07-06 18:07:34.590 1372-1458/com.edotassi.amazmod E/Answers: Failed to retrieve settings
Click to expand...
Click to collapse
you have to enable crashlytics
edotassi said:
you have to enable crashlytics
Click to expand...
Click to collapse
I think installed successfully but nothing change, yes don't give the error when build but the app work in the same mode
EDIT 1:
Found the problem, is a bug of the android 8.0 system. i try to emulate with android 7.0 and working without the "grant notification access" bug
EDIT 2:
I noticed that I received app on my pace and in the stock app the notification are disabled so your app is in communication with my pace and push notifications but I can't setting nothing because I can't close the start tutorial. How to build without the starting tutorial?
EDIT 3:
i found how to bypass the start tutorial and now i can try your app i put a "false" to can close tutorial without completing it (because it don't detect i do all the step)
Code:
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (requestCode == Constants.REQUEST_CODE_INTRO) {
if (resultCode == RESULT_OK) {
PreferenceManager.getDefaultSharedPreferences(this).edit()
.putBoolean(Constants.PREF_KEY_FIRST_START, false)
.apply();
} else {
PreferenceManager.getDefaultSharedPreferences(this).edit()
.putBoolean(Constants.PREF_KEY_FIRST_START,[COLOR="Red"] false[/COLOR])
.apply();
//User cancelled the intro so we'll finish this activity too.
finish();

Wellbeing on Android 11

Hi all,
I'm working on a port of Android 11 (AOSP) for the OnePlus 5. The ROM works pretty well, but I'm having issues with the Google Apps. In particular, the Google Wellbeing is not working and it is crashing with the log attached when started.
I've already spent a lot of hours trying to understand why: it works fine on LineageOS but there is no particular commit for Wellbeing, and everything seems the same from a permissions point of view.
Is this the right place to ask for help?
Thanks!
It doesn't seem to be improving your wellbeing...
blackhawk said:
It doesn't seem to be improving your wellbeing...
Click to expand...
Click to collapse
It does not
Hi, I found and fixed the issue. This is the fix:
SettingsExtra: do not declare REQUEST_LISTENING as protected · roberto-sartori-gl/[email protected]
This fix Wellbeing not working on Android 11. SettingsExtra does not need this, it was a leftover from development. Signed-off-by: Roberto Sartori <[email protected]>
github.com
I didn't think a manifest from an application could break stuff in a different app, however it does (this is a system app). I didn't need that declaration, so I just removed it
robertogl said:
Hi, I found and fixed the issue. This is the fix:
SettingsExtra: do not declare REQUEST_LISTENING as protected · roberto-sartori-gl/[email protected]
This fix Wellbeing not working on Android 11. SettingsExtra does not need this, it was a leftover from development. Signed-off-by: Roberto Sartori <[email protected]>
github.com
I didn't think a manifest from an application could break stuff in a different app, however it does (this is a system app). I didn't need that declaration, so I just removed it
Click to expand...
Click to collapse
It was one of the first apps I deep sixed on my 10+... fixed

Categories

Resources