[Q] Wi-fi class question - Android Q&A, Help & Troubleshooting

Hello fellow developers nice to meet you!
I've started studying java + android fundamendals in order to create a couple apps i have in mind but i came across something i would like to ask you.
My application entails that some information will be transfered over wifi or bluetooth between two phones in close distance.
What i would like to ask you is this; will i be able to fill a couple TextViews and ImageViews with strings and images respectively?
I prefer using WiFi for the longer distance but is that feasible?
Can you give me a clue as to where i start? i dont need any code just some references..
Thanks in advance!

Related

[Q] Bluetooth Networking Project

Hello,
I was wondering if someone could point me in the right direction for a Bluetooth Networking Project I'd like to do.
The ultimate goal:
- Having some sort of bluetooth app with root privileges, which, when walking past someone, would allow some sort of passive communication without the users authorisation nor involvement.
This is similar to the idea on the 3DS called "SpotPass":
(I would have posted the link, but I'm not allowed to)
I do not have much experience on the subject, but suppose it would involve having root permissions to access the bluetooth module, being able to broadcast a message (to other users of this application).
I'm not sure if this might involve creating a completely different driver.
The reason is actually to create a short-distanced-passive-communication application useful for getting short messages or announcements across, with the low power consumption of bluetooth (vs wifi).
If this kind of communication if not possible, could someone please explain why, or at least give me some sort of link with the reason.
Thanks in advance

So Lost

So I am trying to develop an app for my conventions. I have never coded before in my life outside of a basic java class 7 years ago and have a bit of help but not anything android useful.
My buddy is an IT guy and is doing our sql server and VB layout for Windows based systems.
I want to be able to query the SQL server from my android devices an Asus Transformer TF101 and Galaxy S2 Sprint. I also want it to be able to modify entries in the database. It will be used to manage volunteer schedules. I want have updates to the database pushed to my phone.
The things I need to be able to query is Name, phone number, shift time for the current day, punch times for that day, and total logged time for the week.
I have read a few guides on here all with high ratings and have been lost with it all. Having no experience in coding I am trying to find a way to learn this but really prefer to have someone sit down and give me the basics. Best way for me to learn is watching and participating.
Any help would be appreciated.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Vladimir Kulyukin is an associate professor at Utah State University and he teaches Android programming among other things. Search Google for the terms "Vladimir Kulyukin" + "android programming" and you will get his blog with links to all his videos. I cannot post the links here as I am a newbie and not allowed to post links.
If your IT guy is making your SQL server directly accessible from the internet, fire him.
What you need is for him to prepare an API, a REST one perhaps. For REST APIs, you just use the HTTP client library that comes with Android.

[Q] Need Help with Android App Design Refinement

Hi Guys,
I am planning to make an Android App which will act as a virtual Meditation hall, where many others would have connected to, and this App, should show me the count of the number of people that are currently logged in, it must also show me, the current Idea or Notion or say, a goal, for which the people are meditating, Now, just to clarify, in case you are wondering, In Yoga, there is a practice of Group meditation with a unified thought or unified mental state, so, I am planning to emulate this real life activity, for the Yogic practitioners, also.
Anyways, here is how i imagined it would be,
Module 1: Connect to the server
Module 2: log in
Module 3: Suspension, where the user simply keeps the app on and it will update the status of the hall, i.e. whether any new members have joined in or any has left.
Module 4: exit
Now, I must say, that the only background i have is of Flash, and I am not sure how this would help me out, but I just want to know
1) how to implement modules 1,2,3,4. i.e what is the programming elements i should use, no need for detailed explanation, just to point me out to what to study, because i am just about to start learning android programming and i need to have this app up and running ASAP.
If possible, i would also like to hear how you would segment this app idea into your own modules, if you have any advice on it.
P.S Please bear with me if i had commited any of the noobish mistakes of asking in a wrong category or asking something redundant as I am new to this and It was not intentional.
Thank you

AndriodOAP Project

