[Q] Remote Android Development - Android Software Development

Hi guys,
isn't there someway to develop my Android apps on a webserver so I can work on them via FTP on any machine ?
I have a problem of not being able to continue work on a project once I leave work or leave home.
Please help me.

http://www.google.com/search?hl=&q=remote+desktop
http://www.google.com/search?hl=&q=VNC
http://www.google.com/search?hl=&q=VPN

Maybe even use a SVN.

It's a bit of a hassle, but I just use dropbox. When I finish working at home I copy the project to dropbox. When I get to work it's ready to go. Copy it back again before I leave work.
________________________________
http://ron-droid.blogspot.com

Actually I seccond SVN (or GIT if that's your fancy). It can sometimes be tricky to setup on a remote server but the versioning is well worth it.
I got the impression it wasnt just going from home to work and back that he was having trouble with though. All good suggestions though

OK ?
alostpacket said:
http://www.google.com/search?hl=&q=remote+desktop
http://www.google.com/search?hl=&q=VNC
http://www.google.com/search?hl=&q=VPN
Click to expand...
Click to collapse
Hmm!
just wondering what any of those have to do with Android development ?!?

Thanks
rigman said:
It's a bit of a hassle, but I just use dropbox. When I finish working at home I copy the project to dropbox. When I get to work it's ready to go. Copy it back again before I leave work.
________________________________
http://ron-droid.blogspot.com
Click to expand...
Click to collapse
I appreciate the dropbox suggestion.
As an aside, I put a document into my dropbox on my Linux computer at home and immediately checked for it on my dropbox app on my Android phone - it was not there.
Neighter was it avaiable at work hours later at work - don't know how I might force it to refresh.

How about Eclipse RSE ?
As an Android developer using Eclipse comes with the territory.
I came across some thing called RSE( remote system explorer ).
From what I've read, it should give me FTP access to remote files.
But it fails when I try to configure a "Remote system Type".
Does anyone have sucessful experience with this ?

captsisko said:
Hmm!
just wondering what any of those have to do with Android development ?!?
Click to expand...
Click to collapse
They do stuff like this:
I came across some thing called RSE( remote system explorer ).
From what I've read, it should give me FTP access to remote files.
But it fails when I try to configure a "Remote system Type".
Does anyone have sucessful experience with this ?
Click to expand...
Click to collapse
It sounds like you need to better explain what you're actually trying to do. Are you trying to just take some files with you, or are you trying to be able to access your home computer remotely?
They have different solutions. It sounds like maybe you are confusing the two.
VPN/RemoteDesktop/VNC all have to do with accessing a computer remotely which is what you said you were trying to do originally. However it sounds like that's not what you need. Maybe I misintepreted your post. My appologies.
If you're just trying to take your project from home to work and back, then you should set up a server with SVN (or Git or Mercurial) somewhere, possiblly over SSH.
This can be on your home computer, or work (depending what ports your network admin allows), or on a hosted third party server (such as a shared hosting server like BlueHost, DreamHost, or iPowerWeb or something). I'd recommend the hosted 3rd party solution.
Though, if you use linux at home SSH is built into your system.
Dropbox and FTP are OKish, but you might as well just use a USB stick or something...
But SVN and Git have real version control and intgrate with eclipse. If you have it setup properly you can just hit a command in eclipse's project explorer and all the changes are commited to the remote repository.
So anyways, SVN is my advice too

Thank you very much alostpacket !
You were right about needing to explain better. I was not trying to achieve a remote desktop access solution. I was looking for a way to work on my Android projects without have to copy then on a USB or email them to myself.
I use a VPS to host my websites and I assumed I might be able to work on my Andoird projects via FTP from my server so regardless where I am, I have access to the same project - I don't know if you guys think that is possible ?!?
However, I will start to investigate SVN and Git.
Thanks again.

No problem, I'd say check with you VPS provider too, often times they have tutorials on how to set up SVN, or sometimes even automated one click installs.
There will be some learning curve with using SVN, but it will give you a lot of control over versioning your work. It's WELL worth the effort.
If you ever make a mistake you can easily roll back to an earlier version, or you can "branch" off from the main codebase to try out a beta feature and merge it back later with side by side views showing you where all the changes are.
Most every experienced developer uses some type of versioning control software (SVN, Git, Mecurial, CVS, or SourceSafe).
Git does many of the same things but is a bit more advanced and more designed around larger projects with teams of developers working remotely. (Git was developed by Linus Torvalds for Linux kernel teams to use). Mecurial I think costs $$ and is like git. CVS is a bit old, and SourceSafe is a Microsoft produc that I think also costs $$.
SVN is based on CVS and is intended to be the successor and more user friendly than CVS, but it's still takes some time to learn and some patience.
Many Android developers use Git though, so the choice is up to you, however I think SVN is a bit easier to learn.

FYI a SVN inside a dropbox works too.
Sent from my GT-I9000 using XDA App

Related

Video Stream from phone

Its prob a stretch but i was wondering if theres a way to stream video FROM the titan TO the PC. its kinda like using the phone as a webcam or something...
Thanks in advance
I've done it for robotics but not quite in the way you're asking for. I used a custom Java web server running on the device. I couldn't figure out how to stream the video but 1fps was good enough for me so I just kept taking pictures that would copy to the location being shown on the web page. If it's something you're interested in I can start looking for my code, I've got it backed up somewhere.
Yes, such software exists in a couple of variations for AtekSoft.
I have been brainstorming alternative uses for the software and wrote all about it here:
http://mobile-enthusiast.blogspot.com/2008/03/ateksoft-applications-bring-interesting.html
TheCodeBenders, you should seriously use this instead of your java server. This is PERFECT for your application it sounds like!
Even Better:
www.comvu.com
trying to find out more about comvu... is this service free, trial, closed market, or what?
I can't figure out how you're supposed to even GET this software...
Comvu works great, just signup and download.
Dishe said:
TheCodeBenders, you should seriously use this instead of your java server. This is PERFECT for your application it sounds like!
Click to expand...
Click to collapse
Thanks for the link, but the big part of the Java server is an AJAX script running to give my 8 direction control of the bot. I'm undertaking rewriting the camera bit in a C app that does faster refreshes but we'll see.

[X] WApps - A windows mobile "appstore"

I got the idea to make a application finder software for Windows Mobile. Specially designed to HTC Diamond, with many G-apps & games and other nice apps. It's under development now, and i will release one screenshot for you.
This app will not be just an styled IE-frame, like many "appstore" like apps that have been released before.
19. October 2008:
New Screenshot of the start screen.
Development stopped, becouse of the Gecko project.
I think this is a phenominal idea. The idea that went around recently was an internet based solution through ie explorer and it just was not device friendly. To have a device based solution is much more sensable. If you could create a server that developers could upload their most recent programs too that would be the best.
Maybe contact the system admin on this site and see if he will give your program to access the sites FTP server or something. Then a user could use your device based program that would seemlessly connect to the interenet in the back ground, poll the server for software, sort it and place it into a thumb friendly interface on the phone by which it could be sorted into categories of games, utilities, themes, programs etc etc....
Of course the admin would have to create those categories on the site's side and the developers would need to upload their program to the correct one but I think everyone has been in such a need for this that they would be willing to do it without much arm twisting.
Or, you could create device user interface that interacts with Orb.com... But then you would have to get the updates of programs and upload them to ORB for your program to work. But ORB does already have a sorting feature that your user controls on the device could be made to access for sorting etc. It even has a video section that a user could download tutorials of different programs that someone took time to make.
All just ideas. Some you may find good or not. I am excited to see a device based program though. It make user intereaction easier.
Curious G.
yes
Its a good idea, keep working on it
seems to be a nice idea
I like the idea but this really depends on what will be offered / how updated the actual site behind the store application is. Have you had any thoughts on that yet?
i second that.
at this time i browse via opera tho xda to download stuff... but having a app that simplifies things would be even better...
maybe all the downloads here could be managed and put upto "youre" server in an automated way..
I remember seeing this article a few weeks ago about Microsoft creating their own app store.
http://www.pocket-lint.co.uk/news/n.../job-advert-reveals-microsoft-skymarket.phtml
Either way, it's certainly a good idea!!
I forward the notion. An app that has all the apps at hand for easy download by category would kick some serious asss..
If I can help in any way let me know.
Greetings to all.
Love this development. Maybe this progress will open up eyes on new skilful programmers and we will see an increase of good looking apps and games. Not that I don't just love the things going on here at xda. But the more the merrier, right? The only complaint that I might have on this forum is the all the threads with wallpapers and especially the ones with half-naked women...But that's me...
So an app store (or two) is going to make it easier for us to sort out what we are interested in and only that.
If needed count me in I can help develop..
Great idea.
In the spirit of AppToDate, which I found worked very very well. But with YouTube-app like interface, all connected to database were latest apps can get installed.
Great idea!
I'm working to figure out how to connect to MySQL from a windows mobile based device, does anyone here know?
double post****
i think if these two threads could be incorporated
http://forum.xda-developers.com/showthread.php?t=428480
http://forum.xda-developers.com/showthread.php?t=433913
that would be a good way to do storage
each developer could use have there own account and then whenever they updated there app they update the wapps link via web or give it like some type of flash capabilities that would be really great
or there could be a generic account that ever one uses to upload too
looks like this is in the works http://forum.xda-developers.com/showthread.php?t=436127
maybe some collabo might be nice
Nice project!! GoOd Luck!!
If there was a way to advertise this app when it gets made. the diamond would sell millions
Why not just modify a RSS feed reader?
niikoo said:
I'm working to figure out how to connect to MySQL from a windows mobile based device, does anyone here know?
Click to expand...
Click to collapse
Maybe Sqlite is more accurate for a mobile device ?
And you just download the sqlite file available on a server, this way requests would be very fast.
masterbox said:
Maybe Sqlite is more accurate for a mobile device ?
And you just download the sqlite file available on a server, this way requests would be very fast.
Click to expand...
Click to collapse
Yes, every time you start it will update from the web or you can click on a button to update (or an 'update every x minutes' function
please keep up the hard work!!!!! love to see this appstore happen!

WAMP-like (AAMP?)

Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
LookAlive said:
Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
Click to expand...
Click to collapse
First, why? what's your use case? You're going to host websites to the internet off your 1Ghz mobile device? interesting thought but it'd be cheaper and less stress to just pay that web host.
Second, that'd be one hell of a way to chew through your battery?
Ruxton said:
First, why? what's your use case? You're going to host websites to the internet off your 1Ghz mobile device? interesting thought but it'd be cheaper and less stress to just pay that web host.
Second, that'd be one hell of a way to chew through your battery?
Click to expand...
Click to collapse
Thirdly, you will have high bills for your transfer and users will have to wait ages for page to load.
Ahh and if you really want to do this, then you shouldn't think about neither Apache, MySQL nor PHP. You should use, what you have onboard: sqlite + Java (or maybe C) + some simple HTTP server (Java or C).
It wouldn't necessarily be for a professional site so to speak, more or less to fool around with.
For example (even though having use of facebook renders this completely useless) a blog hosted directly from the phone. Or with password protection, an over-the-web ftp to add apps to your phone from anywhere should you not have your cord on you.
Just little things to play with.
Nice addition Brut. But to clear the confusion, by saying WAMP, I was simply using it as a reference tool to get the point I was trying to make across. I didn't mean actually waste time making a work-around apache server on the droid, but simply a program that uses what's available on the phone to achieve the same ends.
Thanks for the input gents.
@Ruxton as far as chomping away at the battery, I wouldn't suspect it would use a high amount for what the uses are. Now to host some high-traffic sort of thing like google.com for example, ha, there really wouldn't be a chance to use the phone before it died. But as stated in my last post, little things for small uses. Of course, I didn't specify that in the topic start.
http://code.google.com/p/i-jetty/
5 seconds (really!) searching on Google ;-) It's everything you need and I doubt you will find something better
What kills me, is I searched google for such apps using keywords (no lie, straight from my cookies) "Turning android into webserver" "host webserver from android" and "webserver app for android".
And then you come back with this. How peachy.
LookAlive said:
What kills me, is I searched google for such apps using keywords (no lie, straight from my cookies) "Turning android into webserver" "host webserver from android" and "webserver app for android".
And then you come back with this. How peachy.
Click to expand...
Click to collapse
I'm quite sure that I requested "android http server", but now I don't see that site in search results I think it was a miracle! ;-D
EDIT:
Ahh, I have mistaken, it is right on top of results ;-)
http://www.google.com/search?q=android+http+server
The magic behind that miracle was that one acronym, http. Had I only used that.. lol
Another problem is connecting to your phone from rest of the world. Does your telecom give you external IP? Is it static (but this could be fixed using dynamic DNS)?
MediaWiki on Android?
Hi...
I'm interested in an "AAMP" too as I have lots of information stashed away on my laptop via MediaWiki running on WAMP. I'd love to be able to carry it around with me on my mobile phone by uploading it from my laptop's MySQL DB onto the phone (in my case, HTC Desire) if it can run "AAMP".
I just downloaded i-Jetty and what I can do with it isn't entirely apparent. Is it something that would run an AAMP and therefore allow me to do the above?
Cheers..
DesireOwner10 said:
Hi...
I'm interested in an "AAMP" too as I have lots of information stashed away on my laptop via MediaWiki running on WAMP. I'd love to be able to carry it around with me on my mobile phone by uploading it from my laptop's MySQL DB onto the phone (in my case, HTC Desire) if it can run "AAMP".
I just downloaded i-Jetty and what I can do with it isn't entirely apparent. Is it something that would run an AAMP and therefore allow me to do the above?
Cheers..
Click to expand...
Click to collapse
Not sure why the thank button is so close to the quote button... but oh well, I digress.
Have you considered dumping static pages from your mediawiki setup and then pushing those to the phone? If you don't need to edit the content, then having the full db backend on the phone is pointless. Just set up a script to dump the all the pages in an elegant way (wget comes to mind but there is probably a better way) and then bundle them for transfer to the phone.
Thanks for reply! Sorry for delay (floods tend to take you off the grid).
Not a bad idea about dumping static pages..but I would like to be able to navigate around & search through the mediawiki. Anyone have thoughts on AAMPing a mediawiki?
AAMPing a MediaWiki?
Anyone have any further thoughts or smart ideas on pulling this off?
Have you tried PAW Server?
Sent from my PC36100 using XDA App
Thanks for the reply. PAW server is an interesting bit of kit and certainly is a demonstration of what the device can serve up.
However..it isn't exactly what I'm trying to achieve. Basically...I need something which will run the php files and the MySQL database which are what MediaWiki is comprised of.
Whilst I could simply generate static pages from my Wiki's & read them directly on the phone, this means I lose all the advantages of links & searching which is one of the reasons why I put my notes in a MediaWiki to start off with.
So..anyone know of something like an AAMP?
LookAlive said:
Has anybody seen, or considered developing a program similar to WAMP (Windows Apache MySQL PHP) for the Android?
I've always been interested in hosting my own sites, and usually purchased the hosting simply because I never leave a computer on all day.
But given I leave my phone on all day, who's to say there can't be an application developed to host and constantly stream a website from the phone itself?
Would anybody be interested in developing something like this? I'd honestly throw down 10 bucks in android market for such a thing.
Click to expand...
Click to collapse
Botbrew-Basil is on play store !
Android web server
yashade2001 said:
Botbrew-Basil is on play store !
Click to expand...
Click to collapse
WHAT YOU NEED IS 'KSWEB SERVER' --> (play.google.com/store/apps/details?id=ru.kslabs.ksweb&hl=en)
FIND IT ON ANDROID MARKET
PHP + MYSQL

