Using SDK on an Android device? - android

OK, possible stupid question - apologies - but can you install the SDK and Eclipse on an Android device (I'm thinking a tablet)?
I realise it will be trickier to use without a proper keyboard etc...

There is currently no way to do this on an android tablet. Although there is an app on the market called "Java Code Viewer" by Ahyane that will allow you to open java code, view and edit it on an android device. The app does read syntax, however sdk and library support are not part of the apps current functions.
I use it occasionally to tinker with some source code while I am thinking about it and then run it on eclipse when I am home.

Related

How to get going with Xamarin without compiling anything for iOS?

I am using Visual Studio 2015. I am trying to follow the basic tutorial of Xamarin from here
https://developer.xamarin.com/guides/xamarin-forms/getting-started/hello-xamarin-forms/quickstart/
When I get to the build part, I get problems, some of which because I don't have a Mac connected.
I only want to try things for now, and don't have any need for my app to work, or even compile for iOS, but still I want it to be written in Xamarin forms, just to learn how it works.
For Android, everything seems to compile, and my only physical device runs Android.
I would like to disable iOS and Windows build, and only remain with Android, and play around with that, and only later busy myself with Windows and iOS trouble.
How can I remain with only the portable and Android parts?
In VS and XS, you can right-click on a project in the solution and choose to either Unload or Delete. Unload is temporary, Delete is permanent.

how to use foxpro in android

I have a running app on fox pro which is developed using DOS. And its working very fine on the computer system. But due to the requirement of the users, now they want it to run on the android device.
So
1. Can you please tell me whether any plugin or bridge is already there in the market or should I have to develop one. I am basically looking for the bridge which can make communication between Android and fox pro. I don't know whether this is possible or not.
2. Any solution to open console in the android device where I can execute DOS commands in Android device like I do in the computer system.
Specifically I don't want for redevelopment, but if there is no way to achieve then let's see.
Apparently, you can run DOSbox under Android:
http://androiddosbox.appspot.com/
I've never tried this, but maybe it will provide what you're looking for.
Between a combination of psgsdk and Appery.io and software that helps convert screens from SCX files into Appery, this is a lot easier now. I've done this several times and have apps in both Google play and IOS app store that are FoxPro apps. The back end and all code is Visual FoxPro and the front end is Appery. #abigdreamer on twitter gets ahold of me -- let me know if I can help -- Know this post is years old but others might need the same.

Developing customized version of built-in SMS/MMS Android Application

Okay, here's the situation:
I'm developing an application for a client (or trying to do so). It requires much (if not all) of the same functionality as the built-in SMS/MMS application. So, I thought - HEY! Android is open source right? I can take the application and modify to my needs, right?
So, I found the code on github for the MMS/SMS application (for some reason, based on the AndroidManifest file, it calls my project I built, "ConversationList"). But I get TONS of errors involving the import com.google.android.mms.* package and a couple other packages.
Everyone keeps saying "it's a private/internal package", and "download the entire AOSP". But, HOW do I do this on Windows, and WHY can't I just download the appropriate packages to use in the program?
ALL I want to do is build a project in Eclipse deploy it to my phone, and then modify the necessary code. If Android is open source, why so many secret/internal packages? This is frustrating.
Any advice?
So, I found the code on github for the MMS/SMS application (for some reason, based on the AndroidManifest file, it calls my project I built, "ConversationList"). But I get TONS of errors involving the import com.google.android.mms.* package and a couple other packages.
AOSP applications like this are designed to be built as part of a firmware image, not as standalone apps.
But, HOW do I do this on Windows
Most likely, you don't. Cygwin might work. More likely, you will need to use OS X or Linux, such as running Linux in VirtualBox. And the result of your build will not run on anything, except as part of a firmware build that you use to replace the firmware on a device.
WHY can't I just download the appropriate packages to use in the program?
Because that application is designed to be built as part of a firmware image, not as a standalone app.
ALL I want to do is build a project in Eclipse deploy it to my phone, and then modify the necessary code.
Then find a project that is designed to be built as a standalone app as your starting point. Or, work on modifying the project you are trying to use to work as a standalone app, by ripping out all the functionality that depends upon things that are not in the app itself.
If Android is open source, why so many secret/internal packages?
They are not "secret". They are part of the firmware.
For example -- since you appear to be familiar with Windows -- it is entirely possible that "apps" like Control Panel are not designed to be built independently from the Windows OS. If you were able to download the source code to Windows and tried to load Control Panel into Visual Studio, it is eminently possible that you could not create some standalone CPANEL.EXE file just via that one project. Rather, you would need to use a customized Windows OS build process to build the whole OS, which would then contain a CPANEL.EXE that would run within that built version of the OS.
Most of the AOSP apps work this way. Some have been forked to create standalone apps -- K-9 Mail came from the early version of the AOSP email app. I have no idea if anyone has done this with the stock AOSP Messaging app or not.
You could instead fork TextSecure[0] as it is no system application but looks very similar to the stock messaging application. The AOSP application needs to be installed on /system/app which requires root and might not be what your customer wants.
Please note that this application is copylefted (GPLv3) so you'd have to give your client access to the source code under the terms of the GPL if you fork.
[0] https://github.com/WhisperSystems/TextSecure

Is there an alternative to using the default android emulator?

Is there a better way to test apk files without actually having to buy an Android phone?
I have to test several apk files and i don't want to use the Eclipse to do this as it would be a lot of downloading just for testing as i don't even want to code.
I am looking for an application which would provide an interface which would ask me which version of Android do i want to run and what screen size do i want and then install the apk for me that i want to test?
Is there such a software available?
thank you in advance.
You don't need Eclipse to run the emulator. You can simply download the android SDK HERE. After you've extracted the SDK, run the file "android" in the tools folder (in linux at least), download which platforms you want to use (1.6, 2.1, etc) and create an emulator. It's fairly simple to do.
Many phone makers offer such a service...
Here's one to start you out:
http://developer.motorola.com/testing/
-I_Artist
This looks like what you are looking for. I never used it myelf though. The reviews seem to be ok as well. not sure if you can choose what api's you want to use though.
http://www.addictivetips.com/windows-tips/download-google-android-emulator/

I've downloaded and built the Android source... now what?

I've built an Android app in the past (on a Windows machine using Eclipse), but having downloaded Ubuntu, the Android source and built it successfully (whew), I'm not sure how to tie it all together. How do I load my app into the Android that I've built?
If you really want to be building your own ROM you should head over to the Android Platform Developer's Guide and read it all through.
However if you simply want to develop your own applications then you only need the SDK (and on rare occasions when you want to add some native code also the NDK).
The easiest way to develop Android applications is by utilizing the Eclipse integration, which does most of the work for you.
You also probably want to know what all of the SDK tools (even if you are building your custom ROM) that the Eclipse plugin is using behind the scenes do, so head over to the Tools Overview.
You may want to take a look at the Android Cookbook.
It has loads of nice wee snippets of code to get you started.

Categories

Resources