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

35votes
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
17votes
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
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
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
5votes
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
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
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
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
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
2votes
1answer

Writing to non-volatile memory without disrupting UART interrupts execution on STM32F4XX

I have several OVERRUN errors on UART peripheral because I keep receiving UART data while my code is stall because I'm executing a write operation on flash. I'm using interrupts for UART and has it is explained on Application Note AN3969 : > EEPROM emulation firmware runs from the internal [...] read more
interrupt
stm32
ram
uart
stm32f4
2votes
0answers

solaris zfs pool import crash

I do run my nas on solaris 11.3. I had a system crash a few days ago. Reason unknown. Afterwards I wasn't able to import the pool anymore. I exported the pool already so that I can boot without a new crash. The pool isn't the rpool. But I do [...] read more
solaris
zfs
2votes
2answers

React Native can't open any URL

help me please, tried many ways. Android error == > E/ReactNativeJS( 4398): 'An error occurred', { [Error: Could not open URL ' https://www.facebook.com': No Activity found to handle Intent { act=android.intent.action.VIEW dat=https://www.facebook.comflg=0x10000000 }] framesToPop: 1, code: 'EUNSPECIFIED' } _onPressButton() { Linking.openURL('https://www.facebook.com').catch(err => console.error('An error occurred', err)); } render() { return [...] read more
android
react-native
2votes
1answer

java.lang.SecurityException will occur when tying to launch some applications with appium and adb

I wrote a basic script using appium to launch an application, It works great for some applications but it will give an error when I try to launch some applications I tried my script with two applications 1. Angry Birds Rio 2. Medium App I found out the appPackage and [...] read more
android
adb
appium
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

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
1answer

Modifying FFmpeg and OpenCV source code to capture the RTP timestamp for each packet in NTP format

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
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

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
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

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
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
1vote
1answer

Windows Critical Section - how to disable spinning completely

I'm trying to set spin count for CRITICAL_SECTION to zero by different methods: int main() { CRITICAL_SECTION cs; ::InitializeCriticalSection(&cs); printf("Spin count by default %08X\n", cs.SpinCount); ::DeleteCriticalSection(&cs); ::InitializeCriticalSectionAndSpinCount(&cs, 0); printf("Spin count with zero spin count init %08X\n", cs.SpinCount ); ::DeleteCriticalSection(&cs); ::InitializeCriticalSectionEx(&cs, 0, 0); printf("Spin count with zero spin count and flags [...] read more
windows
multithreading
winapi
critical-section
1vote
2answers

Combining two assembly files together with both text and data section

I have two assembly files, a.s and b.s I want to combine both of them and create a new assembly file c.s The file c.s should have all the code in .text of a.s and then all then code in .text of b.s I want to do the same thing [...] read more
gcc
assembly
arm
1vote
1answer

STM32F3 Dual ADC with interleaved mode

I'm trying to achieve 10MSPS as documented in STM32F30x ADC modes and application under the section Dual interleaved mode. Firstly, i tried to use single DMA. I configured the DMA1 Channel1 to read from ADC1&2 Common data register. It worked but i could only achieve a sample rate of 8.47MSPS. [...] read more
embedded
stm32
sampling
dma
1vote
1answer

Cannot open application activity/screen via ADB or own app - Permission Denial

I'm trying to open some app activity with adb: adb shell am start -n com.package.name/com.package.settings.LanguageSettingsScreen and I still getting error: Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.package.name/com.package.settings.LanguageSettingsScreen } from null (pid=2524, uid=2000) requires com.application.settings.permission.ACCESS_SETTING java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.package.name/com.package.settings.LanguageSettingsScreen } from null (pid=2524, uid=2000) requires [...] read more
java
android
android-studio
1vote
0answers

What could be causing the error "App isn't available" after Back click?

I open the app (using the Navigation Component) from the Launcher, it (correctly) shows the Start destination Fragment in the Activity NavHost. When I press Android's Back button, I am returned to the Launcher as expected. But if I then open the app switcher UI, although I can see the [...] read more
android
1vote
1answer

How to write to STM32 Flash

I want to write to flash Sector 11 of STM32F407VGT from my user code to store some data. I have used the stm32f4xx_hal_flash.c library. I first erase the sector using this code: void Flash_Init(void) { FLASH_EraseInitTypeDef pEraseInit; pEraseInit.Banks = FLASH_BANK_1; pEraseInit.NbSectors = 1; pEraseInit.Sector = FLASH_SECTOR_10; pEraseInit.VoltageRange = FLASH_VOLTAGE_RANGE_3; pEraseInit.TypeErase [...] read more
stm32
stm32f4discovery
flash-memory
stm32f4
stm32-hal
1vote
3answers

"No Activity found to handle Intent" error occurs when its going to load a URL in browser

I've checked similar questions about No Activity found to handle Intent error. none of them covered my problem. I'm getting this error in my Sentry logs when the app is going to open a URL in Chrome browser using Intent in an AppCompatActivity: android.content.ActivityNotFoundException: No Activity found to handle Intent [...] read more
android
android-intent
activitynotfoundexception
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
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

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
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
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
0votes
2answers

Security exception: Permission Denial while trying to open Facebook app through appium inspector

I am trying to start automation of facebook App. I logged out from the app and used dumpsys window windows | grep -E mCurrentFocus|mFocusedApp to get the app activity and package. I got the values as com.facebook.katana/com.facebook.account.login.activity.SimpleLoginActivity I provide the values in the appium inspector to get locator values { [...] read more
android
appium
android-permissions
permission-denied
0votes
0answers

"Window already focused, ignoring focus gain", when attempting to launch install apk intent

I attempted to launch an install intent as shown in the following example https://stackoverflow.com/a/5338066/10833862 Device is running Android M (SDK 23) There is no install screen opening. The following is observed in logcat 1667-2011/system_process I/ActivityManager: START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/app-debug.apk typ=application/vnd.android.package-archive flg=0x10000000 cmp=com.android.packageinstaller/.PackageInstallerActivity} from uid 10061 on display 1275-2074/? D/gralloc_ranchu: gralloc_alloc: [...] read more
android
logcat
0votes
0answers

Using mmap on Zynq 7000

I want to test inter cpu communication using shared memory between a Microblaze soft core and Zynq A9 ARM processors running Linux on a Zed board. In the device tree I have reserved some memory: reserved-memory { #address-cells = <1>; #size-cells = <1>; ranges; mb_shared_mem: buffer@0x10000000 { no-map; reg = [...] read more
linux
linux-kernel
device-tree
zynq
0votes
1answer

How do I convert sum of hex values back to hex values

I have an object containing a lot of hex values, which is: var perms = { // General generalCreateInstantInvite: 0x1, generalKickMembers: 0x2, generalBanMembers: 0x4, generalAdministrator: 0x8, generalManageChannels: 0x10, generalManageServer: 0x20, generalChangeNickname: 0x4000000, generalManageNicknames: 0x8000000, generalManageRoles: 0x10000000, generalManageWebhooks: 0x20000000, generalManageEmojis: 0x40000000, generalViewAuditLog: 0x80, // Text textAddReactions: 0x40, textReadMessages: 0x400, textSendMessages: 0x800, [...] read more
javascript
discord
discord.js
0votes
0answers

during dynamic linking/loading, how is the base address obtained

i am writing my own dynamic linker/loader my PRIMARY concern is getting the BASE ADDRESS correct and valid, as at the moment it is 0 (nil) in which i have not worked on in 11 months and will probably need to re-learn most of my linker/loader aswell as ELF spec [...] read more
c
elf
dynamic-loading
0votes
1answer

Push notification is not working in Oreo (8.1.0) after the app is closed

Android: 8.1.0 Device: Infinix X604B Problem: Using "Notification Composer" in Firebase console to send notification to my signed release app. Things works when my app is in foreground / background. When I close app by swapping it out from open app list, notifications sent are not received. I get following [...] read more
android
push-notification
firebase-cloud-messaging
0votes
0answers

Is it possible to intercept an http://example.com/callback redirect in a intentFilter?

I'm trying to use an Intent-Filter to capture when a browser redirected to a page confirming the authorization process (final url for test is " http://shapp.sytes.net:8080/callback/loginsuccessful?client_id=...". But I'm able to open the native browser from within app, it goes to auth page, gets redirected to link above, but my intent-filter [...] read more
c#
android
xamarin
intentfilter
0votes
0answers

how to integrate webview into aosp?

I have built my own android os for hikey and I have added a new app view package into packages folder and I have rebuilt my system it compile all successfully. When I have flashed my card I had an exception "E WebViewFactory: Chromium WebView package does not exist" when [...] read more
java
android
android-webview
android-source
-1votes
0answers

Native c++ library cant work with kotlin but works with java

HELLO i have kotlin project. In my project i have to use pos device. Pos device works with sample java project but my project does not work. i put all .so files in jniLibs folder System.loadLibrary method is working but external functions not working when i try to use external [...] read more
android
c++
kotlin
android-ndk
java-native-interface
-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
sigsegv

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