Firefox OS as an embedded email reader? - Firefox OS Q&A

Greetings,
At my office, we rotate after-hours email monitoring but some of the older guys are apprehensive about getting cell phones, so keeping up on-the-go can be difficult. I am wondering about buying a ZTE Open off of ebay and getting a pay/mb data plan and we can pass that around as a dedicated email reader.
Up to that point, there is nothing to worry about, but what I am thinking of playing around with is cutting the OS down to only the email app and settings. I'd like to have it boot directly to email with settings available from the pull-down menu, if possible. I mainly want to keep it simple enough for cellular-phobic people and also take away the ability to browse the web and run up my cellphone bill.
I'm not super fluent in the in's and out's of FXOS beyond the app level, but I'm interested poking around, I'm just looking to gauge the difficulty. There are cheaper android devices that I could try with as well, but I'd much rather hack around in HTML/JS than Java. That being said, I have the option of just customizing the Andriod UI to remove everything except the mail app, so if tearing down the Firefox UI would be a lot of work, I'll just do that.
I have a Flame that I can run tests on before spending any money, but I appreciate your opinions before a throw away a bunch of time that could be used on something useful.
John

That's super doable and not very difficult I think! Only with one (obvious?) condition: you must have full root access to your device. ZTE gives a rooting tool, so if you stick with the Open C (or the flame) you should be good to go. Don't choose a Kliff for example, as they are not rootable yet.
First of all, stripping all of gaia (the top layer of firefox OS, containing all the UI) has already been done by JanOS (for IoT device), so you can get inspiration from them. They reduced it to only one js file and a folder, where you can put your own js that gets executed at startup. Your use case is a bit more complex though: you still want to access settings, and be able to go back to email when needed. Basically, you need the email app to replace the homescreen right?
Creating alternate homescreen is a possibility that firefox os gives you, see https://developer.mozilla.org/en-US/Apps/Build/Manifest#role
You can try adding the role "homescreen" to the email app, flash your device, change the homescreen in the settings and see what happens!
NB: when you change the manifest of an internal apps, you might need to rehash it by downloading https://github.com/julienw/config-files/blob/master/addpref and execute
Code:
./addpref rehash-manifest
while your device is connected (and usb debugging is on).
You might need to add handler in the email for the home button to work correctly, in a similar fashion as in verticalhome (which is the name of the folder containing the homescreen app, not "homescreen").
Good luck! Don't hesitate to ping me if you need any help.
---------- Post added at 11:00 AM ---------- Previous post was at 10:46 AM ----------
Dude I just tried this and it's working like a charm. The thing that took me the most time was the configuration of the email account

Related

Asking all Owners...

