How to deploy to CyanogenMod Android tablet? - android

How do i deploy an NBAndroid app (by directly moving the .apk file or else compiling straight from NetBeans?) onto a connected tablet (HP Touch that i just put CyanogenMod ICS onto)? I connect it to my computer and it isnt recognised (like WebOS was) but Android ICS was installed fine. Do i need to use the bootloader to do this? I had a quick google and Stack search but could only see stuff relevant to using the emulator, and thought id probably get an answer here quicker.
Edit: this is the same question as this How to deploy android application to a device? which i discovered afterwards.

If the Tablet is not recogniced (have this problem at work, too, even with stock OS) maybe give it a try syncing it via a dropbox folder. Its the best bet for me, so far.

i found how to connect to a device via here
How can I connect to Android with ADB over TCP?
using this method you can get the .apk on the device without using dropbox
But the dropbox method is easier, even in development.

Related

Another way to debug an android app

I want to debug my android application, I have Eclipse Installed fully setup for android developement.
The problem is,
1) I can't run android emulator(Hardware Concerns).
2) I can't attach phone to my computer(Driver Concerns).
Now,
Is there a way to get debug functionality by putting directly the apk into the phone storage and installing it from there.
I wanted get the logcat of the application that I'll be running.
Basically I'm quite naive in android, I'm not quite sure of the terms I said but, What I want is a way to test my app on my phone without the role of my PC.
If you have root you can use Wifi ADB
Also you can remove drivers for this device and install other driver from your device manufacturer.
If you can run standard emulator you can use Genymotion.

Android App installation on phone for testing : Suggestions

I am trying my hands on the android app development and need your suggestions to mitigate my current situation.
My organization has disabled USB for the desktop and I wouldn't be able to connect my phone through USB to test my application as I code.
I have installed genymotion but since it is behind proxy, in all the ways I could configure it, it gives proxy authentication error.
The avd is comparitively slower and the app which am trying needs internet connectivity at every step. I have tried these too and my impression is that we can make
the avd work for connecting to internet through its webbrowser but it cannot connect to internet within the apps. I might be wrong here. Please let me know if it is not the case.
Is there any other way where we can install the app in the phone as and when we code to test it..?
One option can be to export an apk file everytime and install them on the phone by sending this apk through a mail. But this will be a cumbersome activity if we have to test as and when we code.
Any suggestions on this..?
PS: I do not want to hack the desktop to enable the USB.Also using an external laptop with USB enabled is out of option in my case.
Many thanks.
Another way is using AirDroïd. You just need to install it on your test device, and you can manage it with a webapp :
your.static.ip.xx:8888
You can install your app with that way, it's really easy, you don't need any account in a local network.
For testing... no idea without usb, or without the emulator. Maybe you can log everything in a text file & get it (with airdroid for example).
EDIT
I think if you create an account you can use it external of you network.
http://web.airdroid.com/
Just create an account, & log on web & on the app, you could use it on the external way.
Why are you even bothering to use the desktop PC when your organization has made it unsuitable for development.
It will be hard work, but you could do all your development on the Android device itself, using AIDE
(Actually AIDE is pretty practical as a IDE if you have a large screen tablet, and pair it with a full size bluetooth keyboard).
Quote: "Inside your project bin folder there is an apk file. If you copy that file to a device you can then install the app from it.
When I am in your situation I throw my apk into dropbox and send out links for people to download it."
from this link
I doubt that if your company has disabled USB they still allow Bluetooth, but because you did not state it specifically:
If you can use Bluetooth, the best way would be to use it for running and debugging your App.
There are some Tutorials on the web.
For Example: http://zcourts.com/2013/07/19/android-debugging-over-bluetooth-without-root/

Titanium can't find my Android Nexus device

