Windows error 0x10000000, 268435456

Detailed Error Information

HRESULT analysis[1]

FlagsSeveritySuccess

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.

Reserved (R)false
OriginMicrosoft
NTSTATUStrue
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code0 (0x0000)

Questions

36votes
5answers

I am trying to test android deep link urls through adb to launch my app

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
android
android-manifest
adb
deep-linking
24votes
6answers

Dialing a phone call on click of textview in android

I have a question that I want to dial a phone call when I click on a text view which also contain a phone number. But when I click on a Text view it returns an error as: 12-22 10:32:36.703: ERROR/AndroidRuntime(399): android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.CALL [...] read more
android
20votes
2answers

Inno Setup parameter with quotes in [RUN] section

I use [run] section to modify the merit value of some codecs with commandmerit.exe that support command-line. so the syntax is : Commandmerit.exe "{E2B7DF46-38C5-11D5-91F6-00104BDB8FF9}" "0x800000" {E2B7DF46-38C5-11D5-91F6-00104BDB8FF9} is the CLSID of the codec and0x800000 is the value of the new merit, but when I put this line in [run] section : [...] read more
configuration
inno-setup
18votes
3answers

getLaunchIntentForPackage is null for some apps

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
android
android-tv
amazon-fire-tv
nexus-player
16votes
3answers

Service not starting on Oreo in app widget using PendingIntent

I'm using Android app widgets. I'm creating a PendingIntent object and use it in the method RemoteViews#setOnClickPendingIntent(). This is the pending intent: // The below code is called in the onUpdate(Context, AppWidgetManager, int[]) method of the AppWidgetProvider class. // Explicit intent Intent intent = new Intent(context, MyService.class); intent.setAction(MY_ACTION); intent.putExtra(EXTRA_KEY, VALUE); [...] read more
android
android-widget
android-service
android-appwidget
android-8.1-oreo
13votes
4answers

Android Intent to start Main activity of application

I am trying to start the main activity from inside a BroadcastReceiver. I dont want to supply the activity class name but to use the action and category for android to figure out the main activity. It doesnt seem to work. Sending Code: Intent startIntent = new Intent(); startIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startIntent.setAction(Intent.ACTION_MAIN); [...] read more
android
android-intent
alarmmanager
10votes
1answer

Modular arithmetics and NTT (finite field DFT) optimizations

I wanted to use NTT for fast squaring (see Fast bignum square computation), but the result is slow even for really big numbers .. more than 12000 bits. So my question is: 1. Is there a way to optimize my NTT transform? I did not mean to speed it by [...] read more
c++
performance
optimization
modular-arithmetic
ntt
10votes
4answers

Android camera preview callback and mediarecorder record video

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
android
android-camera
android-mediarecorder
8votes
3answers

install apk from url

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
android
6votes
1answer

No Activity found to handle Intent com.instagram.share.ADD_TO_STORY

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
android
facebook
react-native
instagram
5votes
2answers

OpenVPN won't connect from remote location

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
networking
iptables
vpn
openvpn
port-forwarding
3votes
2answers

react native - not receiving notification when app is killed/not started

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
android
react-native
react-native-firebase
3votes
3answers

Android error: The application has stopped unexpectedly please try again

I made an app which is just working fine. It displays the number of times app has been started. Here's the code: import android.app.Activity; import android.content.SharedPreferences; import android.os.Bundle; import android.preference.PreferenceManager; import android.widget.TextView; public class PreferencesDemo extends Activity { /** Called when the activity is first created. */ @Override public void [...] read more
java
android
3votes
1answer

How to specify to createfilew function get uncached result?

I need to check whether a file (on a remote server via UNC path) exists or not (permission is not a problem here; I make a required impersonation etc.). I use CreateFileW function for creating file handle. I've also tried GetFileAttributesEx but the behavior is the same. HANDLE CreateFileW( LPCWSTR [...] read more
c#
c++
.net
filesystems
3votes
2answers

React Native Could not open URL No Activity found to handle Intent

I'm working with React Native and Square Point of Sale. I'm using Web API for Android. Also I have installed Square Point of Sale. This is my code: componentDidMount() { let url ="intent:#Intent;action=com.squareup.pos.action.CHARGE;package=com.squareup;S.browser_fallback_url=https://my.website.com/index.html;S.com.squareup.pos.WEB_CALLBACK_URI=https://my.website.com/index.html;S.com.squareup.pos.CLIENT_ID=sq0ids-yOurCLieNtId;S.com.squareup.pos.API_VERSION=v2.0;i.com.squareup.pos.TOTAL_AMOUNT=100;S.com.squareup.pos.CURRENCY_CODE=USD;S.com.squareup.pos.TENDER_TYPES=com.squareup.pos.TENDER_CARD,com.squareup.pos.TENDER_CARD_ON_FILE,com.squareup.pos.TENDER_CASH,com.squareup.pos.TENDER_OTHER;end"; Linking.openURL(url).catch(err => console.error("An error occurred", err)); } This is my error message: Could not open URL 'intent:#Intent; [...] read more
javascript
react-native
square
square-connect
3votes
3answers

