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

68votes
12answers

Deep-linking intent does not work

I followed the insttructions on https://developer.android.com/training/app-indexing/deep-linking.html, but when I want to trigger the intent through adb with: adb shell am start -W -a android.intent.action.BROWSEABLE -d "http://example.com/gizmos" com.myapp.android I just get > Error: Activity not started, unable to resolve Intent { > act=android.intent.action.VIEW dat=example://gizmos flg=0x10000000 > pkg=com.myapp.android } <activity android:name=".activities.DeepLinkActivity" android:label="@string/title_activity_deep_link"> [...] read more
android
android-intent
android-manifest
deep-linking
65votes
11answers

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
21votes
4answers

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
12votes
3answers

Error running adb: Error running app. Error: Activity not started, unable to resolve Intent

Hi I am trying to run 'yarn android' on my react-native project. And am running into the following error: yarn android v0.27.5 $ react-native-scripts android 10:37:45 AM: Starting packager... 10:39:34 AM: Starting Android... 10:39:37 AM: Packager started! To view your app with live reloading, point the Expo app to this [...] read more
android
react-native
expo
create-react-native-app
12votes
2answers

Understanding Linux load address for U-Boot process

I'm trying to understand embedded Linux principles and can't figure out addresses at u-boot output. For example, I have UDOO board based on i.MX6 quad processor and I got following output from U-Boot: U-Boot 2013.10-rc3 (Jan 20 2014 - 13:33:34) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR [...] read more
linux
arm
embedded-linux
boot
u-boot
10votes
1answer

How to get the processes that have systray icon

I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
c#
c++
winapi
taskbar
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
10votes
2answers

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
10votes
3answers

Capturing image from gallery & camera in android

First thing I know this is repeated question but I don't have problem in capturing image from gallery or camera. I created on dummy project to check my code here it's working fine But when I used same code in my project & here it's not working even I didn't [...] read more
android
image
android-camera
android-logcat
9votes
3answers

Encountering a FileSystemRights value that isn't defined in enumeration

I've written an application that examines all of the file system permissions on a directory. A directory has a number of access rules (of type FileSystemAccessRule). Each access rule has a property FileSystemRights, which is a flag enumeration. When running this, I keep encountering a FileSystemRights value of 268435456 (which [...] read more
.net
security
ntfs
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
5answers

Android navigation components with deep link: onNewIntent called multiple times

This time I need your help regarding the use of android navigation components with deeplink. I have been following this documentation and the connection between fragment and deeplink is working fine. The problem comes in regards to the activity that is receiving the deeplink. In my case, I set the [...] read more
android
android-jetpack
android-architecture-navigation
android-jetpack-navigation
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
2answers

Get CPU and GPU Temp Using Python WITHOUT ADMIN ACCESS - Windows

I posted this question, asking how to get the CPU and GPU temp on Windows 10: Get CPU and GPU Temp using Python Windows. For that question, I didn't include the restriction (at least when I first posted the answer, and for quite a bit after that) for no admin [...] read more
python
python-3.x
windows
windows-10
temperature
4votes
5answers

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
4votes
3answers

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 1 When app is in background (not killed), I receive the notification in status bar but on tapping it, it just gets [...] read more
android
react-native
react-native-firebase
3votes
1answer

Installing Python 3.7 from source: test_ssl failed

To be able to install Python from source without root permission on a Ubuntu server, I had to install openssl, which I did using the following commands: wget https://www.openssl.org/source/openssl-1.1.1e.tar.gz tar -xzvf openssl-1.1.1e.tar.gz cd openssl-1.1.1e ./config --prefix=${HOME}/.local/openssl --openssldir=${HOME}/.local/openssl make -j$(nproc) make install_sw Then I set the following in ~/.bashrc: export PATH=$HOME/.local/openssl/bin:$PATH [...] read more
linux
python
ssl
openssl
3votes
0answers

Illegal circular reference among navigation files with deeplinks Navigation Components

I'm trying to generate deeplinks for different navigation graphs, when I include the graphs which have deeplinks I got this error > Manifest merger failed : Illegal circular reference among navigation files > when traversing navigation file references starting with navigationXmlId: > main_graph > > Error: Activity not started, unable [...] read more
android
kotlin
navigation
android-manifest
android-architecture-navigation
3votes
2answers

cannot get this adb shell am start line to work

I am trying to launch this app on my emulator.. Here is my adb shell am start line C:\Users\harvey\AndroidStudioProjects\Sunshinea1>adb shell am start -n com.example.harvey.Sunshinea1app/com.example.harvey.Sunshinea1app.MainActivity WARNING: linker: libdvm.so has text relocations. This is wasting memory and is a security risk. Please fix. Starting: Intent { cmp=com.example.harvey.Sunshinea1app/.MainActivity } Error type 3 Error: [...] read more
android
adb
3votes
1answer

Why I see: Unsatisfied constraints: CONNECTIVITY in JobScheduler debug info

