App dev - Samsung Galaxy Nexus

I like to automatize almost everything around me, but by self technology, turn on/off lights, stereos, curtains, home security system (home made) well almost everything that works with electricity, but not only that i do it with a microcontroler board based on dspics and bluetooth modems i designed and developed myself
Until now I use my own software visual. Net based and my own UI, and if I want to access and control the mainboard to modify any settings i got to connect to my comp via wifi/internet but i want something more cool, so i was looking forward to develop android apps that i could manage my dsp main board directly vía bluetooth, I installed sdk a. D all the android stuff following android developer official Google site, but i can not even make the thing run the Hello world program, they skip/asume pro java developers and im new to it.. Does any of you could give me a noob /starter guide.. For android apps dev
Sent from my Galaxy Nexus using xda premium

You should check out this.

When ever u build this I would love to get a copy of it sounds interesting
for me, by me and I love you

You just have search tutorials on Google. That helped me get over the hump.

Haha ok no problems i plan to put all my apps for free in the Play store and sell the hardware for controling everything vía bluetooth with your phone xD
Sent from my Galaxy Nexus using xda premium

Related

Can we install a Linux Distro on it ??

Just a question.. if we can do that ... all we have to do it connect a keyboard and a mouse via Bluetooth and we will have here a tablet or something..
no ??
We probably would be able to, but you'd have to do a bit of hacking if you wanted it to run.
Sent From The Best Phone of 2011
Am I the only one interested in having this??
I mean its cool .. no??
having a complete computer and a cell at the same time... idk...
Sent from my SGH-T989 using XDA App
Isn't that what we have in Android?
Sent from my SGH-T989 using Tapatalk
Yeah I for one would like to run something like Ubuntu with a GUI that we can connect a bluetooth keyboard and mouse to.
Our physical screen size plus a little higher "resolution" through lowering DPI would be perfect.
Having an actual computer phone would be dope!
I think so.. that would be awesome ...
Sent from my SGH-T989 using XDA App
christeeezy said:
Yeah I for one would like to run something like Ubuntu with a GUI that we can connect a bluetooth keyboard and mouse to.
Our physical screen size plus a little higher "resolution" through lowering DPI would be perfect.
Having an actual computer phone would be dope!
Click to expand...
Click to collapse
One can increase resolution nicely with LCD Density Modder application, and I suppose others as well. The Bluetooth keyboard is a nice idea: has anyone tried it?
I have a BT keyboard I got from Amazon that I use with my phone sometimes. It's supposed to be for a Galaxy Tab but it works great.
I'd like to have an Android/Ubuntu dual-boot system, that's be rad.
I'm thinking it will eat the battery, plus ur gunna have to use vnc anyway which will ruin the experience?
-- i know its localhost
if that's a possibility, how can we add the cell applications to ubuntu though??
I remember doing it on my HTC G1 back in the day. It was actually VNC viewer but it was a full blown Linux that run and operated on the phone. Can't remember which distro it was. It had a lot of steps to get to work if I remember correctly.
I wouldn't be surprised if the method today was just a few steps and/or zip. I'm sure if you Google something, the methods should apply to our phone as well. I'd be nice if we could dual boot.
It was Debian.
http://www.youtube.com/watch?v=f8yBHbwuKSU For the G1
This might help you in your quest.
http://www.youtube.com/watch?v=xN4c61ETCWg
In all honesty we barely have any devs (mostly just modders), so to be able to port something of this magnitude of our phone is probably not going to happen for a long time if ever
I'll try to do this today, but im not sure if our kernels supports loop devices.
I had chrooted ubuntu working, although it messed with my efs partition :-\ the idea is to get the subsystem up and running, then vnc into it from the android side. Its still a "local" installation but no working x11
Sent from my SGH-T989 using xda premium
how do we even start the installation ??
we copy it to the card .. and make the installation from it ??
and .. in both ways .. if it works .. or if it doesn't.. we just odin back ??
They had Ubuntu distros for the HD2, so it IS possible. Keeping my fingers crossed.
... Am I the only one interested in this ??
I mean .. where do we start from ??
We take that distro for HD2 and use it on our cell ??
The HD2 distro won't work on our phones, I was just giving that as an example that this CAN be done.
There will be more devs popping up, I'm sure of that. This phone has only been out for a few months, just be patient.
Help!
I think these links may be of help to those wanting to run Linux!
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
http://android.galoula.com/en/LinuxInstall/
Alaways been currious of this myself but dont see what the added functionality would be on a device like the gs2, now a distro on something like a prime makes me drool
Sent from my SGH-T989 using xda premium