Hi I'm trying to compile a Titanium Android app directly on my Nexus 7 (2013, SDK 4.3) device but I can't see any 'Titanium on Android Device' option in the Run Configurations.
My device is in Developer mode, connected to the USB, detected by Android File Transfer (Mac OS X 10.9, Titanium 3.1.4), detected by adb...
I tried to restart adb, restart Titanium, plug and unplug the device, but I still cannot see the option.
I also tested all this with Titanium 3.1.3, with no success.
I have no clue of what's happening :/ any help would be appreciated. thanks
It may sound stupid, but my friend had similar problems with his Nexus and he changed the USB slot to which he plugged his device and it worked.
Try using a different cable. Most cables are only able to load the device, somehow. Not every micro-USB-cable is capable of sending data, correctly.
Again a reason why I don´t like to work in the android environment. No one checks whether software and hardware is working the way it´s supposed to. That´s why I love Apples restrictive "closed" system. No 1000 viruses and other crap.
Well, that was a bit confusing but I finally found such option inside a Project Explorer menu...

Transfer Android app from galaxy to pc

I have made an android app using eclipse and run in on my galaxy device.
then My App files on my computer deleted somehow so I lost all my project(no backup).
I have the app on my galaxy and I can run in it fine.
There is a any way to transfer it to pc so I can reuse it?
Thanks a-lottttt
Zachinio
Are you looking to reuse it as in get back to the source code? Or just reinstall the APK to some other devices via your PC?
If the latter, it should be straight forward via adb put and adb get.
If the former, it depends whether you used Proguard to obfuscate your code... If it is a relatively small app, you can still get the code but not necessarily with the same symbols you originally gave it), using AntiLVL.

developing for android on android

I want to be able to develop and immediately run android apps on my device. I've played with sl4a and a bluetooth keyboard, but the app and ide weren't designed for what I want to do with them. what are my options?
clarification: I want a mobile dev env that doesn't involve any computer (other than my android device). I'd like a simple code editor, like emacs or scite ideally, and some kind of complete interpreter or compiler for the full android api that runs on the device. I'm dreaming, clearly, but how close can I get to that today?
I've gotten Vim working really well in ConnectBot on my Milestone. I needed root privileges because of where I put the files, but you might be able to find a work around without it.
See this link:
Native Vim for Android
See also my comment after the post. I've got $HOME setup on my sdcard, and a bunch of Python plugins and colorschemes in ~/.vim/ and everything just works.
Of course this requires you to be comfortable working in Vim... I've gone back and forth with it several times in the past. It is very strange, but once you pick up a few habits and figure out its odd vocabulary it is very nice to use!
I got a pure python version of Mercurial working on Android too. It was a pain, but now I can push and pull code from my repositories and keep my /sdcard/sl4a/scripts/ folders in sync with my latest changes. I documented some of what was necessary in a bug report to py4a.
Canonical just announced that they will be bringing Ubuntu to android devices. Hopefully this will help....
http://www.engadget.com/2012/02/21/ubuntus-full-desktop-os-coming-to-multi-core-android-devices/
Like FrinkTheBrave said, you can use an ide (Eclipse is perfect, because of the Android Development Tools, but you could use any other program.
If you work on Windows, and after installing the USB driver, you only need to plug your phone to the usb and hit Run (or debug), and Eclipse will copy the apk into your Android and start running. It takes less than 5 seconds.
If you work on a Mac, you don't need to install anything, just plug in the phone and it works =D.
Well, in Linux it is a bit more complicated (though not impossible, I actually work with Linux), but you can still develop there =).
Cheers
BIG BIG EDIT
I've seen today just what you asked few time ago. Here, take it: https://play.google.com/store/apps/details?id=com.aide.ui It's obviously hard to type on a smartphone, but it could do the trick on an EEEPad transformer. Have a good day
I'm not sure about developing on Android, but you can use one of the sdks available to write your code, then copy the apk onto the device via usb and install and run it.
It takes less than a minute from saving the source code to running on the target hardware.
I use the sdk at developer.android.com and eclipse on windows xp, and use AndroZip on my phone to install the sdk. simples ;-)
I've not looked into using usb debugging, but that could be even better.

Categories

Resources