This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
I followed the insttructions on https://developer.android.com/training/app-indexing/deep-linking.html, but when I want to trigger the intent through adb with: adb shell am start -W -a android.intent.action.BROWSEABLE -d "http://example.com/gizmos" com.myapp.android I just get > Error: Activity not started, unable to resolve Intent { > act=android.intent.action.VIEW dat=example://gizmos flg=0x10000000 > pkg=com.myapp.android } <activity android:name=".activities.DeepLinkActivity" android:label="@string/title_activity_deep_link"> [...] read more
When I type the command in adb: ./adb shell am start -W -a android.intent.action.VIEW -d "example:gizmos" com.myapp I get this error: Starting: Intent { act=android.intent.action.VIEW dat=example://gizmos pkg=com.myapp } Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=example://gizmos flg=0x10000000 pkg=com.myapp } But when I type the command in adb: [...] read more
I'm building a service that sends a list of installed apps from an Android TV or a Fire TV to a mobile phone. The phone then sends back the package name of the app it wants to launch and the service launches it. This is the code that creates the [...] read more
Hi I am trying to run 'yarn android' on my react-native project. And am running into the following error: yarn android v0.27.5 $ react-native-scripts android 10:37:45 AM: Starting packager... 10:39:34 AM: Starting Android... 10:39:37 AM: Packager started! To view your app with live reloading, point the Expo app to this [...] read more
I'm trying to understand embedded Linux principles and can't figure out addresses at u-boot output. For example, I have UDOO board based on i.MX6 quad processor and I got following output from U-Boot: U-Boot 2013.10-rc3 (Jan 20 2014 - 13:33:34) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR [...] read more
I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
I want to create an application,that has to record video (using media recorder) and recorded video need to format(using camera). I created sample code shown below, but that have an error show when the startrecording button press from menu.which shows force close error .but previewcallback have no error. My code [...] read more
In our React Native app, we're trying to have our users share specific images straight to either feed or story depending on a selection within our view/component. When we try to share using "com.instagram.share.ADD_TO_FEED" directly, it works perfectly in a consisten manner. However when trying to share using "com.instagram.share.ADD_TO_STORY" directly [...] read more
First thing I know this is repeated question but I don't have problem in capturing image from gallery or camera. I created on dummy project to check my code here it's working fine But when I used same code in my project & here it's not working even I didn't [...] read more
I've written an application that examines all of the file system permissions on a directory. A directory has a number of access rules (of type FileSystemAccessRule). Each access rule has a property FileSystemRights, which is a flag enumeration. When running this, I keep encountering a FileSystemRights value of 268435456 (which [...] read more
I am trying to install an APK from a URL. This is my code: Intent promptInstall = new Intent(android.content.Intent.ACTION_VIEW); promptInstall.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); promptInstall.setDataAndType(Uri.parse("http://10.0.2.2:8081/MyAPPStore/apk/Teflouki.apk"), "application/vnd.android.package-archive" ); startActivity(promptInstall); But I have this problem: 05-10 15:09:29.511: ERROR/AndroidRuntime(1668): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=http://10.0.2.2:8081/MyAPPStore/apk/Teflouki.apk typ=application/vnd.android.package-archive flg=0x10000000 } Thanks in advance. read more
This time I need your help regarding the use of android navigation components with deeplink. I have been following this documentation and the connection between fragment and deeplink is working fine. The problem comes in regards to the activity that is receiving the deeplink. In my case, I set the [...] read more
I set up OpenVPN on a linux machine in my basement. I'm able to connect from my Windows 8.1 machine without an issue when I'm connected to the local network. In this instance, I set the config file to use remote 192.168.0.111 1194 When I leave my local network, I [...] read more
I posted this question, asking how to get the CPU and GPU temp on Windows 10: Get CPU and GPU Temp using Python Windows. For that question, I didn't include the restriction (at least when I first posted the answer, and for quite a bit after that) for no admin [...] read more
First I start Activity with FLAG_ACTIVITY_NEW_TASK,then using command 'adb shell dumpsys Activity',finally i find the two activities in one task。 Intent intent = new Intent(this, Main2Activity.class); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); These Activity were normal, i didn't modify them。These were stack information. ACTIVITY MANAGER ACTIVITIES (dumpsys activity activities) Display #0 (activities from top [...] read more
I am using react-native-firebase@4.2.0 for push notifications. When app is open on screen, I receive the notification via onNotification and an alert as intended by my code. PROBLEM 1 When app is in background (not killed), I receive the notification in status bar but on tapping it, it just gets [...] read more
To be able to install Python from source without root permission on a Ubuntu server, I had to install openssl, which I did using the following commands: wget https://www.openssl.org/source/openssl-1.1.1e.tar.gz tar -xzvf openssl-1.1.1e.tar.gz cd openssl-1.1.1e ./config --prefix=${HOME}/.local/openssl --openssldir=${HOME}/.local/openssl make -j$(nproc) make install_sw Then I set the following in ~/.bashrc: export PATH=$HOME/.local/openssl/bin:$PATH [...] read more
I'm trying to generate deeplinks for different navigation graphs, when I include the graphs which have deeplinks I got this error > Manifest merger failed : Illegal circular reference among navigation files > when traversing navigation file references starting with navigationXmlId: > main_graph > > Error: Activity not started, unable [...] read more
I am trying to launch this app on my emulator.. Here is my adb shell am start line C:\Users\harvey\AndroidStudioProjects\Sunshinea1>adb shell am start -n com.example.harvey.Sunshinea1app/com.example.harvey.Sunshinea1app.MainActivity WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. Starting: Intent { cmp=com.example.harvey.Sunshinea1app/.MainActivity } Error type 3 Error: [...] read more
I set for the job: val job = JobInfo.Builder(2, ComponentName(context, JobRunner::class.java)).apply { setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) setRequiresBatteryNotLow(true) for (triggerUri in triggers) { addTriggerContentUri(JobInfo.TriggerContentUri(triggerUri, JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS)) } setTriggerContentUpdateDelay(TimeUnit.MINUTES.toMillis(1)) setTriggerContentMaxDelay(TimeUnit.MINUTES.toMillis(10)) }.build() jobScheduler.schedule(job) If I execute: adb shell dumpsys jobscheduler I have the following job info: JOB #u0a302/2: 89f4090 com.abc.debug/com.abc.mobile.service.job.JobRunner u0a302 tag=*job*/com.abc.debug/com.abc.mobile.service.job.JobRunner Source: uid=u0a302 user=0 pkg=com.abc.debug JobInfo: [...] read more
i recently implemented push notification for an app and everything work fine both on android and ios but the problem is the device receives push notification while app is on dead state the app crashes. i am using react-native-firebase and react-native-push-notifications i followed the exact instructions from the docs of [...] read more
Consider this program, which can be compiled as either 32-bit or 64-bit: #include <stdio.h> static int f(int x, int y) { __asm__( "shrl $4, %0\n\t" "movl %1, %%edx\n\t" "addl %%edx, %0" : "+r"(x) // needs "+&r" to work as intended : "r"(y) : "edx" ); return x; } int main(void) [...] read more
I am trying to open the System Settings from my Unity Android app, but I am receiving the following error: > UnityEngine.AndroidJavaException: android.content.ActivityNotFoundException: > No Activity found to handle Intent {act =android.settings.ACTION_SETTINGS > cat=[android.intent.category.DEFAULT] dat=package:com.xxx.xxxxx > flg=0x10000000} Here is my code: try { using (var unityClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer")) using [...] read more
I'm trying to make .rodata section location stay with its associated function memory location. I'm using the GNU compiler/linker, bare metal, plain-jane c, with an STM32L4A6 micro-controller. I have a custom board using an STM32L4A6 controller with 1Meg of Flash divided into 512 - 2K pages. Each page can be [...] read more
Can the timestamp and user+process that performed the file delete be tracked? I have now setup solaris auditing and have made the following audit_control, audit_class and audit_event entries: $ grep pf /etc/security/audit_control flags:pf,fd $ grep pf /etc/security/audit_event 6:AUE_UNLINK:unlink(2):fd,pf 48:AUE_RMDIR:rmdir(2):fd,pf 286:AUE_UNLINKAT:unlinkat(2):fd,pf 6182:AUE_filesystem_delete:delete filesystem:as,pf 6185:AUE_network_delete:delete network attributes:as,pf $ grep pf /etc/security/audit_class 0x10000000:pf:rems [...] read more
In order to test a new firewall I just set up I'm trying to implement policy based routing on our core switch. I want traffic from certain vlans to be routed to the new firewall while everything else continues being routed through the old firewall. I was trying to use [...] read more
I have a problem with compiling YAP Prolog 6.2.2 on Ubuntu 20.04. As usual, following the README, I browse into the YAP folder and give the command ./configure which is successful. Next, I give the command make but it gives me this error: % % % YAP OOOPS: mmap could [...] read more
I cannot get log to work on my phone. I only get this error in Android Studio: > 11-01 03:28:56.427 24227-24375/com.example.segall.caveofprogcourse E/GED: > Failed to get GED Log Buf, err(0) > > Android studio 2.1.3 > Ubuntu 16.04 LTS > Sony Xperia M5 > android 6.0 api 23 I have [...] read more
I renamed my MainActivity class to DataActivity and added a new main activity class with IntelliJ IDEA. I changed the AndroidManifest.xml file to the following: <application android:label="@string/app_name" android:icon="@drawable/icon"> <activity android:name=".DataActivity" android:screenOrientation="portrait"> </activity> <activity android:name=".MainActivity" android:screenOrientation="portrait" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> I uninstalled the app from my [...] read more
How to make Typescript enum with implements interfaces i current has this 2 enum all enum ENNAME keys should only include of enum POSTAG keys export enum POSTAG { BAD = 0x80000000, D_A = 0x40000000, D_B = 0x20000000, D_C = 0x10000000, } export enum ENNAME { D_A = 'a', D_B [...] read more
So I'm having trouble figuring out how to trigger a Timer interrupt (Every 200 cycles) and a button interrupt. When I hit the button interrupt all it seems to do is temporarily pause the counter for a split second and then continue counting. Then it never registers another button interrupt [...] read more
I would like to know if there is another way in removing or deleting a specific contact in android using adb shell command. what I tried so far is adb shell "am start -a android.intent.action.DELETE content://contacts/people/<contact-id>" but its returning Starting: Intent { act=android.intent.action.DELETE dat=content: } Error: Activity not started, unable [...] read more
I'm trying to learn more about FFI in Rust and linking with C libraries, specifically libc. While on my "quest", I came across the following problem. NORMAL PATTERN IN C void(* sig_set(int sig, void(*handler)(int))) { // uninitialized sigaction structs struct sigaction new_action, old_action; // assign options to new action new_action.sa_flags [...] read more
I was trying to override the MBR of my hard drive with an image. I wrote a C# program to do just that, and it worked, but it doesn't allow me to override more than ~104KB of the hard drive. The important data on this image was smaller that that, [...] read more
My Solaris 11.3 system had a reboot for whatever reason and since than a zpool is tried to be imported. Assertion failed: range != 0, file ../../../uts/common/fs/zfs/spa_misc.c, line 1326, function spa_get_random root@solaris:~# zpool import pool: mediapool1 id: 8470162457149274931 state: ONLINE status: The pool was last accessed by another system. action: [...] read more
I'm having a problem with my raid5 disk. I already had disk failures and replaced disks without any problem, but this time I'm having a hard time fixing it. Here is the situation : I am running Ubuntu 12.04. I have 3x2TB disks. I have 2 raid5 disks md0 and [...] read more
I have a RHEL 5 workstation with 2 nvidia Quadro FX4500 cards, with one display attached to each card. After doing a clean install of RHEL 5.5, the second display doesnt work (it worked ok in RHEL 5.2). Neither separate X screens nor Xinerama are working. The kernel version is [...] read more
> Possible Duplicate: > Restricting memory area for linux kernel I am running ltib linux on P1022RDK (P1022 Core) platform. I have 512 MB = 0x20000000 memory. I want my linux kernel to use second half of the board memory (i.e from 256 MB to 512 MB) and want first [...] read more
Trying to setup Appium with Android but keep getting errors. I have an APK manually installed to an actual device. I have followed the instructions on the error message with no luck. My Desired capabilities are set to: > "appPackage": "com.XYZ.android", "appActivity": > "com.XYZ.android.homepage.HomePageActivity", "platformName": > "Android", "deviceName": "Google Pixel [...] read more
I've been trying to find one or all of the right filters. Does anyone have them? Down at the bottom you can see the logging output of the intents. Perhaps they aren't public? Have tried the following in my code to no avail... <receiver android:name=".ContactsBroadcastReceiver" android:label="@string/broadcast_receiver_name" android:enabled="true"> <intent-filter> <action android:name="android.intent.action.VIEW" [...] read more
[DllImport("avicap32.dll")] public static extern bool capGetDriverDescriptionA(short wDriver, byte[] lpszName, int cbName, byte[] lpszVer, int cbVer); [DllImport("avicap32.dll")] public static extern IntPtr capCreateCaptureWindowA(byte[] lpszWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, int nID); [DllImport("User32.dll")] public static extern bool SendMessage(IntPtr hWnd, int wMsg, short wParam, int lParam); [DllImport("User32.dll")] [...] read more
I'm getting the following error in Firebase from HUAWEI devices: Fatal Exception: java.lang.SecurityException Permission Denial: starting Intent { act=android.media.action.STILL_IMAGE_CAMERA_SECURE flg=0x10000000 cmp=com.huawei.camera/.controller.SecureCameraActivity } from ProcessRecord{d677674 11018} (pid=11018, uid=10125) requires com.huawei.camera.permission.PRIVATE I added this permission to the manifest file but still no luck i'm trying to open the camera with "android.media.action.STILL_IMAGE_CAMERA_SECURE" intent. [...] read more
This project has a number (433) saved in a database, which is accessed through a servlet and then should be sent to the Android app. Before I added AsyncTask the app would sometimes retrieve the data (should be 433) from the servlet and sometimes not. Upon clicking the homePage button, [...] read more
How can I delete a contact using the adb shell? I know the raw_contact_id of the contact. I tried different ways but none with success. 1. To edit a contact I used the command am start -a android.intent.action.EDIT content://contacts/people/8 and it worked. But deleting it with am start -a android.intent.action.DELETE [...] read more
i just created a react native project on windows, using expo. After Creating the project i ran npm start and then expo start the next logical thing to do is to press the a button which will launch, the project on the android virtual device, but instead it gave me [...] read more
i am also having the similar issue but i am developing my app using flutter. with my code i am able to change home screen wallpaper but it does not work for set lock screen or set both. Another problem is also there ....i am able to set homescreen wallpaper [...] read more
I did a test and able to make button with icon using Cheat Engine Lua script + winapi. But I fail to find how to handle the events for the buttons created using winapi. Below is the code I am used via Cheat Engine Lua scripting including winapi functions called [...] read more
I am trying to use core-coupled memory (CCMRAM) of my cortex-m4 (STM32F407). It works fine with Keil MDK-ARM but gcc-arm-none-eabi ignores __attribute__((section("CCMRAM"))). #define configTOTAL_HEAP_SIZE 1000*1024 #define region1_HEAP_SIZE (40*1024) #define region2_HEAP_SIZE (configTOTAL_HEAP_SIZE - region1_HEAP_SIZE) static uint8_t ucHeap1[ region1_HEAP_SIZE ] __attribute__((section("CCMRAM"))); static uint8_t ucHeap2[ region2_HEAP_SIZE ]; const HeapRegion_t xHeapRegions[] = { { [...] read more
I have a problem debugging an stm32f407vet6 board and rust code. The point of the problem is that GDB ignores breakpoints. After setting breakpoints and executing the "continue" command in gdb, the program continues to ignore all breakpoints. The only way to stop the program running is to cause an [...] read more
How can the code below modified to be properly formatted into the Out-GridView? The script below iterates through multiple OU in a list and then export the result of the ACL for Delegated ACL rights. Appendix: https://msdn.microsoft.com/en-us/library/windows/desktop/aa772285.aspx $ADS_RIGHTS_ENUM = @{ 'ADS_RIGHT_DELETE' = 0x10000 'ADS_RIGHT_READ_CONTROL' = 0x20000 'ADS_RIGHT_WRITE_DAC' = 0x40000 'ADS_RIGHT_WRITE_OWNER' [...] read more
I'm completely stuck here with this exception. This exception is completely slowing down the Application. And also I googled the Exception but no good results for me. 11-21 07:05:04.812: DEBUG/VoldCmdListener(75): volume aseced /mnt/sdcard/external_sd 11-21 07:05:04.816: DEBUG/MountService(135): getAsecVolumeState :: result = unmounted 11-21 07:05:04.816: WARN/ActivityManager(135): No content provider found for: 11-21 [...] read more
There is a rogue app on my android tv that randomly launches chrome with an ad. The URL contains my IP, network provider, system details etc. This is what I was able to find in the logcat. Can someone review and confirm that org.myklos.btautoconnect created this? It has been removed [...] read more
I'm using Achartengine for Android, and i have layout composed by a ScrollView mother within a LinearLayout. It contains a LinearLayout which is the Graph and some textview e edittext. The problem is that if i insert the graph on the top of LinearLayout then the program run, but if [...] read more
I tried to run Google home app with the below desired capabilities: desired_caps = { "platformName": "android", "platformVersion": "6.0", "deviceName": "ZX1D64RN88", "appPackage": "com.google.android.apps.chromecast.app", "appActivity": "com.google.android.apps.chromecast.app.firstlaunch.FirstLaunchWizardActivity", "autoGrantPermissions": "true", "noRest":"true" } These are the activities I found in Google home app: com.google.android.apps.chromecast.app.firstlaunch.FirstLaunchWizardActivity com.google.android.apps.chromecast.app.core.MainActivity com.google.android.apps.chromecast.app.homemanagement.settings.HomeSettingsActivity I tried to start the Google home app [...] read more
I have an external hid touchscreen and i want to receive the rawinput data in my application. My application is just a console application and i want to create a window, so that i can use the handle to register a rawinputdevice. I created a window like this: namespace MyApplication [...] read more
> I am working on Android_Q. Trying to do AB OTA update from Android > application. Have gave necessary information to update engine. > > E/MessageQueue-JNI: java.lang.NullPointerException: Attempt to invoke > interface method 'boolean > android.os.IUpdateEngine.bind(android.os.IUpdateEngineCallback)' on a null > object reference public class MainActivity extends Activity { private static [...] read more
For backward compatibility (and other) reasons, the exception table is required to be at the same flash address as the older generation hardware. The problem is that flash on the newer hardware (also for compatibility reasons) was expanded upwards (i.e, additional flash bank was placed before existing flash, not after, [...] read more
I'm trying to simulate "Ok google" from adb shell on Android O(8.0), but I couldn't find solution. I've found that the app which shows after "Ok google" has cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity. However, I couldn't launch it via adb due to below error. $adb shell am start -n com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity Starting: Intent { cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity [...] read more
I've been struggling with this issue for more than a week without much success, thus it's time to involve the serverfault experts ;-) WHAT I'M TRYING TO ACHIEVE: I have two LANs connected to the Internet, each with a public IP adress (thus using NAT). My goal is to have [...] read more
I'd like an ahk script to find and focus running windows across virtual desktops on Windows 10. I found one earlier but alas forgot where it's from, maybe someone here knows. I think it was to help with special keys shortcuts not working in VNC sessions (Win key, alt-tab for [...] read more
I am getting this error is Backtrack 5 R3 using KDE, Error setting MTRR (base=0x80000000 size=0x10000000 type = 1 inappropriate ioctl for device (25) Here is the X server log and here is my MTRR Values read more
I had a 5-drive software raid6 with mdadm setup (2 parity drives), and a drive failed. I ordered a replacement, and when I powered off the machine to swap the failed drive with a new one, ANOTHER drive failed at the same time (completely dead). So now there is 3 [...] read more
I need help to install custom uboot + kernel + rootfs on a device with board SMDKV210 (device is panel INEWTEK) So the fact is that worked on a device (inewtek) with board SMDKV210 (call it old board so OB). I was given a list of commands (uboot) and files [...] read more
Someone changed the permissions on a bunch of machines using cacls which fixed one problem but created a bigger one. I'm looking at ways to revert this but can't seem to get it back to the way it was. I've replicated using a test machine and the output is below. [...] read more
I'm trying to work out how to debug intents that start my application. It seems that VS for Mac has a complete dialog to manage doing this called Run Configurations there "seems" to be a similar feature in VS also called un Configurations but it doesn't seem to be an [...] read more
For my algorithm I have to test it with large arrays. So, in my C code I have two global static arrays of length n. #define length 10000000 static long long arr1[length+1]; static long long arr2[length+1]; For this length n it works fine. But when I make it 10 times [...] read more
I am trying to install an APK from my device. I have a way to check if there is a new version, but it keep failing when I try to install the APK. Here's the relevant code: try { SharpCifs.Config.SetProperty("jcifs.smb.client.lport", "8080"); string path = @"smb://Nascld/Share/IT/Androids/Picking.apk"; var auth = new NtlmPasswordAuthentication("Domain", [...] read more
I'm testing my android application to support android version 10. When I test application in android 10 device, there is some problem with the apk install process. Here is my source code and test information:- File realFilePath = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/app-debug.apk"); if(realFilePath.exists()) { Uri apkUri = Uri.fromFile(realFilePath); Intent intent [...] read more
I am getting images from the firebase realtime database to the application with tag-imgPath. How can I give the images a carousel at the left and right ends of the fullscreen page so the user can go to next image without going back to the list of images and open [...] read more
I have an EXPO bare REACT NATIVE app with these versions of plugins: 1. expo: 40.0.0; 2. react: 17.0.1; 3. react-native: 0.63.4; 4. gradle: 6.7.1; 5. com.android.tools.build:gradle:4.0.1; I'm using Android SDK 29. I'm able to build the app for ANDROID but when I lunch the app the app crash immediately [...] read more
I am trying to update a print job with a new property set to the printer's DEVMODE structure in my C# win forms application. Specifically, the tray to print to. [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class DOCINFOA { [MarshalAs(UnmanagedType.LPStr)] public string lpszDocName; [MarshalAs(UnmanagedType.LPStr)] public string lpszOutput; [MarshalAs(UnmanagedType.LPStr)] public string lpszDatatype; [...] read more
Anyone can help me to see this permission issue is due to the app which I need developer to re-build with permission open? or it is my adb command issue? or the intent argument is used wrongly? At android phone, 1st screen: com.ninetest.hd3.test.testDetectActivity 2nd screen: com.ninetest.hd3.activity.MailActivity When executing adb command [...] read more
I'm trying to run a React Native project developed by another person, but when I run react-native run-android on emulator or real device, the app crashes immediately without any message. I've tried in Windows with node 14.4 and MacOS with node 12.18.3 and the same occurs. When I run into [...] read more
.org 0x10000000 li $sp, 0x10fffffc # Stack pointer initialization li $s0, sseg_lut # Lookup table address used by sseg_display lui $s1, 0xf070 # Interrupt controller register lui $s2, 0xf0a0 # Seven segment display # **************************** # TODO: enable interrupts below # **************************** li $t0, 0b11 #Value to set the mask [...] read more
I am Coding in PLP MIPS Assembly Language I'm having trouble figuring out how to trigger a Timer interrupt (Every 200 cycles) . Right Now it is been triggered once all LEDs gets on but on off loop not working. The Timer interrupt is suppose to flash the LEDs on [...] read more
I already added to permission to manifest but still not wotking, (not under marshmallow), please help with edition of code to newer version of valid code.Whole error is: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL dat=tel:xxxxx flg=0x10000000 cmp=com.android.server.telecom/.components.UserCallActivity } from ProcessRecord{80edffb 11112:kg.o.assist/u0a86} (pid=11112, uid=10086) with revoked permission android.permission.CALL_PHONE public class [...] read more
I have an image located at path temp_path .i want that image to be opened with Android gallery app .To do so i add following code inside a function in Fragment File file=new File(temp_path); Uri uri; if(Build.VERSION.SDK_INT<24) { uri=Uri.fromFile(file); } else { uri=Uri.parse(file.getPath()); } Intent intent=new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri,"jpg/jpeg/png"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); [...] read more
I am getting the below error 50% of the time during startup on an STM32 based processor (OSD32MP15x). I've tried over 40 versions configs and setups none work and I am under high pressure to deliver this piece of hardware to a client. To me this looks like some kind [...] read more
I have problems trying to launch another activity from the TWA via the intent URI. "intent://#Intent;scheme=subscriptionschemetwa;package=com.package.www.twa;end" The package name is unique in reality, of course. I've played around with them, added host, action, extras etc. to URI, but nothing had an effect. As I'm new to native development, I'd appreciate [...] read more
Seeing this exception for an espresso test: java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=/.root.presentationcomponent.implementation.RootActivity } within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is [...] read more
I am trying to extract the command that is called when I click a particular button on Android TV, Eventually I want to add it to an app, but for now I am just looking to call it via ADB for testing. 10-14 10:18:16.654 5058 5058 D SourceElementCallback: onElementClick position:7 [...] read more
I am working on a custom media player notification. When I wanna attach an action to button I faced with error below. ERROR : Unable to start service Intent { act=left flg=0x10000000 cmp=com.//package_name// /.model.media_player$NotificationIntentService bnds=[630,195][780,345] } U=0: not found class media_player(val applicationContext: Context?, val playPauseButton: ImageButton, var selectedAudio: AudioModel) { [...] read more
The project gets started in cmd but it does not launch the app in the emulator where the emulator is already kept opened. Node does not load as well extra info: It was working alright until I installed the gesture handler for react (npm install --save react-native-gesture-handler) after this installation [...] read more
I have a react native mobile app with a webview. In the webview I added the facebook messenger chat plugin so my users can easily contact us if they need help. if you ran the website through a mobile browser it works. It redirects you to the official messenger. But [...] read more
I have a function table type defined like so typedef struct { uint16_t majorRevision; uint16_t minorRevision; uint8_t (*CommInit)(void *); uint8_t (*CommDeInit)(void); uint16_t (*Write)(uint8_t *, uint16_t); uint16_t (*Read)(uint8_t *, uint16_t); uint8_t (*Attached)(void); uint8_t (*ExitApp)(uint8_t); uint8_t (*Jump)(uint32_t address); uint16_t (*GetCRC)(uint8_t*, uint32_t); int (*Encrypt)(uint8_t *, uint32_t); int (*Decrypt)(uint8_t *, uint32_t); uint8_t (*Reset)(void); uint32_t [...] read more
I am working on customizing petalinux for my IP. My objective is to make all the memory requests from Linux have to pass through PL and PL will in the backend will serve read/store request, basically my IP sits in between the PS and the DDR as shown below block [...] read more
I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
I was trying to understand the reg and ranges fields in the following dts and tried to find the resemblance with already explained literature like PCI_Address_Translation and pcie device tree 'ranges' property explanation, but the number of cells are different i.e. six vs seven. How can I interpret these fields? [...] read more
Is it possible to prevent the android system from stopping the FirebaseMessagingService? After sometime our testing device stops to receive notifications while at background. According to logs: 2020-09-13 14:14:05.872 18566-18974/? I/ActivityManager: freeze 10345:com.mycompany.MyApp/u0a170 (adj 700): stop com.mycompany.MyApp 2020-09-13 14:14:05.878 18566-18974/? I/ActivityManager: Force freezing service ServiceRecord{8f0ebfd u0 com.mycompany.MyApp/crc644af56f60c0170ff3.MyFirebaseMessagingService} 2020-09-13 14:14:05.878 18566-18974/? [...] read more
I'm new at StackOverflow and I would like that someone would help me with his. I actually have a Huawei Y6II with EMUI 4.1 but Huawei, in the HwSettings package (actually is the Android Settings) on the "Lock Screen and Passwords" settings doesn't appear the Google Smart Lock settings. So [...] read more
Configure WinRM over HTTPS on Multiple Computers with Powershell I have the following script that I put together to configure WinRM over HTTPS and it works great on per machine. I am having a tough time recoding it to run remotely on multiple machines located in a text file. Also [...] read more
I'm trying to pass two strings to a native method, the method doesn't execute while passing strings like this String pathDir=request.getParameter("path"); String user=request.getParameter("user"); obj.modifyACL(pathDir, user, 'a', 1); The same method executes well when passing strings as this obj.modifyACL("C:/Users/margie/Desktop/tb.h", "SYSTEM", 'r', 2); The value of pathDir and users are not empty [...] read more
I am New to winapi and I am trying to run a process with system privileges. Lot of people suggested to use the Function CreateProcessWithTokenW. I wrote the falling code: $run = @" [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct STARTUPINFO { public Int32 cb; public string lpReserved; public string lpDesktop; [...] read more
I am trying to build u-boot for my BeagleBone Black. I have properly compiled the MLO and u-boot.img and loaded into the sd-card. However, when i try to boot, i get the following log: > U-Boot SPL 2020.07-00717-gfee68b9 (Jul 17 2020 - 09:36:15) Trying to boot from > MMC1 > [...] read more
I have a simple website locally that makes use of the android's Scene viewer to show 3d model and to use the basic ar feature. It actually contains a link that performs an implicit intent call. This works fine if i call through android chrome web browser this is the [...] read more
I have installed termux on my android phone. I have Foxit-pdf-reader installed in my Android phone I want to open a pdf file using Foxit pdf reader from termux command line I tried to open the app using the below command in Termux and it successfully opens the Foxit pdf [...] read more
I am trying to write unit test cases using CMAKE ctest . I want to do unit test on my custom add and inverse function. The difference between add and inverse test cases 1. add is using two inputs where as inverse is using single input 2. Address of the [...] read more
The code bellow is supposed to send an user to the mercado pago app, it is working well on IOS, but it is not working on android, I have the app installed and I do not understand why it is happening, can you help me? The error I am getting [...] read more
I have simple execution problem with VxWorks 653 platform centerOS(windSh). In this shell i list current application with pdShow and also I want to run application on it but ı do not know the command and dont found command anywhere even the manual. the Syntax of RTOS like this [centerOS]-> [...] read more
I am new to Flutter and I am trying to make a wallpaper app where I use Firebase to store my images. The app retrieves images from Firebase and the user can share and download the images to the device. I'm using image_gallery_saver package but I wasn't able to get [...] read more
I run Appium in Windows 10.Appium configuration is below: { "platformName": "Android", "platformVersion": "9", "appPackage": "com.xunmeng.pinduoduo", "appActivity": "com.xunmeng.pinduoduo.ui.activity.HomeActivity", "resetKeyboard": true, "noReset": true } error info: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.xunmeng.pinduoduo' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. [...] read more
BACKGROUND I'm taking a close look at RAM usage of an application running on my STM32f407. I'm using gdb to read out the linker symbols like this: (gdb) p (uint32_t*) &_sdata $47 = (uint32_t *) 0x20000000 <_impure_ptr> I've made the following measurements of RAM: 0x2002 0000 RAM end | ._user_heap_stack [...] read more
Program import java.nio.charset.StandardCharsets; import java.util.Base64; public class AesCtr256 { // sBox is pre-computed multiplicative inverse in GF(2^8) used in subBytes and keyExpansion [§5.1.1] private static final int[] sBox = new int[] { 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, [...] read more
This is the core: https://github.com/cliffordwolf/picorv32 I'm having a problem implementing the core in vivado. I have installed the riscv gnu toolchain and I am sure that it works ok, I modified the Makefile ($TOOLCHAINPREFIX). I ran the makfile's make firmware.hex (from the scripts/vivado folder) and then I ran the make [...] read more
So for this question, I'm using stm32l4 device. It is a Cortex M4. I've been developing with stmcubemx and Kiel compiler. I have a program that can jump to the stm32 provided dfu mode. That works great. I can update the code using DfuSe Demo. I've run into this issue [...] read more
I have a security system in schools, where my tablets are the consoles for each classroom. I've noticed teachers and admin are not restarting the tablets very often (or ever), which has caused issues. I would like to take the task from the clients and program a weekly reboot or [...] read more
I'm working on a fitness application on a custom tablet running Android version 5.1.1. The tablets have a built in camera which works great, and there are accelerometers that also work great which are connected to the tablet via a USBA 2.0 cable. The application was built using Unity, but [...] read more
I just wanted to create a program that reads a float (i.e. single-precision number) from the keyboard and then outputs it, and there're no warnings or errors, but I couldn't get correct answers, instead, I got 0.00000000. What's wrong with my code? This is my code: .data 0x10000000 msg1: .asciiz [...] read more