Android Handshake Error in ADT - android

I am developing a mobile app that can print a invoice from Bluetooth printer(Model : VPT801). I received the sample code from manufacturer and when i run it with eclipse IDE it can print the invoice. After export it to android project and ran it using Android development studio. But it was not working when i run with Android development studio.
I found the codes which was getting error as mention below.
Sys.Lib_HandShake();
Sys.Lib_GetVersion(version);
Sys is a class which is included in the third party jar file.
I tried with same mobile phone running Android 4.2.2. by using two IDE
Please help me to solve this problem.

Related

Running my python project using the pysimplegui module on android (with pydroid3?)

i want to run my python project on an android device.
Is there a way to run it on android?
I tried with pydroid3 and the plugininstaller and got the error message:
"gui applications cannot be ran from terminal use ide to run these applications."
But when trying a simple popup window, the gui is working.
Thank you for your help.

Cordova debug: the specified file was not found

I'm working on a Cordova project for Android using Visual Studio 2015. I can build my project without error and I can deploy it on Ripple.
But when I want to deploy on a real device or on an emulator, I'have always the same error: the specified file was not found. No more information in error list or output (using diagnostic output).
When I try to deploy on the emulator, the emulator receive the application and I can use it but when the app is lauched I have a pop-up from Visual Studio: "the specified file was not found" and I can't debug.
When I try to deploy on a real device, I have directy a pop-up: "there were deployment error. Continue ?" if I click on "yes", I have the popup "the specified file was not found".
I would like to have a solution and an explanation about this error.
Thank you in advance, I can't work with this kind of error except deploying on emulator and don't use debugging...
It seems like you are missing a third party component (such as Android Studio), so Cordova is creating an Android project, but Android is not compiling that project into an Android app. That's why it deploys on Ripple (which just uses the first half of the build) but fails on the second half. I'd make sure that you do have Android home set up (check the path in Tools->Options->Tools for Apache Cordova). Otherwise, feel free to email your question + current project to vscordovatools#microsoft.com. I can take a look at it on my machine.
Linda Zhong, Tools for Apache Cordova PM
Lizhong#microsoft.com

pressing debugging button in Qt creator gives unknown error

I have just started internship in a company, they said i will be working on a android project using qt.I need to join them by next week, in meantime i thought of installing qt on my laptop which has Ubuntu 15.04(64-bit).
I downloaded Android SDK, Android NDK, Ant Executeable.
Here is my android settings in qt.
I created a sample app using New Project -> Qt quick Application,it pasted some sample code for hello world when i tried running it it said
could not find the executable please specify one qt
then i opened my project folder and specified a file having name same as my project name,fortunately it worked.
Now when i run the project it displays hello world but when i try to debug it either by attaching external device or through emulator it displays a pop-up which displays a string "Unknown error".
1.Have i specified the settings correctly?
2.how to get rid of this error and start debugging.
can i do debugging on my device in ubuntu.
I am just a beginner plz provide easily understandable answer.

Package APK in Visual Studio 2012 Using Mono For Android 4.2.7 Error

I can't make an App Works in a real device using Mono for Android 4.2.7
Im using an Xperia X10a with Android 2.3.3
When I tried to open it in a real device it close; "The application has stopped unexpectedly. Please try again."
Im am using Visual Studio 2012 Ultimate, in Project -> Properties; Configuration "Release", Use Shared Runtime (no).
Please help me, thanks for your time.
before you install it, you must create a serial key and then publish it.
for More:Xamarin Documents

Android application not running on Mac

i have made an android application on my windows machine. Now i am trying to test the application on my Mac. Everytime i do this i enounter the following problem:
how i do it
i copy pasted my project onto my mac desktop.
i imported the project into my Eclipse.
My application uses internet connection.Hence i have added the necessary permissions in my android.manifest file for accessing internet. I have tried and tested my app on emulator on windows system many times. But now if i run the same on my mac, the emulator gives connection error (hostunresolved exception)
another problem
when i try and change the OS version of Android on my project: By default my app has Android 2.2, when i change it to 2.1, it gives a .classpath file not found error and my app starts to have many errors.
what could be the reasons for the above happening?
thank you in advance.
Eclipse will work fine in Mac...
May be their is no internet connection on simulator..thats y you getting that error
Check a url in ur browser....Also did you try clean the project after changing the OS version

Categories

Resources