Ohhh, you brave souls... haha
I was in the o2 shop this lunch having a play with their live unit (well, except it had no SIM or web connectivity. for this type of phone that's pretty limiting!)
some questions i was unable to get help with, i am hoping you have more experience of, before i consider the device further:
1. SMS display. i much prefer the look of iPhone's SMS "dual conversations" - its very clear which side of the chat is which and generally more friendly and usable. can the x10's change to this type of layout? rather than listing each reply above or below each other. found no options in the main settings area from the home screen (not sure if the context-specific settings under messaging is any different...?)
2. mac compatability. is this possible? can it sync properly with itunes? does it use a 3rd party app to do so? could this be "culled", ala blackberry/palm syncing with itunes? does the x10 appear as a mounted usb volume? (in this way, i could use applescript to manage the library - horrible, but it might work). someone with actual experience here with a mac would allay my fears, rather than commenting it might be possible (sorry if that seems abrupt in advance...)
3. other syncing needs. i guess most other aspects for sync'ing are removed/negated with an android handset - are we as users supposed to follow the "cloud computing" google-masterplan? do others sync with desktops and for what purpose?
4. browser/app zooming. the device doesnt have multi-touch (plenty covered on this, and other forums!) but, the iPhone has other methods of navigating around the browser and apps. i.e. double tapping a block of text, which i would consider a single fingered gesture. as the test unit i was playing had no web connectivity i couldnt test it out - can someone comment?
here's hoping for advantageous answers
jingo_man
1. use Handcent SMS , can make it look 100% like iPhone sms
jingo_man said:
...............
1. SMS display. i much prefer the look of iPhone's SMS "dual conversations" - its very clear which side of the chat is which and generally more friendly and usable. can the x10's change to this type of layout? rather than listing each reply above or below each other. found no options in the main settings area from the home screen (not sure if the context-specific settings under messaging is any different...?)
...............................
3. other syncing needs. i guess most other aspects for sync'ing are removed/negated with an android handset - are we as users supposed to follow the "cloud computing" google-masterplan? do others sync with desktops and for what purpose?
4. browser/app zooming. the device doesnt have multi-touch (plenty covered on this, and other forums!) but, the iPhone has other methods of navigating around the browser and apps. i.e. double tapping a block of text, which i would consider a single fingered gesture. as the test unit i was playing had no web connectivity i couldnt test it out - can someone comment?....
Click to expand...
Click to collapse
1. Well, probably the handcent sms thingy, never tried it tho.
or you could go into contacts and find the contact there. When you go there the sms messages are listed in a simmular way as on the iPhone.
You on the right hand side
and you friend on the left..
3. I have just used the Cloud sync method to be honest, haven't really bothered to do it in any other way. But there is probably a way to do it.
4. The zooming is no problem to be honest, the double-tap to zoom thing works good enough. So I have to say that I kinda like it Even tho the multi-touch zoom was handy every now and then..
1. handcent works fine on this phone, and has customisable colours and themes.
2. can't comment on mac, but it is APPARENTLY possible to sync with itunes for the PC through iTunes Agent. I know this won't help you but it might help someone else reading this later.
3. cloud seems to be the way forward, and it works great on the x10. when you first plug it in to the usb though you get the option to install some sony ericsson syncing software, which is the same as i used for my c902 to transfer all my contacts to gmail for this phone. it is pretty simple to use.
4. the default zoom on the android is nice to use. browsers like dolphin (available from the market) come with their own zoom, but i disabled this cos the x10 seems to handle it nicely natively.
hope that helps
1. handsent sms. hmmmm... that does look more along the lines that i was thinking for layout/design. but i'm guessing this wont play nice with the timescape app, which seems pretty central.
i thought i went into the individual contact at one point, and it had the same appearance as when displayed under the general. i may make a return visit to the store to check that out...
i dont think i would mind using separately bought apps, but 1 of the biggest selling points seems to be the timescape so not sure i'd want to miss out on using it. though might change once i have used it for a while...
2. here's hoping eventually a mac user stumbles across this thread and is in a giving mood about their experience.
3. cloud syncing. suppose i can get onboard. not a massive issue not to rely on desktop software. i guess this means no-one really sync's it with a desktop then?]
4. glad of the double-tap zoom, atleast thats something. and its generally how i start to zoom on iPhone (in the browser) but how does this work in other apps? i.e. google maps cant double tap, as there's no "frame border" to sync the tap too...
this could a deal breaker for me, for this product. not a massive app user, but love web browsing on these devices when out-and-about. fine control offered by pinch/zoom far more refined and easier to use than the clunky zoom button, which just didnt seem to refresh fast enough to make it smooth...
maybe wont get onboard with all these bits until i consistently use the device, but not paying best part of £500 to find out!
please continue with more insights if you got 'em
2. mac compatability. is this possible? can it sync properly with itunes? does it use a 3rd party app to do so? could this be "culled", ala blackberry/palm syncing with itunes? does the x10 appear as a mounted usb volume? (in this way, i could use applescript to manage the library - horrible, but it might work). someone with actual experience here with a mac would allay my fears, rather than commenting it might be possible (sorry if that seems abrupt in advance...)
hi, Mac user here. Yes it mounts like a USB-HDD, and turns off in the phone. So you can transfere files, and then just unmount it. Transfered 7 GB of musik files, no problem.
jingo_man said:
1. handsent sms. hmmmm... that does look more along the lines that i was thinking for layout/design. but i'm guessing this wont play nice with the timescape app, which seems pretty central.
i thought i went into the individual contact at one point, and it had the same appearance as when displayed under the general. i may make a return visit to the store to check that out...
i dont think i would mind using separately bought apps, but 1 of the biggest selling points seems to be the timescape so not sure i'd want to miss out on using it. though might change once i have used it for a while...
Click to expand...
Click to collapse
even with that installed, the other messaging app still runs. handsent simply becomes the default. this means that when you load up timescape, it pulls in the messages from the standard messages app and works like a charm.
its a shame we cant just use the screen under the contact to send a message, that looks pretty good. click onto a contact, and scoll along at the bottom, past call log, onto messaging. that is a sweet screen.
jingo_man said:
2. mac compatability. is this possible? can it sync properly with itunes? does it use a 3rd party app to do so? could this be "culled", ala blackberry/palm syncing with itunes? does the x10 appear as a mounted usb volume? (in this way, i could use applescript to manage the library - horrible, but it might work). someone with actual experience here with a mac would allay my fears, rather than commenting it might be possible (sorry if that seems abrupt in advance...)
3. other syncing needs. i guess most other aspects for sync'ing are removed/negated with an android handset - are we as users supposed to follow the "cloud computing" google-masterplan? do others sync with desktops and for what purpose?
Click to expand...
Click to collapse
Use Salling Media Sync for iTunes sync http://www.salling.com/MediaSync/Mac/
Adress book and iCal has support for google sync, just enable it in the prefs and then everything syncs from google.
Just enter your gmail details.
the web browser on this thing is amazing really. renedering is smooth and pages launch instantly. i am very impressed with the web browser and with the added extra of using dolphin you be on to a winner. web browser on this is better than my N1
you mean like this...?
jingo_man said:
Ohhh, you brave souls... haha
I was in the o2 shop this lunch having a play with their live unit (well, except it had no SIM or web connectivity. for this type of phone that's pretty limiting!)
some questions i was unable to get help with, i am hoping you have more experience of, before i consider the device further:
1. SMS display. i much prefer the look of iPhone's SMS "dual conversations" - its very clear which side of the chat is which and generally more friendly and usable. can the x10's change to this type of layout? rather than listing each reply above or below each other. found no options in the main settings area from the home screen (not sure if the context-specific settings under messaging is any different...?)
.....
here's hoping for advantageous answers
jingo_man
Click to expand...
Click to collapse
I dont know about all the other questions, but did you mean something this? (Oh, crap! Where is my image? Ok, no image, dont know how to get one into this post)
I mean from it you see exactly who is on which side of the conversation

NORDICTRACK ELITE 9500 PRO Treadmill w/ 10" Android Tablet

I recently purchased a Nordic Track 9500 Elite Pro. This bad boy has a 10" android tablet built in. They really don't want you messing with the android part much, but I am sure there are plenty of other users out there like me that want to do more!
This is my first post so I am unable to show the pictures via the link. Hopefully you can copy and past the text to view the images. I will try to repost on my website so it all flows.
I don't see where a post like this would go, I am not sure if at some point it would gain it's own device forum... That would be exciting. So for now I will post here. I will also post my initial findings for others in the community that may want to purchase this treadmill and can't find any information regarding the built in Android Tablet with WiFi.
This image shows the version information. From what I can tell it looks like they purchase an APAD from someone and then stick it inside of their device. They also must have wrote some special drivers and software to interface with the equipment and hardware. I was very happy to see a mainstream current android OS.
Android OS 2.2
hungrykzoo.com/wp-content/uploads/2011/01/IMAG0027.jpg
Click to expand...
Click to collapse
Here are the pre-installed apps. Pretty basic. (note: I was able to find an APK and install Last.FM that wasn't included) Also a major bummer to see was that there wasn't a market application.
hungrykzoo.com/wp-content/uploads/2011/01/IMAG0026.jpg
Click to expand...
Click to collapse
This is the typical workout screen you see.
hungrykzoo.com/wp-content/uploads/2011/01/IMAG0024.jpg
Click to expand...
Click to collapse
I also noticed that the device doesn't have very much memory. This could be due to the built in applications taking up so much space. It only had about 57MB of internal memory free, but it had a built in 2GB SD Card. I have not gotten to the point where I have needed to take it apart yet to see if there is a replaceable SD card. I may wait another 5 years for my warranty to end to do that.
I have tried to install some apps but have not had very much luck. The only app that was I was able to install was the Last.FM.
I tried the follow apps, and they didn't install:
1. Market
2. Angry Birds
3. Pandora
Other disappointments:
1. Designed to not be in the Android Interface. They have an application that runs, and makes it tricky to get to the android desktop. It takes about 3 clicks to get from the main workout screen back to the Android Desktop.
2. The screen is not capacitive, it is resistive. I don't know how much more I need to say about that.
3. Only 3 buttons. Back, Menu, Home. Home takes you to their software not the android home screen. Long press on home does nothing.
4. When i go to the desktop the Time is all over the place. I have tried changing settings in every spot possible but something is telling it what time to think it is, occasionally it is correct... Just don't get it.
Even with the disappointments this thing is sweet. I wish i could install more apps, stream videos from a PC over the WiFi connection and stream music from a PC over the WiFi connection. Maybe with the help of the community we will figure some of these items out... Or I will be the only one who has this that knows about this website!
ntsteele,
How is your experience up to now with your 9500? I am looking at getting the c1250, which is the same as the 9500, but with a smaller motor and no decilne. Is the 10" screen worth it? The rep at Nordictrack told me the only differcence between the 7" screen is the web browser, the google maps display, and some basic apps. But overall the workout system is the same as the 7' display of the 1750 commercial and that you can view the google maps by logging in on ifit.com. Thanks for the info and screen shots.
iFit Android App
Have you or has anyone else been able to pull the apk files off of the NordicTrack Elite 9500 Treadmill. I would be interested to see if it works on any adroid phone to view the menu system.
I played with this today at Google IO. The rep said that the integrated tablet was rev 1 and that they wanted to eventually let users connect their own devices.
what do you need to press to get to the android home screen?
Where I work at there is a Proform Trailrunner 4.0 treadmill that has 10" Android tablet screen. From what I have been told nordic track and proform are made by the same manufacture or something. It was returned because of a broken display unit. Of course I wasn't going to let them throw the old one away so they let me keep it. I trashed the main display and now I have the 10" tablet but cannot power it because the treadmill doesn't operate without a magnetic key. How could I power this thing and see if it works?
I got the new incline trainer x9i which has the 10 inch android interface. I am interested to get in and try installing apps as you have but I am unable to even get to the android home screen. The only time I see it is when I turn the machine on and it is booting up, the screen comes up for a few seconds to where I can hit on the applications button and see what is on it. But within a second after I see the apps it automatically gets routed into the machine exercise interface and I have not figured how to get back to the android home screen from there. How did you do it? It would sure be nice to install a different browser. I hate the fact that I cannot create my own shortcuts. Anyway, love the machine.
How to get to the Android Home Screen
Any luck finding out how to get to the Android Home Screen? I am wanting to do that also. I was able to get to it one time accidentally, but haven't figure out how to stop the machine interface from loading since.
Home Screen
Ok, same question. I just got a C2150 which is a similar model to the 9500. Slightly smaller motor and belt, but same basic thing with the 10" tablet. I believe it's capacitive now, but still not great as far as that goes.
I too have hit the setup icon when it's booting and it goes to the Android setup screen for a second and then continues to boot into the Nordictrack IFit proprietary stuff.
So I can't believe the posts with the images and no explanation of how you got there? Please share with the rest of us.
Also, my console has a USB connector at the top of the thing. Any idea what if anything that'll let me do?
Thanks!
Anyone figure this out? Seems a shame to have a 10' screen and not be able to install apps on it. There must be some button combination that the Icon service team would use to stop the auto load of the iFit interface.
Internal Pictures
I took the tablet apart to see what information can be gathered. Apparently, HANNSTAR (TAIWAN) manufactures the board (HANNSTAR J MV-7); which uses a Samsung ARM8 CPU(5PV210AH-A0 1044); has 512MB; and a 4GB SANDISK FLASH (SDIN2C2-4G).
I haven't been able to find sufficient info to track a compatible ROM, yet I can't imagine for the life of me that HANNSTAR would design this just for Nordic. I am posting some pics hoping that someone might be able to id the hardware, which in turn might help point to a more fruitful search for a workable ROM.
Try to upload pics but not sure if it worked. It's late, and I can't figure out how to do it smoothly yet.
I'm gonna do another bump. I have a similar treadmill (or maybe the exact same one, I lost the the manual with product name). It is of the X9i series and when I saw it in the store, I had to go for it. I was a bit irritated to see that you are locked to the iFit application and you cannot return to the launcher. I need a male to male USB cable to see if I can get a bit of ADB on it.
From the (crappy) performance of it, I can tell it has about 512 MB RAM, a dated CPU clocked at around 600-800MHz, the screen looks like a crappy TFT display at 1280x700. Lastly, this thing runs Froyo. Mine features a full USB port and an Audio in port. Not much to screw around with. Downloads are disabled in the browser, and the Menu key does nothing.
I think something can be done though. The application that controls the treadmill can't crash as it is, and if it ever does FC, the motor shouldn't stop. NordicTrack doesn't have a recovery image up for some reason (thanks, NordicTrack -_-) so that's even less to work with.
Nevertheless, something can be done. It's not really a fun thing for an Android enthusiast to pick up an Android device with such dated hardware (the tredmill itself, as just tredmill is amazing).. Plus, it was $2,100 at Sears.
---------- Post added at 08:48 PM ---------- Previous post was at 08:43 PM ----------
here is a video of the Treadmill and the board;
http://www.youtube.com/watch?v=eKyf6MHIefk
USB and Audio in is on the right side of the console.
I've had my Nordictrack 9500 Pro for about a year now. Still working well for the most part (I do have messed up deck tension adjuster that I need to call support about).
Would love to be able to unlock the Android device to at least install Netflix, Pandora, etc.
I have had one over the air firmware upgrade that went pretty smoothly. Was hoping more updates would come from Nordictrack, but it has been a long time since that one.
Has anyone else noticed that the Speed Calibration utility under the iFit controls says that it isn't enabled yet? Maybe there's hope for future updates.
fanVrARCHITECT
Greetings,
I have been following this thread as a 9500 owner as well, and looking at what has been posted and see if there is any follow up.
1.) like everyone else what startup combinations may have disabled Nordic Tracks proprietary software.
2.) the usb socket on the top of the console, has anyone had anyluck attempting a usb male to male connection on a laptop? If so what has been tried?
3.) any idea of maybe porting something over via the Ifit updates or account? I noticed the HDvideo inside of the program is pretty descent from what I've seen, and looks like the video plays in the center of main app..just a thought.
I'm looking at getting the male to male usb cable and trying to interface it with the below. .. at least curious if the cable will talk, and most likely this unit is not root so view only but maybe a start if it works.
//www*howtogeek*com/howto/42491/how-to-remote-view-and-control-your-android-phone/
Cheers,
devmo
Did anyone figure out how to get android home screen????
I read somebody was able to email themselves an apk and install it? The tablet enables sideloading? Ding ding ding! I'm going to try sideloading launcherpro or any other replacement launcher to attempt to hijack the home screen
Update: Didn't work on my c2150's tablet. Bastards.... I did however get my c2150's to boot into "safe mode" which I have no idea what that entails. While it was powering on, I held down home and back I believe was the combo.
Update: SUCESS!!! So by booting into "safe" mode, you can hit the preferences launcher while the device is booting to interrupt the ifit loading. From there, go enable unknown sources. Then launch the browser and google "z4 apk" and download it and run it. Did permanent root on mine and it worked.
ENJOY
I forgot. Once you get the device into safe mode, install "smart taskbar" by sideloading. It'll make you able to view a task bar over ifit.
EDIT: Since we don't have a custom recovery, or for that matter even a recovery at all it seems, I've not attempted gapps. Could anyone give a detailed response on how to install this? I assume just unzip it in the root directory? I'm worried about permissions, I always forget what to set there. Also, the device comes pre-bundled with busybox, fyi Another must have for this is adbWireless. I tried editing the init.rc but it seems those changes were for nothing. I'll keep people updated as I discover things etc. I'm by no means a dev, but do know a little.
jsteelm said:
I forgot. Once you get the device into safe mode, install "smart taskbar" by sideloading. It'll make you able to view a task bar over ifit.
EDIT: Since we don't have a custom recovery, or for that matter even a recovery at all it seems, I've not attempted gapps. Could anyone give a detailed response on how to install this? I assume just unzip it in the root directory? I'm worried about permissions, I always forget what to set there. Also, the device comes pre-bundled with busybox, fyi Another must have for this is adbWireless. I tried editing the init.rc but it seems those changes were for nothing. I'll keep people updated as I discover things etc. I'm by no means a dev, but do know a little.
Click to expand...
Click to collapse
Sorry - can you tell me the exact steps involved here. How do I get to safe mode and then what? I tried Home Back while powering on and it still goes to the ifit screen
You know I'm really not sure what trick it is to make it stay. I had good luck getting it to stay in android rubbing home/back/menu while it booted and as soon as I saw the android home screen, hit the preferences launcher and then grabbed the top menubar and half pulled it down. All I know is that when you get it to stick in android, its always in safe mode which is triggered by some combination of those buttons on boot. Even then it will boot into iFit, but if you go to the settings first, in safe mode, it wont exit that screen.
Nordictrack commercial 2150 Android Safemode
Very simple folks. Turn treadmill on and once you see ANDROID appear in the center of the screen, begin pressing the dashes button that is between the home and back buttons on the console. Not sure if holding down works any better. An "unable to load widget" will be seen in middle of screen once the I-FIT software has stopped and safe mode will appear at the lower left hand corner. You'll then be able to check out the various Android options etc for your tablet. Be careful in editing anything unless you know what you are doing! Wouldn't want to brick your treadmill unnecessarily. It took awhile to find the key to safe mode access, due to limited info out there, but I hope users will continue to make some progress on exploiting this device and maybe we'll be able to use it to our liking. I would like to stream my dish television to the tablet like I do on my i phone or i pad. Being able to install the dish app via google app store is what I'm looking forward to. I want to be able to watch tv on my treadmill while exercising. Please keep this thread going! I'm sure that future software updates may allow for a better user interface. The challenge is certainly in the storage capabilities in the tablet itself and the sd card inside.

