Android Application Deployment on LG P500 Device - android

I am developing the Web application in Android 2.2 and i want to deploy it on the LG P500 device. I am using Windows XP as an operating system. But i am facing the problem of installing the drivers on my system, it gives the error "Hardware not found the desired USB drivers". So give me any suggestion on this.
Also told me that it is possible on windows system or it required Linux System?
Thanks in advance....

There's a similar question about this on Superuser, and the answer appeared to be to download and install the LG Mobile Support Tool, then use it to install the drivers.
As for the second part of your question: Yes, you can develop on Windows. There are versions of the SDK for Windows, Mac and Linux. Most of the tutorials assume you are using Eclipse to develop, which is also cross-platform (as is Netbeans, another popular choice).
If you're looking to build the Android source, however, Windows is not currently supported.

Related

Android Studio not recognising Android device

I recently installed Linux Mint on my windows PC as I had heard it is much lighter and faster. I loved it. So I installed android studio on it (which I am currently learning) from the Software Manager but it was an old version. So I download from the Android Developers site and followed the instructions to install. It works fine, but does not identify my Lenovo Tab when I plug it in to debug. Debugging is enabled in the tablet. I tried using different cables and ports but to no prevail.
What should I do? I would be happy to provide any more info if needed

Xamarin questions

I have a few questions and I'm hoping some people could explain it a bit more.
Recently Xamarin has been released to the public for free and you're able to download/install it for free.
Let me say first that I have Windows 7 and Visual Studio 2015 installed on my computer.
I have succesfully installed Xamarin and the Java/Androids SDKs and got it running.
But now I have the following 'problems':
When opening a new Xamarin Forms project I get the following message:
"A problem was encountered creating the sub project 'Projectname.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose "Download Update"."
Is this because of my OS?
When opening the new project, the 'ProjectName.UWP (Universal Windows)' subproject always give errormessages on everthing.
Reason?
If I want to run the .IOS subproject, is the only way by connection a IOS device? Is there no emulator for example an Iphone?
Thank you.
It's possible that you don't have the SDK / tooling installed for Windows Phone, so you will have to download the update as described in the error message - this should resolve the problem.
What error messages are you receiving?
You need to connect to a Mac over the network which will allow you to build and debug your apps. You can deploy apps to the iOS Simulator on your Mac, or to an iOS device connected to your Mac, from Visual Studio. For more information on using Xamarin.iOS with Visual Studio, I would suggest the following guide: Introduction to Xamarin.iOS for Visual Studio
Regarding your questions.
1. You should check you updates of the Visual Studio. There are a possibilities that the supporting packages can't locate. The error says that you need to download the updates. Nah, it's not about your OS. If you are done installing the visual studio, then your IDE is working properly. The problem persist is whenever you are lack of updates and packages in the give project.
2. The error could be your pc has no windows emulator to support the UWP to run properly. If you have one, uninstall it and install again.
3. You can use emulator, iOS Emulator but you still need a mac. There's a agreement between microsoft and mac regarding this thing. So far, until now, you can't run iOS simulator in Windows without Mac devices with XCODE
I hope it makes sense.
Answers to your Questions
1. it may be a visual studio update issue, try with latest.
2. i think UWP projects are not supporting with windows 7 OS(correct me if i am wrong), and also try with shared project structure,because portable has some problems with windows 7.
3. Yes currently there is no iOS emulator for Visual studio, if you want to run your app on ios simulator you have to connect your visual studio to Mac machine and then you can run.
Hope this will help
Answering your questions:
1- you might need to upgrade to windows 10. I have solved many issues when I upgraded to Windows 10. VS 2017 works very well with win10.
2- I would definitely recommend downloading the Visual Studio emulator which is a dedicated standalone application that has many emulators. It's much faster and reliable than android emulator. Also it has iPhone and windows emulator too.
3- in order to be able to use iPhone emulator, you must either do:
A) have a Mac device in the network to be able to connect VS with it. And it must have xcode installed on it.
B) you can also do a vmware virtual machine on any windows device and install on it xcode.
For detailed explanation on how tondo the above you can find them on YouTube.
Hope you have more luck.

Running Android apps in Linux

I have a Red Hat Linux (RHL) system on which I'd like to run Android apps. How would I do this? Is there an open-source port of the Android Runtime for linux? Kind of like a VM?
If not, what steps will I need to follow to port the runtime to RHL (with the Dalvik VM etc) so that I can run the android apps built by all android developers?
I am new to android so I am trying to understand if there is an application virtualization support for it from anyone. Thanks in advance!
You need to use dex2jar to convert an APK file to a JAR and then you need IcedRobot to run the Android stack above OpenJDK. Maybe I will try to emulate AndroidGL with JOGL 2.0 (it supports both OpenGL and OpenGL-ES). Keep in mind that it is not trivial.
The emulator of Android SDK is quite slow but you just have to enter adb install my_file.apk to install your application.
You can run android-x86 in VirtualBox or Live Android from a Live CD as Dimitri suggested but I'm not sure it is what you want.
P.S: The most promising solution seemed to be AndroVM.
P.S 2: ARChon Runtime works very well on 64-bits systems. This tutorial is very helpful to make it work.
P.S 3: App Runtime for Chrome Welder is even more promising, it's currently in beta. The final version will support all Android APIs in Google Chrome under GNU Linux (including Chrome OS), Mac OS X and Windows.
I know there is a project for porting Android on x86 platform. You can find iso to download and you can install on LiveCD : http://code.google.com/p/live-android/. You can find more information here
You can't just run Android apps - you will need the entire underlying Android operating system. That goes beyond a simple JVM. EDIT: There is actually a project in the works that aims to do that, see Dimitri's link.
But you're in luck - the Android SDK comes with an emulator that should fulfill your needs (although it's a bit on the slow side - if you're developing Android apps, you definitely want to use a physical device instead). The SDK is available here.
Run Bluestacks on Windows on VMWare on Linux. Easy.