[Q] VPN problems with RT

When I connect my vpn, wi-fi changes to limited and probably because of that, some macro apps say I am not connected (like hulu or abc for example) but netflix works and also I can download apps from the store.
Does anyone know how to solve this limitation ?
Sent from my GT-I9300 using xda app-developers app
Might be a split tunneling issue...
Do you lose access to web/WAN based resources from a x86 based laptop too when using the same vpn profile?
If so you might need to speak to whoever set the vpn up on the firewall device.
The same problem is in the "full" version of Windows 8.
Until MS will present patch for this (Windows Update) there is no solution to the problem.
Hopefully we will not have to wait long for it...
For now all I can advise is patience
galtom said:
The same problem is in the "full" version of Windows 8.
Until MS will present patch for this (Windows Update) there is no solution to the problem.
Hopefully we will not have to wait long for it...
For now all I can advise is patience
Click to expand...
Click to collapse
I had a bad idea to update my notebook from 7 to 8 and noticed that...same problems with macro like hulu etc...so only possible run on desktop mode (just lazy to go back to 7 since 8 is not useful)...but I on the tablet I still like some things
Sent from my GT-I9300 using xda app-developers app
aalvico said:
I had a bad idea to update my notebook from 7 to 8 and noticed that...same problems with macro like hulu etc...so only possible run on desktop mode (just lazy to go back to 7 since 8 is not useful)...but I on the tablet I still like some things
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
Be happy that everything works in desktop mode - it would be truly tragic if in desktop mode Chrome would have the same problem.
I am wondering if they will do something about about browser abilities.
For example HBO Go - it needs Silverlight to work. This means that the only way to watch anything is to run browser in desktop mode.
Since so many stuff is not working in Moder UI, apps in most cases are quite useless - I have to admit that Netflix app is AWESOME! - what was the point for Modern UI in first place?
If Ms truly wants to make it work (like it did with Windows itself in the past) it needs to open Modern UI - just set very clear requirements for developers in order to avoid fragmentation in future.

[Q] [APP] TakeControl -> Remote Control Your Android Phone

For any office jockey types like myself that use a desk dock, I highly recommend checking this app out --> https://play.google.com/store/apps/details?id=com.droidcontrol.takecontrol&hl=en
Developer Website -->http://droidcontrol.com/
In essence, your Note 2 just becomes another screen that you can slide your cursor over to and interact with the phone.
I'm in no way affiliated with the app or developer but I posted here because the developer seems to have abandoned the project and I'm hoping for some suggestions/alternatives from XDA.
I was using RootBox on my Note 2 and both the app and ROM worked beautifully... used it over the course of a week and fell in love with both of them.
Long story short, I badly needed (two-way) call recording which I simply couldn't get working on RootBox despite trying Xposed framework, system files, apps etc. so I reverted to Alliance 4.1.2 which is a compromise relative to RootBox BUT call recording is crystal clear...
So what's the problem?
TakeControl no longer works nicely on the TW ROM (only works in the upper 720px region as per the image below) and the developer doesn't seem to be responding... :crying:
And what am I asking?
1. Can anyone suggest a reason why this might be the case and if there's a workaround?:fingers-crossed:​2. If not, does anyone know of a similar app that works? And I'm not talking something like SnapPea and variants​
Windza said:
For any office jockey types like myself that use a desk dock, I highly recommend checking this app out --> https://play.google.com/store/apps/details?id=com.droidcontrol.takecontrol&hl=en
Developer Website -->http://droidcontrol.com/
In essence, your Note 2 just becomes another screen that you can slide your cursor over to and interact with the phone.
I'm in no way affiliated with the app or developer but I posted here because the developer seems to have abandoned the project and I'm hoping for some suggestions/alternatives from XDA.
I was using RootBox on my Note 2 and both the app and ROM worked beautifully... used it over the course of a week and fell in love with both of them.
Long story short, I badly needed (two-way) call recording which I simply couldn't get working on RootBox despite trying Xposed framework, system files, apps etc. so I reverted to Alliance 4.1.2 which is a compromise relative to RootBox BUT call recording is crystal clear...
So what's the problem?
TakeControl no longer works nicely on the TW ROM (only works in the upper 720px region as per the image below) and the developer doesn't seem to be responding... :crying:
And what am I asking?
1. Can anyone suggest a reason why this might be the case and if there's a workaround?:fingers-crossed:​2. If not, does anyone know of a similar app that works? And I'm not talking something like SnapPea and variants​
Click to expand...
Click to collapse
For remote controlling my phone, I use teamviewer. Samsung has a partnership with TeamViewer to allow you to remote any Samsung phone using either your own phone or the pc version on TeamViewer.
Install this on your phone - TeamViewer QS
and install the PC piece - TeamViewer PC
It works pretty good to controlling your own phone and if your parents need remote help with theirs.
el_chiefo said:
It works pretty good to controlling your own phone and if your parents need remote help with theirs.
Click to expand...
Click to collapse
I'm going to have to give this a try.
Sent from my SAMSUNG-SGH-I317 using Tapatalk 4