Determine if Windows 10 Touch Keyboard is Visible or Hidden

I am trying to find out if the windows 10 virtual touch keyboard is visible or not to know whether to open it or not from my application. THe following code has worked fine up until the latest Windows 10 update 15063 or possible the one right before it. Seems [...] read more
c#
windows
winapi
touch
virtual-keyboard
2votes
0answers

Is there a way to audit file deletion on Solaris?

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
solaris
solaris-10
2votes
1answer

Cisco Catalyst 4500 Policy Based Routing

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
networking
cisco
routing
ios
policy-routing
2votes
2answers

Android 10 - No Activity found to handle Intent

My 3rd party app has a way for the end-user to download an updated APK from our server and then the app will invoke the install package manager on that APK after it's done downloading. This same method has worked for all versions of Android OS but now it will [...] read more
android
activitynotfoundexception
2votes
1answer

Capturing RTP Timestamps

I was trying a little experiment in order to get the timestamps of the RTP packets using the VideoCapture class from Opencv's source code in python, also had to modify FFmpeg to accommodate the changes in Opencv. Since I read about the RTP packet format.Wanted to fiddle around and see [...] read more
python
c++
opencv
ffmpeg
timestamp
2votes
4answers

Start activity with flag FLAG_ACTIVITY_NEW_TASK, the new activity didn't in new task

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
android
2votes
6answers

Cannot run Android app through adb or Appium because of SecurityException: Permission Denial

I try to do test automation of Android app. I have activity name and package name from the developer, so it is correct. I have a problem with access to activity. I researched a lot and I've seen a few similar threads, like those: Android: java.lang.SecurityException: Permission Denial: start Intent [...] read more
android
adb
manifest
appium
2votes
0answers

Unity Firebase 6.2+ Android crashes on launch on 64bits