Is possible install Eclipse IDE in a Galaxy Tab?

Since Eclipse can run in Linux and this tablet has the new Honeycomb (Linux Kernel), can Eclipse IDE run in Android Honeycomb ?
I know that isn't pretty much comfortable coding in a tablet, but I'd want to use for UML modeling.
Android (despite its Linux roots) is far from capable of running Eclipse IDE as is. Not only is the hardware inadequate for supporting such a large application, but Android lacks a full Java SE JVM (Dalvik is a subset) and SWT (Eclipse UI framework) implementation for native Android UI controls does not exist. On Linux, SWT implementations exist only for GTK and Motif.
You may be interested in project Orion, which is an effort at eclipse.org to create Eclipse-like experience in the browser. I understand that people have been able to use Orion from a mobile browser on devices such as the one on the iPad.
http://mmilinkov.wordpress.com/2011/01/11/introducing-orion/
No you can't.
But who forbid you to connect to your computer using VNC? You can access your Eclipse or whatever application you want.
You can't run Eclipse but you can try AIDE:
https://market.android.com/details?id=com.aide.ui
It is compatible with the Eclipse project file format, has a fast editor with syntax highlighting and supports the full edit-compile-run cycle.
1.) The latest Android tablets ARE now powerful enough to run software like the Eclipse IDE in fact they are more powerful than the Intel and AMD processor machines that Eclipse was originally developed to run on.
2.) The tablet is a useful tool for graphical modelling techniques and the addition of an external wireless keyboard can improve input of code in a text editor.
3.) There is a lack of support for Java SE runtime for Android.
4.) Limited Android root access on the standard commercially supplied Tablets make it impossible to access OS features and install, compile or access development tools without additional 3rd party applications.
5.) AIDE does provide a method to write and run code on Android but the free version is extremely limited and the commercial (paid) version is nowhere near as powerful or comprehensive as the freely available Eclipse for Windows or Linux.
You can use DroidDevelop.
DroidDevelop allows to create native Android application on your mobile device. You don't need to install Android SDK, Eclipce and an other desktop program for Windows or Linux to start programing for Android.
https://market.android.com/details?id=com.assoft.DroidDevelop
http://en.assoft.ru/droiddevelop
Short answer, no.
Long answer, although Honeycomb is based on Linux, you'd have to do a lot of hacking to get to the point where you can have a full blown IDE installed on it. Android works with apps. There isn't an Eclipse app, so you can't have Eclipse.
There was actually a version of Ubuntu for Android, you could do the Ubuntu install for Eclipse on your tablet if you were running it.
As for running Eclipse on an android OS? Not so much since Android has no real JVM.
The Eclipse downloads page lists packages for Windows, Linux, and Mac OSX.
Android is not listed as one of the supported OSes for installation of the IDE.
Are you talking about actually running Java code with Eclipse APIs on the device? It's not impossible, but you will be doing most of the work yourself. The difficult part will be getting SWT to run and appear as native Android objects while supporting the full range of controls that Eclipse users expect.
There have been Eclipse projects in the past to get a workable subset of the APIs to run in an embedded space. One such project was eRCP, by IBM. I'm not aware of any activity to make a similar effort on Android, but there's no requirement to announce such work to the Eclipse community.
Its not possible to install Eclipse directly to Android OS but you can run Eclipse on your Tablet via Linux Deploy Application. But first you need to get Linux setup on your Android and use VNC viewer for display. That's how I did it.
See screen shot of Linux on Android running Eclipse.

2 fundamental questions for the Androgurus ...Can someone guide me

I have'nt plunged into Android Development as yet though Java Classes C++ all that is not new to me. Here are the questions folks. Appreciated any help on these : -
If I need to develop test and deploy Android Apps do I NEED AN ANDROID Hardware device or is there a software Android Simulator like VMWARE or Virtual PC , where I can emulate the results.If there is such can you point me more info
I have a Netbook ( the Chinese Ipad Clone ) running Android that has only Wi-Fi for the present. Is it possible to add the following features via the spare USB Port
--- a USB Based 56K Modem : Are there Android platform H/W Drivers.
--- a USB based RJ45 ( Ethernet LAN LandLine connection ) Adapter :Are there Android platform H/W Drivers.
Please advise
Thanks
Saul
Steps:
Learn Java here
Do a tour on Eclipse IDE
Install the Android SDK
Go through this Android on
Eclipse Tutorial
This is a screenshot of the Emulator:
(source: vogella.de)
To answer your first question: You can use the android SDK, which includes an emulator. There you can choose your API/your Android version you want to simulate.
You can just download an embedd it to your eclipse.
To your second answer: I have no idea ;-)
1) For developing Android apps you can easily do it by downloading the SDK according to your specifications.Ranging from Android 1.5 to 2.2 you can download any sdk according to your requirements and target customers...As far as development goes since u are a newbie start from 1.6. Developing in eclipse IDE is quite simple than others.You can get Eclipse plugins for android. For basic testing the SDK emulator is useful.But before deployment and before adding to the market you should test it with a real device. Google G1 and Nexus1 are the favourite developer testing phones...
2)As far as the second questions goes, the issues are hardware specific too.So, better get some support from the vendors. I dont recommend messing around with the drivers. If you are quite eager to do then you might also get some help from others...

Categories

Resources