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"> <meta-data android:name="android.app.searchable" [...] read more
I want to inflate a XML-Layout-File in a custom ViewGroup Class, my Problem is that it produces just a empty screen. Doing the same in the Activity Class works fine. Here is my simple XML-Layout-File: shownumberlayout.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FFFFFF" android:id="@+id/layoutForNumber"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/tvNumber" android:layout_centerHorizontal="true" android:textColor="#000000" android:text="Test" android:layout_centerVertical="true" [...] 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 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
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 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 have the following defined in my manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.app.package"> ... <activity android:name="app.myActivity" android:label="@string/app_name" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="www.example.com" android:pathPrefix="/gizmos" android:scheme="http" /> <!-- note that the leading "/" is required for pathPrefix--> <!-- Accepts URIs that begin with "example://gizmos”--> <data android:host="gizmos" [...] read more
I am writing a program that calls someone when a button is pressed. However, whenever I start the app, it crashes, before even pressing the button. This is the code: package com.test; import android.app.Activity; import android.content.ActivityNotFoundException; import android.os.Bundle; import android.widget.*; import android.view.*; import android.view.View.OnClickListener; import android.content.Intent; import android.net.Uri; import android.util.Log; [...] 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
I have problem with starting activity from background in android 10 - android Q - MIUI 11 on real device. In this thread: start activity background in android 10 I found information how to do this on Android 10 and everything working perfectly on emulator. I tested this on Xiaomi [...] 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 want to implement the DEADLINE scheduling policy in C. I know the feature is implemented since Linux 3.14.10 and I'm using Ubuntu 14.04 Linux #### 3.17.0-031700-lowlatency #201410060605 SMP PREEMPT which should be recent enough. I develop the program with Eclipse (launched as sudo). I've defined _GNU_SOURCE and included sched.h [...] 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 1When app is in background (not killed), I receive the notification in status bar but on tapping it, it just gets dismissed [...] 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
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
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 (AndroidJavaObject currentActivityObject = [...] 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'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 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
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 USB Debugging on. Edit This code [...] read more
i am trying to develop an application which records a video for a certian time in the background and then stops automatically. I am able to initialize all the necessary things but not able to record it My main actiVity: mSurfaceView = (SurfaceView) findViewById(R.id.surfaceview); mSurfaceHolder = mSurfaceView.getHolder(); mSurfaceHolder.addCallback(this); mSurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); Button [...] read more
I am trying to learn to get a better understanding with assembler Could someone explain what .data, .word and .text means does in the following code?? I don't get what this is for and what it does in this case .data array: .word 0x12121212, 0x23232323, 0x34343434, 0x4, 0x5 .text add_array: [...] read more
I'm trying to run the sample App Actions Fitness project but I can't get the AATT to execute any actions on my Samsung S8 device (or Emulator Pixel 3 with Android 10 & Google Assistant). I've tried with AATT versions (3.1.1 & 3.1.2). These are the steps i followed: 1. [...] 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 half [...] 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
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
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 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
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 final String TAG = "OTAupdate"; private [...] 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 { [...] read more
I'm creating a bootloader for STM32F429 with the gnu toolchain (9.2.1) and trying to reserve some flash memory for user data, shared by bootloader and application. I want to reserve the second of its first four 16K flash sectors for this, since they're nice and small: all other sectors are [...] read more
I can successfully open Google DUO but I want to initialize audio/video call on selecting a particular contact. Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.google.android.apps.tachyon"); launchIntent.setAction("android.intent.action.VIEW"); launchIntent.setData(Uri.parse("tel:1234567")); if (launchIntent != null) { startActivity(launchIntent);//null pointer check in case package name was not found } My log file shows this. 06-17 12:43:37.813 28656-28656/com.example.waheed.duo V/BoostFramework: BoostFramework() [...] read more
When I tried to access the address mmap returned, a Bus error is occured. My code is below: ftruncate(fd, shared_size); addr = mmap(shared_start, shared_size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, 0); shared_size == 256*1024*1024 shared_start == 401000000000 (I used flag MAP_FIXED) ftruncate the file to 256M. -rw-r--r-- 1 root [...] read more
Using the command adb shell am start -a com.myfit.sugatmanshakya.my_fit.LoginActivity throws out the following error: > Activity not started, unable to resolve intent, flg=0x10000000 Part of my AndroidManifest.xml code: <?xml version="1.0" encoding="utf-8"?> <manifest android:versionCode="1" android:versionName="1.0" package="com.myfit.sugatmanshakya.my_fit" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="28" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission [...] 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
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
I’m working on a project where I defined two memory regions in .ld file as follows: MEMORY { TEXT_GENERIC_CODE (rx) : ORIGIN = 0x10000000, LENGTH = 64K TEXT_EXT_LIB_CODE (rx) : ORIGIN = 0x10010000, LENGTH = 0x0000FFF0 } .text_ext_lib : { . = ALIGN(4); __mysection_start__ = .; *(.mysection*) *_ext_lib.o (.text .text*) [...] 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 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 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 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
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 U-Boot 2020.07-00717-gfee68b9 [...] 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 synth_system [...] 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
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 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 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 trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
Cavium Octeon appliance has mtd0 to 5 flash present. I want to log/dump firmware/Simple Executive crash backtrace to one of the solid state storage/ flash in the appliance. For that I try to initialize the flash with simple executive helping function in cvmx-flash.c; cvmx_flash_initialize(); but on boot up the initialize [...] read more
My probe function is not invoked, when I added unit address and reg property in device tree. I have a module prototype: #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/platform_device.h> #ifdef CONFIG_OF #include <linux/of.h> #include <linux/of_platform.h> #endif static int ect_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; [...] read more
I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
I am trying to use LD_PRELOAD to dynamically load a .so file during application launch. I built the native library using Android Studio (creating a native project and then extracting the .so file from the apk). I followed the steps in ( https://cedricvb.be/post/intercepting-android-native-library-calls/) to configure setprop but when I launched [...] read more
> java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.cisco.webex.meetings/.ui.premeeting.welcome.WelcomeActivity } from null (pid=19756, uid=2000) not exported from uid 10209 I have added App package and App activity names to desired capabilities. I have checked for correct App activity on APK info App, There is more than one app activity available. [...] read more
I've started a new project in Android Studio and added this to my androidmanifest.xml: <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="www.example.com" android:pathPrefix="/gizmos" android:scheme="http"/> </intent-filter> </activity> Then I went to Google Chrome and typed in: http://www.example.com/gizmos. The App doesn't [...] read more
As this domain is new for me, I have some confusions understanding PCIe. I was previously working on some protocols like I2c,spi,uart,can and most of these protocols have well defined docs(a max of 300 pages). In almost all these protocols mentioned, from a software perspective, the application had to just [...] read more
if I run my application on Android I always get this error and the application crashes immediately: 03-25 14:29:44.011 1833 7290 I ActivityManager: START u0 {flg=0x10000000 cmp=cz.jech.muzika/.Muzika} from uid 2000 03-25 14:29:44.093 1833 1998 I ActivityManager: Start proc 17399:cz.jech.muzika/u0a464 for activity cz.jech.muzika/.Muzika 03-25 14:29:44.098 17399 17399 E cz.jech.muzika: Not starting [...] read more
I had app deeplinking working for iOS but for a long while it was only partially working for Android - it would show the dissambugity popup but wouldn't go directly into the app (as though autoVerify wasn't set to true). I share here my experience getting this working in this [...] read more
I am not able to launch an activity from my recycler view adapter. I wish to download a pdf file from firebase. I saw several posts mentioning the passing of context but I have done that. I also checked if the context is being passed using an if statement and [...] read more
When downloading u-boot to the ARM via xsct in linux terminal it downloads fine xsct% dow u-boot Downloading Program -- /home/jack/Documents/Linux/u-boot section, .text: 0x10000000 - 0x1000038f section, .efi_runtime: 0x10000390 - 0x10000c9f section, .text_rest: 0x10000ca0 - 0x10030b1f section, .rodata: 0x10030b20 - 0x100390c1 section, .hash: 0x100390c4 - 0x100390db section, .dtb.init.rodata: 0x100390e0 - [...] read more
How do i use a link in react native to connect to wifi? So i have this piece of code: import {Linking, Component, Button} from 'react-native'; export default class MyLinkScreen extends Component{ private connectWifi(){ Linking.openURL('WIFI:T:WPA;S:SampleSSID;P:SamplePassword;H:false'); } public render(){ return ( <Button onPress={()=>this.connectWifi()}>Connect</Button> ) } } but i ends up having [...] read more
I have a ViewPager that holds three fragments (within a tabbed layout). The third and final fragment holds two ImageButtons (up and down arrows) and an ImageView that cycles through different images depending on which directional arrow is hit. So far, I've been unable to get the onClick methods on [...] read more
When I try to start my react-native application on Genymotion, it shows: > Error running adb: 'Error running app. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=exp://192.168.56.1:19000 flg=0x10000000 }' Yet when I tried to start Java application, everything works well. I searched the web I found some [...] read more
I need to embed a qt/c++ application in a wpf mvvm application. The window of this qt/C++ has to be integrated in a wpf page displayed in a tab page. The page Control is the following : <page x:Class="Wpf_HostExe.Page1" xmlns:="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Page1" Loaded="OnLoaded"> <Grid> <Border x:Name="HostUi" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> [...] read more
I have a problem with my application widget. The widget contains a listView and update button. The ListView can be also updated automatically, which works fine, but the problem is, that in every 60second from the widget update (no matter if automatic or manual) I cannot click on my items [...] 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