boost mobile account app *NOT OFFICIAL, NOT BY BOOST*

sorry for the cross post
i did some looking around and it seems theres no app to check your account on boost mobile, which is odd considering they have 2 android phones and a whole host of unofficial ones
so i created an quick and dirty javascript/html app that has 4 buttons, boost mobile homepage, my account, reboost, and support
it was made with phonegap build, so when you install it says it needs access to everything(phone, internet, sms, etc) but really its only using data, its just the way phonegap build makes the apps, kinda stupid but it works
try it out, tell me if you think it could be handy, or the most useless thing you have ever seen http://tinyurl.com/myboostmobile
hope it is useful for someone besides me lol
so far i have tried it on the native android browser, and something about the way that boost puts in the dashes where your phone number goes on the my account doesnt fly so well, so if you have problems try out opera mini or opera mobile, they are much superior to the native droid browser anyway
http://pastebin.com/kgtiNX6R
thats the source to the app, just so anyone who is worried about installing based on the installer asking for all permissions can see that its not tracking you or anything
That javascript thing is evil, it doesn't work on the Android
browser or Opera Mobile. The only way I've gotten it to work was to install Skyfire (uses the Android rendering afaik), disable JS, fill in the phone, submit, go back, enable JS, and refresh the page and hope it populates.
-- Starfox
yeah the only luck i had was with opera mobile, i just hit the button to remember my username and password for my account(boostmobile.com) so all i have to do is open the app and hit the my account button, i havnt tried skyfire yet with it, but i will definitely give it a go
thanks for your input back starfox, i much appreciate any feedback given
1 for continued development. Excellent idea!
BoominSVX said:
1 for continued development. Excellent idea!
Click to expand...
Click to collapse
thank you, lol, there wasnt any app for it, which perplexes me, hopefully boost just cancels me out and creates something real instead of my quick and dirty way
appreciate the feedback boominsvx
Get rid of the javascript if possible.
I did not and will not try this. (not with boost)
javascript popup could be replaced with PAGE Maybe...
EDIT: Also, pastebin and similar sites 'own' your code when you paste it on there, not sure about how much or how but I know it's in the terms and conditions somewhere..
ryannathans, i appreciate your input, this is really all just a temporary solution, lol pastebin can own my code all they want its just a few lines at the moment anyways
im working on making this better at the moment, and app that uses boost's login protocol and all their scripts on their server to log in, ie. app comes up, presents you with a login screen, you log in with your boost account details (all of which is sent securely to their server) and bam your logged in to check your minutes and such
im trying to keep sending emails and bothering customer service at boost about this until they just give in and end up creating an app for us, something official that doesnt have to be hackandslashed, so if your on boost and you want an app for checking your balance and so forth keep bothering them too

