[Q] T-Mobile IPv6 and android-clat? - Nexus 4 Q&A, Help & Troubleshooting

Is anyone planning on incorporating android-clat ( dan.drown.org/android/clat/ possibly with more info at sites.google.com/site/tmoipv6/464xlat ) into a ROM for the Nexus 4? The T-Mobile IPv6 APN, while working for most things, has a few too many bugs for everyday use without the ability to parse IPv4 literal addresses.
On a related note, I've been a long time lurker here and it's helped me to understand unix based operating systems tremendously, but my only programming experience was C++ 11 years ago in high school. Can anyone suggest a good primer for becoming familiar with android building and compiling? I don't think I'll be able to get up to speed quickly enough to implement clat myself but perhaps I could be more helpful down the road. Much of the terminology with open source software is completely foreign to me; for instance, I see that android-clat has been merged into AOSP as of 11/12, but I'm not quite sure what that means with regards to having it functional in ROMs, for instance... all I know is that stock 4.2.1 and the beta CM10 doesn't have it as I'm still running into the same IPv6 problems.
Thanks!
FF

Related

Android Rom development (fixing video camera, etc.)

First of all, lots of respect to the devs for all the work they have done so far. The last few weeks we've gone from almost nothing to one of the most complete android ports of all windows devices.
Now for the topic: I'm a (beginning) software developer and after a lot of development on the .net framework I started learning java last year, at university.
I was wondering what parts of android are actually written in java. I know that the linux kernel and stuff is written in low-level languages like C(++) or even assembler. On top of that, Android runs a java virtual machine (called drupal if I remember correctly).
Does the built-in software, like for example the standard camera software, run in java, or has it been written in low-level languages to improve speed? If it has been written in Java, can we actually edit that code from the roms that are commonly used?
If so, I think there are a lot of people that could look at stuff like fixing the video camera (by changing the button layout in that mode for example) and other small bugs that occur on higher software levels. I think there are a lot of people that know nothing about kernel development but do know stuff about java (or similar OO-languages like C#) that could help out with stuff like this.
Am I on to something here? Any people that can tell me more about this?
i dont relly know
up up !!
in XTarantula's ROM the Stock Video Camera works with sound.
his build is based on Android 2.1 (Eclair) update 1.
Model Number is Nexus One and is fully stock (even with Stock Launcher, no launcher pro preinstalled.)
its a great build, im just waiting for a Froyo Build with the same features.
hope this will help: http://developer.android.com/guide/topics/ui/ui-events.html

Connect Android to Enterprise Java Bean

Hi!
Im sorry if this is a dumb question but I googled some stuff about it and never found a straight YES/NO answer.
Im a student in my final year and as a semestral project I have an electronic voting system built on Java Enterprise technology with enterprise java beans (EJBs) running on Glassfish.
For my final work id like to create an app for android that could communicate with those beans on a Glassfish server and thus a people could vote by a cell phone.
My question is Is this even possible? Over the past three days ive been googling stuff concerning this matter but nothing really helped. Id really appreciate a straightforward answer because my time for choosing a final project is almost up and I dont want to end up doing something that is impossible.
Don't take it bad, but it looks like you are a student who doesn't even know what he's working with. Not that it surprises me, but I'm willing to help you.
Answer these straight questions.
1. What is an EJB?
2. Who "runs" an EJB?
3. Where does an EJB "live"?
If and when you answer these three questions you'll know what is needed for a project where "people could vote with a cellphone".
What I can tell you in the most straightforward way is that it is possible for you to have people using their android phones to vote with your Glassfish server.
Android <-> Glassfish
I am looking for the same thing - to write Android apps that communicate with session beans on an app server (i.e. Glassfish). Since I will own both ends of the app, I am looking for a simple approach (e.g. RMI) as opposed to a lot of unnecessary bru-ha-ha (e.g. why turn Java objects into SOAP, just so we can turn them back into the same Java object ... not that Android really supports SOAP).
It looks like Google, for some reason, crippled the Android's ability to communicate. About the only built-in mechanisms I've found are REST (and I don't like REST) or writing my own protocol and using servlets.
Surely, by now, someone has come up with a simple, concise, mechanism for addressing this issue ... I just can't find it.

[Q] [Request] Explination of Linux "Parts"

In advance, please excuse my own ignorance..
I've been an avid Android user since my HTC hero when it was first released, but haven't really gotten into the "meat and potatoes" of Linux...just some minor dabbling in UNIX as required in a few college classes.
I was wondering if anyone can explain exactly what the 'kernel' does, and how it's replacement can change the user experience and general functionality of a device. Down the road I'd love to be able to help the community, but I think a 'vocabulary lesson' would first be in order; amongst other things in due time.
Thanks in advance,
Chlballi
OK; this will be a bit simplified over reality, but here we go.
You've got the hardware that makes up your machine.
You've got the software you install on your machine (angry birds, whatever)
The kernel is kind of the bit in the middle that lets the two talk to each other. The kernel contains drivers that let your software interpret the touchscreen input, or talk to the graphics chip, or mount a filesystem (on your USB stick or on the internal memory).
A different kernel (or additional modules to the current kernel) will change how this operates. For example, it might allow the software to instruct your CPU to run at different frequencies than it would otherwise (overclocking/underclocking). It might support different filesystems (NTFS for example). It might have a different way of scheduling what tasks get sent to the CPU and in what order. Or it might just be better coded and have less random freezeups and so on.
I hope that helps!
EDIT: Incidentally, kernel isn't a uniquely linux term. All OS'es (that I am aware of) have a kernel of various types. Windows uses a proprietary MS kernel, Mac OS X uses a modified BSD kernel, etc etc.
You can also try here!
Very good Thanks all. I just needed a little refresher.
Chlballi

Adding Peak/Off-Peak Time Support to AOSP Email App

I am considering a project to add peak and off peak time configuration to the aosp email app. I have zero android or java coding experience and my general coding experience is limited to some pretty simple php. However, this is a feature I greatly desire, and my searching tells me others do as well.
I was wondering if anyone could tell me if it is feasible. Any advice on where to start?

nook touchndevelopmemt toolchain Qs

Hi All,
I'm a software developer, reasonably comfortable with compiling apps in Linux, though still got more to learn on inner workings of the full system.
I've been thinking about following the Linux from Scratch book for a while - and also about converting my Nook e-reader into a useful device for developing on when out im the sun.
I guess there are some significant challenges here - device trees and commercial secrets, perhaps some crypto keys used for signing update images to boot (I'm familiar with these problems, but not solutions or good workarounds).
What I'd really like is a good understanding of:
- what tool chain I need to setup
- What has been tried already and what the problems were
- any further help/datasheets that can get me going
I'd have posted this in the 'android development' area as the closest forum for what l'm trying to do, but apparently I'm not allowed until I've got my post count up - so I'm being forced to post in 'general'. If someone agrees and can move it, that would be great.
P.s. I have searched the xda site, but I'm not finding what I'm looking for. I'm sure it must be here somewhere, so any pointers/links on where it is would be appreciated.
SimonSimpson said:
Hi All,
I'm a software developer, reasonably comfortable with compiling apps in Linux, though still got more to learn on inner workings of the full system.
I've been thinking about following the Linux from Scratch book for a while - and also about converting my Nook e-reader into a useful device for developing on when out im the sun.
I guess there are some significant challenges here - device trees and commercial secrets, perhaps some crypto keys used for signing update images to boot (I'm familiar with these problems, but not solutions or good workarounds).
What I'd really like is a good understanding of:
- what tool chain I need to setup
- What has been tried already and what the problems were
- any further help/datasheets that can get me going
I'd have posted this in the 'android development' area as the closest forum for what l'm trying to do, but apparently I'm not allowed until I've got my post count up - so I'm being forced to post in 'general'. If someone agrees and can move it, that would be great.
P.s. I have searched the xda site, but I'm not finding what I'm looking for. I'm sure it must be here somewhere, so any pointers/links on where it is would be appreciated.
Click to expand...
Click to collapse
I have tried to get info on such things three times over 2 years for different devices, no one every seems to point me in the right direction, the most i have been able to find out is how to make compile cm and a little bit of how to customize roms, not to be a downer but i think the process is often so different for ever device and difficulties usually happen that the only people that build roms are people that have either have experience I n some form from their job, just edit existing source for cm(updating to a new version, customizing roms ect...) or have screwed with the stuff for years till the point that they just figured out alot of problems themselves. Wish a could find a good guide myself to atleast get the basic dependencies required for a device to boot together, if i could get something to boot the rest of the issues could be worked out with trial and error, boot noone on xda, Android authority, Reddit or cm's own forums goes into enough depth to make that possible.
Hi jaykoerner,
Thanks for your reply - good to know I'm not alone with my echo!
I've discovered some useful links if anyone wants to begin getting to grips with all this...
1. XDA Devs has a wiki (not sure how to find from the forum links...?)
http://forum.xda-developers.com/wiki/BN_Nook_Simple_Touch
2. There's a (atleast one) customized kernel (and probably a dev-tool chain) available on GitHub:
https://github.com/javifo/NST/tree/master/kernel -- including kernel compilation instructions
https://github.com/javifo/NST -- root of the repository.
3. Parallel to Raspberry Pi kernel compilation (so you may want to learn from that as it probably has more articles)
https://www.raspberrypi.org/documentation/linux/kernel/building.md
I'll post more when I next do something with the information (Still want to understand more on the android HAL)
Hope that helps someone!
SS.
SimonSimpson said:
Hi jaykoerner,
Thanks for your reply - good to know I'm not alone with my echo!
I've discovered some useful links if anyone wants to begin getting to grips with all this...
1. XDA Devs has a wiki (not sure how to find from the forum links...?)
http://forum.xda-developers.com/wiki/BN_Nook_Simple_Touch
2. There's a (atleast one) customized kernel (and probably a dev-tool chain) available on GitHub:
https://github.com/javifo/NST/tree/master/kernel -- including kernel compilation instructions
https://github.com/javifo/NST -- root of the repository.
3. Parallel to Raspberry Pi kernel compilation (so you may want to learn from that as it probably has more articles)
https://www.raspberrypi.org/documentation/linux/kernel/building.md
I'll post more when I next do something with the information (Still want to understand more on the android HAL)
Hope that helps someone!
SS.
Click to expand...
Click to collapse
My initial thought was that toolchain should match the underlay Linux kernel of Eclair (2.6.x.y) for us to be sure it could be run on NST. This info that I still have to search through is certainly helpful. Thanks!
SimonSimpson said:
I guess there are some significant challenges here - device trees and commercial secrets, perhaps some crypto keys used for signing update images to boot...
Click to expand...
Click to collapse
Neither the NST or the newer glows use device trees.
In the Glows this is all handled by the custom ntxconfig which allows simple configuration.
For building Android apps, you use the straight Android SDK, possibly also the Android NDK (for native code).
You'd also use the NDK for building command line utilities.
I've never built a kernel from scratch, but I have binary modified/patched them.
There is the simpler bit of patching system image ramdisks which can be conviently handled by my imgutil.exe in the signature.
If you want to do audio, you really are better off with the Glow4 (7.8") which actually supports it.

Categories

Resources