AndroidStudio and Tablet - IDEs, Libraries, & Programming Tools

I know this is going to sound stupid, but am an old time programmer. I would program for computers.
Now that I'm venturing into mobile devices (and relearning), I can no longer take the emulator on AndroidStudio. So I figured I would go out and buy a tablet. Any recommendations on what I should be aware of?
Am assuming I can just buy an (i.e.) Samsung and plug into my PC to test out the app? Any hurdles I wouldn't be aware of since this is a different world that I am used to?
One hurdle I do wonder about was...will the Android Studio debugger work if I'm using an external device?
Many thanks all,
Sergio

Related

Any questions for microsoft

Any questions for microsoft
Hi all,
On Monday week - ie 11th July I will be meeting with microsoft and hopefully looking at the HTC Universal in detail. I will take my camcorder along so hopefully they will let me take some footage.
Does anyone have any questions they want asked?
Also I will try to take a "origami size pattern" of the universal as many prople are worried about the size. ie you can print, fold and glue to get an accurate feel of its volume.
Any other suggestions on information that can be gained from this meeting?
Jayman
Edit: I will also try to get a couple of sample photos/video from the cameras
Ask about WM5 for other HTC devices. That would be cool to know what MS says about it.
Do you mean upgrades for existing HTC models (this is a carrier decision not m$) or do you mean new models yet to be announced such as the galaxy/wizard?
Jayman said:
or do you mean new models yet to be announced such as the galaxy/wizard?
Click to expand...
Click to collapse
... which is also a question to ask manufacturers and not Microsoft.
Stateside
I wouldn't expect them to have any information on this either, but it's worth a shot. Ask if they have any information when we might be able to see this device in the US. Even ballpark figures will do. I need something to keep me away from the Samsung i730.
Also, if it is a working device, I'd be interested to know how it performs as a phone (without headset/speakerphone) in both the open and closed screen position. (i.e. are the speaker and microphone positioned to work well in both configurations?). Check out the memory configuration as well, see how much ROM is left for storage.
One more thing...WM5 seems to lend itself to easier one handed usage. I'm not sure it will be possible with the Universal, but I'd be interested in your interpretation.
It sounds like a great opportunity, have fun!
Shawn
1)
Will there be a HotFix system for the WM2005, or is there any plans for it.
2)
Will M$ Relase Rom, Radio etc. upgrades/Fixes directly in the future for WM 2005.
3)
What is M$ doing about the fact that installed programs can make the device general unstable. Are you looking into this problem and plan to solve this issue.
I'm no programmer and don't know why this happends, but i guess it the same story as Windows for desktops in earlier years?
Good luck fella.
Ask them when they are finally going to solve the microphone support issues with the phone application, why the same mic works perfectly well with speakerphone, voice recorder ect but is far too low on phone.
Maybe they could add a volume slider for the Mic in the phone app (and here's another tip, if they do, they current level should be the bottom setting!!)
Take the invisible Rom-Grabber with you and ask for a Blue Angel with WM 5.0...
USB Host
Can you find out if they have any plans to include USB host drivers so that we can use our windows mobile devices with portable hard drives. The form factor of the Universal can only be justified (by me) if I can get rid of my pc on many trips. To do that, I need access to files on my portable hard drive. Would be nice if they supported this functionality.
Ray
USB Host
Can you find out if they have any plans to include USB host drivers so that we can use our windows mobile devices with portable hard drives. The form factor of the Universal can only be justified (by me) if I can get rid of my pc on many trips. To do that, I need access to files on my portable hard drive. Would be nice if they supported this functionality.
Ray
did the meeting happen?
hi friends,
did someone actually meet ms people!
:twisted: :shock: :idea:
it's not software which limit devices from being masters and using external harddisks or the like
It's all gone very quiet, surely the rumours about the Redmond mafia's business dealings can't be true ...... can they?
Maybe we should have just suggested questions like "Is it true Bill Gates gives lots of money to charity?", or maybe "Tell me more about Microsoft's work in the third world". Poor old Jayman!
Rudegar said:
it's not software which limit devices from being masters and using external harddisks or the like
Click to expand...
Click to collapse
Oh, yes it is software: they're called 'drivers', because the programs 'steer' the data to the correct controlling program.
The Universal has a USB port, so it should have a driver on it somewhere. The question would be, is the divice loaded with a driver to allow it to 'master' other devices, or is it just the syncing point?
Maybe he meant it's more likely to be HTC that can answer that question?
Of far more importance to me is does the device have a suitable method of connecting to an LCD projector? IMHO, this is the absolute killer app for a "laptop replacement" & it's pretty much the only thing I miss from the Xda II.
its more likely that ms and htc is the same, if you know what i mean. and its very likely that there is no company called htc in reallity. maybe a post box hanging in taiwan is called htc and a website hosted (???) in taiwan. but noone is working for a company called htc. i can assure you in that point. and even if there is a hand full of people claiming them selfe working for a company called htc - they are not located in taiwan. need more info about that? go to china and find out yourself, best to start your research is at a company called dopod!
cheers, lutz
lutzh said:
its more likely that ms and htc is the same, if you know what i mean. and its very likely that there is no company called htc in reallity. maybe a post box hanging in taiwan is called htc and a website hosted (???) in taiwan. but noone is working for a company called htc. i can assure you in that point. and even if there is a hand full of people claiming them selfe working for a company called htc - they are not located in taiwan. need more info about that? go to china and find out yourself, best to start your research is at a company called dopod!
cheers, lutz
Click to expand...
Click to collapse
Please tell me more about this, lutz. I don't have the means to go to China and research it, but I always like to hear a good conspiracy theory.
Oh, yes it is software: they're called 'drivers', because the programs 'steer' the data to the correct controlling program.
The Universal has a USB port, so it should have a driver on it somewhere. The question would be, is the divice loaded with a driver to allow it to 'master' other devices, or is it just the syncing point?
Click to expand...
Click to collapse
if you found a way to make a usb peripheral a master using software
then contact www.usb.org i'm sure they will be impressed
the universal if it have usb support contain a usb chip which can act as master
much like my gf's old acer pda which also have such a chip
htc would have gotten a better usb interface had they used the usb interface from the ati chip insted of the nativ xcale usb interface
Please tell them
F*******************KING SOLVE BLUETOOTH PROBLEMS, AT LEAST MAKE IT WORKING PROPERLY...........
regards
Gugi
-- sorry for swearing but ......
@gugi_sat: The meeting is over!
It happened on the 11th..

Ubuntu development

okay. since Android got it self a forum, i thougt we need a Ubuntu thread. I have no idea if this post belong here, but i belive it needs to be somewhere. I love to have a full Ubuntu running with WiFi at least. The Andriod and Ubuntu thread is overwhelmd with Andriod dev so here i go. If the Ubuntu developers for HD2 want to setup a thread of there own i would love it
Also read the first sticky Linux post for current info and files . Im not a developer just a user hoping for further development on Ubuntu, and i hope im not alone out there
My story so far:
I have used Ubunto now for a while with a USB hub with a mouse, keyboard, soundcard and external power. So far i found Ubunto to be a bit unstable. Feels like its easy to make it drop out. I have ended up with no startmeny and no computer icons, leaving me with just desktop pic and i have to press power/hangupp button to shut it down.
Also playing music in included music player is a bit shaky, sometime i dont get audio and need to change a couple of tracks to get it to play again.
BTW anybody have a password problem? If i want to change time as a example,i need to type a password and its not accepting "ubuntu"?
Also, anybody have managed to get landscape somehow? Would also be nice to get WiFi up and running, so if a dev has any ideas on possible updates on progress would be nice. I have no mobile usb dongle so i havent been able to try that.
So how your experience so far? Type away and lets at least share what we know.
Best regards from me.
ROM, latest NRG cookie dilink glass edition
Radio, 2,12,50
only ubuntu download link i found
gamesquare.co.uk/ubuntuh.html
wow, talkabout being the only one wanting Ubuntu on my HD2. Sorry, wont ask again.
I would definitely be interested in running Ubuntu on my HD2 - it is the OS of choice for my desktop. Is there any bluetooth support at present? I have a BT keyboard / mousepad combo and that would make it very useable for me.
ok but if i don't have a keyboard for my phone and i want to use ubuntu .. i reallt can't use it ? is there any virtual keyboard ..?
Bluetooth and WiFi is currently not working, also no sound.
BUT there is built in usb support. I went to rhe cheepest electronic store and bougt a USB HUB that has its own power adaptor, also som USB cables and adaptors.
A regular pc keyboard, mouse, mobile internet dongle etc. Everything being USB can be used. And i also found in a drawer of mine a usb stick soundcard. So basicly as it is now, all works with some cheep usb tec, but as stated, i have no mobile internet so dont know if it works.I did get to borrow a dongle for like 5min and it found the internet supplyer etc so should work i guess.
Now i realise for some that they might go banana because they cant use Ubuntu without USB gadgets. But thats one reason to try to get the developers attention. If you get to connect some usb stuff(mouse being the least, no k-board if you want to just try it out, i belive you will get hooked on the idea and trying out stuff of your own. I find it fun connecting all old USB stuff i have lying around.
Next step is to add my 1TB usb drive, maybe get to watch some movies.
So, its Ubunto is its birth at least crawling. But with the full attention on Andriod it seems Ubuntu is getting forgotten, hence this thread, so they notice us, and while we wait, try it and report here in lack of space, only wish this could be a sticky or a seperat dev Ubuntu thread because, were drowning in the Android happiness going on.
I will keep testing its 0,1 beta further to se what makes it tick. But im no developer, just a concernd fan, but im having fun, so i report my findings, fun to be in the edge, or birth of something so comon, bring out the dea...ops, i mean bring out your USB gadgets and play, who knows, you might have fun as i.
..oh, sorry for missing one reply here. Found no virtual keyboard so far, this password thing is my biggest concern atm, its like admin rights i need.
Some touch screen implementation is in there, so you can use your fingers to move around and dubble tapp opens SOME stuff and menys. Not very presise but it works if your patient.
Heres a list of USB gadgets im using atm.
HUB: Plexgear, 4 usb ports + 1 data port (its where you plugin you HD2) + power adaptor (Incl in the package)
Mouse: A old Microsoft 2.0 wired mouse and a reaaally sheep wirless mouse, just tried if wireless mouse would work, and i can confirm it does.
Keyboard: A mini keyboard named Zippy with built in blue lights, got to type in style =)
Sound: A no name usb stick not much larger then the usb reciver for a wirless mouse. All it says on the stick is " USB Audio Controller. I belive i heard somthing they going for the amout of 17$ or somthing.
Harddrive: Tryed my 1TB drive, maybe its to large to get recognized or something, but i cant find it atm.
BTW Anybody have a small USB HD lying around they could test?
Nakazul said:
okay. since Android got it self a forum, i thougt we need a Ubuntu thread. I have no idea if this post belong here, but i belive it needs to be somewhere.
Click to expand...
Click to collapse
'HD2 Android Development' naming is erroneous for that reason. I vote we rename the forum Linux and Android development.
-Most elementary progress is seated in the kernel - which has nothing to do with android in the first place. The kernel is Linux and not android.
-Android is not the only userland usable. As seen here there is ubuntu and other stuff.
edit: Find a thread discussing this issue here: http://forum.xda-developers.com/showthread.php?t=654560
I can fix you ubuntu 0.2 with wifi and all kinds of stuff soon.
Nakazul said:
wow, talkabout being the only one wanting Ubuntu on my HD2. Sorry, wont ask again.
Click to expand...
Click to collapse
cant wait to boot up ubuntu on my hd2. But still cant even boot up with v0.1.
dcordes, ur great man! love how the team actually progresses to achieve the current state.
just would like to ask issit possible, technically, to tap on gprs while running ubuntu? Was thinking bout it but not technically sure.
wangiles said:
dcordes, ur great man! love how the team actually progresses to achieve the current state.
just would like to ask issit possible, technically, to tap on gprs while running ubuntu? Was thinking bout it but not technically sure.
Click to expand...
Click to collapse
you're welcome. yes that's possible I'm working on it as we speak.
speedwie said:
cant wait to boot up ubuntu on my hd2. But still cant even boot up with v0.1.
Click to expand...
Click to collapse
Hmm, thats bad. I read the read me file and it booted up nicly. Are you using stock rom or somthing? What happent for you?
What i did was basicly just extract the folder "Ubuntu and copied it to storage card so the Ubuntu folder was in the root of the SD. First try i had no hub or mouse or anything connected just to se if it worked.
Im using latest NRG rom from 24th, cookie Dinik version with 2.12.50 radio, i have 575MB activated.
dcordes said:
I can fix you ubuntu 0.2 with wifi and all kinds of stuff soon.
Click to expand...
Click to collapse
woooo, lovly, cant wait to try it out.
linux distro
wich linux distro would it be better for android?
i would say the ubuntu netbook remix
but thats only me...
i can't wait to use it, the kernel its almost done anyway (android), also wouldn't it be possible to swap between the 2 of them? (android and linux) i know you can with a piece of software change between gnome and kde or other in ubuntu, i already used it.
cheers
linux
in android you just can't keep up with the thread, speak of linux and nobody cares, ndo they know what we are on about?
i don't think so...
I've been using Ubuntu linux as the only OS on my laptop I use for everything (school, work, personal stuff) for about a year now. I absolutely love it, and if it weren't for games and some work stuff, I would also switch to Ubuntu with my desktop. One thing that did give me a lot of headaches on my laptop was my phone though: I've had lots of trouble with the combination of my HD2 and ubuntu/linux (obviously, since M$ does not support linux at all).
But still, I don't really feel the need to have ubuntu on my phone. I'm happy with android because that is supported well by my ubuntu laptop, but I don't see how an OS that has been made for screens of 7" or bigger (taking into account the netbook edition, otherwise I'd say 12") and input by mouse/keyboard can be really useful on a 4" mobile phone.
If you want a debian-based distro that is useful on your phone I'd look at Maemo/Meego: these distro's are more open and desktop-like than android but have been made for usage on a phone (touch)screen. I just have no idea how much work it would be to port one of these OSes.
I respect that people want to tinker around with ubuntu and try to get it to work, but personally I think it is best to have as many as possible developers working on Android itself rather than not-so-useful side projects...
ah well, just my two cents
port linux
to port ubuntu or any other distro to a mobile all you need is the kernel, for htc hd2 its almost ready, on top of the kernel you can put whichever linux u want, maemo android linux whatever u want.
I know that, I was talking about the portability of the OS itself... the software on the OS has to communicate with the right drivers and stuff. Since android runs on HTC devices with similar software, a lot of stuff can be copied. Maemo normally runs on a Nokia device, Ubuntu is mainly developed for x86/x64 hardware, that's why I think they're more of a job to port.
yeah should be quite a challenge but i believe that is what drives this guys, anyway ubuntu is already running on hd2 my concerns are actually the distro to be used that makes it usable, i mean if i have to carry a keyboard and mouse to make it work its not very practical. i rather have a choice to use it or not, regarding the os communicating with the drivers it should be quite straight forward since ubuntu is pretty much plug and play at the moment, it will detect your hardware (drivers).

[Q][Jan 20] Phone to Document Camera & Reverse Tethering

Dear HD2 Gods of XDA,
Hello! For the tl;dr version just check out the bold.
I have two questions/goals in this post. I teach high school science and I was looking for a way to avoid spending >$500 on a document camera for my classroom. I'm on T-Mobile USA and I currently have Android NAND on my HD2.
I'm looking for a way to turn my cell phone's camera into a document camera. Essentially I want to take the real time image (sound is not needed) and feed it to my projector in my classroom. I don't need to actually save the video footage, just have it appear of the screen. Do you know of any apps for Android that can accomplish this? I saw some for WM - but I finally removed WM from my phone...will I have to go back? Thoughts? Options? Opinions?
Secondly, I want to reverse tether option for my phone. My classroom is buried and I often get no signal all day at work. Right now I turn on airplane mode to conserve battery and just disconnect from the world until 3pm. I'd like to be able to atleast plug my phone into a USB port and get some data on the phone. As a teacher I can't really be on FB at work, but still being connected on my HD2 would be nice. Maybe then I'd actually buy a dock for the thing. I saw some older posts about setting up an adhoc network with android but I'm fairly inexperienced - if there's a setting or app now that can do this I think that would be easier. Again, I am sure this is possible, but I just want your opinions about how to BEST accomplish this.
Now...the complicating factors...the mismatching hardware across the board.
My HD2 Running Android
My Laptop: M11xR2 (only has DP, HDMI and USB ports) running Windows 7
Dell Projector: S-Video and VGA ports currently connected to...
Dell POS School Tower: Has the VGA connected to the projector. Runs Win XP and I'd need my tech guys to do any software installations on due to administrator lockdown on the computers at work.
What other details would be helpful? What do you think the best approach is? I'm open to flashing the phone back if it's needed.

DVB-T USB Possibility

Hi guys. I was wondering today about possibility to have DVB-T on HTC HD2 running on Android.
I am not going to ask if it is possible now because I know that there is some possibility that it might work.
Rather I want to make a new thread about this.
From what I know already there is possibility to have USB Host on Android HTC HD2.
The only problem is Drivers for DVB-T.
I have read on the xda forum for HTC Athena that they made it to work not fully functional but at least it worked.
Android is based on linux so if we have linux drivers it might be possible to have DVB-T Stick working on HTC HD2 with proper application to watch TV.
I know that there are already other ways of watching TV using DVB-T Stick connected to PC and have a running stream server to stream video from DVB-T on PC.
If anyone interesting and willing to help to make this work just please stick with this thread, post everything usefull for this.
I dont want anyone to develop this possibility just because I want it. In fact I want it to make it clear if it is possible or not. Lots of users would appreciate new feature on this phone to make it even bigger beast phone and now its just about to find out if it is possible or not. If its not thats not the end of the world .
Remember everybody here is doing such a things in free time.

Question [Question] Android as Host Controller

Hey All,
5+ years experience 3D printing.
Some rooting / ROM android experience.
Okay so first of all I am going to explain the situation then ask the question.
Raspberry Pi and other SBCs are hard to come by or very expensive as of currently posting.
I have serveral RPi that I use, one being an 8gb RPi4 that runs Fluidd/Klipper for three of my printers.
Due to this RPi shortage I have looked into alternatives that are low powered ARM systems. I have considered cheap android TVs that I could run armbian on.
I have a friend that wants to run klipper on his printer but he doesn't have a RPi.
He has a spare android phone he is willing to use it as the host controller.
To investigate, I installed Octo4a on a spare phone (ZTE ZMax Pro MetroPCS). I installed klipper with a script through bash and installed the octoklipper plugin.
-Could not connect it to a printer / unsure if the klipper version on the MCU was the same as the one on the android.
-Getting tons of printer.cfg errors.
According to Octo4a you cannot flash the klipper firmware to the MCU via the android phone, thus another host must flash that firmware to the board.
I understand for long term use one would need a y-splitter OTG cable.
Even more long term to have a 3.7V source to replace the battery...
After doing some more research I found a korean guy on youtube running klipper on android via a rooted phone and a custom ROM and kernel.
After even more thought I was considering running a docker container on the android. Fluidd has an official docker container for fluidd/moonraker/klipper.
TL;DR
I am trying to run klipper on android so I can help my friend run klipper on android for his 3d printer.
Can anyone with experience help me?
Should I root the phone and try using termux and run alpine linux?
Should I learn docker and try to go that route?
Should I suggest a low cost android tv box and run armbian on it?
Is this a little too much to ask / complicated request ?
Can anyone point me in the right direction ?
I really feel like this is doable but I can't quite figure it out due to lack of experience with android development and docker.
Thank you to anyone who helps.
Mr. Pewpy But-Whole said:
Hey All,
5+ years experience 3D printing.
Some rooting / ROM android experience.
Okay so first of all I am going to explain the situation then ask the question.
Raspberry Pi and other SBCs are hard to come by or very expensive as of currently posting.
I have serveral RPi that I use, one being an 8gb RPi4 that runs Fluidd/Klipper for three of my printers.
Due to this RPi shortage I have looked into alternatives that are low powered ARM systems. I have considered cheap android TVs that I could run armbian on.
I have a friend that wants to run klipper on his printer but he doesn't have a RPi.
He has a spare android phone he is willing to use it as the host controller.
To investigate, I installed Octo4a on a spare phone (ZTE ZMax Pro MetroPCS). I installed klipper with a script through bash and installed the octoklipper plugin.
-Could not connect it to a printer / unsure if the klipper version on the MCU was the same as the one on the android.
-Getting tons of printer.cfg errors.
According to Octo4a you cannot flash the klipper firmware to the MCU via the android phone, thus another host must flash that firmware to the board.
I understand for long term use one would need a y-splitter OTG cable.
Even more long term to have a 3.7V source to replace the battery...
After doing some more research I found a korean guy on youtube running klipper on android via a rooted phone and a custom ROM and kernel.
After even more thought I was considering running a docker container on the android. Fluidd has an official docker container for fluidd/moonraker/klipper.
TL;DR
I am trying to run klipper on android so I can help my friend run klipper on android for his 3d printer.
Can anyone with experience help me?
Should I root the phone and try using termux and run alpine linux?
Should I learn docker and try to go that route?
Should I suggest a low cost android tv box and run armbian on it?
Is this a little too much to ask / complicated request ?
Can anyone point me in the right direction ?
I really feel like this is doable but I can't quite figure it out due to lack of experience with android development and docker.
Thank you to anyone who helps.
Click to expand...
Click to collapse
From my experience using octo4a on Android: you need good hardware, not any old phone, otherwise it's slow. And also without root running scripts can be cumbersome of if you don't have access to the system like on RPi...
take her home Mimi
thank you all man I'm going to leave okay I got I got everything

Categories

Resources