The Ever Elusive "Miracast" Feature

Okay let's see if we can clear this up, cause I've seen many different unanswered posts on this subject, and my brains about to turn to goo
Alright, Google announced that Miracast (screen mirroring for display on a compatible smart TV) would be included in version 4.2 . Obviously, this feature would only apply to devices that already contain the necessary internal hardware (such as Samsung devices that come stock with AllShare Cast (not AllShare Play which is just a WiFi-Direct/dlna push app))
With dlna/WiFi-direct you can, with the press of one button, send almost any picture, movie, or sound file to a smart device. Which always works for me.
With Miracast (also known as Wireless-Display) you can show your whole device screen on your TV so you can do whatever you want on your phone, but show it on your TV at the same time.
So why is this feature not only NOT included in most ROMs, but the stock feature itself has been stripped from the ROMs as well??
How do I get it?
My brain is so close to exploding I can feel the cold hand of Death on my shoulder
Sent from my SAMSUNG-SGH-I317 using XDA Premium 4 mobile app
Well this is just sad
120 views and nada
Does anybody use screen mirroring? Or am I asking about a feature that the only one interested in it is me
Sent from my SAMSUNG-SGH-I317 using XDA Premium 4 mobile app
I use it to mirror my phone on my appradio 2 in my car. I asked this question long ago in a thread which u replied to. It looks like we are the only 2 who care
Sent from my SAMSUNG-SGH-I317 using Tapatalk
My opinion is pure speculation.
I would imagine that since our device has not had an official release above 4.1.2, Miracast is probably something that is low on any dev's priority list (as was HDMI out for a long time for AOSP etc... hell I don't even know if it has been fixed).
I would imagine that it would be pretty hard to build or cook into a ROM for our device since we do not have the official drop (yet) and on top of that, it would be pretty hard to test since it seems only two/three members of these Note II threads are wondering about it (although it would be a neat feature). IMHO anything that I would share with my TV would be photos and videos; both are easily accessed through my DLNA device (PS3) over WLAN.
Also, there is the external hardware needed for Miracast to work and I can imagine a lot of us do not have said device (Push2TV or a Miracast certified HDTV) and so to test it, a dev would have to go out and grab it or count on the community to have it for testing... I think a lot of that energy and time would probably be best put towards stability and solving more "popular" issues.
Again, pure speculation.
It would be a neat feature but after all of the reviews I've seen on it, there needs to be a lot of work done to smooth it out in the first place.
Damn shame too... AppleTV's got this feature down very well...
You guys want to take a look into the Chromecast threads.
I'll just say this I have All Cast working again on my device no problem:thumbup:
I DO understand we'll like the mirroring thing to work but maybe it'll take sometime to get it functioning correctly.
But you can take a look HERE:
http://forum.xda-developers.com/showthread.php?p=47210944
Sent from my SAMSUNG-SGH-I317 using Tapatalk