[Q] Interfacing with a java application

I'm developing a touch screen based system for controlling electronic music. As part of the development, we'll be building our own touch screen, but that's not going to be ready for some time. In the mean time, I need to start writing the software (which will be done in java), and I'm going to need a touch screen to use for testing.
So, I am NOT trying to write an application for the Galaxy Tab. I am writing a application that runs on the my desktop, and I'd like it to be able to get touch information from the Galaxy, in any way practical. I've looked into using an iPad for this, but it looks to be too much of a pain to be worth it. All I need is a way of my java application receiving the list of co-ordinates of touches from the tab, in real time. I don't need any higher level gesture interpretation (as I'll have to do that on my end for the final system anyway), just all the touch co-ordinates. Does anyone have a suggestion on the best way to go about this? Is there something in existence already to accomplish this easily, or is there any kind of java library I can use to make calls to a connected tab from my application? I've been googling around, but haven't found any particularly useful information on the subject, as the tab is chiefly meant to be a stand-alone item, not a pc peripheral. Any tips on where I might start looking would be a huge help. Thanks!
-cullam
cullambl said:
I'm developing a touch screen based system for controlling electronic music. As part of the development, we'll be building our own touch screen, but that's not going to be ready for some time. In the mean time, I need to start writing the software (which will be done in java), and I'm going to need a touch screen to use for testing.
So, I am NOT trying to write an application for the Galaxy Tab. I am writing a application that runs on the my desktop, and I'd like it to be able to get touch information from the Galaxy, in any way practical. I've looked into using an iPad for this, but it looks to be too much of a pain to be worth it. All I need is a way of my java application receiving the list of co-ordinates of touches from the tab, in real time. I don't need any higher level gesture interpretation (as I'll have to do that on my end for the final system anyway), just all the touch co-ordinates. Does anyone have a suggestion on the best way to go about this? Is there something in existence already to accomplish this easily, or is there any kind of java library I can use to make calls to a connected tab from my application? I've been googling around, but haven't found any particularly useful information on the subject, as the tab is chiefly meant to be a stand-alone item, not a pc peripheral. Any tips on where I might start looking would be a huge help. Thanks!
-cullam
Click to expand...
Click to collapse
Ok, well I'm going to try and be brief and not turn this into an Android programming essay so here goes.
You have a couple of different routes you can take.
1. If you use eclipse for development and you hook up your tablet, you can watch the log and see that it prints useful information constantly, basically debug output that tells you whats going on in the background. If you just want to look at it, you can probably see it there.
2. This would be my choice, but I'm a programmer so I love a new adventure. I would recommend you just write a quick app for your tablet that pumps out the location of a touch whenever you touch the screen. If you are familiar with sockets and such, you can just write a simple server Java app that collects packets of data from your tablet, and just have the tablet send out a multicast packet containing the coordinates you touch every time you touch the screen.
There are probably some other ways, but if you are already going to be doing the bulk of the project in Java, you aren't looking at a difficult learning curve to write a basic little android app.
Thanks! I'll definitely try the eclipse trick. And yeah, writing an app on the tab is probably going to be necessary, but MUCH easier than having to learn a new language, and get an official license to do one on the iPad. The thing I'm really unsure about is the available communication methods for getting data back and forth between them. I was hoping there might be some sort of java api to get calls going through the usb connection. So I'll guess I'll see what the Eclipse hook up shows me.
cullambl said:
Thanks! I'll definitely try the eclipse trick. And yeah, writing an app on the tab is probably going to be necessary, but MUCH easier than having to learn a new language, and get an official license to do one on the iPad. The thing I'm really unsure about is the available communication methods for getting data back and forth between them. I was hoping there might be some sort of java api to get calls going through the usb connection. So I'll guess I'll see what the Eclipse hook up shows me.
Click to expand...
Click to collapse
apple stuff is crap anyways, leave them to their pretentious commercials and closed minded development.
as far as the android sdk, I think it will take you a lot less time to just use network communications. google socket client/server java tutorials and you should be set to go in about 2 hours. I have implemented it, its all straight forward, and imho probably an easier app to write that something that pumps out of the usb port
Awesome, thanks

