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

60votes
6answers

How to inflate XML-Layout-File correctly inside Custom ViewGroup?

I want to inflate a XML-Layout-File in a custom ViewGroup Class, my Problem is that it produces just a empty screen. Doing the same in the Activity Class works fine. Here is my simple XML-Layout-File: shownumberlayout.xml: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="#FFFFFF" android:id="@+id/layoutForNumber"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/tvNumber" android:layout_centerHorizontal="true" android:textColor="#000000" android:text="Test" android:layout_centerVertical="true" [...] read more
android
android-layout
54votes
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
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
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
9votes
4answers

Getting an exception when app starts

I am writing a program that calls someone when a button is pressed. However, whenever I start the app, it crashes, before even pressing the button. This is the code: package com.test; import android.app.Activity; import android.content.ActivityNotFoundException; import android.os.Bundle; import android.widget.*; import android.view.*; import android.view.View.OnClickListener; import android.content.Intent; import android.net.Uri; import android.util.Log; [...] read more
android
9votes
3answers

Android Deep Linking with custom URI

I have the following defined in my manifest: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.app.package"> ... <activity android:name="app.myActivity" android:label="@string/app_name" android:screenOrientation="portrait"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="www.example.com" android:pathPrefix="/gizmos" android:scheme="http" /> <!-- note that the leading "/" is required for pathPrefix--> <!-- Accepts URIs that begin with "example://gizmos”--> <data android:host="gizmos" [...] read more
android
adb
deep-linking
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
0answers

How to start activity from background in android 10 - android Q - MIUI 11

I have problem with starting activity from background in android 10 - android Q - MIUI 11 on real device. In this thread: start activity background in android 10 I found information how to do this on Android 10 and everything working perfectly on emulator. I tested this on Xiaomi [...] read more
android
miui
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
6votes
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
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
3answers

DEADLINE scheduling policy not found

I want to implement the DEADLINE scheduling policy in C. I know the feature is implemented since Linux 3.14.10 and I'm using Ubuntu 14.04 Linux #### 3.17.0-031700-lowlatency #201410060605 SMP PREEMPT which should be recent enough. I develop the program with Eclipse (launched as sudo). I've defined _GNU_SOURCE and included sched.h [...] read more
c
linux
linux-kernel
sched-deadline
5votes
2answers

No activity error found when trying to install an apk from a local file

I made an application where I download an APK from an internal server, save it locally and want to prompt the user to install it. My code is the following: protected void onPostExecute(String path) { Intent promptInstall = new Intent(Intent.ACTION_VIEW); promptInstall.setDataAndType(Uri.parse(path), "application/vnd.android.package-archive"); promptInstall.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(promptInstall); } The path has the file [...] read more
android
android-activity
installation
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
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 (AndroidJavaObject currentActivityObject = [...] read more
c#
android
unity3d
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
3votes
1answer

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

Is there a way to audit file deletion on Solaris?

Can the timestamp and user+process that performed the file delete be tracked? I have now setup solaris auditing and have made the following audit_control, audit_class and audit_event entries: $ grep pf /etc/security/audit_control flags:pf,fd $ grep pf /etc/security/audit_event 6:AUE_UNLINK:unlink(2):fd,pf 48:AUE_RMDIR:rmdir(2):fd,pf 286:AUE_UNLINKAT:unlinkat(2):fd,pf 6182:AUE_filesystem_delete:delete filesystem:as,pf 6185:AUE_network_delete:delete network attributes:as,pf $ grep pf /etc/security/audit_class 0x10000000:pf:rems [...] read more
solaris
solaris-10
2votes
1answer

Cisco Catalyst 4500 Policy Based Routing

In order to test a new firewall I just set up I'm trying to implement policy based routing on our core switch. I want traffic from certain vlans to be routed to the new firewall while everything else continues being routed through the old firewall. I was trying to use [...] read more
networking
cisco
routing
ios
policy-routing
2votes
4answers

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

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

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

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

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 final String TAG = "OTAupdate"; private [...] read more
android
ota
2votes
1answer

I am trying to record a video using a service

i am trying to develop an application which records a video for a certian time in the background and then stops automatically. I am able to initialize all the necessary things but not able to record it My main actiVity: mSurfaceView = (SurfaceView) findViewById(R.id.surfaceview); mSurfaceHolder = mSurfaceView.getHolder(); mSurfaceHolder.addCallback(this); mSurfaceHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); Button [...] read more
android
2votes
2answers