I set for the job: val job = JobInfo.Builder(2, ComponentName(context, JobRunner::class.java)).apply { setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED) setRequiresBatteryNotLow(true) for (triggerUri in triggers) { addTriggerContentUri(JobInfo.TriggerContentUri(triggerUri, JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS)) } setTriggerContentUpdateDelay(TimeUnit.MINUTES.toMillis(1)) setTriggerContentMaxDelay(TimeUnit.MINUTES.toMillis(10)) }.build() jobScheduler.schedule(job) If I execute: adb shell dumpsys jobscheduler I have the following job info: JOB #u0a302/2: 89f4090 com.abc.debug/com.abc.mobile.service.job.JobRunner u0a302 tag=*job*/com.abc.debug/com.abc.mobile.service.job.JobRunner Source: uid=u0a302 user=0 pkg=com.abc.debug JobInfo: [...] read more
android
android-workmanager
android-jobscheduler
3votes
0answers

Android crashes when receiving push notification while app is dead - React-Native

i recently implemented push notification for an app and everything work fine both on android and ios but the problem is the device receives push notification while app is on dead state the app crashes. i am using react-native-firebase and react-native-push-notifications i followed the exact instructions from the docs of [...] read more
android
react-native
push-notification
firebase-cloud-messaging
3votes
1answer

Espresso test on a Capacitor app shows "Could not launch intent Intent within 45 seconds"

I'm trying to implement a Espresso test with a Capacitor app. The test looks like this: package com.getcapacitor.myapp; import org.junit.Rule; import org.junit.Test; import org.junit.runner.RunWith; import android.content.Intent; import androidx.test.espresso.web.webdriver.DriverAtoms; import androidx.test.espresso.web.webdriver.Locator; import androidx.test.filters.LargeTest; import androidx.test.rule.ActivityTestRule; import androidx.test.ext.junit.runners.AndroidJUnit4; import ekt.moveus.applikate.MainActivity; import static androidx.test.espresso.web.sugar.Web.onWebView; import static androidx.test.espresso.web.webdriver.DriverAtoms.clearElement; import static androidx.test.espresso.web.webdriver.DriverAtoms.findElement; import static androidx.test.espresso.web.webdriver.DriverAtoms.webClick; [...] read more
android
ionic-framework
android-espresso
capacitor
3votes
1answer

Can I tell the compiler that I need to earlyclobber a memory operand?

Consider this program, which can be compiled as either 32-bit or 64-bit: #include <stdio.h> static int f(int x, int y) { __asm__( "shrl $4, %0\n\t" "movl %1, %%edx\n\t" "addl %%edx, %0" : "+r"(x) // needs "+&r" to work as intended : "r"(y) : "edx" ); return x; } int main(void) [...] read more
c
assembly
gcc
x86
inline-assembly
3votes
1answer

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 [...] read more
c#
android
unity3d
3votes
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
3votes
1answer

Keep rodata located with the function that created it

I'm trying to make .rodata section location stay with its associated function memory location. I'm using the GNU compiler/linker, bare metal, plain-jane c, with an STM32L4A6 micro-controller. I have a custom board using an STM32L4A6 controller with 1Meg of Flash divided into 512 - 2K pages. Each page can be [...] read more
c
sections
linker-scripts
flash-memory
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
1answer

[YAP 6.2.2][Prolog] "mmap" error during compilation on Ubuntu 20.04

I have a problem with compiling YAP Prolog 6.2.2 on Ubuntu 20.04. As usual, following the README, I browse into the YAP folder and give the command ./configure which is successful. Next, I give the command make but it gives me this error: % % % YAP OOOPS: mmap could [...] read more
prolog
mmap
ubuntu-20.04
yap
2votes
3answers

androidStudio log doesn't work

I cannot get log to work on my phone. I only get this error in Android Studio: > 11-01 03:28:56.427 24227-24375/com.example.segall.caveofprogcourse E/GED: > Failed to get GED Log Buf, err(0) > > Android studio 2.1.3 > Ubuntu 16.04 LTS > Sony Xperia M5 > android 6.0 api 23 I have [...] read more
android
android-studio
logging
2votes
2answers

Can't start application after replacing main activity in Android

I renamed my MainActivity class to DataActivity and added a new main activity class with IntelliJ IDEA. I changed the AndroidManifest.xml file to the following: <application android:label="@string/app_name" android:icon="@drawable/icon"> <activity android:name=".DataActivity" android:screenOrientation="portrait"> </activity> <activity android:name=".MainActivity" android:screenOrientation="portrait" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER"/> </intent-filter> </activity> </application> I uninstalled the app from my [...] read more
android
intellij-idea
android-activity
2votes
1answer

How to make Typescript enum with implements interfaces

