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

63votes
12answers

Deep-linking intent does not work

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

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

Understanding Linux load address for U-Boot process

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

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

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

Android camera preview callback and mediarecorder record video

I want to create an application,that has to record video (using media recorder) and recorded video need to format(using camera). I created sample code shown below, but that have an error show when the startrecording button press from menu.which shows force close error .but previewcallback have no error. My code [...] read more
android
android-camera
android-mediarecorder
10votes
2answers

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

In our React Native app, we're trying to have our users share specific images straight to either feed or story depending on a selection within our view/component. When we try to share using "com.instagram.share.ADD_TO_FEED" directly, it works perfectly in a consisten manner. However when trying to share using "com.instagram.share.ADD_TO_STORY" directly [...] read more
android
facebook
react-native
instagram
10votes
3answers

Capturing image from gallery & camera in android

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

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

I am using react-native-firebase@4.2.0 for push notifications. When app is open on screen, I receive the notification via onNotification and an alert as intended by my code. PROBLEM 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
1answer

Installing Python 3.7 from source: test_ssl failed

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

Android navigation components with deep link: onNewIntent called multiple times

This time I need your help regarding the use of android navigation components with deeplink. I have been following this documentation and the connection between fragment and deeplink is working fine. The problem comes in regards to the activity that is receiving the deeplink. In my case, I set the [...] read more
android
android-jetpack
android-architecture-navigation
android-jetpack-navigation
3votes
1answer

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

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

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

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

How to Open Android System Settings from Unity Android App

I am trying to open the System Settings from my Unity Android app, but I am receiving the following error: > UnityEngine.AndroidJavaException: android.content.ActivityNotFoundException: No Activity found to handle Intent {act =android.settings.ACTION_SETTINGS cat=[android.intent.category.DEFAULT] dat=package:com.xxx.xxxxx flg=0x10000000} Here is my code: try { using (var unityClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer")) using (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
2votes
0answers

Is there a way to audit file deletion on Solaris?

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

Cisco Catalyst 4500 Policy Based Routing

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

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

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

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

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

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

How to set lockscreen wallpaper using flutter?

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

Click Event On Object Created Using WINAPI in CE Lua

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

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

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

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

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

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

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

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

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

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

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

ScrollView and Achartengine position and crash

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

Appium: Unable to automate Google Home app using appium

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

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

Fixing MTRR error in Linux

I am getting this error is Backtrack 5 R3 using KDE, Error setting MTRR (base=0x80000000 size=0x10000000 type = 1 inappropriate ioctl for device (25) Here is the X server log and here is my MTRR Values read more
linux
xorg
kde
backtrack
0votes
1answer

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

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

install custom kernel and rootfs on board SMDKV210

I need help to install custom uboot + kernel + rootfs on a device with board SMDKV210 (device is panel INEWTEK) So the fact is that worked on a device (inewtek) with board SMDKV210 (call it old board so OB). I was given a list of commands (uboot) and files [...] read more
linux
boot
kernel
embedded
0votes
1answer

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

Someone changed the permissions on a bunch of machines using cacls which fixed one problem but created a bigger one. I'm looking at ways to revert this but can't seem to get it back to the way it was. I've replicated using a test machine and the output is below. [...] read more
windows-xp
permissions
file-permissions
acl
cacls
0votes
0answers

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

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

Extract command from logcat Android-TV

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

Custom Notification Button : Unable to start service Intent Error

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

Is it possible to produce multiple .elf files from a single project with gcc

I’m working on a project where I defined two memory regions in .ld file as follows: MEMORY { TEXT_GENERIC_CODE (rx) : ORIGIN = 0x10000000, LENGTH = 64K TEXT_EXT_LIB_CODE (rx) : ORIGIN = 0x10010000, LENGTH = 0x0000FFF0 } .text_ext_lib : { . = ALIGN(4); __mysection_start__ = .; *(.mysection*) *_ext_lib.o (.text .text*) [...] read more
eclipse
gcc
arm
embedded
linker-scripts
0votes
0answers

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

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

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

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

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

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

How to change kernel base address in petalinux

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

How to add image carousel in flutter

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

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

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

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

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

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

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

FirebaseMessagingService freezes

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

Launching another activity from a Trusted Web Activity (TWA)

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

How to prevent kiosk app from launching twice after reboot

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

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

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

Configure WinRM over HTTPS on Multiple Computers with Powershell

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

Passing string varaible to native method

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

How to understand __setup_mmu of linux 2.6.35

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

CreateProcessWithTokenW winapi return false but no reason why

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

BeagleBone Black: Unable to get u-boot prompt

I am trying to build u-boot for my BeagleBone Black. I have properly compiled the MLO and u-boot.img and loaded into the sd-card. However, when i try to boot, i get the following log: > U-Boot SPL 2020.07-00717-gfee68b9 (Jul 17 2020 - 09:36:15) Trying to boot from MMC1 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
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
-1votes
1answer

Outputs floating-point

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

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0