Emulating Sony devices for Android Studio

Android Emulators are based off the Google Android Studio SDK Emulator and don’t contain any Manufacturer proprietary code/API.

The general properties to change when creating a hardware profile are screen resolution, screen size and RAM. If needed there are additional hardware properties you can configure.

If there is a particular model you need to duplicate, creating an emulator with the same screen resolution, screen size, RAM and OS version would be a good place to start.

sql server – Visual studio core no conecta a SQLserver 2008 SP1 en linux

Tengo una BBDD sql server funcionando y con conectividad, he instalado visual studio core y he tratado de conectar a la BBDD sin éxito.

He comprobado lo siguiente:

  1. hay conexión a la BBDD me puedo conectar desde DBveaver y desde python sin problemas desde varios pcs incluido desde el que me quiero conectar y alguna VM
  2. El usuario y contraseña son correctos
  3. La ip es correcta, he intentado también hacerlo por nombre de hosts
  4. La BBDD no esta bloqueada, por otros metodos funciona perfectamente
  5. Al configurar la BBDD en visual studio y darle a “probar conexión” me da todo bien

He probado con las extensiones:
SQLtools 0.23.0 con el driver versión 0.2.0
SQL server(mssql) 1.9.0

EL SO es fedora 32

el servidor sql es Microsoft SQL Server 2008 (SP1) – 10.0.2531.0 (X64) (y no se puede actualizar)

Al parecer es un problema con TLS según lo que he logrado encontrar y todas las soluciones hablan de actualizar el SQL server cosa que no es posible

¿alguna sugerencia?

el error que me da:

mssql: Failed to connect: Microsoft.Data.SqlClient.SqlException
(0x80131904): A connection was successfully established with the
server, but then an error occurred during the pre-login handshake.
(provider: TCP Provider, error: 35 – An internal exception was caught)
—> System.Security.Authentication.AuthenticationException: Authentication failed, see inner exception. —>
Interop+OpenSsl+SslException: SSL Handshake failed with OpenSSL error

  • SSL_ERROR_SSL. —> Interop+Crypto+OpenSslCryptographicException: error:1425F102:SSL routines:ssl_choose_client_version:unsupported
    protocol — End of inner exception stack trace — at
    Interop.OpenSsl.DoSslHandshake(SafeSslHandle context, Byte() recvBuf,
    Int32 recvOffset, Int32 recvCount, Byte()& sendBuf, Int32& sendCount)
    credential, SafeDeleteContext& context, SecurityBuffer inputBuffer,
    SecurityBuffer outputBuffer, SslAuthenticationOptions
    sslAuthenticationOptions) — End of inner exception stack trace
    — at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken
    message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo
    exception) at
    message, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.StartSendBlob(Byte() incoming, Int32
    count, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.ProcessReceivedBlob(Byte() buffer, Int32
    count, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.StartReadFrame(Byte() buffer, Int32
    readBytes, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.StartReceiveBlob(Byte() buffer,
    AsyncProtocolRequest asyncRequest) at
    message, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.StartSendBlob(Byte() incoming, Int32
    count, AsyncProtocolRequest asyncRequest) at
    System.Net.Security.SslState.ForceAuthentication(Boolean receiveFirst,
    Byte() buffer, AsyncProtocolRequest asyncRequest) at
    lazyResult) at
    sslClientAuthenticationOptions) at
    System.Net.Security.SslStream.AuthenticateAsClient(String targetHost,
    X509CertificateCollection clientCertificates, SslProtocols
    enabledSslProtocols, Boolean checkCertificateRevocation) at
    System.Net.Security.SslStream.AuthenticateAsClient(String targetHost)
    at Microsoft.Data.SqlClient.SNI.SNITCPHandle.EnableSsl(UInt32 options)
    at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException
    exception, Boolean breakConnection, Action1 wrapCloseInAction) at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired) at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover, SqlAuthenticationMethod authType, SqlAuthenticationProviderManager sqlAuthProviderManager) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool, SqlAuthenticationProviderManager sqlAuthProviderManager) at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions) at Microsoft.Data.ProviderBase.DbConnectionFactory.<>c__DisplayClass40_0.<TryGetConnection>b__1(Task1
    _) at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
    at System.Threading.ExecutionContext.RunInternal(ExecutionContext
    executionContext, ContextCallback callback, Object state)
    — End of stack trace from previous location where exception was thrown — at
    — End of stack trace from previous location where exception was thrown — at
    — End of stack trace from previous location where exception was thrown — at
    connectionInfo, ConnectParams connectionParams) in
    524 ClientConnectionId:d4798651-a241-4ed5-a9c5-ebbb7407fcfa

applications – Aide vs Android Studio

Why is that this code work like a charm in Aide but in Android Studio it dosen’t?

Aide create the dir but Android Studio dosen’t!