[Q] Ubuntu on Galaxy Tab 3 7.0

Hello, I wonder if any developer has a project on ubuntu for the Galaxy Tab 7.0 3 (SM-T210), I'd love to try the ubuntu on my tablet, some developer? (Bad english = I'm Brazilian)
I've researched a lot about it. but the results did not reach.
K3VYNC said:
Hello, I wonder if any developer has a project on ubuntu for the Galaxy Tab 7.0 3 (SM-T210), I'd love to try the ubuntu on my tablet, some developer? (Bad english = I'm Brazilian )
Click to expand...
Click to collapse
You could download Linux deploy from google app store.
halifax0 said:
You could download Linux deploy from google app store.
Click to expand...
Click to collapse
I want to install native Ubuntu, without VNC connection D:
I know that there are several different Samba apps on playstore that my work for you.?
-sr
Sent from my SM-T310
samalama76 said:
I know that there are several different Samba apps on playstore that my work for you.?
-sr
Sent from my SM-T310
Click to expand...
Click to collapse
I was thinking something like download an ARM version of Linux to install / flash on my tablet..
Is there any way?
*** NATIVE, NO VNC ***
(Note: I'm using Ubuntu (GNOME) 13.10 on my desktop)
K3VYNC said:
I was thinking something like download an ARM version of Linux to install / flash on my tablet..
Is there any way?
*** NATIVE, NO VNC ***
(Note: I'm using Ubuntu (GNOME) 13.10 on my desktop)
Click to expand...
Click to collapse
I am just throwing this out here because I'm not sure if its what you want exactly, but it may help.
The webpage is whiteboard.ping.se/Android/Debian
Check it out, hope it helps. It may give some ideas if nothing else, and if it doesn't help, sorry in advance.
-sr
Sent from my SM-T310
Oh, thanks bro!!
Sent from my SM-T210 using xda app-developers app
Holy crap, that was my first topic ever created lol.
Sent from my XT1033 using XDA Free mobile app
Well.... did it work?
Sent from my SM-N9005 using XDA Free mobile app
Lol, everyone learns things there own way. you would be surprised at the amount of work involved to get a fully functional NATIVE port going. my first took me almost a year on Allwinner Hardware, second 2 went pretty smooth and still took 6 months. the biggest issue you have with a device like a Galaxy is drivers, and UART access to catch were your kernels are crashing (and trust me they will) but you can kinda work around that by having your init scripts dump the log to SD(assuming it is working).
As for drivers? Wifi is fairly simple to get going, its usually just configuration changes. Touchpanel drivers need to be heavily modified to remove muli-touch(not completely..read on) as Xorg and linux in general does not play nice with multi-touch. you CAN use multi-touch to emulate scrolling (ex:2 fingers enables scrolling) and right click events, really it is completely possible to use the full chips capabilities you just need to code the events properly in the source. bluetooth I have not bothered to use but I see no issue with it. GPU!!!!! god I hate the GPU mess. that is the biggest hurdle. I got lucky on my tablets as I was able to port X11 Mali drivers from rockchip over to Allwinner and AMlogic. I use my first Allwinner Tablet daily paired with a cheap mini-keyboard,touchpanel from DX.com. Its not easy, by any means but its a challenge(for me an addiction) and once you get it running on the NAND and power up watching your system log on the LCD...it just gives you that feeling of satisfaction. I am currently in the preliminary stages right now for the Tab 7 working around the OTG issues but there is hope! yes the PMIC chosen by samsung sucks and is partly responsible for our OTG problems( the powering portion anyway since it can only output enough to run low amp devices until I can find the LDO registers for the Boost regulator) but I will not stop until I get it done. KNOX is a major issue at this time as usual but won't be in the long run. It is tough probing the devices registers using i2c-tools so I bailed on that one and ported a tool I used for another platform which Is working out nicely to get valuable data from the chips via a kernel module/userland combo.
I try to keep everyone updated but when there is nothing substantial to report you will hear from me when their is. Ubuntu will run one way or another.

Categories

Resources