How to make Typescript enum with implements interfaces i current has this 2 enum all enum ENNAME keys should only include of enum POSTAG keys export enum POSTAG { BAD = 0x80000000, D_A = 0x40000000, D_B = 0x20000000, D_C = 0x10000000, } export enum ENNAME { D_A = 'a', D_B [...] read more
javascript
node.js
typescript
types
enums
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

is there a way to remove a contact in android using adb shell command?

I would like to know if there is another way in removing or deleting a specific contact in android using adb shell command. what I tried so far is adb shell "am start -a android.intent.action.DELETE content://contacts/people/<contact-id>" but its returning Starting: Intent { act=android.intent.action.DELETE dat=content: } Error: Activity not started, unable [...] read more
shell
adb
2votes
2answers

How can I initialize sigset_t or other variables used as "out parameters" in Rust?

I'm trying to learn more about FFI in Rust and linking with C libraries, specifically libc. While on my "quest", I came across the following problem. NORMAL PATTERN IN C void(* sig_set(int sig, void(*handler)(int))) { // uninitialized sigaction structs struct sigaction new_action, old_action; // assign options to new action new_action.sa_flags [...] read more
rust
ffi
libc
out-parameters
2votes
0answers

Cannot override more than 104KB of the MBR in Windows with C#

I was trying to override the MBR of my hard drive with an image. I wrote a C# program to do just that, and it worked, but it doesn't allow me to override more than ~104KB of the hard drive. The important data on this image was smaller that that, [...] read more
c#
windows
mbr
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 [...] read more
linux
memory
kernel
partitioning
1vote
1answer

Appium setup issues

Trying to setup Appium with Android but keep getting errors. I have an APK manually installed to an actual device. I have followed the instructions on the error message with no luck. My Desired capabilities are set to: > "appPackage": "com.XYZ.android", "appActivity": > "com.XYZ.android.homepage.HomePageActivity", "platformName": > "Android", "deviceName": "Google Pixel [...] read more
android
appium
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

C#: Error calling the camera on the tablet of Microsoft Surface-win10

[DllImport("avicap32.dll")] public static extern bool capGetDriverDescriptionA(short wDriver, byte[] lpszName, int cbName, byte[] lpszVer, int cbVer); [DllImport("avicap32.dll")] public static extern IntPtr capCreateCaptureWindowA(byte[] lpszWindowName, int dwStyle, int x, int y, int nWidth, int nHeight, IntPtr hWndParent, int nID); [DllImport("User32.dll")] public static extern bool SendMessage(IntPtr hWnd, int wMsg, short wParam, int lParam); [DllImport("User32.dll")] [...] read more
camera
1vote
2answers

HUAWEI "android.media.action.STILL_IMAGE_CAMERA_SECURE" intent Permission Denial

I'm getting the following error in Firebase from HUAWEI devices: Fatal Exception: java.lang.SecurityException Permission Denial: starting Intent { act=android.media.action.STILL_IMAGE_CAMERA_SECURE flg=0x10000000 cmp=com.huawei.camera/.controller.SecureCameraActivity } from ProcessRecord{d677674 11018} (pid=11018, uid=10125) requires com.huawei.camera.permission.PRIVATE I added this permission to the manifest file but still no luck i'm trying to open the camera with "android.media.action.STILL_IMAGE_CAMERA_SECURE" intent. [...] read more
android-camera
android-permissions
android-camera2
huawei-mobile-services
huawei-developers
1vote
0answers

Android app not receiving data from servlet

This project has a number (433) saved in a database, which is accessed through a servlet and then should be sent to the Android app. Before I added AsyncTask the app would sometimes retrieve the data (should be 433) from the servlet and sometimes not. Upon clicking the homePage button, [...] read more
java
android
servlets
1vote
1answer

Delete contact via adb

How can I delete a contact using the adb shell? I know the raw_contact_id of the contact. I tried different ways but none with success. 1. To edit a contact I used the command am start -a android.intent.action.EDIT content://contacts/people/8 and it worked. But deleting it with am start -a android.intent.action.DELETE [...] read more
android
android-intent
adb
keyevent
1vote
0answers

React native Android Project Not starting in emulator

i just created a react native project on windows, using expo. After Creating the project i ran npm start and then expo start the next logical thing to do is to press the a button which will launch, the project on the android virtual device, but instead it gave me [...] read more
react-native
android-emulator
react-native-android
1vote
0answers

How to set lockscreen wallpaper using flutter?

i am also having the similar issue but i am developing my app using flutter. with my code i am able to change home screen wallpaper but it does not work for set lock screen or set both. Another problem is also there ....i am able to set homescreen wallpaper [...] read more
api
flutter
wallpaper
1vote
0answers

Click Event On Object Created Using WINAPI in CE Lua

I did a test and able to make button with icon using Cheat Engine Lua script + winapi. But I fail to find how to handle the events for the buttons created using winapi. Below is the code I am used via Cheat Engine Lua scripting including winapi functions called [...] read more
winapi
lua
cheat-engine
1vote
2answers

GCC ignores __attribute__((section("CCMRAM"))). How to fix?

I am trying to use core-coupled memory (CCMRAM) of my cortex-m4 (STM32F407). It works fine with Keil MDK-ARM but gcc-arm-none-eabi ignores __attribute__((section("CCMRAM"))). #define configTOTAL_HEAP_SIZE 1000*1024 #define region1_HEAP_SIZE (40*1024) #define region2_HEAP_SIZE (configTOTAL_HEAP_SIZE - region1_HEAP_SIZE) static uint8_t ucHeap1[ region1_HEAP_SIZE ] __attribute__((section("CCMRAM"))); static uint8_t ucHeap2[ region2_HEAP_SIZE ]; const HeapRegion_t xHeapRegions[] = { { [...] read more
c
gcc
linker
arm
ld
1vote
1answer

Rust debugging doesn't stop at the breakpoints when debugging stm32f407 via openocd and gdb

I have a problem debugging an stm32f407vet6 board and rust code. The point of the problem is that GDB ignores breakpoints. After setting breakpoints and executing the "continue" command in gdb, the program continues to ignore all breakpoints. The only way to stop the program running is to cause an [...] read more
debugging
rust
gdb
embedded
stm32
1vote
0answers

Output the result into OGV from Custom {0}`t{1}`t{2}`t{3}`t{4} format?

How can the code below modified to be properly formatted into the Out-GridView? The script below iterates through multiple OU in a list and then export the result of the ACL for Delegated ACL rights. Appendix: https://msdn.microsoft.com/en-us/library/windows/desktop/aa772285.aspx $ADS_RIGHTS_ENUM = @{ 'ADS_RIGHT_DELETE' = 0x10000 'ADS_RIGHT_READ_CONTROL' = 0x20000 'ADS_RIGHT_WRITE_DAC' = 0x40000 'ADS_RIGHT_WRITE_OWNER' [...] read more
powershell
active-directory
1vote
0answers

org.xmlpull.v1.XmlPullParserException: No android.content.SyncAdapter meta-data while starting the Application

I'm completely stuck here with this exception. This exception is completely slowing down the Application. And also I googled the Exception but no good results for me. 11-21 07:05:04.812: DEBUG/VoldCmdListener(75): volume aseced /mnt/sdcard/external_sd 11-21 07:05:04.816: DEBUG/MountService(135): getAsecVolumeState :: result = unmounted 11-21 07:05:04.816: WARN/ActivityManager(135): No content provider found for: 11-21 [...] read more
android
metadata
android-syncadapter
1vote
1answer

How do I find which android application created this chrome ad/tab

There is a rogue app on my android tv that randomly launches chrome with an ad. The URL contains my IP, network provider, system details etc. This is what I was able to find in the logcat. Can someone review and confirm that org.myklos.btautoconnect created this? It has been removed [...] read more
android
google-chrome
ads
1vote
1answer

ScrollView and Achartengine position and crash

I'm using Achartengine for Android, and i have layout composed by a ScrollView mother within a LinearLayout. It contains a LinearLayout which is the Graph and some textview e edittext. The problem is that if i insert the graph on the top of LinearLayout then the program run, but if [...] read more
android
charts
scrollview
achartengine
android-scrollview
1vote
0answers

Appium: Unable to automate Google Home app using appium

I tried to run Google home app with the below desired capabilities: desired_caps = { "platformName": "android", "platformVersion": "6.0", "deviceName": "ZX1D64RN88", "appPackage": "com.google.android.apps.chromecast.app", "appActivity": "com.google.android.apps.chromecast.app.firstlaunch.FirstLaunchWizardActivity", "autoGrantPermissions": "true", "noRest":"true" } These are the activities I found in Google home app: com.google.android.apps.chromecast.app.firstlaunch.FirstLaunchWizardActivity com.google.android.apps.chromecast.app.core.MainActivity com.google.android.apps.chromecast.app.homemanagement.settings.HomeSettingsActivity I tried to start the Google home app [...] read more
appium
1vote
1answer

How to place program code in several memory regions?

There are several memory regions MEMORY { rom1 (rx) : ORIGIN = 0x00000000, LENGTH = 256k rom2 (rwx) : ORIGIN = 0x10000000, LENGTH = 16M ram1 (rw!x) : ORIGIN = 0x20000000, LENGTH = 64k ram2 (rwx) : ORIGIN = 0x21000000, LENGTH = 16M } How to place .text sections of [...] read more
c
linker
ld
linker-scripts
1vote
0answers

Receiving RawInput from touchscreen in net core

I have an external hid touchscreen and i want to receive the rawinput data in my application. My application is just a console application and i want to create a window, so that i can use the handle to register a rawinputdevice. I created a window like this: namespace MyApplication [...] read more
c#
.net-core
hid
1vote
1answer

Getting UpdateEngine is on a null object reference in AB OTA application

> I am working on Android_Q. Trying to do AB OTA update from Android > application. Have gave necessary information to update engine. > > E/MessageQueue-JNI: java.lang.NullPointerException: Attempt to invoke > interface method 'boolean > android.os.IUpdateEngine.bind(android.os.IUpdateEngineCallback)' on a null > object reference public class MainActivity extends Activity { private static [...] read more
android
ota
1vote
0answers

GNU linker: How to place .vector section inside .text

For backward compatibility (and other) reasons, the exception table is required to be at the same flash address as the older generation hardware. The problem is that flash on the newer hardware (also for compatibility reasons) was expanded upwards (i.e, additional flash bank was placed before existing flash, not after, [...] read more
linker
gnu
ld
linker-scripts
1vote
1answer

How to trigger “Ok google” from adb shell?

I'm trying to simulate "Ok google" from adb shell on Android O(8.0), but I couldn't find solution. I've found that the app which shows after "Ok google" has cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity. However, I couldn't launch it via adb due to below error. $adb shell am start -n com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity Starting: Intent { cmp=com.google.android.googlequicksearchbox/com.google.android.apps.gsa.staticplugins.opa.OpaActivity [...] read more
android
adb
voice
0votes
0answers

How to route local machine traffic trough PPTP client internet connection?

I've been struggling with this issue for more than a week without much success, thus it's time to involve the serverfault experts ;-) WHAT I'M TRYING TO ACHIEVE: I have two LANs connected to the Internet, each with a public IP adress (thus using NAT). My goal is to have [...] read more
iptables
routing
linux-networking
pptp
0votes
1answer

Autohotkey: Find and focus windows by name accross virtual desktops

I'd like an ahk script to find and focus running windows across virtual desktops on Windows 10. I found one earlier but alas forgot where it's from, maybe someone here knows. I think it was to help with special keys shortcuts not working in VNC sessions (Win key, alt-tab for [...] read more
windows-10
autohotkey
vnc
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
1answer

Semi-failed RAID6, still able to copy data but incredibly slow

I had a 5-drive software raid6 with mdadm setup (2 parity drives), and a drive failed. I ordered a replacement, and when I powered off the machine to swap the failed drive with a new one, ANOTHER drive failed at the same time (completely dead). So now there is 3 [...] read more
mdadm
raid6
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

Xamarin Android Debugging Intents

I'm trying to work out how to debug intents that start my application. It seems that VS for Mac has a complete dialog to manage doing this called Run Configurations there "seems" to be a similar feature in VS also called un Configurations but it doesn't seem to be an [...] read more
android
xamarin
xamarin.forms
0votes
0answers

How to solve ERROR: relocation truncated to fit R_X86_64_PC32 in C

For my algorithm I have to test it with large arrays. So, in my C code I have two global static arrays of length n. #define length 10000000 static long long arr1[length+1]; static long long arr2[length+1]; For this length n it works fine. But when I make it 10 times [...] read more
c
0votes
0answers

Install APK from server's shared folder in Xamarin Forms

I am trying to install an APK from my device. I have a way to check if there is a new version, but it keep failing when I try to install the APK. Here's the relevant code: try { SharpCifs.Config.SetProperty("jcifs.smb.client.lport", "8080"); string path = @"smb://Nascld/Share/IT/Androids/Picking.apk"; var auth = new NtlmPasswordAuthentication("Domain", [...] read more
c#
android
android-intent
xamarin.forms
apk
0votes
1answer

There is exception when install apk in android 10 by intent (android.content.ActivityNotFoundException)

I'm testing my android application to support android version 10. When I test application in android 10 device, there is some problem with the apk install process. Here is my source code and test information:- File realFilePath = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/app-debug.apk"); if(realFilePath.exists()) { Uri apkUri = Uri.fromFile(realFilePath); Intent intent [...] read more
android
android-intent
android-sdk-tools
0votes
2answers

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

React native app crash immediately after launch on emulator

I have an EXPO bare REACT NATIVE app with these versions of plugins: 1. expo: 40.0.0; 2. react: 17.0.1; 3. react-native: 0.63.4; 4. gradle: 6.7.1; 5. com.android.tools.build:gradle:4.0.1; I'm using Android SDK 29. I'm able to build the app for ANDROID but when I lunch the app the app crash immediately [...] read more
android
react-native
android-gradle-plugin
build.gradle
0votes
0answers

DocumentProperties not updating the print job with new DEVMODE structure

I am trying to update a print job with a new property set to the printer's DEVMODE structure in my C# win forms application. Specifically, the tray to print to. [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class DOCINFOA { [MarshalAs(UnmanagedType.LPStr)] public string lpszDocName; [MarshalAs(UnmanagedType.LPStr)] public string lpszOutput; [MarshalAs(UnmanagedType.LPStr)] public string lpszDatatype; [...] read more
c#
winapi
printing
print-spooler-api
0votes
1answer

Android appium Permission Denial: starting Intent

Anyone can help me to see this permission issue is due to the app which I need developer to re-build with permission open? or it is my adb command issue? or the intent argument is used wrongly? At android phone, 1st screen: com.ninetest.hd3.test.testDetectActivity 2nd screen: com.ninetest.hd3.activity.MailActivity When executing adb command [...] read more
android
appium
appium-android
0votes
0answers

React Native app crashes immediately on Android emulator and device

I'm trying to run a React Native project developed by another person, but when I run react-native run-android on emulator or real device, the app crashes immediately without any message. I've tried in Windows with node 14.4 and MacOS with node 12.18.3 and the same occurs. When I run into [...] read more
java
android
react-native
android-studio
0votes
0answers

ISR in mips isn't restoring my registers correctly

.org 0x10000000 li $sp, 0x10fffffc # Stack pointer initialization li $s0, sseg_lut # Lookup table address used by sseg_display lui $s1, 0xf070 # Interrupt controller register lui $s2, 0xf0a0 # Seven segment display # **************************** # TODO: enable interrupts below # **************************** li $t0, 0b11 #Value to set the mask [...] read more
assembly
mips
interrupt-handling
isr
plp-mips
0votes
0answers

PLP LED lights not going off after cycles of interrupts

I am Coding in PLP MIPS Assembly Language I'm having trouble figuring out how to trigger a Timer interrupt (Every 200 cycles) . Right Now it is been triggered once all LEDs gets on but on off loop not working. The Timer interrupt is suppose to flash the LEDs on [...] read more
assembly
timer
mips
interrupt
0votes
2answers

java.lang.SecurityException: Permission Denial with revoked permission android.permi

I already added to permission to manifest but still not wotking, (not under marshmallow), please help with edition of code to newer version of valid code.Whole error is: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.CALL dat=tel:xxxxx flg=0x10000000 cmp=com.android.server.telecom/.components.UserCallActivity } from ProcessRecord{80edffb 11112:kg.o.assist/u0a86} (pid=11112, uid=10086) with revoked permission android.permission.CALL_PHONE public class [...] read more
android
service
numbers
command
ussd
0votes
1answer

No activity found to handle intent{act=android,intent.action.VIEW}

I have an image located at path temp_path .i want that image to be opened with Android gallery app .To do so i add following code inside a function in Fragment File file=new File(temp_path); Uri uri; if(Build.VERSION.SDK_INT<24) { uri=Uri.fromFile(file); } else { uri=Uri.parse(file.getPath()); } Intent intent=new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri,"jpg/jpeg/png"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); [...] read more
java
android
android-studio
0votes
1answer

Embedded Buildroot and Yocto Linux crash 50% of the time

I am getting the below error 50% of the time during startup on an STM32 based processor (OSD32MP15x). I've tried over 40 versions configs and setups none work and I am under high pressure to deliver this piece of hardware to a client. To me this looks like some kind [...] read more
linux-kernel
embedded-linux
stm32
buildroot
0votes
1answer

Launching another activity from a Trusted Web Activity (TWA)

I have problems trying to launch another activity from the TWA via the intent URI. "intent://#Intent;scheme=subscriptionschemetwa;package=com.package.www.twa;end" The package name is unique in reality, of course. I've played around with them, added host, action, extras etc. to URI, but nothing had an effect. As I'm new to native development, I'd appreciate [...] read more
android
android-intent
trusted-web-activity
twa
bubblewrap
0votes
0answers

java.lang.RuntimeException: Could not launch intent Intent only on emulator on api 28 (android 9)

Seeing this exception for an espresso test: java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x10000000 cmp=/.root.presentationcomponent.implementation.RootActivity } within 45000 milliseconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is [...] read more
android
kotlin
android-espresso
0votes
2answers

Extract command from logcat Android-TV

I am trying to extract the command that is called when I click a particular button on Android TV, Eventually I want to add it to an app, but for now I am just looking to call it via ADB for testing. 10-14 10:18:16.654 5058 5058 D SourceElementCallback: onElementClick position:7 [...] read more
android
adb
android-tv
0votes
0answers

Custom Notification Button : Unable to start service Intent Error

I am working on a custom media player notification. When I wanna attach an action to button I faced with error below. ERROR : Unable to start service Intent { act=left flg=0x10000000 cmp=com.//package_name// /.model.media_player$NotificationIntentService bnds=[630,195][780,345] } U=0: not found class media_player(val applicationContext: Context?, val playPauseButton: ImageButton, var selectedAudio: AudioModel) { [...] read more
java
android
kotlin
notifications
android-mediaplayer
0votes
0answers

In React-Native when launching the project it gets stuck at Starting: Intent { cmp=com.projectalpha/.MainActivity }

The project gets started in cmd but it does not launch the app in the emulator where the emulator is already kept opened. Node does not load as well extra info: It was working alright until I installed the gesture handler for react (npm install --save react-native-gesture-handler) after this installation [...] read more
reactjs
react-native
emulation
launching
0votes
1answer

How to open URL with scheme intent:// on react native

I have a react native mobile app with a webview. In the webview I added the facebook messenger chat plugin so my users can easily contact us if they need help. if you ran the website through a mobile browser it works. It redirects you to the official messenger. But [...] read more
react-native
react-native-android
facebook-javascript-sdk
0votes
3answers

Can't force function table to specific address with IAR ARM compiler

I have a function table type defined like so typedef struct { uint16_t majorRevision; uint16_t minorRevision; uint8_t (*CommInit)(void *); uint8_t (*CommDeInit)(void); uint16_t (*Write)(uint8_t *, uint16_t); uint16_t (*Read)(uint8_t *, uint16_t); uint8_t (*Attached)(void); uint8_t (*ExitApp)(uint8_t); uint8_t (*Jump)(uint32_t address); uint16_t (*GetCRC)(uint8_t*, uint32_t); int (*Encrypt)(uint8_t *, uint32_t); int (*Decrypt)(uint8_t *, uint32_t); uint8_t (*Reset)(void); uint32_t [...] read more
c
linker
arm
cortex-m3
iar
0votes
0answers

How to change kernel base address in petalinux

I am working on customizing petalinux for my IP. My objective is to make all the memory requests from Linux have to pass through PL and PL will in the backend will serve read/store request, basically my IP sits in between the PS and the DDR as shown below block [...] read more
linux
linux-kernel
memory-address
xilinx
0votes
1answer

Trying to read from switches and output in a LED switch board

I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
assembly
mips
0votes
0answers

React Native: I am implementing google maps when it goes to directions/routes it works fine on iPhone but shows error on the Android

**WARN Possible Unhandled Promise Rejection (id: 1): Error: Could not open URL 'htttps://www.google.com/dir/?api=1&destination=31.45166,74.29813': No Activity found to handle Intent { act=android.intent.action.VIEW dat=htttps://www.google.com/dir/?api=1&destination=31.45166,74.29813 flg=0x10000000 }** acceptPassengerRequest() { //Send Driver Location to Passenger this.socket.emit('driverLocation', { latitude: this.state.latitude, longitude: this.state.longitude, }); const passengerLocation = this.state.pointCoords[ this.state.pointCoords.length - 1 ]; if (Platform.OS === 'ios') [...] read more
android
react-native
android-maps
react-native-maps
0votes
1answer

How to interpret the PCIe registers and (address) ranges in device tree files?

I was trying to understand the reg and ranges fields in the following dts and tried to find the resemblance with already explained literature like PCI_Address_Translation and pcie device tree 'ranges' property explanation, but the number of cells are different i.e. six vs seven. How can I interpret these fields? [...] read more
linux-device-driver
device-tree
pci-e
0votes
0answers

FirebaseMessagingService freezes

Is it possible to prevent the android system from stopping the FirebaseMessagingService? After sometime our testing device stops to receive notifications while at background. According to logs: 2020-09-13 14:14:05.872 18566-18974/? I/ActivityManager: freeze 10345:com.mycompany.MyApp/u0a170 (adj 700): stop com.mycompany.MyApp 2020-09-13 14:14:05.878 18566-18974/? I/ActivityManager: Force freezing service ServiceRecord{8f0ebfd u0 com.mycompany.MyApp/crc644af56f60c0170ff3.MyFirebaseMessagingService} 2020-09-13 14:14:05.878 18566-18974/? [...] read more
android
xamarin
firebase-cloud-messaging
0votes
0answers

How to prevent kiosk app from launching twice after reboot

I've successfully created kiosk app using Android management API with following policy: { "appAutoUpdatePolicy" : "ALWAYS", "applications" : [ { "defaultPermissionPolicy" : "GRANT", "installType" : "KIOSK", "managedConfiguration" : { "deviceId" : "36edd69cd4c25e4c" }, "packageName" : "com.example.app" } ], "blockApplicationsEnabled" : true, "bluetoothDisabled" : true, "dataRoamingDisabled" : true, "debuggingFeaturesAllowed" : true, [...] read more
android
kiosk-mode
android-management-api
0votes
0answers

How do I get ADB permission to execute a class of Google Trusted Devices

I'm new at StackOverflow and I would like that someone would help me with his. I actually have a Huawei Y6II with EMUI 4.1 but Huawei, in the HwSettings package (actually is the Android Settings) on the "Lock Screen and Passwords" settings doesn't appear the Google Smart Lock settings. So [...] read more
android
permissions
adb
0votes
2answers

Configure WinRM over HTTPS on Multiple Computers with Powershell

Configure WinRM over HTTPS on Multiple Computers with Powershell I have the following script that I put together to configure WinRM over HTTPS and it works great on per machine. I am having a tough time recoding it to run remotely on multiple machines located in a text file. Also [...] read more
powershell
for-loop
foreach
winrm
foreach-object
0votes
0answers

Passing string varaible to native method

I'm trying to pass two strings to a native method, the method doesn't execute while passing strings like this String pathDir=request.getParameter("path"); String user=request.getParameter("user"); obj.modifyACL(pathDir, user, 'a', 1); The same method executes well when passing strings as this obj.modifyACL("C:/Users/margie/Desktop/tb.h", "SYSTEM", 'r', 2); The value of pathDir and users are not empty [...] read more
java
string
java-native-interface
0votes
0answers

How to understand __setup_mmu of linux 2.6.35

I'm reading the source code of Linux 2.6.35 in arm arch(NXP i.mx283 - ARM926EJS). now, at arch/arm/boot/compressed/head.S:__setup_mmu label. 515 /* r4存储着内核解压后的地址 */ 516 /* r3 = r4 - 16384 = 0x40008000 - 16384*/ 517 __setup_mmu: sub r3, r4, #16384 @ Page directory size 518 /* r3 = 0x40004000 */ 519 [...] read more
linux
arm
0votes
1answer

CreateProcessWithTokenW winapi return false but no reason why

I am New to winapi and I am trying to run a process with system privileges. Lot of people suggested to use the Function CreateProcessWithTokenW. I wrote the falling code: $run = @" [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Unicode)] public struct STARTUPINFO { public Int32 cb; public string lpReserved; public string lpDesktop; [...] read more
c#
powershell
winapi
process
token
0votes
0answers

BeagleBone Black: Unable to get u-boot prompt

I am trying to build u-boot for my BeagleBone Black. I have properly compiled the MLO and u-boot.img and loaded into the sd-card. However, when i try to boot, i get the following log: > U-Boot SPL 2020.07-00717-gfee68b9 (Jul 17 2020 - 09:36:15) Trying to boot from > MMC1 > [...] read more
beagleboneblack
u-boot
0votes
0answers

How to Call Scene-Viewer AR Core Intent from Xamarin Form [intent]

I have a simple website locally that makes use of the android's Scene viewer to show 3d model and to use the basic ar feature. It actually contains a link that performs an implicit intent call. This works fine if i call through android chrome web browser this is the [...] read more
android
xamarin
xamarin.forms
arcore
0votes
2answers

Unable to open a pdf using foxit reader app from command line using am

I have installed termux on my android phone. I have Foxit-pdf-reader installed in my Android phone I want to open a pdf file using Foxit pdf reader from termux command line I tried to open the app using the below command in Termux and it successfully opens the Foxit pdf [...] read more
android
termux
0votes
0answers

Error in condition check inside add_custom_command of CMAKE

I am trying to write unit test cases using CMAKE ctest . I want to do unit test on my custom add and inverse function. The difference between add and inverse test cases 1. add is using two inputs where as inverse is using single input 2. Address of the [...] read more
unit-testing
makefile
cmake
ctest
add-custom-command
0votes
0answers

How to redirect an user to another app using react native on android

The code bellow is supposed to send an user to the mercado pago app, it is working well on IOS, but it is not working on android, I have the app installed and I do not understand why it is happening, can you help me? The error I am getting [...] read more
android
react-native
0votes
0answers

Executing VxWorks 653 Applications With Shell Command

I have simple execution problem with VxWorks 653 platform centerOS(windSh). In this shell i list current application with pdShow and also I want to run application on it but ı do not know the command and dont found command anywhere even the manual. the Syntax of RTOS like this [centerOS]-> [...] read more
rtos
vxworks
0votes
1answer

Flutter: Firebase storage download url

I am new to Flutter and I am trying to make a wallpaper app where I use Firebase to store my images. The app retrieves images from Firebase and the user can share and download the images to the device. I'm using image_gallery_saver package but I wasn't able to get [...] read more
firebase
flutter
dart
firebase-storage
0votes
0answers

Unable to run Appium server using Appium v1.17.1-1

I run Appium in Windows 10.Appium configuration is below: { "platformName": "Android", "platformVersion": "9", "appPackage": "com.xunmeng.pinduoduo", "appActivity": "com.xunmeng.pinduoduo.ui.activity.HomeActivity", "resetKeyboard": true, "noReset": true } error info: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.xunmeng.pinduoduo' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. [...] read more
java
android
automated-tests
appium
0votes
0answers

STM32 Linker Script: What occupies the RAM between _edata and _sbss?

BACKGROUND I'm taking a close look at RAM usage of an application running on my STM32f407. I'm using gdb to read out the linker symbols like this: (gdb) p (uint32_t*) &_sdata $47 = (uint32_t *) 0x20000000 <_impure_ptr> I've made the following measurements of RAM: 0x2002 0000 RAM end | ._user_heap_stack [...] read more
memory
embedded
linker-scripts
0votes
2answers

AES Encryption program do not work correctly on IDEs

Program import java.nio.charset.StandardCharsets; import java.util.Base64; public class AesCtr256 { // sBox is pre-computed multiplicative inverse in GF(2^8) used in subBytes and keyExpansion [§5.1.1] private static final int[] sBox = new int[] { 0x63, 0x7c, 0x77, 0x7b, 0xf2, 0x6b, 0x6f, 0xc5, 0x30, 0x01, 0x67, 0x2b, 0xfe, 0xd7, 0xab, 0x76, 0xca, 0x82, [...] read more
java
encryption
ide
aes
encryption-symmetric
0votes
1answer

picorv32 risc-v implementation in vivado 2018.2

This is the core: https://github.com/cliffordwolf/picorv32 I'm having a problem implementing the core in vivado. I have installed the riscv gnu toolchain and I am sure that it works ok, I modified the Makefile ($TOOLCHAINPREFIX). I ran the makfile's make firmware.hex (from the scripts/vivado folder) and then I ran the make [...] read more
c++
c
verilog
hdl
vivado
0votes
0answers

STM32 Leaving DFU mode, code doesn't start

So for this question, I'm using stm32l4 device. It is a Cortex M4. I've been developing with stmcubemx and Kiel compiler. I have a program that can jump to the stm32 provided dfu mode. That works great. I can update the code using DfuSe Demo. I've run into this issue [...] read more
c
stm32
dfu
0votes
1answer

Android Pie (9.0) - Writing a Shutdown or Restart Function - Application is Privileged

I have a security system in schools, where my tablets are the consoles for each classroom. I've noticed teachers and admin are not restarting the tablets very often (or ever), which has caused issues. I would like to take the task from the clients and program a weekly reboot or [...] read more
android
android-studio
android-9.0-pie
-1votes
0answers

Plugging USB into Android device causes CameraHAL to pause the current activity for 1-2 seconds

I'm working on a fitness application on a custom tablet running Android version 5.1.1. The tablets have a built in camera which works great, and there are accelerometers that also work great which are connected to the tablet via a USBA 2.0 cable. The application was built using Unity, but [...] read more
java
android
unity3d
android-activity
usb
-1votes
1answer

Outputs floating-point

I just wanted to create a program that reads a float (i.e. single-precision number) from the keyboard and then outputs it, and there're no warnings or errors, but I couldn't get correct answers, instead, I got 0.00000000. What's wrong with my code? This is my code: .data 0x10000000 msg1: .asciiz [...] read more
assembly
mips

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