Hi all
This is my thread for an ongoing project im working on called AndroidOAP
OAP is not Owesome Android Project, lol
This is Andriod Old Age Pensioner!
But WAIT!! This may have many applications to other areas in the caring community!
Background
My mum is 75 and has early stage altzimers. I have noticed a lapes of memory, eyesight and hearing. I have also just got her a 10" rk3066 4.1 tab for xmas.
The aim of this is to help her keep in touch with family and friends (social networking), keep up to date on the weather/news (she loves it), keep her mind active (games).
Aim of Project
This project has a few aims, guided by anyone who wants to contribute. some of which are :
BASIC
- Creating a simple UI that is easy for pensioners/handicapped people to use
- Identifying simple to use apps that perform complex tasks
- Utilise the accessibility capabilities of android specifically for the users needs
- Monitor the device remotely
- Monitor the users interactions and provide alerts (IE medication, doctors apointments, etc)
EXTRA
- Create a working rom that can be installed on devices that can be given to the target audience (OAPs, disables, etc)
- Obtain ongoing support for this project
This will probably not interest most of you but anyone willing to contribute to this nobell cause will be very appreciated
Please get in touch with any ideas
Thanks for your time
Chriz
Cass1977 said:
Hi all
This is my thread for an ongoing project im working on called AndroidOAP
OAP is not Owesome Android Project, lol
This is Andriod Old Age Pensioner!
But WAIT!! This may have many applications to other areas in the caring community!
Background
My mum is 75 and has early stage altzimers. I have noticed a lapes of memory, eyesight and hearing. I have also just got her a 10" rk3066 4.1 tab for xmas.
The aim of this is to help her keep in touch with family and friends (social networking), keep up to date on the weather/news (she loves it), keep her mind active (games).
Aim of Project
This project has a few aims, guided by anyone who wants to contribute. some of which are :
BASIC
- Creating a simple UI that is easy for pensioners/handicapped people to use
- Identifying simple to use apps that perform complex tasks
- Utilise the accessibility capabilities of android specifically for the users needs
- Monitor the device remotely
- Monitor the users interactions and provide alerts (IE medication, doctors apointments, etc)
EXTRA
- Create a working rom that can be installed on devices that can be given to the target audience (OAPs, disables, etc)
- Obtain ongoing support for this project
This will probably not interest most of you but anyone willing to contribute to this nobell cause will be very appreciated
Please get in touch with any ideas
Thanks for your time
Chriz
Click to expand...
Click to collapse
If I read this correctly, you want to develop an OS based on Android, but one that is extremely simple to use? All I know is that this would be an extremely time consuming project, probably half a year at the least, because you'd have to remove tons of drawables (images and stuff that is rendered) and code, and add in many more. It would be much easier to just install a launcher with big icons, change the system font size to the largest possible, perhaps use some accessibility settings, and debloat the tablet to the max.
Has your mother ever used electronic gadgets before? I forget the saying, but it's something like you can't teach an old dog new tricks. Considering that these types of electronics didn't exist during older peoples' generations, it'll be significantly harder to get them accustomed to such things. I don't know if I'm stereotyping or not, but it may be increasingly difficult to teach her how to use Android because she has Alzheimers. I'm not saying it's not worth a try though. As long as she doesn't feel overwhelmed or frustrated, I'd say to definitely try it out for a while and see how it goes. Happy holidays and have a happy new year. I hope your gift does good for you all.
Codename13 said:
If I read this correctly, you want to develop an OS based on Android, but one that is extremely simple to use? All I know is that this would be an extremely time consuming project, probably half a year at the least, because you'd have to remove tons of drawables (images and stuff that is rendered) and code, and add in many more. It would be much easier to just install a launcher with big icons, change the system font size to the largest possible, perhaps use some accessibility settings, and debloat the tablet to the max.
Has your mother ever used electronic gadgets before? I forget the saying, but it's something like you can't teach an old dog new tricks. Considering that these types of electronics didn't exist during older peoples' generations, it'll be significantly harder to get them accustomed to such things. I don't know if I'm stereotyping or not, but it may be increasingly difficult to teach her how to use Android because she has Alzheimers. I'm not saying it's not worth a try though. As long as she doesn't feel overwhelmed or frustrated, I'd say to definitely try it out for a while and see how it goes. Happy holidays and have a happy new year. I hope your gift does good for you all.
Click to expand...
Click to collapse
Thanks for the input dude, but, I think your over complicating things. A custom rom doesnt mean rebuilding it from the ground up! The aim is to find the most user friendly apps and the best settings and then create a rom around that. no need for new icons, etc.
Just to let you know, even though my mum is 75 she has been a nurse all her life so is well versed on using computers (hell, she brought me up and im a developer, lol). Touching icons on a screen will be no problem for her, altzimers or not. To be fair, you are stereotyping and its pretty sad
Regardless of the support I will continue with this as its a personal project that I will persue. I was just after any help I could get, not negativity.
Have a nice day
Cass1977 said:
Hi all
This is my thread for an ongoing project im working on called AndroidOAP
OAP is not Owesome Android Project, lol
This is Andriod Old Age Pensioner!
But WAIT!! This may have many applications to other areas in the caring community!
Background
My mum is 75 and has early stage altzimers. I have noticed a lapes of memory, eyesight and hearing. I have also just got her a 10" rk3066 4.1 tab for xmas.
The aim of this is to help her keep in touch with family and friends (social networking), keep up to date on the weather/news (she loves it), keep her mind active (games).
Aim of Project
This project has a few aims, guided by anyone who wants to contribute. some of which are :
BASIC
- Creating a simple UI that is easy for pensioners/handicapped people to use
- Identifying simple to use apps that perform complex tasks
- Utilise the accessibility capabilities of android specifically for the users needs
- Monitor the device remotely
- Monitor the users interactions and provide alerts (IE medication, doctors apointments, etc)
EXTRA
- Create a working rom that can be installed on devices that can be given to the target audience (OAPs, disables, etc)
- Obtain ongoing support for this project
This will probably not interest most of you but anyone willing to contribute to this nobell cause will be very appreciated
Please get in touch with any ideas
Thanks for your time
Chriz
Click to expand...
Click to collapse
Hi @Cass1977, I see your project as a great initiative to encourage older people to use technology. Although this project might be huge (and I don't have the tablet to test), I might be able to just provide suggestions for your project.
In the Basic section:
Simple UI: It should be easy, due to the fact that many launchers today are user-friendly and easy to use.
Simple to use apps that perform complex stuff: do give some examples.
accessibility capabilities: I don't know of much apps for that (there could be some in the play store) but once we attract the attention of some developers, we can start rolling.
Monitor the device remotely: what do u mean exactly?
Isn't monitor the user's interaction same as the point above? Correct me if I'm wrong.
More suggestions:
Create some tutorials for some complicated apps.
Better colour profile.
Less bright screen=less strain to the eye in low light conditions.
Bigger font=less strain to the eye.
More suggestions will come as I think of them.
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.
Hi @Cass1977, I see your project as a great initiative to encourage older people to use technology. Although this project might be huge (and I don't have the tablet to test), I might be able to just provide suggestions for your project.
In the Basic section:
Simple UI: It should be easy, due to the fact that many launchers today are user-friendly and easy to use.
Simple to use apps that perform complex stuff: do give some examples.
accessibility capabilities: I don't know of much apps for that (there could be some in the play store) but once we attract the attention of some developers, we can start rolling.
Monitor the device remotely: what do u mean exactly?
Isn't monitor the user's interaction same as the point above? Correct me if I'm wrong.
Click to expand...
Click to collapse
Good advice, but I feel too many launchers have too many options. the main thing the user needs is simple to access apps. Maybe large icons, etc.My mum likes her news and weather too so simple widgets may help with things like that (A lot are provided with the apps).
TTS will be required too (Text to speech). Maybe an app that will speak highlighted words? Probably have to be built?
More suggestions:
Create some tutorials for some complicated apps.
Better colour profile.
Less bright screen=less strain to the eye in low light conditions.
Bigger font=less strain to the eye.
More suggestions will come as I think of them.
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.
By the way, By 'Monitor the device remotly' I mean basically the same thing I have with my kids tabs. Screen Time (MASSIVE RESPECT TO THIS APP!!!) It monitors what my kids do on their tab and allows me to lock it at certain times and give them chores to earn rewards. NOT the same thing we need here, but, thats the kind of monitoring im thinking. Monitoring medication (pop up reminder and if its not used a remote notification)
Any more ideas you have then let me know, Many thanks for your input
Chris
Cass1977 said:
Good advice, but I feel too many launchers have too many options. the main thing the user needs is simple to access apps. Maybe large icons, etc.My mum likes her news and weather too so simple widgets may help with things like that (A lot are provided with the apps).
TTS will be required too (Text to speech). Maybe an app that will speak highlighted words? Probably have to be built?
By the way, By 'Monitor the device remotly' I mean basically the same thing I have with my kids tabs. Screen Time (MASSIVE RESPECT TO THIS APP!!!) It monitors what my kids do on their tab and allows me to lock it at certain times and give them chores to earn rewards. NOT the same thing we need here, but, thats the kind of monitoring im thinking. Monitoring medication (pop up reminder and if its not used a remote notification)
Any more ideas you have then let me know, Many thanks for your input
Chris
Click to expand...
Click to collapse
I can help test launchers according to what u want and report back. Widgets are easy. (Most news apps has widgets.) There may be some apps for TTS designed for this but it's rare (if not none). (TTS apps are extremely complicated) yea, we might need to build it. (Build from Google voice search, possibility)
OK... I'll have to search it up on Google. (We may have to build from another app...) we can build from Screen Time (add some features into it, we could ask Screen Time's developer for help!)
P.S. I think editing a system file can increase the maximum volume of the sound...
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
P.S. replies with quotes will be replied to faster.

[Q] Is android right for my project?

Hi folks,
I have had this idea in my mind for a couple of years now and would like to get on with it and stop dreaming about it and just jump in and do it already!
My experience during the past 20 years has been working as a programmer on MSSQL and VB and VB.net with good working knowledge of C, HTML5, Javascript, VB, VC, Access, MSSQL, MySQL, PHP, CSS, some Java, etc...
I don't mind learning new skills and actually looking forward to getting started, but I need to know that I am not barking up the wrong tree.
I intend to make this an open source project and not as a commercial product.
My dream is to make my phone, my voice-driven computer. Where the phone might not have enough resources, I need to use my main computer as top tier and act as server.
I know ubuntu touch might be a contender but it lacks many drivers for GPS, Propriety drivers, etc...
Let me tell you about my idea first as a high level plan due to my ignorance of the details of this implementation.
I want to make my phone (Nexus 4) be able to listen to my commands via a Bluetooth headset (Through a speech recognition engine), and tell me in in natural speech, things that I need to know or care about. For example: "You have a new email from David. Do you want me to read it or display it?" Sort of like what is now a movie called "Her" without the science fiction and the lovey dovey story part .
I want to write an internet agent that would search the net (from a list of sites) for what I am interested (through an AI program like freehal.net), and keep them for display in the order of relevance when I query it.
I also need to take over the telephony hardware when needed. For example: A call comes in, I want to be able to look-up their number in my database of contacts, if an entry is found, to tell me "Sam is calling. Do you want to answer it?"
I also want to keep a black list table where I know they are trying to sell me something and answer the phone (without me pushing any buttons) and tell them that I am not interested in answering their calls and that they are on my black list. Then hangup. Without sending them to voice mail.
I tried asking the android community on Google 2 years ago to ask why the SDK doesn't provide telephony API front end to answer the call without user interaction, but got no replies.
I've installed ubuntu on my laptop to learn Linux and got it working properly after a couple of days and have downloaded and installed all the programs and sdks I think I'd need. There are a lot of interesting projects in AI and user agents going on and I like to participate in them once I am up to par with the linux environment.
Can anyone give me some guidance, pointers or what to look for. If there are any project in development that I could join, would be much appreciated.
I tried to explain my interest as best as I could. If you need more info, please let me know.
Thanks for all your help guys.

Categories

Resources