(EDIT: it has nothing to do with Firebase, but with Unity and Google Play Services, check the first comment) Since I upgraded my app to Firebase 6.2.x it crashes on launch on Android (before/during the Splash screen). Some info: * I think this only happens on 64 bits (not 100% [...] read more
android
firebase
unity3d
admob
google-play-services
2votes
1answer

Google Assistant voice search integration doesn't work with multiple words

In my Android project we recently added Voice Search following the documentation. It works fine, however only when searching one word. It doesn't seem to be an intended behaviour since in Google's examples they search for "trips to Maui". We've tried many search commands on different devices using Google Assistant [...] read more
android
google-voice-search
2votes
2answers

C# open other program in form panel

Hello I am a beginner developer in Korea. I'm making. Program. The program runs three exe (developed in c ++, c #) on one form and puts the program into the panel. Now I put the program in C ++ or other languages into the panel. However, windows programs built [...] read more
c#
process
exe
panel
2votes
1answer

Elegant way to set base address of ELF image with Linux binutils?

For a personal project, I need to write an executable that loads at a non-default memory address. From this SO question, I know I can set the entry address for an ELF and modify the section addresses manually so that the executable is effectively based at some address I choose. [...] read more
linux
linker
ld
binutils
2votes
3answers

Qemu: fatal: Lockup: cant escalate 3 to Hardfault (Current Priority -1) error -Core Dumped

I am trying to emulate STM32F407XX controller with cortex M4 processor on QEMU. I wrote the .ld file as below: ENTRY(_Reset) MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 512K RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K CCMRAM (rw) : ORIGIN = 0x10000000, LENGTH = 64K [...] read more
c
linux
embedded
stm32
qemu
2votes
1answer

PLP: Timer and Button Interrupt Service Routine

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
assembly
timer
mips
interrupt-handling
isr
2votes
0answers

How to Open Android System Settings from Unity Android App

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
c#
android
unity3d
2votes
1answer

React Native Error: 'Permission Denial: starting Intent"

I managed to add facebook login and google login to my application but I think I might have done something wrong. Before I started adding the logins I previously made a splash activity that user intent and since I'm a newbie I screwed up somewhere and been struggling for 2 [...] read more
java
android
reactjs
native
2votes
1answer

load byte instruction in MIPS

I am learning about Computer architecture through the MIPS instructions. I have a question which is: Memory at 0x10000000 contains 0x80 Register $5 contains 0x10000000 What is put in register $8 after lb $8,0($5) is executed? I was thinking when the load byte is called, it will take the 8 [...] read more
mips
cpu-architecture
mips32
sign-extension
1vote
1answer

solaris 11.3 / 11.4 crash if zfs pool should be imported

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
solaris
zfs
raidz
1vote
0answers

raid5 disk degraded partition detached

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
ubuntu
mdadm
raid5
1vote
1answer

How to set up dual quadro cards on RHEL 5.5?

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
multiple-monitors
redhat-enterprise-linux
nvidia-quadro
1vote
0answers

Restricting memory area for linux kernel

> 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
linux
memory
kernel
partitioning
1vote
1answer

Why does the inclusion of an impossible conditional branch change the return value of this method?

I have the following manually written IL method, which converts an unsigned 32-bit integer to a signed 64-bit integer: .method public hidebysig static int64 ToInt64(uint32 'value') cil managed { .maxstack 2 ldarg.0 ldc.i4.0 brtrue.s return // Never taken. conv.u8 return: ret } Note that because the value on the top [...] read more
.net
type-conversion
cil
1vote
1answer

Android Intent Filters for VIEW/EDIT/INSERT Contact

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
android
filter
view
android-intent
contacts
1vote
0answers

Unable To start mediaprojection twise

hey there i have a complete running app witch starts capturing screen contents from a foreground service however it's crash when i attempt to record for second time after stopping here's the the whole scenario: i'm starting a foreground service from main activity like this: @Override protected void onActivityResult(int requestCode, [...] read more
android
nullpointerexception
android-notifications
foreground-service
android-mediaprojection
1vote
0answers

Weird issue with app update using apk install code

App gets successfully updated but the following issue are occurring based on different code usage 1. After apk install, "app install success" screen of app installer not showing up 2. If I use debug apks to test above case, for one particular code, as always install succeeds, "app install success" [...] read more
java
android
android-install-apk
1vote
1answer

Windows C# Is there a way to create a new process with the Kerberos ticket of parent process?

I'm able to create a new process via CreateProcessAsUser from code I found here: https://odetocode.com/blogs/scott/archive/2004/10/28/createprocessasuser.aspx It works fine, but the new process does not contain the Kerberos ticket of the new user which was impersonated by IIS Asp.net Impersonation. I know IIS has the Kerberos ticket, I just don't know [...] read more
c#
asp.net
kerberos
createprocessasuser
1vote
0answers

Unity transparent fullscreen with multiple screens

I've found this: https://github.com/pheonise/Unity3D-Desktop-Overlay Basically, it's about having a transparent fullscreen window made in Unity. It works perfectly but I really want to have this over multiple screens. When I try to do this, the background isn't transparent anymore. In my first attempt, I made a second camera with the [...] read more
c#
unity3d
user32
1vote
1answer

Hiding Implementation Details in C++

I would like to hide implementation specific details from the interfaces defined in the header so the code is maintainable and quicker to compile when making updates (although I don't have statistics for the latter). However, I cant use dynamic memory or c++ past 2003 (no 11/14/17). I also cant [...] read more
c++
pimpl-idiom
method-hiding
1vote
1answer

how to link math library when building bare metal application with custom linker script

I am building a RISC-V cpu core, and i am trying to build some C code for it. I have some basic code compiling and linking the way i want and working just fine, for example this: asm("li sp, 0x390"); asm("li s0, 0x390"); asm("li ra, 0"); int main(void){ char *memptr [...] read more
assembly
compilation
linker
riscv
bare-metal
1vote
0answers

Run the GPIO maps on openWRT

I have a problem with running the program to control GPIO ports on the Openwrt system. As an equipment, I use the ralink mt7628. I try to compile code but i have problem to run the compiled program. I'm getting error "unable to open mmap file" I think a problem [...] read more
c
linux
embedded
openwrt
1vote
0answers

Eigen on STM32 works only until a certain size

I am trying to use Eigen C++ library on STM32F4 Discovery embedded board to perform some matrix operations in the future, specifically to do some kalman filtering on sensor data. I tried linking against the standard c++ library and even tried to compile the program using g++ arm compiler. typedef [...] read more
embedded
eigen
stm32
bad-alloc
chibios
1vote
0answers

How to remove 'white area on the borderless window top side' builded Unity project

I am trying to make resizable borderless Unity project. I have no problem to make borderless window but when I try to make resizable it works however a white area appears at the top https://imgur.com/8nNWpN3 [DllImport("user32.dll")] private static extern int SetWindowLong(IntPtr hWnd, int nIndex, uint dwNewLong); private const int GWL_STYLE [...] read more
c#
windows
unity3d
user32
borderless
1vote
2answers

Unable to pass deep links with parameters - Android

I am trying to pass parameters to deep links in Android and that is not working. I have specified a hostName variable in the app/build.gradle file to distinguish between UAT and production URLs. This hostName variable is referenced in AndroidManifest.xml like so: <activity android:name=".ui.MyActivity" android:theme="@style/MyTheme" android:configChanges="orientation" android:windowSoftInputMode="adjustResize"> <intent-filter> <action android:name="android.intent.action.VIEW" [...] read more
android
deep-linking
1vote
0answers

How can you run instrumentation tests from android studio to firebase with orchestrator?

I'm trying to run ui android instrumentation tests from android studio to firebase using android studio user interface. I tried using the terminal and all works fine, after setting up orchestrator dependencies and using ./gradlew connectedCheck command test apk will be generated. After uploading it to firebase lab tests manually, [...] read more
android
android-studio
android-espresso
firebase-test-lab
1vote
1answer

Making Background Transparent

enter image description here [https://i.stack.imgur.com/d4Ukl.png]I am trying to make a makeshift onscreen keyboard for Windows 10 and need the background to be transparent, to make it more convenient for the user (the keys are already transparent). I, however, have no idea how to make the background transparent. Any help would [...] read more
c#
unity3d
1vote
8answers

Regular expression for a non-zero hex value

I am looking for a regular expression to determine when any of the values in a 32-bit hex value is non-zero. The data patterns look like 0x00000000 and I want to know when any of the digits is non-zero. For example, if 0x00001000 or 0x10000000 or 0xB000000 would be capture [...] read more
regex
hex
1vote
1answer

Python 3 - comparing enums against hex value

as newbie to python and hex based enums, I'm trying to wrap my head around something. My scenario is that I have a device that is sending me flags and I'm trying to determine which flags are set. I'm using python 3.7. I've play around with the Python enum(Flag) class [...] read more
python
python-3.x
1vote
1answer

Interrupts Not Working When I Jump to Application (STM32)

Update: Maybe the better question to ask is how should I go about debugging this problem? I'm using VS Code with OpenOCD debugger. I always clean build. The best I can do once I JumpToApplication() is see what addresses the debugger stops at when I pause/step into. I am able [...] read more
c++
stm32
stm32f4
1vote
0answers

FCM Notification in Android when app is killed

I am trying to send push notification(FCM) to my android app using this link.Everthying works fine when the app is in background but once i kill the app then i dont receive any notofication.I use Lenovo Tab with Android 7.1 OS.I also tried signing the app and installing as APK.Below [...] read more
android
push-notification
1vote
1answer

stm32l476 ADC not ready

I am trying to bring up one of the ADC's on the STM32L476 Nucleo board. I think i have things configured ok, but i must be missing a step. I know this can be done use the HAL API and CubeMX, but i prefer register level access when bringing up [...] read more
stm32
keil
1vote
0answers

my app is force stopped by android Oreo battery optimisation, notifications are ignored afterward

Hello i'm having trouble with backgrounds limitations. The phone i am currently using for test is a Nokia 7 plus on Android 8.1 My app is running fine for a time, there is a jobScheduler which does a task every 20 minutes in background. But at some point, to save [...] read more
java
android
broadcastreceiver
google-cloud-messaging
kill
0votes
0answers

QEMU crashed while trying to boot up i.MX6q device kernel

When tried to boot up Kernel uImage of an i.MX6q based embedded device, it seems that QEMU crashes with "Unable to handle kernel NULL pointer dereference at virtual address 00000044". Before crashing it displays below errors. mc16xsd200 spi32765.0: FSB triggered for switch 0 mc16xsd200 spi32765.0: switch 0 port[0] fault[0x0000] mc16xsd200 [...] read more
virtual-machines
kvm-virtualization
linux-kernel
qemu
arm
0votes
0answers

Linux booting stop at Starting kernel when using Yocto build image with SD card

I'm tring to porting linux on imx6 PDK B/D(imx6-qaudplus-sabreauto) with Yocto build image. my customize sdcard image (mixed imx6/8)= * u-boot.bin(iMX6 Yocto bitbake result) * zImage(iMX6 Yocto bitbake result) * .dtb file(iMX6 Yocto bitbake result) * rootfs(iMX8 Yocto bitbake result) but stop at Starting kernel... and no more console printed. [...] read more
linux
boot
0votes
1answer

Fixing MTRR error in Linux

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
linux
xorg
kde
backtrack
0votes
0answers

.bin image too large for QEMU to load

I generated the .bin file for a very simple .s .c and .ld files for cortex m4 (STM32). The .c file has 3 lines of code: int c_entry() { return 0; } Assembler file is as below: .section isr_vector, "x" .syntax unified .global _Reset _Reset: .word 0 .word Reset_Handler /* [...] read more
linux
ubuntu
kernel
qemu
gcc
0votes
0answers

install custom kernel and rootfs on board SMDKV210

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
linux
boot
kernel
embedded
0votes
1answer

windows xp Professional restore Security Descriptors after cacls /t /e /p

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
windows-xp
permissions
file-permissions
acl
cacls
0votes
0answers

how to change HyperLink style and textColor into richtextbox c# winform

How can I change HyperLink into RichTextBox ? I want to change HyperLink ForeColor and Remove UnderLine . I use this codes for this problem but I don't to change I tried to change with this code , but I don't successful .enter image description hereIf any change for this [...] read more
c#
winforms
hyperlink
0votes
0answers

0x10000000 is a hexadecimal? why is it so long? what value is it in ASCII format?

I'm a junior JAVA developer and I'm supposed to develop some transaction messages. The given specifications include hex value 0x10000000 or 0x20000000, and I'm really bad at data communications, I refer mostly to http://www.asciitable.com/ to help me translate between formats, but I'm really confused about this 0x10000000. In decimal format, [...] read more
java
hex
ascii
message
0votes
0answers

Getting memory location of C++ static variable in Visual Studio Community Debugger

In this simple C++ program: int main() { int n = 0xffffff12; static int q = 0x7fffffff; static int r = 0x10000000; static int R = 0x80000000; return 0; } I can retrieve the actual memory location of variable n in Visual Studio Community debugger by looking at the assembly [...] read more
c++
visual-studio
debugging
memory
static
0votes
1answer

Unable to program STM32 using ST Link utility: programming error @: 0x00000001

I have been trying to get my grips around programming STM32. I have got a Nornir developed Dash7/sensor board (for which absolutely no documentation exists somehow...), which has a STM32L100RBT6 MCU. So I'd like to program my own software for this board. So far I have succesfully made a project [...] read more
stm32
0votes
1answer

Android unit testing if an activity starts with a timeout or after a delay is not working

I am developing an Android application using Kotlin programming language. I am adding instrumented tests into my project. Now, I am having a problem with testing if an activity is started after a delay. I am using Espresso for instrumented tests. This is my activity class class MainActivity : AppCompatActivity() [...] read more
android
kotlin
android-espresso
instrumented-test
0votes
0answers

Simulator files interaction: "The operation couldn't be completed. Invalid argument - Invalid argument"

When attempting to add files to the simulator I get the following error: The operation couldn't be completed. Invalid argument Invalid argument enter image description here [https://i.stack.imgur.com/TcOnUl.png] When attempting to download a file via Safari and using share to save to files the UI does nothing, but the System logs [...] read more
ios
xcode
ios-simulator
0votes
0answers

Unable to open an HTML file stored in my device

I have a log file that is being generated and stored in my android device. The log file is stored in .htm format. The file is generated and stored correctly and i am able to view this using device file explorer. When i try to open the file i get [...] read more
android
android-intent
0votes
0answers

Make my WinForms application behave just like a Console application when using Console.WriteLine()

I have a .NET WinForms application written in C#. The application has two operational modes: * Regular GUI mode. * Possibility to execute calls with a CLI. When I run my application from a Cmd window, the output appears on screen, but the application does not close until I press [...] read more
c#
pinvoke
0votes
3answers

Fully expanding header macros to get their numeric values for external use

I have a complicated header file with lots of dependencies on other earlier-defined macros that layout the memory map of an embedded system. For example: #define RAM_BASE (0x40000000) #define RAM_SIZE (0x10000000) #define SECURE_RAM_SIZE (0x00200000) #define SECURE_RAM_BASE (RAM_BASE + RAM_SIZE - SECURE_RAM_SIZE) For many reasons I need the result of SECURE_RAM_BASE [...] read more
c
c-preprocessor
0votes
1answer

What does this error mean? Emulator: FramebufferData::restore: warning: a texture is deleted without unbinding FBO

I am new to Java and new to Android Studio. I am following a Udemy tutorial and I am creating a "Guess the Celebrity" app. Every app I have created up until now has worked flawlessly. The unbinding FBO error pops up every time I run the emulator and the [...] read more
java
android
android-studio
fbo
0votes
0answers

What causes Greenhills Multi memory write error?

I'm trying to flash a program onto a ARM CM0+ microcontroller using the Greenhills Multi IDE and the Greenhills Debug Probe. After establishing the connection to the target board the IDE fails to load the program to the Flash ROM returning the error: Output from command: Downloading program text and [...] read more
microcontroller
flash-memory
jtag
greenhills
0votes
0answers

Physical Switch stops working when in LockTaskMode

After calling StartLockTaskMode() the power switch on my device no longer responds. Usually i get something along the lines of 18:31:56.462 488-488/? I/ActivityStackSupervisor: START u0 {act=android.intent.action.ACTION_REQUEST_SHUTDOWN flg=0x10000000 cmp=android/com.android.internal.app.ShutdownActivity (has extras)} from uid 1000 on display 0 08-16 18:31:56.575 488-576/? D/WindowManagerService: Window{11b13539 u0 Power off} ==========setInputFocusLw ========== ======= 08-16 18:31:56.579 488-2353/? [...] read more
android
0votes
1answer

How to add image carousel in flutter

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
flutter
carousel
0votes
1answer

Alignment in linker scripts

I am looking at trezor's bootloader linker script: /* TREZORv2 bootloader linker script */ ENTRY(reset_handler) MEMORY { FLASH (rx) : ORIGIN = 0x08020000, LENGTH = 128K CCMRAM (wal) : ORIGIN = 0x10000000, LENGTH = 64K SRAM (wal) : ORIGIN = 0x20000000, LENGTH = 192K } main_stack_base = ORIGIN(CCMRAM) + LENGTH(CCMRAM); [...] read more
arm
alignment
linker-scripts
trezor
0votes
2answers

Discord bitwise permission calculator

I'm trying to let my tool/script determine if a logged in user has the correct permission to use the tool. however Discord is responding with a permission int. It seems that I have to check permission using a bitwise operator, But from everything that i've googled or searched almost everything [...] read more
php
api
bitwise-operators
discord
0votes
0answers

Open Label with Intent link

I am trying to open my gmail app to a specific label. I found this link to input and it works opening my gmail app intent:#Intent;launchFlags=0x10000000;component=com.google.android.gm/.ConversationListActivityGmail;end I have tried putting in extraFlags="email@gmail.com" and extraFlags=label; I have tried it with and without quotes. Basically the only thing that works is the [...] read more
android
android-intent
0votes
1answer

Getting 401.2 error in Android webviewclient

I am developing a mobile app to access a intranet site in android. SSL certificate of this website is fine. This I can say because when I open the site in android browser, it doesn't say that the certificate has a issue. Now I am using webviewclient to access the [...] read more
android
eclipse
0votes
0answers

Error with OAuth2 Services authentication

I have successfully used the following code for an application that I have been using for 2 years but, in the last few weeks I have encountered the error "There was a problem communicating with Google servers" The code has not changed because I suspect that Google has made some [...] read more
android
oauth-2.0
token
0votes
0answers

Running Android App with adb start (Error: Activity not started, unable to resolve Intent)

I am trying to run my own Android app from a Windows CMD using the adb shell. As per the official guide, I try to runadb shell am com.example.myapp. The error I get is Error: Activity not started, unable to resolve Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.example.myapp } When I [...] read more
android
android-intent
adb
0votes
1answer

Fatal error: Not enough bits to represent the passed value

Trying to use Mikrotik API library written in Swift: https://wiki.mikrotik.com/wiki/API_in_Swift It works well, when I'm sending small commands However, If I will try to send large script string, I'm getting error: > Fatal error: Not enough bits to represent the passed value The code that crashes: private func writeLen(_ command [...] read more
swift
mikrotik
0votes
1answer

Linking to Teamviewer in react native

I'm currently trying to add a button in React Native in Android that links to the Teamviewer Host app. Whatever url i'm trying, I'm ending up with the following error: openTeamviewer() { Linking.openURL('teamviewerhost://open') Error: Could not open URL 'teamviewerhost://open': No Activity found to handle Intent { act=android.intent.action.VIEW dat=teamviewer10://open flg=0x10000000 } [...] read more
android
react-native
react-native-android
deep-linking
0votes
0answers

CreateProcessAsUser won't open my winform in noninteractive session

I am trying to launch a Winforms application process from within a windows-service. So far i have tried using TopShelf and spawning a Winforms message box worked. I had to stop using for some reasons TopShelf and now i keep getting this error in the Winforms Application. > Showing a [...] read more
winforms
winapi
windows-services
interactive
0votes
2answers

How to receive action by BroadcastReceiver inside Service

I have problem with receiving an intent sended by widget as PendingIntent: intent = new Intent(MyService.MY_ACTION); pendingIntent = PendingIntent.getService(this, 0, intent, 0); views.setOnClickPendingIntent(R.id.button, pendingIntent); I added a broadcast receiver to MyService: private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { @Override public void onReceive(Context context, Intent intent) { Log.d(TAG, "Intent command received"); [...] read more
android
service
action
broadcastreceiver
android-pendingintent
0votes
0answers

Having an issue generating interruption cycle in assembly language PLP

So far, I have been successfully generated an interruption after the first 200 cycles. However, I am not able to generate another interruption after the first one is being executed. I believe there is possibly something wrong with my return code. Helps or advice would be very appreciated. My goal [...] read more
assembly
timer
mips
interrupt
interrupt-handling
0votes
1answer

Unity Windows Overlay

I'm trying to make a Overlay for the Windows OS with Unity. I got all the information, needed for this from this thread in UnityForum. The script I used is the following: using System; using System.Runtime.InteropServices; using UnityEngine; public class TransparentWindow : MonoBehaviour { [SerializeField] private Material m_Material; private struct [...] read more
c#
.net
unity3d
winapi
user32
0votes
0answers

*** HELP *** ADB command line - Update/download Google Play Store apps

What I am trying to do is force all app to update before a certain app is launched so it has the latest version. When using ADB logcat, I am able to determine the course of action which showed it to be using "I/Intent: act=android.intent.action.VIEW dat='market://details?id={packagename}'" adb -s 127.0.0.1:5555 shell [...] read more
android
adb
0votes
1answer

STM32F429-Disco - RAM Extension with SDRAM Linker Skript wrong?

I'm trying to use the SDRAM from my STM32F429-Disco Board. I have created a function to initialize the SDRAM which is executed in the main-function. The SDRAM implementation was done with the following instruction: http://en.radzio.dxp.pl/stm32f429idiscovery/sdram.html and should work since I'm able to write to the SDRAM. THe SDRAM Initialization function [...] read more
linker
ld
ram
stm32f4discovery
stm32f4
0votes
0answers

How to get function offset?

How can I get function offset? I found MexScript code, which returns function offset from compiled .dll library. findloc OFFSET binary "\x10\x31\x00\x00\x00" math OFFSET + 5 math OFFSET + 0xa0 goto OFFSET get funcoff long math funcoff - 0x10000000 print "Offset %funcoff|x%" Offset is 0x0001a6a0 which is good. So what [...] read more
c++
mex
0votes
4answers

Android app keeps crashing on emulator and device

I am executing a very basic task of opening another activity using a button. The code seems to be error-free but the app crashes without even showing the main activity. This happens on both the emulator as well as my device. When the app has no function, i.e. when the [...] read more
java
android
nullpointerexception
0votes
0answers

Window on top of everything like mouse cursor

I am programming a mouse cursor to be used in the operating system that has motion blur on Windows 10. I decided to use Unity3D for this because of Unity3D has very powerful in terms of effects and hardware rendering. I coded an overlay window to be rendered as top [...] read more
c#
windows
winforms
unity3d
0votes
1answer

Espresso IntentsTestRule on Test with Multiple Activities

I am trying to stub out the Android camera's result using Espresso-Intents library. I understand that to initialize the Espresso-Inents library I need to define a IntentsTestRule. I've defined the rule based on the first Activity that my test enters which is MainActivity.class, therefore the rule is written as such: [...] read more
android
android-intent
android-espresso
stub
ui-testing
0votes
0answers

Why does my pocket beagle not boot with buildroot ? Stuck in u-boot

I am stuck in u-boot on pocketbeagl. I tried following : https://www.digikey.com/eewiki/display/linuxonarm/PocketBeagle#PocketBeagle-InstallKernelandRootFileSystem with the exception of replacing the debian 9 with a buildroot rootfs. However, the u-boot does not boot to linux. My SD partitoning is as follows: 1. Raw partiton containing MLO and u-boot 2. A single ext4 rootfs [...] read more
beagleboneblack
u-boot
buildroot
beagleboard
0votes
0answers

Telegram for Android does not seem to support `launchMode=singleTask` for file handling apps

I have an Android react-native app, which should be able to open Json files from messaging apps, but always in the same task. There should never be two instances of the application running. So I have set launchMode="singleTask". Here is a snippet of the manifest: <activity android:name=".MainActivity" ... android:launchMode="singleTask" <intent-filter> [...] read more
android
android-intent
android-activity
telegram
0votes
0answers

Can't launch activity

I am trying to launch an App on Android eumulator, but it doesn't start: niko@desk :~/android-sdk$ ./platform-tools/adb shell cmd activity start-activity org.afterether.wallet Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] pkg=org.afterether.wallet } Error: Activity not started, unable to resolve Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.afterether.wallet } niko@desk :~/android-sdk$ platform-tools/adb shell 'pm list packages [...] read more
android
0votes
0answers

How to fix (Security exception: Permission Denial: starting Intent)

I get this error when i run my code Starting: Intent { cmp=com.inspireui.mstorepro/.MainActivity } > Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.inspireui.mstorepro/.MainActivity } from null (pid=8776, uid=2000) not exported from uid 10963 java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.inspireui.mstorepro/.MainActivity } from null (pid=8776, uid=2000) not exported from [...] read more
react-native-android
0votes
0answers

How start and not start activity in differents tests in one class?

My application first load list of items by http request (Retrofit) and then show it in RecyclerView . Nice. Now I write many Espresso's test to check screen(activity = TradersActivity) that show result of loaded list. So I mock load items by okhttp3.mockwebserver.MockResponse and put them to @Before method. As [...] read more
android-espresso
ui-testing
mockserver
0votes
1answer

Failed to capture fingerprint of output files for task ':app:transformClassesWithDexBuilderForDebug'

I am trying to create a wallpaper app using Flutter's Wallpaper package ( https://pub.dartlang.org/packages/wallpaper). The thing is, when I try to run the app an error appears that says: Failed to capture fingerprint of output files for task ':app:transformClassesWithDexBuilderForDebug' property 'streamOutputFolder' during up-to-date check. Here's the complete code of my [...] read more
android
dart
flutter
android-wallpaper
wallpapermanager
0votes
1answer

Could not launch intent Intent

Here my Espresso's tests: import okhttp3.mockwebserver.MockResponse import okhttp3.mockwebserver.MockWebServer import org.junit.After import java.util.concurrent.TimeUnit @RunWith(AndroidJUnit4::class) class TradersActivityTest { private lateinit var mockServer: MockWebServer @Rule @JvmField var tradersIntentTestRule = IntentsTestRule(TradersActivity::class.java, false, false) @Before fun setup() { mockServer = MockWebServer() mockServer.start(8081) } @Test fun hasTraders_noTradersTextView_isNotDisplayed() { mockServer.enqueue(MockResponse() .setResponseCode(200) .setBody(FileUtil.getStringFromFile(context, ONE_TRADER_NO_WALLETS_LIST))); tradersIntentTestRule.launchActivity(Intent()) onView(withId(R.id.noTradersTextView)) .check(matches(not(isDisplayed()))) } [...] read more
android
android-espresso
ui-testing
0votes
1answer

How to use PathCreateFromUrlA API

I need to convert a uri path like file:///C:/test folder/file.text to windows style path C:/test folder/file.text. For that, I am trying to use PathCreatesFromUrlA API using the following code but I just don't understand how to set up the last two parameters to the API (marked as ??? in the [...] read more
c++
windows
visual-studio
uri
0votes
1answer

Execute command with udev rule on loading driver

I have a touchscreen driver named "my_touch" which is loaded at boot because it's listed in /etc/modules. I want to write an Udev rule to change the line disciple after it is loaded by executing /usr/sbin/ldattach 25 /dev/ttymxc1. I've tried multiple udev rules, but they don't seem to work. I'm [...] read more
linux
udev
debian-stretch
0votes
0answers

Android - Force new activities to be launched in same stack

What I am trying to do : > I am currently in Activity A (in app A). I launch an Activity B(in app B) using startActivity(). Once I am done with Activity B, instead of just finishing it and expecting Activity A to show up, I actually restore Activity A [...] read more
android
android-intent
android-activity
stack
android-task
0votes
1answer

Case and switch method to stop and start Android media player

I have a spinner that you can choose which quality you prefer to stream, and when selected you have to press stop button to stop the player, then select your stream, then you have to select play button to tune into the stream you selected. Can I do this automatically? [...] read more
android
uri
spinner
android-mediaplayer
media
0votes
0answers

Cordova app crashes when loading MobileNet model with fatal signal 11 (SIGSEGV), code 1

I'm building an Android app with image classification using Cordova and the MobileNet model from Tensorflow.js. When I try to run the app in an Android emulator, it crashes. In the browser everything works fine, the error only happens in the mobile app. Running adb logcat gives the following error [...] read more
javascript
android
cordova
tensorflow.js
0votes
0answers

SetEventLatestInfo does not work when the project goal is raised

The Notification_quote.java file works fine when the project target is under 13. The Sdk target is no longer 26. But it gives an error. and could not run. I'm sending Notification_quote.java in the attachment. I'd appreciate it if you could help me run this. Thanks. I'm just learning coding. Someone [...] read more
android
notifications
alarmmanager
0votes
3answers

What is the meaning of $((M &amp ; 0x10000000))?

I have this line: if [ $((M &amp ;0x10000000)) -eq 0 ]; then But I don't know what is the meaning of this line. M is the variable which contains a number. But I don't know what &amp ; 0x10000000 will do with is number. read more
bash
shell
0votes
3answers

When doing sendkeys the element is not highlighted in my app of appium code?

I am trying to execute the below code unable to goto the specific element > DesiredCapabilities c=new DesiredCapabilities(); c.setCapability(CapabilityType.BROWSER_NAME, ""); c.setCapability("deviceName", "ZZ2222HMLF"); c.setCapability("platformName", "Android"); c.setCapability("platformversion", "7.0"); c.setCapability(MobileCapabilityType.APP, "D:\Appium\edTheSIS_11_02_2019.apk"); //c.setCapability("noReset", true); //c.setCapability("autoGrantPermissions", "true"); c.setCapability("appPackage","com.sisapp.in.sisapp"); c.setCapability("appActivity","md5b1afd03e09ce5243fd0287b176ff38ea.MainActivity"); URL U=new URL("http://127.0.0.1:4723/wd/hub"); WebDriver driver=new AndroidDriver(U,c); Displaying as below error in my console > log4j:WARN No [...] read more
android
automation
appium
ui-automation
0votes
2answers

OpenACC, cuRAND, CMake: undefined reference to `__pgicudalib_curandUniformXORWOW

QuestionI am trying to generate random numbers with OpenACC and the cuRAND library. I have a simple piece of code (just trying a few things), which is basically a copy from the pgi cuRAND examples (/opt/pgi/linux86-64/2018/examples/CUDA-Libraries/cuRAND). The problem is that I run into an error: undefined reference to ``__pgicudalib_curandInitXORWOW' and [...] read more
c++
cmake
cuda
openacc
pgi
0votes
0answers

win32API to capture an image

I've written a C# application to capture an image from a web cam. The app uses win32 API calls and works fine on my win 10 lenovo laptop and similarly with colleagues Lenovo laptops of various models and OS's (Win 7 and Win 10). When I try to run the [...] read more
api
winapi
camera
-1votes
1answer

Bitwise multiplication with correction for overflow

I am trying to use Bitwise operators ( ! ~ & ^ | + << >> ) in C to achieve a multiplication of 4 while also correcting for Positive and Negative overflow by returning the Max value and Minimum value, respectively. For example, Function(0x10000000) = 0x40000000 Function(0x20000000) = 0x7FFFFFFF [...] read more
c
bit-manipulation
-1votes
0answers

How to prevent [STAThread] from blocking the change to SetThreadDesktop()

I have an EXE that I want to be called from a service. This EXE has been developed in C#, but using COM interop, it calls into DLLs we have developed. Some of these DLLs use a lot of desktop heap because they have windows/menus/etc that are created but never [...] read more
.net
com
-1votes
1answer

Unlocking fastboot of Coolpad Note 3

I have a Coolpad Note 3 and I am trying to unlock the fastboot (bootloader). Everything is perfectly setup on my Laptop except for one thing that I cannot install recoveries or flash my device through Sp Flash tool. I have Ubuntu 16.04 LTS on my laptop. Surprisingly I can [...] read more
android
fastboot
flashing
-1votes
1answer

Getting Fatal signal during recording a video

I'm stuck on a problem for weeks now. Let me explain the context : I'm trying to take Photos/Video with this library (which is a good one no problem with that) The problem now isn't the library, because I tried on 5 devices and photos/videos work every time. The problem [...] read more
java
android
camera
android-camera
segmentation-fault

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0