How to remove alert which comes on startup on BB10 device - blackberry-10

I am building app BB10 devices and it is workling fine but when i launch the app, alert is showing web inspector enabled with some ip address.
I used webworks 2.0 for building this app.
What is way to hide this alert on BB10 device.

Follow BlackBerry 10 guides for this. For example:
Disable web Inspector in release mode - bb10 webworks
Just use 2 commands:
1) Build in release mode
webworks build --release -k keypassword
2) Deploy to BB 10 without build option
webworks run --no-build --devicepass devicepassword
Search in Google for Blackberry how to not disable inspector alert
Sounds like you need to not use Inspector if you don't want the Inspector alert.

Related

How to connect device over Wifi in VScode on Mac to debug Flutter app?

I would like to be able to use WIFI to debug my Flutter app on VScode. I am using a mac and would not like to use the connection via USB
You can't debug wireless in Visual Studio Code with iPhone and Mac.
You should run your project with Xcode to use the wireless option, but after that, you lose the hot reload option.
So, it's impossible to debug an app with hot reload and wireless at the same time :(
To run the Flutter project with Xcode :
Open your project in VSCode
Click right on iOS folder
Select the Open in Xcode option
Xcode will run your iOS Runner
If you have any errors in Xcode - see this link from the Flutter documentation

Ionic remote debugging not showing the app

Hey Im trying to Remote debug an Ionic Application, it was working recently, but now the device shows on Chrome Remote devices but when i click the device the app process wont show. it will show other mobile chrome tab Processes but not the Ionic app.
any clues ?
I fixed this, It was my fault, I built a release apk and was expecting a debug mode. When you build without the --release, It works

[Ionic 2]How to make the app in browser use Android material design all time

I want to use the Ionic 2 app I build as web app (progressive web app). But I want to when build, it will ONLY use android material design. Right now in localhost by running Ionic serve, the result on my browser is random - sometimes it looks like Apple with tabs at the bottom, and sometimes it looks Android with tab up top.
How can I build the app to make sure the output www folder will ONLY use Android style. And I can deploy the build as a website (run on desktop with no Cordova stuffs)?
You should be able to set the mode prop in the config options when you bootstrap your app in app.ts:
ionicBootstrap(MyApp, [SomeProviders], {mode: 'md'});

Deploy BlackBerry app to BlackBerry 10 Device Simulator from Eclipse BlackBerry plugin

I'm trying to build a BlackBerry app, from and Android project using the Eclipse plugin for BlackBerry. I got the BAR file compiled and signed, not I'm trying to figure out how to install it on the BlackBerry 10 Device Simulator. This simulator is run with VMware player. How do I install the BAR file into the virtual simulator?
I tried downloading it with Simulator's browser from my testing website, and clicking the APK or BAR file from the 'downloads' screen brings up an error message "Unable to open the file."
I hope this will hep You
https://developer.blackberry.com/android/documentation/deploy_signed_file_1985504_11.html
Another way is :
blackberry-deploy -installApp -device <deviceIP> -package <BAR file path>
-password <device password>
You need an additional tool like the BlackBerry Native SDK. This will include the blackberry-deploy tool which you can use to install your app on the simulator.
https://developer.blackberry.com/native/download/

Running the app on Android console Error - Jdeveloper

I am using JDeveloper 11g Release 2. I am trying to run a helloworld code on the Android simulator. But i end up having the following error in the console. This is due to some settings that i have failed to set. Can someone help me to add the settings so i could run the app on the Android Console.
The following Android preference configuration is missing or invalid. Set these options in JDeveloper Preferences on the ADF Mobile panel:
Key and Keystore Password
Android SDK Location
Android Platform Location
(oracle.adfmf.framework.dt.deploy.android.deployers.ValidatePreferencesDeployer)
If you haven't keystore for signing android apps right now as for testing purpose. You should select build mode to Debug rather than Release mode.
Application > Application Properties > Deployment > select your android build profiles or create a new one > Click at Edit button > Android Option > Change Build Mode to Debug
You need to install the Android SDK for Android development and Xcode for iOS development.
FAQ for ADF Mobile: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/adfmobilefaq-1866697.pdf
Here you can find the setup guide for Android :
http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html
And the one for iOS :
http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_1.html
For Android, make sure your emulator emulates version 4.0 or higher in order to avoid :
The Android emulator emulates ARMv5, which is not supported. The emulator must support ARMv6 or newer
If there is also an error above this stating that it can't write the cwallet.sso try closing Jdeveloper and running as administrator.