Intel XDK (Applications in HTML5) - android

Well, I have an application in HTML5, Intel made ​​the XDK (build in android)
Well when I install and then open the application, when al tightness input, it opens the keyboard and locks the application, making it close. Can you help me?

Without a code sample or more information it is hard to help you but I will suggest you try one of the demos that has an input field on an Android device and see if you have better results. Then at least you can look at the sample code to try to debug your application.
Open the Intel XDK
Click Start a New Project
Click Work with a Demo
Click on the first sample 'App Framework'
Click Use this Demo
Name your project
Click CREATE
You can use the Develop>>Design view to play with the input field or the Emulate tab to test the input field.
Click on the BUILD tab
Under Android click BUILD
Click UPLOAD TO SERVER
Click BUILD APP NOW
Click DOWNLOAD apk
Open a console or terminal prompt
Use adb install *.apk to install your app on device
Use the input field.
To debug your application:
Click Emulate tab
Click on the little bug in the top left corner of the Intel XDK tool bar next to the reload button.
Click Console in the pop-up dialog
See if there are any errors in your application in red font.
We have a webinar on debugging that will be posted soon but for now you can reference this video for an overview on how to debug an app remotely on your device:
https://software.intel.com/en-us/html5/videos/how-to-debug-apps-remotely-using-the-intel-xdk
You can add several console.log("gets here! line #: 27"); in your code and you will see them in the console window when you run your application remotely or in the emulate tab.

Related

Change default Android emulator when debugging Xamarin.Forms app?

I installed VS2017 a few days ago, created the simple app Build your first Xamarin Forms App, and now I want to debug.
I am having issues with the default Android emulator created by the VS2017 installation (Android_Accelerated_x86_Oreo) so I created a new emulator. This is the screenshot.
How can I change the default so it debugs in the newly-created emulator?
I wanted to point out that I'm new to all of this, so I would like to run it without having to install anything else. I would like to see something run before I install anything else.
I also wanted to point out that I've tried clicking on "Start" on either one of them when not in debug mode, and I get Could not start emulator. Unable to load DLL 'DismApi' error.
The only way it automatically starts is if I hit F5 and the emulator window pops up. Then I go to Tools > Android Device Manager and the default emulator says "Stop" (it's running). If I click on "Stop" and then press "Start", I will get the same error again: Could not start emulator. Unable to load DLL 'DismApi'.
Where you launch the debugger just click the arrow pointing down to open the dropdown. Then select you new device. It will stay as you default device. Please see the image for reference:
Note: You may have to restart Visual Studio for your new device to appear.

ReactNative JS text not Updating

After Successfully setup the React Native Environment,after running i got an screen by default text
"Welcome to React Native,To get started ,edit App.js,Double Tap R on your keyboard to reload,shake or press menu button for dev menu"
But my problem is that after changing the file in Text App.js ,i can not able to see the change in my app,alwys showing the by default text.....
and also after shaking the app when i click the Reload button give an error Could not connect to development server..
can you suggest me how to resolve the above issue,,,,,Thanks in advance.
I think you didn't set up your debug environment completely. This is link. ( https://facebook.github.io/react-native/docs/debugging.html ) Maybe you could try it.
Make sure you've set up your debug environment properly.
run react-native start in a terminal (the current dir has to be the project)
run react-native run-android in another terminal: your device has to be plugged using usb cable, and developer mode has to be actived.
The app will be installed in your device, shake your device and tap enable live reloading.
You can now modify text and your app will be updated just by ctrl+s
Enjoy !!!

Develop an android project with codenvy

I'm trying to use codenvy to develop android projects, but I don't know how I can launch the emulator to see my project running. I found this video(https://www.youtube.com/watch?v=HqkHOWbFrDQ) about using manymo as a cloud based emulator but I don't know how to use it with the current version of codenvy.
EDIT : I clicked on the "run" button but I got no window poping up, here is a screen-shot of my project :
We now have a built-in emulator. When you launch the runner you'll first see a gray screen - at that point right-click and choose "Emulator" from the pop-up. It'll take a moment to load then you should see the Android logo and then the home screen.

Run Custom App using Launchy on Google Glass

I've installed Launchy.apk for Google Glass to side-load my custom Glass application. When running Launchy, I get a screen on Google Glass that looks similar to this:
Launch...Glass Settings
...............Custom App Name 1
...............Custom App Name 2
...............Custom App Name 3
When pressing the touchpad on the side once, it highlights Glass Settings. If I press it again, it selects/loads Glass Settings. However, I can't scroll down to get to any of the Custom Apps I have installed... how do I scroll down or run these apps from Launchy? Swiping left or right does not work.
You need to build it from source so make sure you have the latest version:
https://github.com/kaze0/launchy
Also, the Settings menu is obsolete. You have to say "Ok Glass, Run an app".

Genymotion: how to load apk every time?

I'm getting started with Android development and with Genymotion. It's difficult to get Genymotion to install a .apk and run it more than once. Here's what I'm doing:
Begin with Genymotion running.
Press Genymotion icon in Elipse.
See Genymotion Virtual Devices Manager. Note that State of my VM is on
Create a new Android Project
Press the green Run button
See Run As dialog. Select Android Application
See Android Device Chooser. Select Genymotion_nexus_one
See hello world app run. Press GM home button
From here if I change the app, it's difficult to get the app to re-display in the emulator:
Drag a button to activity_main.xml. Save.
Press the green Run button
Nothing happens
To get the app to re-display requires jiggle the Handle type actions:
If I Clear the console log or bring up the GM Virtual Devices manager, before I press the Run button, the app will generally display in Genymotion.
Any ideas how to make Genymotion behave without Jiggling the handle?
I'm running the latest SDK: 20131030 on OSX 10.7.5
Drag drop apk on Genemotion emulator ,it will automatically installs and creates a shortcut.enjoy.
run in command-prompt :
adb install your_app_name.apk
:-)
Solved:
Since installing the adt-bundle-mac-x86_64-20131030, I'd never right-clicked the Run button to display the drop-down menu there. Having done that once, pressing the Run button now brings up Android Device Chooser every time (as it should).
When I first ran into this problem, I reinstalled adt-bundle-mac-x86_64-20131030 and Genymotion. I saw no change in behavior. This appears to be a minor bug in this version of adt-bundle-mac-x86_64-20131030
In Android Studio, if you run your project (shift+F10) when Genymotion virtual device is running; you'll see the device in connected devices list in Select Deployment Target window.

Categories

Resources