File folder = new File(Environment.getExternalStorageDirectory() +
File.separator + “.”+”RWBApps/”+”.”+”AuraMigraineSim”);

    if (!folder.exists()) {
        Toast.makeText(getApplicationContext(), "Dir created!.",Toast.LENGTH_SHORT).show();
            Toast.makeText(getApplicationContext(), "No Dir created!.",Toast.LENGTH_SHORT).show();

android {
compileSdkVersion 30
buildToolsVersion “30.0.2”

defaultConfig {
    applicationId "com.mycompany.myapp"
    minSdkVersion 28
    targetSdkVersion 30
    versionCode 1
    versionName "1.0"
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'

In Android Studio i use my mobile as an emulator.

studio lighting – godox ad400 modeling light

Here is my question, is the godox ad400 a good strobe to use for school portraits, I am leaning towards this unit since it also has a modeling light that can further assist with my focus. Or recommendations of other strobes at a good price while the reliablitity and pricing remain reasonable.

db2 10.5 – How can I add a user and specify a password for a in IBM Data Studio?

In Data Studio I can connect to a sever/database, go down to Users And Groups, right-click on Users and add a new one. But the program never asks me for a password. How can I specify it?

Also, no matter how many times I tried to “Save changes” they are never saved. I even tried to “generate change” and run it, but it always fails.

I am connecting as the only user that exists on the server: db2admin. If db2admin has no authority to manage users, then who has?

App Windows – AudioConverter Studio 11.0 Build 224 Multilingual | NulledTeam UnderGround

File Size: 4.5 MB

Audio Converter Studio 11 Convert to and from the most popular audio formats, Rip audio CD to MP3, FLAC and other formats, Adjust quality and bitrate.​

When you need to convert audio files or rip CDs without hassle, AudioConverter Studio is the right tool for the job.
Multi-format conversion

Single-file and batch operations

Fast and efficient tool

Convert and pre-convert audio files

The pre-conversion feature allows you to listen to a 10-second track preview before you move on to the actual conversion. This way you can check the output quality and adjust the settings, for example, change bitrate, frequency, and mode if needed before you convert multiple files

Sort your files automatically

AudioConverter Studio can also sort your music while converting. By default, the filename of your source file is used, so track01.flac will be converted to track01.mp3 (if you convert FLAC to MP3). But the file may contain some additional information in its tags: title, artist, album, etc. AudioConverter Studio is capable of using this information for naming converted files and creating folders for them. For example, with a format like ArtistYear – AlbumTrack# – Title any Audio CDs that you rip will be sorted in your music folder automatically by artist, then by year and album, then by track number and title. So you get a nicely structured collection without any extra effort.

Organize your collection with ease using tags

Somes you may get big APE or FLAC files containing complete albums. These files may come with small CUE files having the same name. AudioConverter Studio will help you convert such FLAC to individual MP3 tracks. The program will not only recognize the tracks but also convert them to individual files and save information like title, artist, etc. to ID3 tags. Both ID3v1 and ID3v2 versions of tags are supported.

Split large FLAC or APE files into individual MP3 tracks

Built-in media player

Convert and rename files in a single step

Great speed of audio files conversion

official site does not provide any info about changes in this version.


How to design video editing tape in Android studio [closed]

enter image description here

Moving tools easily put text and images on the video timeline

macos – Como resolver el error Un certificado https valido se encontro pero no es accesible al ejecutar una app web en Visual Studio Mac?

Buen Dia. Como resolver el error Un certificado https valido se encontro pero no es accesible a traves de las particiones seguras al ejecutar una aplicacion web en Visual Studio Mac?
Ejecuto el comando: dotnet dev-certs https pero no resuelve el problema.
Trato de evitar de resetear la cadena de llaves. Hay que copiar un certificado? Cual?.

android studio – setGravity en un Toast no me funciona

estoy empezando a programar en Kotlin y tengo un problema a la hora de realizar un setGravity para un Toast.

Lo ponga como lo ponga, me aparece en la posición por defecto.

He probado estas dos opciones:

var toast = Toast.makeText(this, "Seleccione una respuesta", Toast.LENGTH_SHORT)
toast.setGravity(Gravity.TOP, 0, 0)

Toast.makeText(this, "Seleccione una respuesta", Toast.LENGTH_LONG).apply {setGravity(Gravity.TOP, 0, 0); show() }

La idea sería que el toast apareciese al principio de la pantalla en lugar de abajo del todo.


visual studio code – Open a local folder in a VSCode Remote-SSH session

I am using Microsoft Visual Studio Code 1.50.1 on Windows 10.

I’d like to develop on a remote virtual machine running in Amazon Elastic Compute Cloud (EC2). This works fine, but I can’t open a local directory on the remote VM.

I would specifically like to be able to mount a local folder on my development system as my working directory. The functionality I’m seeking is similar to how the Remote-Containers extension works, where you can mount a directory into a container.

Question: Is it possible to mount a local folder into a Remote-SSH session in VSCode? If so, how?