[Q] USB SmartCard support needed!!!

I'm connecting to my servers with SSH using usb-token.
It's a big pity, but I can't do it with my SGN.
How much source changes should I make to be able to connect with ssh+smartcard to my servers? As far as I know there is a project:
https://code.google.com/p/seek-for-android/
, but it's developers don't want to have a deal with USB.
Any suggestions?
hishnik said:
I'm connecting to my servers with SSH using usb-token.
It's a big pity, but I can't do it with my SGN.
How much source changes should I make to be able to connect with ssh+smartcard to my servers? As far as I know there is a project:
https://code.google.com/p/seek-for-android/
, but it's developers don't want to have a deal with USB.
Any suggestions?
Click to expand...
Click to collapse
No suggestions but I've not seen anything to suggest this will be implemented, or even easy to do.
Better off trying to get a local certificate loaded onto your phone instead.
Here below is a project that supports smartcard readers on linux. If you can do command line and compile source, then you may have a chance getting it to work with android.
http://times.usefulinc.com/2007/12/03-smartcards-osx
http://www.opensc-project.org/opensc
Good luck

Help Developing An App

Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Thanks,
I'll have to try that once I get home as the IT Administrator at work has to vet everything that gets installed.
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
Hi sir! Is Android Studio is better than Eclipse?
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Yes.
john.reyes.jmr said:
Hi sir! Is Android Studio is better than Eclipse?
Click to expand...
Click to collapse
Jonny said:
Yes.
Click to expand...
Click to collapse
^^^
The only way to say it
Jonny said:
Yes.
Click to expand...
Click to collapse
Thanks sir but do we have a highly compressed Android Studio? 800mb+ is such a big file to download.
Like minooch said, install an IDE, understand how it works and then try some tuts on Internet to learn how Android works. What you want to do isn't really hard, you'll manage quickly to do it but you will be prouder if you do all by yourself.
Some hints : Don't go coding directly, try to organize your project (data structure, classes, methods) before starting to code. On a small project, it's not as important but if you start doing things well now, you'll thank yourself in the future
minooch said:
Firstly, download Android Studio - Don't use eclipse anymore
Secondly, here is a tut on using an older version of Android Studio
Have a go, see how you end up. Let us know, if you're really needing help, ask here again
Click to expand...
Click to collapse
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Randomly Set said:
Morning all,
I have never created an app, but decided to look into it late last year. I began work on an app around September 2014, did a little work every weekend, and haven't really touched anything since November.
I have experience with HTML, CSS etc (I can write them). I can also have a basic understanding of other codes such as PHP, JavaScript, Java, C etc - basically, enough that I could take some code and edit it to suite.
I was hoping that creating an app would a) help grow my current business and b) give me a new challenge to learn new code.
Anyway, I'm really stuck on what to do. I downloaded Eclipse at home, but my laptop is on it's last legs. I have been creating the app at the office, using Adobe Flash Builder 4.7. I read a few tutorials, and downloaded some sample apps to learn from (as part of some of the tutorials). However, none of them have what I want.
My App Idea
So, enough waffling on, I'll try and explain my app without giving away what I want to do.
Basically, the app will be one where users can enter an error code, and press search. The result would be a page showing the description of the error code, and then what the solution is to fix it. There is then potential to add a "buy this part from" link which will suggest suppliers to visit.
So, as an example, let's say a user got a Blue Screen error code on their PC of "ABC1234". They would enter that code into my app, and the result would say something like:
Code: ABC1234
Description: RAM Error - overheating
Fix/Solution: Replace RAM
What I Have So Far
Other than a couple of test files that I've been learning with, I don't have anything solid in terms of an app. What I do have though is an Excel file with 889 error codes and what each code means.
What I Need
So, I guess what I need is either:
some help/guidance on how to create an app that in it's simplest form is a home page with a search box, and then 889 pages in the background that return depending on the searched error code.
or, someone willing to help me develop such an app
Click to expand...
Click to collapse
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Shreyseviltwin said:
Hello.. You just cannot make a app like for such kind of work. You have to make make a website server for the same and then make a app for it. I know a technique for such kinda work.Web crawling us your answer. If you could setup a website for that then I can make a app for that easily within two days. Inbox for any further information or quote back
**********Hit thanks if I helped you***********
Click to expand...
Click to collapse
Hi,
What would be involved in creating an app?
pranavraut033 said:
What are the requirements for this app to run on my PC ,jdk?i have installed jre but didn't worked help me ....
Click to expand...
Click to collapse
You need the JDK. Please read the instructions on the download page. Under the section 'Requirements'

Categories

Resources