Create vCF for list of contacts in Blackberry 10 QNX
I have read all the contacts from device and now next I have to create vCF for fetched contact list. I am not able to decide which approach I should go for the same.
I mean to say can I simply use String concatenation or we have better XML approach.
See also questions close to this topic
Decode .crypto file from WhatsApp
I have extracted a .crypto file from the BackUps of WhatsApp on my old blackberry. Weird thing is it is .crypto extension, I found in other posts that this means crypto5 in this case.
However, I cannot find any tool (mobile app or a Windows variant) to decode anything before crypto5. WhatCrypt, for example, asks for Account (email, I believe) but I do not know what I used with the blackberry back in time... The primary one I have did not work.
Any ideas would help, it would be useful to retrieve old contacts and (probably) old photos, don't know if they are in the back up. Thanks!
What kind of Android apps can be run on blackberry 10.2.1 ?
Blackberry claims that it supports running all android apks on version above blackberry 10.2.1.
I have certain doubts about it.
- Can we run React native app built for android on blackberry ?
- Can blackberry support android push notifications delivered to the Android app running on blackberry 10.2.1?
Blackberry Dynamics SDK BBDAuthenticatingUI appears every 30 seconds
While actively using an iOS app that uses Blackberry Dynamics SDK, the BBDAuthenticatingUI view (the one that states "Authenticating..." with a spinner) appears around every 30-50 seconds. This should not be happening, as the user is authenticated and actively using the app. How can I get this to stop happening?
SecurityPolicySettings::setAuthDelegatePolicy, auth delegate policy: com.good.gcs.g3 SecurityPolicySettings::setRequirePwdNotBiometryPeriod m_requirePwdNotBiometryPeriodHours = 0 hours GDAuthDelegateSelector::selectAuthDelegatePolicyPair, using primary auth delegate policy: com.good.gcs.g3 GDDeviceApple: getDataWithPlatformSecurity failed with status: -25300 and isAppActive: 1 PolicyProcessor::enforceSecurityPolicy currentPwdType = 2 , newPwdType = 4 PolicyProcessor::enforceSecurityPolicy auth delegation pair req GDAppID:com.good.gcs.g3 NativeID:com.good.gcs.g3 Type:PRIMARY PolicyProcessorAuthDelegate::unlockWithAuthDelegate, IN delegate = GDAppID:com.good.gcs.g3 NativeID:com.good.gcs.g3 Type:PRIMARY PolicyProcessorAuthDelegate::unlockWithAuthDelegate, call startSSOForDelegate SSOManager::startSSOForDelegateChange, nativeID = com.good.gcs.g3 SSOManager::sendAuthRequest, nativeId = com.good.gcs.g3 GDSsoUIManager::showSsoAuthenticatingUI BBDUI::BBDAuthenticatingUI created 30 0x1c04959a0
Is it possible to backtrace in Eclipse debugger?
I'm trying to debug a QNX C Application using QNX Momentics 6.5 which runs on top of Eclipse. It has a remote debugger with which I could set breakpoints and view stack at runtime.
The application I'm running crashes at some point and the debugger stops after flushing the error message and I'm not able to see the stack anymore. I have used the gdb debugger in linux terminal and it has the ability to
runthe application till the point where it receives a signal and allows you to
backtraceand view the stack frames. Is it possible to mimic that feature in Eclipse? I'm debugging a huge library and the stack goes as deep as 300 - 400 frames. It would be really helpful if I could backtrace.
Any help would be appreciated.
How to emulate GL_TEXTURE_EXTERNAL_OES texture?
I have a OpenGL ES 2.0 QNX application that uses camera input, makes some processing and renders something to screen.
All my shaders take GL_TEXTURE_EXTERNAL_OES texture from the camera as input and it's format is YUV422.
I want to test my application on the target platform (QNX) using RGB images in png format.
The question is: how can I create GL_TEXTURE_EXTERNAL_OES texture from RGB image to emulate the input from the camera for my application?
- How to execute binaries on QNX SPD 7.0 target
Problems filtering VCF file by read depth using PyVCF
I am attempting to use PyVCF to filter out sites that are at or above a read depth of 10. I am aware of a built in filter to sort by read depth in PyVCF but I can't get it to work properly. Instead, I have tried to write a small script to do this myself, but the script below produces the following error: "TypeError: '>=' not supported between instances of 'str' and 'int'"
Can anyone help my figure out how to filter by depth read, by the filter in PyVCF or through my own script? Why am I unable to use the >= command between these instances?
import vcf filename = "FR320N_shifted_ChrY.vcf" fileoutput = "FR320N_shifted_ChrY_filtered_DP10.vcf" vcf_reader = vcf.Reader(open(filename, 'r')) vcf_writer = vcf.Writer(open(fileoutput, 'w'), vcf_reader) for record in vcf_reader: if record.INFO['DP'] >= 10: vcf_writer.write_record(Record)
How to plot a matrix with numbers in the matrix colored using ggplot2 or other ways in R? The numbers are the snp count from vcf file
I have a matrix like this:
Gene BRCA THYM TGHJ ACC 23 21 7 XTG 12 13 9 CFG 45 4 8
I want to plot this in the form of a matrix with numbers colored based on their count; for example the highest number is colored in "Red" and then gradually the intensity of the color decreases with the decrease in number, so in this 45 is colored "Red" and 4 is colored with a very light color. Please let me know if am clear.
I am looking to plot this matrix using ggplot2, but other ways in R are also very welcome. A matrix like this:
Sending contact as vcard from Android to iOS
I am trying to create a contact card programmatically in my app and send it via text message. It's working from Android to Android, but when the message doesn't even go through when I try to send it to an iPhone. It looks like it sent on the Android side, but no message comes through at all on my iPhone. I have tried both version 2.1 and 3.0. Any ideas?
File vcfFile = new File(getContext().getExternalFilesDir(null), "generated.vcf"); FileWriter fw = new FileWriter(vcfFile); fw.write("BEGIN:VCARD\n" + "VERSION:3.0\n" + "NOTE:Line 1Line 2Line 3\n" + "END:VCARD"); fw.close(); Intent sendIntent = new Intent(Intent.ACTION_SEND); sendIntent.setType("text/x-vcard"); sendIntent.putExtra(Intent.EXTRA_STREAM, FileProvider.getUriForFile(getContext(), getContext().getApplicationContext().getPackageName() + ".provider", vcfFile)); startActivity(sendIntent);