[Q] multi user (2 users)

I'm very confused, trying to make the leap from a PC (Windows and Linux),
where it is OBVIOUS how to distinquish one user in the household from another,
to my new B/N Nook Tablet.
Ok, so I'm now using my tablet. When I hit 'Home', my desktop shows that my logged-in email is an active app. (and so are a few others).
So, I completely power it down.
When I power it back up, I expected that my email would NOT be active.
But, it IS!
What if it was some OTHER household member who powered up the tablet?
(I do NOT want them, by default, seeing my email screen!)
Is there a solution? (Or should I just return this goofy 'tablet' to Barnes and Noble, and wait til next year to see if next-year's tablet OS works the
way most of us would want it to???)
For now, think of this tablet as a personal device such as a mobile phone. Pretty sure ICS works the same way too so it might be a long wait for you.
Ok.
Meanwhile, how do I explicitly shutdown (stop) my running apps
(e.g. my email app)?
Do I 'visit' each one, and find how each app handles stopping it?
Or, better...is there a 'task-mgr' (list) for my apps, so that I could select
them all and abort them?
You could get "advanced task killer" from the market. Not sure if it needs to be rooted or if you could just side load it.
Sent from my BNTV250 using Tapatalk
MonkeysInACan said:
You could get "advanced task killer" from the market. Not sure if it needs to be rooted or if you could just side load it.
Sent from my BNTV250 using Tapatalk
Click to expand...
Click to collapse
Hmm...I'm still a newbie to all this 'root' vs 'side-load' terminology.
Side-load just means: 'Get it first on a real PC, then plug-in the USB-cable
to the tablet, and 'move it over'?
To 'root' something seems to mean that, in Linux-terminology, I first need to
have 'root' (super-user) privs, right? (I saw a thread about how to 'root'
the device, but am unclear about DETAILS. Does it violate warranties?
(yada, yada) Also, I THINK I'm hearing that, right now, I can only use
the Barnes/Noble 'app store' and NOT to the generic Android 'app store'?
True/false?
Are you saying I might need 'root' to INSTALL the app 'adv task killer', or
to RUN 'adv task killer'? (or both?)
It sounds like you want to have some form of screen locker in place so when you power back up (or unsleep) you have to enter a code or a pattern. This prevents unauthorized access to your personal tablet.
You should be able to activate it from the settings menu.
Concerning multiple logins, the presumption is one user per device. As to 'working how "most of us" would want it to'... Most people do prefer it this way. If someone else wants their own tablet, they should get their own tablet.
>the presumption is one user per device.
This is a legacy of Android still being a phone OS. Tablet is a more social device, and safe bet is that multiuser acct handling will show up at some point. Hopefully, soon. Else, Win8 will do what Android can't.
Android still has a lot of holes it needs to fill, and I'm not talking about apps.
---------- Post added at 10:05 PM ---------- Previous post was at 09:56 PM ----------
@OP
You don't need to "close" apps in Android. The OS manages memory as needed per least-recently-used basis. Using apps such as "Task Killer" is inefficient and will shorten battery life. There've been many articles/posts written on this topic. Google to find.
What's recommended is to run something like System Panel (free app in market). Over time, it'll give you a profile of which app is eating up the most battery. Use that to remove apps that are power-hogs.
At least on my Android cell phone, hitting the Home key leaves the current application running. Hitting the "Back" key ends the application. Not sure if the NT has a "Back" function...
rmm200 said:
At least on my Android cell phone, hitting the Home key leaves the current application running. Hitting the "Back" key ends the application. Not sure if the NT has a "Back" function...
Click to expand...
Click to collapse
The NT does have a back key, but that behavior depends on how the app was designed and it not true for many apps. In fact, because of what e.mote described about Android's design for "backgrounded" apps, Google recommends that apps not be designed to close itself with the back button, menu command, etc except for special circumstances.
e.mote said:
>
[...]
@OP
You don't need to "close" apps in Android. The OS manages memory as needed per least-recently-used basis. Using apps such as "Task Killer" is inefficient and will shorten battery life. There've been many articles/posts written on this topic. Google to find.
What's recommended is to run something like System Panel (free app in market). Over time, it'll give you a profile of which app is eating up the most battery. Use that to remove apps that are power-hogs.
Click to expand...
Click to collapse
Ah, but that's the question/issue: i.e. I WANT to close this particular app (email), for
security reasons!
Are you saying that apps in Android are often NOT programmed with a
mechanism to STOP them?
By design, yes - most apps are not programmed to fully stop themselves - they remain resident in memory in case you return to that app - it reduces load times and allows content viewing sites (news readers, downloading the newest emails, periodic alerting tools, etc) to work in the background so the information is available when you want it without having to do a load at the time you bring up the app.
Any app that's paused (not the current focus) may be asked to relinquish resources by the OS in order to allow another app (with the current focus) the ability to run. This is all handled by the OS, and applications are expected to always be interruptable, thus constantly persisting their state as they are being used. This allows for something else to interrupt (such as a phone call or selection of another app, or an alert from your alarm program) with a reasonable expectation that whatever you were doing wasn't lost.
The security built into Android is the ability to require a passcode or pattern to unlock the phone when coming out of a sleep state. Failing to set that pattern or passcode is a failing of the user, not the OS.
Phones and Tablets, from the android perspective, are an extension of the person. Though I sometimes use my wife's NookColor, or she mine - it is a rare thing and any use beyond that by friends is always supervised.
Other tablet OSs may have the concept of 'logging in', but not Android.
So, I'm screwed? No way to get her email logged in?
Hmm...I HOPE I'm still missing something simple. (Otherwise, I'm
screwed, and I'll have to return this diabolical BEAST to the store.)
This unit is a gift for my wife for Xmas.
To familiarize myself with it, I setup and logged-in to my
Gmail acct.
Of course, NOW I want to:
'Log out' of my gmail, and setup the 'email app' to login to
her email (non-Gmail-based). [And, have THAT one be the
always-open email-acct, (tho I do NOT LIKE this 'feature'
of always-logged-in at all!)]
How do I do that? ('Rooting' this Nook Tablet is NOT an option, so
if that's part of your proposed "solution", forget it.)
TIA...
cookdav said:
Hmm...I HOPE I'm still missing something simple. (Otherwise, I'm
screwed, and I'll have to return this diabolical BEAST to the store.)
This unit is a gift for my wife for Xmas.
To familiarize myself with it, I setup and logged-in to my
Gmail acct.
Of course, NOW I want to:
'Log out' of my gmail, and setup the 'email app' to login to
her email (non-Gmail-based). [And, have THAT one be the
always-open email-acct, (tho I do NOT LIKE this 'feature'
of always-logged-in at all!)]
How do I do that? ('Rooting' this Nook Tablet is NOT an option, so
if that's part of your proposed "solution", forget it.)
TIA...
Click to expand...
Click to collapse
There should be an option in the Settings section to add and remove email accounts. I don't have a NT but that's pretty standard as Android devices go.
I have to say you seem to have a lot of misinformed expectations of the Android/Nook experience. Keep remembering that the software was originally developed for mobile phones, so expecting things to be done in the same way to a desktop OS is gonna cause you grief.
tomegranate said:
There should be an option in the Settings section to add and remove email accounts. I don't have a NT but that's pretty standard as Android devices go.
Click to expand...
Click to collapse
Ah...'should' is the operative word. But, I do NOT see any such option.
I have to say you seem to have a lot of misinformed expectations of the Android/Nook experience. Keep remembering that the software was originally developed for mobile phones, so expecting things to be done in the same way to a desktop OS is gonna cause you grief.
Click to expand...
Click to collapse
Hmm...I'd characterize my expectations quite differently. This is the FIRST
(and I hope LAST) implementation of an 'email reader' that was designed
with NO WAY to log out/close down. Common sense SHOULD dictate
that they'd provide a way to log-out or reset to a different email-acct,
but so far, there's NO SIGN that anyone had any common sense.
Hey, maybe the 'crime-stoppers' (aka 'big brothers'/homeland-security) folks
asked for this 'feature'. It will make it easier now...they can just say:
"Great...there's her B/N Nook Tablet! She can't have logged out, so just look
thru her emails, and see who she's been corresponding with."
Right now, my opinion of this beast is worse than the 'Hotel California':
Last thing I remember, I was
Running for the door
I had to find the passage back
To the place I was before
�relax,� said the night man,
We are programmed to receive.
You can checkout any time you like,
But you can never leave!
Hell, on a Nook, I can't even checkout!
cookdav said:
Ah...'should' is the operative word. But, I do NOT see any such option.
Hmm...I'd characterize my expectations quite differently. This is the FIRST
(and I hope LAST) implementation of an 'email reader' that was designed
with NO WAY to log out/close down. Common sense SHOULD dictate
that they'd provide a way to log-out or reset to a different email-acct,
but so far, there's NO SIGN that anyone had any common sense.
Hey, maybe the 'crime-stoppers' (aka 'big brothers'/homeland-security) folks
asked for this 'feature'. It will make it easier now...they can just say:
"Great...there's her B/N Nook Tablet! She can't have logged out, so just look
thru her emails, and see who she's been corresponding with."
Right now, my opinion of this beast is worse than the 'Hotel California':
"You can checkout any time you like, But you can never leave! "
Hell, on a Nook, I can't even checkout!
Click to expand...
Click to collapse
But you can lock the tablet.
The option is there. I don't have my NT in front of me, but there is an option to remove B&N account settings and wipe the device. That's what you want. It will remove everything that you set up.
As far as your opinion that this is the first such email program that doesn't log out...there has never been a smartphone OS email program that logs completely out, or one that allows multiple users. Android was developed for Phones. The expectation is that you will use your phone, not share it with 10 people with each of them having their own settings.
Something that you are referring to is available, but not from an Android, Blackberry or iOS device. You would have to get a Windows (not Win Mobile) tablet, which will not work as well (yet) as any of the other OS's because it was not designed specifically for the hardware it's running on.
Easy way to have what you want on this tablet: Don't set up email using the built in email program. Use the browser and don't have it remember the password.
@OP
Your expectations aren't unreasonable. It's just that Android-on-tablet is still very much a work in progress, and you along with all of us are beta testers.
Multiuser handling is just one of many issues that have arisen. In the Kindle Fire forum, there are complaints about not being able to disable one-click purchasing for when handing the KF to your kids. iOS has had the same issue, and has a partial workaround. Until Android supports multiuser, there is no good solution.
For e-mail, you can try various email clients to see if any supports discrete logins/logouts (and of course pulling mail from your webmail account).
http://google.com/search?q=email+apps+for+android
cookdav said:
Ah...'should' is the operative word. But, I do NOT see any such option.
Hmm...I'd characterize my expectations quite differently. This is the FIRST
(and I hope LAST) implementation of an 'email reader' that was designed
with NO WAY to log out/close down. Common sense SHOULD dictate
that they'd provide a way to log-out or reset to a different email-acct,
but so far, there's NO SIGN that anyone had any common sense.
Hey, maybe the 'crime-stoppers' (aka 'big brothers'/homeland-security) folks
asked for this 'feature'. It will make it easier now...they can just say:
"Great...there's her B/N Nook Tablet! She can't have logged out, so just look
thru her emails, and see who she's been corresponding with."
Right now, my opinion of this beast is worse than the 'Hotel California':
"You can checkout any time you like, But you can never leave! "
Hell, on a Nook, I can't even checkout!
Click to expand...
Click to collapse
Jesus guy, it's not an 'email reader', whatever that means, it's a mobile tablet computer, and it handles email accounts the same way as all tablet computers that use a mobile OS (ones based on Android, iOS, and presumably webOS and Blackberry too), because they're designed for personal, individual use. Smartphones don't have a way to log out of your email account in the way you're expecting, and neither does a modern tablet.
If this is the first time you've used this type of device, you need to exercise more patience before you start stamping your feet, otherwise people are gonna be unwilling to help you.
I'm 100% certain there is a way to remove your email account from the device, you just haven't found it yet. This is very likely not the fault of the device! Did you even read the user manual? http://img1.imagesbn.com/pimages/nook/tablet/mediakit/userguide_NOOKTablet_111115.pdf
Reset the unit to factory standard and put it in the box, it is an option under 'settings' and will return it to the "as-purchased state" with all data wiped.
Then decide if you're returning it or wrapping it to give to your your wife.
In the future, consider letting the person receiving the gift having the pleasure of opening a unit in pristine condition. My wife would kill me if I "pre-opened" an electronic device intended for her "to familiarize myself with it". Let that happen on the day she opens it, after she's decided she needs help. I think it's deplorable that you've cracked the seals and denied her the experience of opening something new.
If you want to 'log out', then you have to shut the device down instead of leaving it in 'sleep mode'. No power means the apps aren't running (unless you or the OS have set them up as background processes). When you turn it back on, you'll realize quickly that there is no 'select profile' or 'choose user' function because it is designed to be one device for one user.
If the user wants security to prevent other people from reading sensitive information, they should set the screen lock code in the settings menu.
-=-=-
At this point, I believe you have all the information you need:
1) Devices are intended to be single user, by design, regardless of your desire to have them be otherwise.
2) Use the built in screen lock capability if you are concerned about sensitive information being viewed.
3) You should reset the device to factory settings via the settings menu to wipe all data you've entered and return it to a nearly 'as new' state.
4) You should not be playing with your wife's new device and instead allow her to experience the setup guide and walk through the configuration of the device in the way she desires.
If there is another specific question about how things work or operate, please ask. If there are further conspiracy theories I'm sure there are better forums for that than this one.
Wow. lotta words - no Solution...
You're going to have to factory reset the device:
Settings>Device Info>Erase and Factory Reset
Once its resets, enter your wife's information.
You seem to think that phones and Pads run like Windows where you can log out as yourself and no one can see your email. Phones and pads are single user devices and will not work like Windows. Even Windows phones and pad don't operate like that.

Categories

Resources