What is .word, .data and .text in assembly?

I am trying to learn to get a better understanding with assembler Could someone explain what .data, .word and .text means does in the following code?? I don't get what this is for and what it does in this case .data array: .word 0x12121212, 0x23232323, 0x34343434, 0x4, 0x5 .text add_array: [...] read more
assembly
2votes
1answer

App Action not running with App Actions Test Tool

I'm trying to run the sample App Actions Fitness project but I can't get the AATT to execute any actions on my Samsung S8 device (or Emulator Pixel 3 with Android 10 & Google Assistant). I've tried with AATT versions (3.1.1 & 3.1.2). These are the steps i followed: 1. [...] read more
android
google-assistant-sdk
app-actions
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
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
2votes
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
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

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

Get a shortcut to Google's PasswordManagerActivity

Sometimes I need to go through saved passwords. I do Settings > search: "password man" > Password manager adb shell dumpsys activity activities reveals a simple stack from my Launcher to packageName=com.google.android.gms processName=com.google.android.gms.ui launchedFromUid=10203 launchedFromPackage=com.android.settings.intelligence userId=0 app=ProcessRecord{5bcfcca 17623:com.google.android.gms.ui/u0a200} Intent { act=android.intent.action.MAIN flg=0x800000 cmp=com.google.android.gms/.credential.manager.PasswordManagerActivity (has extras) } ... Running adb shell [...] read more
android
android-intent
adb
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
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

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

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

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

Reserve 16K sector in mcu flash with linkerscript at specific adress

I'm creating a bootloader for STM32F429 with the gnu toolchain (9.2.1) and trying to reserve some flash memory for user data, shared by bootloader and application. I want to reserve the second of its first four 16K flash sectors for this, since they're nice and small: all other sectors are [...] read more
arm
embedded
bootloader
stm32f4
linker-scripts
1vote
0answers

Make Google Duo audio/ video call on button click

