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

40votes
7answers

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
22votes
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 supports 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 : Filename: [...] read more
configuration
inno-setup
22votes
7answers

Android App to call a number on button click

I want to call a number given in a textbox but I'm getting the error: > The application 'xyz'(process com.android) has stopped unexpectedly The following is my code. Where is it going wrong? EditText txtPhn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Button callButton = (Button)findViewById(R.id.btnCall); txtPhn = (EditText)findViewById(R.id.txtPhnNumber); [...] read more
android
android-emulator
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
11votes
3answers

Intent call action doesn't work on Marshmallow

I'm trying to start a call intent action on a device who has Marshmallow as OS, Using the same steps as usual (This is working on versions below): Add permission: <uses-permission android:name="android.permission.CALL_PHONE" /> Open the intent: Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:" + getString(R.string.connect_phone))); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); This is the log [...] read more
android
android-intent
android-permissions
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
1answer

Modular arithmetics and NTT (finite field DFT) optimizations

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

Android 10 - No Activity found to handle Intent

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

Intercepting the ACTION_CALL intent on HTC sense

I have an Activity to catch ACTION_CALL intent via intent-filter and route via my app which works fine on Nexus one, Moto Blur, and Samsung devices. But not on HTC sense. :( The Intent.ACTION_CALL_BUTTON is called when the HTC sense button is pressed but when you dialed ACTION_CALL isn't received [...] read more
android
intentfilter
htcsense
6votes
1answer

Two instances of an Activity with launchMode as singleTask

I have an activity with launchMode as singleTask. But for some reason, two instances exist when I try to look for logs in "adb shell dumpsys activity activites" . The first instance is launched with intent={act= flg=0x10000000 cmp=} and the second one is launched with below intent intent= { act= [...] read more
android
android-intent
launchmode
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
5answers

Trying to enable deep linking to android app, testing intent can't launch activity

I'm trying to enable deep linking so that certain links launch my app. I read this turotial https://developer.android.com/training/app-indexing/deep-linking.html and following it pretty close but when I try to test it by using adb to send the VIEW intent to the app I just get the error Error: Activity not started, [...] read more
android
android-intent
android-manifest
deep-linking
4votes
4answers

Retrieving Json Array

I am trying to retrieve the values from the following url: http://rentopoly.com/ajax.php?query=Bo. I want to get the values of all the suggestions to be displayed in a list view one by one. This is how i want to do... public class AlertsAdd { public ArrayList <JSONObject> retrieveJSONArray(String urlString) { String [...] read more
android
json
4votes
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
3votes
0answers

onNewIntent() called unnecessarily without extras

We have crash reports from our App that we cannot explain. The crash occurs in MyActivity because an expected "extra" is missing from the Intent. We have extensive logging in our app and this is the sequence of lifecycle callbacks that we see when this occurs: 06:04:22.574#a.b.c.MyActivity.onCreate() with flags 0 [...] read more
android
android-intent
android-lifecycle
3votes
1answer

Not able to write in /dev/mem

The issue that I am experimenting is not related with open() or mmap() function, which are executed properly. I have disabled CONFIG_STRICT_DEVMEM in the kernel so I can read from /dev/mem without problems. Actually, I can do the following: const char *path = "/dev/mem" int fd = open(path, O_RDWR); /* [...] read more
c
linux
linux-kernel
linux-device-driver
3votes
2answers

How can I know that my app was opened by Google Assistant, instead of just normally launched

How can I know that my app was opened by Google Assistant, instead of just normally launched. I don't need App Actions. I just want to know, that yes, my app was opened with "Ok Google -> Open appname" instead of pressing on the icon, or resuming it from recents. [...] read more
android
speech-recognition
voice-recognition
google-assistant-sdk
google-assist-api
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
2answers

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

I am using react-native-firebase@4.2.0 for push notifications. When app is open on screen, I receive the notification via onNotification and an alert as intended by my code. PROBLEM 1When app is in background (not killed), I receive the notification in status bar but on tapping it, it just gets dismissed [...] read more
android
react-native
react-native-firebase
3votes
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
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

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
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
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
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 USB Debugging on. Edit This code [...] read more
android
android-studio
logging
2votes
2answers

Why cannot the load part of the atomic RMW instruction pass the earlier store to unrelated location in TSO(x86) memory consistency model?

It's known that x86 architecture doesn't implement sequential consistency memory model because of usage of write buffers, so that store->load reordering can take place (later loads can be committed while the earlier stores still reside in write buffers waiting for the commit to L1 cache). In A Primer on Memory [...] read more
x86
atomic
cpu-architecture
memory-barriers
memory-model
2votes
0answers

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

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

Capturing RTP Timestamps

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

What causes for this movabsq $symbol@GOTOFF assembler error with gfortran? unsupported symbol modifier in relocation

(I realize that this is not a well-documented answer, but as I write below I don't know which information to share; I am willing to provide more as it appears useful) I am modifying a pre-existent collection of Fortran90 programs for data processing in fluid-dynamics (which was not written by [...] read more
macos
assembly
fortran
x86-64
gas
1vote
2answers

Install apk without downloading

Can I install apk file without downloading? The apk file is on the server. I tried the code below but it doesn't work: public static void InstallProgram(Uri uri, Context context){ Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri,"application/vnd.android.package-archive"); intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); } Where uri is http://192.168.43.1:6789/mobile_base/test.apk. It returns an error: android.content.ActivityNotFoundException: No Activity [...] read more
android
streaming
client-server
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

C# WPF create dpi aware child window

I want to create a dpi aware child window inside a WPF window. The child window will be used for directX rendering. I created a minimal example with the window as follows: <Window ... Loaded="OnLoaded" MouseMove="MainWindow_OnMouseMove"> <DockPanel> <Menu DockPanel.Dock="Top"> <MenuItem Header="TestItem"/> </Menu> <Border Background="Blue" x:Name="BorderHost"/> </DockPanel> </Window> The Border will [...] read more
c#
wpf
winapi
directx
1vote
1answer

Start BLUETOOTH_SETTINGS Action Returns SecurityException (Requires BLUETOOTH_ADMIN Permission)

I'm trying to get to the Bluetooth Settings page on Android with this ADB command. adb shell am start -a android.settings.BLUETOOTH_SETTINGS However, I get a SecurityException for the response saying I need the android.permission.BLUETOOTH_ADMIN permission Starting: Intent { act=android.settings.BLUETOOTH_SETTINGS } Security exception: Permission Denial: starting Intent { act=android.settings.BLUETOOTH_SETTINGS flg=0x10000000 cmp=com.android.settings/.Settings$BluetoothSettingsActivity [...] read more
android
security
bluetooth
permissions
admin
1vote
0answers

Broadcast Receiver wont start Activity when app is not running

I am trying to open activity through Broadcast Receiver. Here is the Manifest : <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.andreasgift.myclock"> <uses-permission android:name="com.android.alarm.permission.SET_ALARM" /> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:roundIcon="@drawable/ic_launcher" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".Alarm.AlarmNotifActivity" /> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.SET_ALARM" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> <receiver [...] read more
kotlin
android-intent
android-activity
broadcastreceiver
1vote
2answers

Shortcut Doesn't Launch The File In Android Q

Edit: I am getting below logs in system_process when I click the pinned shortcut: 2019-10-26 20:00:16.086 2047-3533/system_process I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW dat=file:///storage/emulated/0/Download/AAD.pdf typ=application/pdf flg=0x10000000 cmp=com.google.android.apps.docs/com.google.android.apps.viewer.PdfViewerActivity bnds=[439,84][641,337]} from uid 10147 2019-10-26 20:00:16.100 2047-2047/system_process W/ActivityManager: Unable to start service Intent { act=android.service.appprediction.AppPredictionService cmp=com.google.android.as/com.google.android.apps.miphone.aiai.app.AiAiPredictionService } U=0: not found 2019-10-26 20:00:16.100 2047-2047/system_process W/RemoteAppPredictionService: could [...] read more
android
android-shortcutmanager
1vote
0answers

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 { [...] read more
android
adb
voice
1vote
1answer

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

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

Unable To start mediaprojection twise

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

Weird issue with app update using apk install code

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

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

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

Unity transparent fullscreen with multiple screens

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

Hiding Implementation Details in C++

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

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

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

Run the GPIO maps on openWRT

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

Eigen on STM32 works only until a certain size

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

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

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

Unable to pass deep links with parameters - Android

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

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

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

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

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

ARM Cortex M4 scatter file and program entry

I am having issue to run & profile my C build for Cortex M4 with the ARM Workbench IDE (RVCT) profiler. The profiler just hangs and doesn't entry the main function. Here is my Makefile: CPU = Cortex-M4 CFLAGS = --c99 --cpu=$(CPU) -Otime -O3 --min_array_alignment=8 ifeq "$(CPU)" "Cortex-M4" CPPFLAGS += [...] read more
arm
cortex-m
0votes
2answers

Remove titlebar from window. Window process started by different user

I am using this code (on windows 2003) to remove and resize window: Process process = Process.GetProcessById(12121); IntPtr mwh = process.MainWindowHandle; SetWindowLong(mwh, GWL_STYLE, WS_VISIBLE); ShowWindowAsync(mwh, 3); SetWindowPos(mwh, new IntPtr(0), 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE | SWP_FRAMECHANGED); And declarations: [DllImport("user32.dll")] private static extern bool ShowWindowAsync(IntPtr hWnd, int nCmdShow); [DllImport("USER32.DLL")] [...] read more
c#
windows-server-2003
titlebar
0votes
0answers

Read/Write the MTD flash via Octeon Simple Executive

Cavium Octeon appliance has mtd0 to 5 flash present. I want to log/dump firmware/Simple Executive crash backtrace to one of the solid state storage/ flash in the appliance. For that I try to initialize the flash with simple executive helping function in cvmx-flash.c; cvmx_flash_initialize(); but on boot up the initialize [...] read more
c
linux
linux-kernel
embedded
flash-memory
0votes
0answers

How to start an activity when an accessibility service is connected?

I have two activities MainActivity.java, MainActivity2.java and an accessibility service MyService.java. From MainActivity.java, I start the Accessibility Settings Activity using the following code: Intent intentStartSettingActivity = new Intent(Settings.ACTION_ACCESSIBILITY_SETTINGS); startActivity(intentStartSettingActivity); From the settings activity, the user can turn on the accessibility service for the application. Now, when the user enables the [...] read more
java
android
android-activity
android-service
accessibilityservice
0votes
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
0votes
1answer

how a "so" load a so with fixed address?

in my program, two "so" - libcpss.so and libhelper.so have to be loaded into a fixed virtual address, it’s done by the ld script, SECTIONS { /* Code section, access rights RX */ . = 0x14600000; … } readelf -l libhelper.so | less Elf file type is DYN (Shared object [...] read more
shared-libraries
ld
0votes
0answers

Python 2.7 to 3.6 Code porting issue --copying xml data to list

emphasized textHi , I am currently Porting a Piece of code from python 2.7 to python 3.6 , The Code involves dumping data from xml into a list the codes looks as below import os import xml.etree.ElementTree as ET regs_list = [] tree = ET.parse("test.xml") root = tree.getroot() for reg [...] read more
python-3.x
python-2.7
0votes
1answer

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

FCM: Unable to start Activity from onMessageReceived()

So, we are developing a video calling functionality for Android wherein we launch the Video call screen(Activity) on receiving a Notification through FCM. Currently, the Activity is getting launched successfully for the following manufacturers: * OnePlus * Motorola * Samsung * Oppo But we have encountered a case where it [...] read more
android
0votes
0answers

PCIe Understanding

As this domain is new for me, I have some confusions understanding PCIe. I was previously working on some protocols like I2c,spi,uart,can and most of these protocols have well defined docs(a max of 300 pages). In almost all these protocols mentioned, from a software perspective, the application had to just [...] read more
pci
pci-e
0votes
0answers

startActivity from FirebaseMessagingService.onMessageReceived is not work on several devices

Push-message is coming, but startActivity don't work on some devices. Lsat what i see in log file is: intent: Intent { flg=0x10000000 cmp=com.name.name/.Activity.MyActivity (has extras) } The problem is seen on several devices with API 27 and 23, but all other devices work's good. I managed to reproduce this problem [...] read more
android
0votes
1answer

Unable to run linux 3.10(mips) on qemu 2.5

I want to run linux 3.10 with mips64r2 on qemu. But it fails, the boot log as follows, I compile the kernel with the gcc 4.9.3 which is modified by loongson. The kernel config file is the malta_defconfig and i change it to mips64r2 cpu and 64 bit kernel. The [...] read more
linux-kernel
mips
qemu
0votes
0answers

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

I have installed termux in 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 commandline I tried to open the app using the below command in Termux and it successfull opens the Foxit pdf reader [...] read more
android
termux
0votes
0answers

Open Whatsapp from React Native app with Expo

Currently trying to open whatsapp from my React Native app with Expo. I have the code below: let url = 'whatsapp://app'; Linking.openURL(url).then((data) => { console.log('WhatsApp Opened'); }).catch((err) => { console.log(err); alert('Make sure Whatsapp installed on your device'); }); The error I get is this: Error: Could not open URL 'whatsapp://app': [...] read more
react-native
expo
whatsapp
0votes
0answers

Debian does not recognise RAM although BIOS does

My debian system seems not to use the full ram which is installed (6GB) in my mini-itx. Here is some output of dmesg, free and dmidecode that might help. In BIOS, I can see both (2GB + 4GB). root@debian-simon:/home/simon# dmesg | grep -i memory [ 0.016839] initial memory mapped: [mem [...] read more
debian
ram
bios
0votes
1answer

How to intent dialer call from service?

I am using this this dialer example as basement. I have added some service(foreground) from where i should dial a call. How can i make it? I have this in Service(onStartCommand) if (checkSelfPermission(this, CALL_PHONE) == PERMISSION_GRANTED) { val uri = "SOMENUMBER".toUri() startActivity(Intent(Intent.ACTION_CALL, uri).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)) } But i does not work in [...] read more
android
kotlin
service
phone-call
android-dialer
0votes
0answers

crashed with lots of error response "authentication needed: password or unlock"

Our ethereum network node crashed on oct 24, with lots of error response "authentication needed: password or unlock". The QPS is about 1~2, which is very low. According to our ab test, the node can support at most 60 QPS invalid request. here are logs WARN [10-24|18:29:47.975] Served eth_signTransaction conn=45.76.106.157:6362 [...] read more
go
go-ethereum
0votes
1answer

How can take an screenshot for an specific section in a windows universal app (doesn't matter the computer resolution)

I'm working in a company where the owner wish take a screenshot of a windows mail app; specifically the section where the e-mail are show; and if the window or the section have an scroll, then must avoid it and take the screenshot of that whole section. I'm building it [...] read more
c#
.net
decompiler
0votes
2answers

ActivityNotFoundException for sms intent

My sendSms function has try and catch blocks. Try block is default device sms application. catch block is other sms applications which set as current sms application for example Google SMS app. Some phones(generally API version is 19) have this error when running this sendSms code. My error log: Exception [...] read more
android
android-intent
sms
0votes
1answer

Find position of first (lowest) set bit in 32-bit number

I need to get a 1-bit number in a 32-bit number, in which there is only one 1-bit (always). The fastest way in C ++ or asm. For example input: 0x00000001, 0x10000000 output: 0, 28 read more
c++
assembly
x86
bit-manipulation
intrinsics
0votes
0answers

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

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

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

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

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

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

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

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

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

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

Unable to open an HTML file stored in my device

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

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

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

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

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

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

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

What causes Greenhills Multi memory write error?

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

Unlocking fastboot of Coolpad Note 3

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

Physical Switch stops working when in LockTaskMode

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

How to add image carousel in flutter

I am getting images from the firebase realtime database to the application with tag-imgPath. How can I give the images a carousel at the left and right ends of the fullscreen page so the user can go to next image without going back to the list of images and open [...] read more
flutter
carousel
0votes
1answer

Alignment in linker scripts

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

Discord bitwise permission calculator

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

Open Label with Intent link

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

Getting 401.2 error in Android webviewclient

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

Error with OAuth2 Services authentication

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

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

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

Fatal error: Not enough bits to represent the passed value

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

Linking to Teamviewer in react native

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

CreateProcessAsUser won't open my winform in noninteractive session

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

How to receive action by BroadcastReceiver inside Service

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

Having an issue generating interruption cycle in assembly language PLP

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

System app can't get "android.permission.CALL_PRIVILEGED"

I have a system app, push in the /system/app, and I would like to call emergency phone number automatic without sim card. I can't do this through Intent.ACTION_CALL(can't call without sim card) and Intent.ACTION_DIAL(need confirm by user, not automatic), so I turn to CALL_PRIVILEGED. I add it in my AndroidManifest.xml [...] read more
java
android
android-permissions
-1votes
1answer

Bitwise multiplication with correction for overflow

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

Getting Fatal signal during recording a video

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

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0