I can successfully open Google DUO but I want to initialize audio/video call on selecting a particular contact. Intent launchIntent = getPackageManager().getLaunchIntentForPackage("com.google.android.apps.tachyon"); launchIntent.setAction("android.intent.action.VIEW"); launchIntent.setData(Uri.parse("tel:1234567")); if (launchIntent != null) { startActivity(launchIntent);//null pointer check in case package name was not found } My log file shows this. 06-17 12:43:37.813 28656-28656/com.example.waheed.duo V/BoostFramework: BoostFramework() [...] read more
java
android
google-duo
1vote
1answer

When accessing mmap adress, signal SIGBUS was received

When I tried to access the address mmap returned, a Bus error is occured. My code is below: ftruncate(fd, shared_size); addr = mmap(shared_start, shared_size, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_FIXED, fd, 0); shared_size == 256*1024*1024 shared_start == 401000000000 (I used flag MAP_FIXED) ftruncate the file to 256M. -rw-r--r-- 1 root [...] read more
c
64-bit
mmap
sigbus
1vote
1answer

Can't launch activity from ADB shell

Using the command adb shell am start -a com.myfit.sugatmanshakya.my_fit.LoginActivity throws out the following error: > Activity not started, unable to resolve intent, flg=0x10000000 Part of my AndroidManifest.xml code: <?xml version="1.0" encoding="utf-8"?> <manifest android:versionCode="1" android:versionName="1.0" package="com.myfit.sugatmanshakya.my_fit" xmlns:android="http://schemas.android.com/apk/res/android"> <uses-sdk android:minSdkVersion="16" android:targetSdkVersion="28" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WAKE_LOCK" /> <uses-permission [...] read more
java
android
adb
1vote
5answers

Start new activity from menu inflater

I'm working with Android and I have one menu option, I want that option to start a new activity when I tapped it, but when I try to implement the start activity I always got a force close here are my code : @Override public boolean onOptionsItemSelected(MenuItem item) { switch [...] read more
android
android-activity
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 question, 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
gnu-assembler
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

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

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

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

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 U-Boot 2020.07-00717-gfee68b9 [...] 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 synth_system [...] read more
c++
c
verilog
hdl
vivado
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
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
0answers

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

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

WTSQueryUserToken() return false

I'm trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
c#
windows-10
windows-services
64-bit
watchdog
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
1answer

Linux device driver: probe function not called for compatible device with an address

My probe function is not invoked, when I added unit address and reg property in device tree. I have a module prototype: #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/miscdevice.h> #include <linux/platform_device.h> #ifdef CONFIG_OF #include <linux/of.h> #include <linux/of_platform.h> #endif static int ect_probe(struct platform_device *pdev) { struct device *dev = &pdev->dev; [...] read more
linux-kernel
linux-device-driver
device-tree
0votes
1answer

How do I create multiple common FPGA structures in kristen?

I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
verilog
fpga
0votes
0answers

Intent filters does not work with activity-alias

Android Manifest File: <activity android:name=".MainActivity" android:label="@string/app_name" android:configChanges="keyboard|keyboardHidden|orientation|screenSize" android:screenOrientation="portrait" android:windowSoftInputMode="adjustResize"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <action android:name="android.intent.action.DOWNLOAD_COMPLETE"/> </intent-filter> </activity> <activity-alias android:targetActivity=".MainActivity" android:name="${applicationId}.AliasMainActivity" android:label="@string/app_name" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="someapp" android:host="*" /> </intent-filter> </activity-alias> So when I do, adb shell am start [...] read more
android
react-native
android-activity
android-manifest
0votes
0answers

Using LD_PRELOAD in Android

I am trying to use LD_PRELOAD to dynamically load a .so file during application launch. I built the native library using Android Studio (creating a native project and then extracting the .so file from the apk). I followed the steps in ( https://cedricvb.be/post/intercepting-android-native-library-calls/) to configure setprop but when I launched [...] read more
android
c++
0votes
0answers

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

> java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.cisco.webex.meetings/.ui.premeeting.welcome.WelcomeActivity } from null (pid=19756, uid=2000) not exported from uid 10209 I have added App package and App activity names to desired capabilities. I have checked for correct App activity on APK info App, There is more than one app activity available. [...] read more
android
appium
securityexception
0votes
1answer

Deep links not working anymore in Android

I've started a new project in Android Studio and added this to my androidmanifest.xml: <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"/> <category android:name="android.intent.category.DEFAULT"/> <category android:name="android.intent.category.BROWSABLE"/> <data android:host="www.example.com" android:pathPrefix="/gizmos" android:scheme="http"/> </intent-filter> </activity> Then I went to Google Chrome and typed in: http://www.example.com/gizmos. The App doesn't [...] read more
android
uri
deep-linking
0votes
1answer

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

Invalid ELF file

if I run my application on Android I always get this error and the application crashes immediately: 03-25 14:29:44.011 1833 7290 I ActivityManager: START u0 {flg=0x10000000 cmp=cz.jech.muzika/.Muzika} from uid 2000 03-25 14:29:44.093 1833 1998 I ActivityManager: Start proc 17399:cz.jech.muzika/u0a464 for activity cz.jech.muzika/.Muzika 03-25 14:29:44.098 17399 17399 E cz.jech.muzika: Not starting [...] read more
android
shared-libraries
0votes
0answers

Android Deeplinking how to fix asset verifier toggles between success & failure, SHA256 in firebase, min target 16, optimal intents & splash handling

I had app deeplinking working for iOS but for a long while it was only partially working for Android - it would show the dissambugity popup but wouldn't go directly into the app (as though autoVerify wasn't set to true). I share here my experience getting this working in this [...] read more
android
firebase
xamarin
xamarin.forms
deep-linking
0votes
1answer

Unable to start download activity from recycler view adapter

I am not able to launch an activity from my recycler view adapter. I wish to download a pdf file from firebase. I saw several posts mentioning the passing of context but I have done that. I also checked if the context is being passed using an if statement and [...] read more
android
firebase
0votes
0answers

fault when downloading u-boot to ARM cortex-A9

When downloading u-boot to the ARM via xsct in linux terminal it downloads fine xsct% dow u-boot Downloading Program -- /home/jack/Documents/Linux/u-boot section, .text: 0x10000000 - 0x1000038f section, .efi_runtime: 0x10000390 - 0x10000c9f section, .text_rest: 0x10000ca0 - 0x10030b1f section, .rodata: 0x10030b20 - 0x100390c1 section, .hash: 0x100390c4 - 0x100390db section, .dtb.init.rodata: 0x100390e0 - [...] read more
linux
linux-kernel
sdk
embedded-linux
u-boot
0votes
0answers

How to use link to connect to WiFi in react native

How do i use a link in react native to connect to wifi? So i have this piece of code: import {Linking, Component, Button} from 'react-native'; export default class MyLinkScreen extends Component{ private connectWifi(){ Linking.openURL('WIFI:T:WPA;S:SampleSSID;P:SamplePassword;H:false'); } public render(){ return ( <Button onPress={()=>this.connectWifi()}>Connect</Button> ) } } but i ends up having [...] read more
android
react-native
0votes
3answers

Unable to get onClick method in Fragment to work using existing solutions

I have a ViewPager that holds three fragments (within a tabbed layout). The third and final fragment holds two ImageButtons (up and down arrows) and an ImageView that cycles through different images depending on which directional arrow is hit. So far, I've been unable to get the onClick methods on [...] read more
java
android
android-fragments
onclick
onclicklistener
0votes
0answers

Cannot start my react-native application on Genymotion with expo

When I try to start my react-native application on Genymotion, it shows: > Error running adb: 'Error running app. Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=exp://192.168.56.1:19000 flg=0x10000000 }' Yet when I tried to start Java application, everything works well. I searched the web I found some [...] read more
javascript
android
react-native
genymotion
expo
0votes
1answer

Embed the main window of a qt/C++ application in a wpf/mvvm application

I need to embed a qt/c++ application in a wpf mvvm application. The window of this qt/C++ has to be integrated in a wpf page displayed in a tab page. The page Control is the following : <page x:Class="Wpf_HostExe.Page1" xmlns:="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Page1" Loaded="OnLoaded"> <Grid> <Border x:Name="HostUi" Background="White" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" /> [...] read more
c#
.net
wpf
qt
winapi
0votes
0answers

ListView in the widget stop working after 60sec

I have a problem with my application widget. The widget contains a listView and update button. The ListView can be also updated automatically, which works fine, but the problem is, that in every 60second from the widget update (no matter if automatic or manual) I cannot click on my items [...] read more
android
service
android-listview
click
android-widget
0votes
0answers

ADB command to click on HOLD button

I used below ADB to click on HOLD button, adb -s XYZWER56RITYDFS shell am start -a android.intent.action.ON_HOLD but I am getting the below error as response: Starting: Intent { act=android.intent.action.ON_HOLD } Error: Activity not started, unable to resolve Intent { act=android.intent.action.ON_HOLD flg=0x10000000 } Any Idea how to resolve this? read more
button
adb
0votes
4answers

Failure [INSTALL_FAILED_VERSION_DOWNGRADE]

I recently took over a project which is using Appium to do some automated mobile testing. I have a few python scripts that are supposed to be ran with Appium however when attempting to run them I run into "[INSTALL_FAILED_VERSION_DOWNGRADE]". After much research on the matter I have included that [...] read more
android
python
apk
appium
python-appium
0votes
2answers

MIPS LUI and SW LB Operations

so I'm trying to solve this problem it reads as follows, Taking to account that the address of $t0 is 0x10000000 lui $t0,0x6F90 sw $t0,4($t0) lb $t0,6($t0) What's the value of $t0 in a little endian format? So I after the first operation we get $t0=6F90000, after that I store [...] read more
arrays
assembly
mips
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

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

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

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

swap between two Rootfs partitions in linux kernel

i have two partirions on mmcblk Part Start Sector Num Sectors UUID Type 1 8192 6955008 82885c2f-01 83 Boot 2 6963200 6963200 82885c2f-02 83 the two has the same filesystem with the same files , i need to switch to part and boot from it , but need to do [...] read more
linux
linux-kernel
debian
beagleboneblack
u-boot

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