Programming Java in Android - AT&T Samsung Galaxy S II Skyrocket SGH-I727

In my college courses i'm assigned to build a program to decode caeser cipher. I just finished and was thinking after I get done with other types of ciphers , that it would be cool to have an app that could do it for me. Easy way to send and receive text messages securely then copy and paste into my decoder. Not even ciq could uderstand your messages nor could anyone else unless they knew the shift pattern.(caeser) other various forms of ciphers could be available too.
I can program java fairly well( not expert) but i'm unsure on how to build Android programs. Anyone know any good websites that teach step by step on installing tools to compiling and decompiling and building libraries and all that jazz? Or anyone have any write ups that they have made and are willing to share?
Thanks guys.
Tim
Sent from my SAMSUNG-SGH-I727 using xda premium

Now I know there are cipher apps out there but my idea was to be able to long press on a text message and send to cipher app. And vice versa...after encoding a message send to text message instead of copy and paste. Not sure if that type of functionality needed to be baked into system files. Seems like it would.
Sent from my SAMSUNG-SGH-I727 using xda premium

developer.android.com/ (i dont have enough posts to link anywhere) has tutorials on basic building of apps. i believe the easiest way you would be able to do this would be by just using the interface builder. im not sure if you can have permission to add things to the context menu... i know you can set your app to receive SMSs or to read them by default. probably can send too. if you add a flag somewhere in the messages it sends to be interpreted by your app and use the SMS reading permission, you would be able to do it. those are my thoughts on it at least.

mrtim8383 said:
In my college courses i'm assigned to build a program to decode caeser cipher. I just finished and was thinking after I get done with other types of ciphers , that it would be cool to have an app that could do it for me. Easy way to send and receive text messages securely then copy and paste into my decoder. Not even ciq could uderstand your messages nor could anyone else unless they knew the shift pattern.(caeser) other various forms of ciphers could be available too.
I can program java fairly well( not expert) but i'm unsure on how to build Android programs. Anyone know any good websites that teach step by step on installing tools to compiling and decompiling and building libraries and all that jazz? Or anyone have any write ups that they have made and are willing to share?
Thanks guys.
Tim
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
Check here:
http://mitmobilelearning.org/
and here:
http://appinventoredu.mit.edu/blog
Hope these help.

Related

Implementing a phone number search box, like in the SMS app

Hi XDA,
I'm writing my first Android app, an open source webtext client for Irish mobile networks. The current version of the project can be found here: https://code.google.com/p/webtextr
There's one thing I'm having trouble with though. I'd like to implement a ‘recipient’ text box, where the user can start typing the name of a contact, and after each letter is pressed, it searches their contacts database and provides a drop-down list of suggestions. Then the user could click on a name and it would insert their number into the text box. This would be just like the way it works in the stock SMS app when you go to compose a new message.
Does anyone know how to implement this? I've been looking through the source code of the stock SMS app here https://github.com/CyanogenMod/android_packages_apps_Mms/tree/froyo/src/com/android/mms/ui. But... it's *very* complicated and not especially well commented.
Any help would be massively appreciated. Once this is added, the app will be fully functional and perfectly usable.
Bump? Anyone?
I've figured that I should use an AutoCompleteTextView. But any examples I've found online have been broken in some way, and seem to use the deprecated People class.
Is this really as hard as it seems? I'm suprised Android doesn't provide an easy way of doing this...

[Q] Info on Database programming on Android

Ok, I'm trying to build my first app that interacts with a Database. Essentially I'm going to have a list of parts with a name, location, and serial number stored in a database. I would like to add, delete, and update rows. I tried following the Notepad example but I'm having trouble following. Not really understanding why and how they are using somethings. I have had database programing but its been a while and need a refresher. Anyone know where I could go to find more detail explanations of achieving my goal for this database?
Thank you in advance.
T.
TayOnG1 said:
Ok, I'm trying to build my first app that interacts with a Database. Essentially I'm going to have a list of parts with a name, location, and serial number stored in a database. I would like to add, delete, and update rows. I tried following the Notepad example but I'm having trouble following. Not really understanding why and how they are using somethings. I have had database programing but its been a while and need a refresher. Anyone know where I could go to find more detail explanations of achieving my goal for this database?
Thank you in advance.
T.
Click to expand...
Click to collapse
All major mobile O/S's include SQLite. You cann drive SQLite through C, Java or any scripting languages. You need to learn less than 10 SQL commands to survive. I bought a couple of books (recommend O'Reilly's Using SQLite), and now I get 95% of the commands correct first time.
Thank you I will check out that book.
Sent from my HTC Vision using XDA App

[Q] App building software no coding

Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
carlitobriganteffs said:
Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
Click to expand...
Click to collapse
http://www.appsgeyser.com/
Simple search would've showed this. The search button is very powerful and so is google.
What kind of application would you like to create? I could help you build or get you the tools for your app and teach you how to code.
Sent from ALCATEL One Touch Fierce
TagEHeuer said:
Simple search would've showed this. The search button is very powerful and so is google.
Click to expand...
Click to collapse
I promise you I've searched extensively and yet to find what I'm looking for. AppsGeyser lifts content from the net and turns it into an app...it remains on the appsgeyser site so doesn't really fit with what I'm looking for...I just want simple app creation software without having to learn code because what I'm looking to do isn't super-unique, it's just for an add-on to my existing business.
Has anyone ever used Wix for website creation for example?? Fantastic user interface, couldn't be simpler yet the possibilities are pretty much endless especially since you can add custom coding if you wish but I've built a few sites with Wix, all function great, all look fantastic...just a shame they don't have the same service for app creation.
Scripts said:
What kind of application would you like to create? I could help you build or get you the tools for your app and teach you how to code.
Sent from ALCATEL One Touch Fierce
Click to expand...
Click to collapse
It's pretty much just a local directory type app mate....that's why I mentioned above that I am really not trying to do anything unique so I'd imagine there's some nice editing software out there somewhere I could utilise and have my app designed and created pretty quick....like the above example of the Wix website,...you could have a fantastic looking website up and running in a couple of hours.
Anything guys?
Still looking for nice easy app production software.
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------
russian392 said:
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
Click to expand...
Click to collapse
Just pm me and ill tell you everything u need to know
Sent from my HTC first using xda app-developers app
russian392 said:
Buy the Java reference book. Helped me a lot when k was starting out. Its some 1400 pages.
Books helped me the most especially with SQL. Consult me any time if you can't find your answer on Google cause frequently ur gonna be typing code bit have no idea what it does and how it works.
Also use Eclipse. Its like ms word for programmers with auto correct and hints and things that are very useful
Sent from my HTC first using xda app-developers app
---------- Post added at 07:53 PM ---------- Previous post was at 07:51 PM ----------
Just pm me and ill tell you everything u need to know
Sent from my HTC first using xda app-developers app
Click to expand...
Click to collapse
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
carlitobriganteffs said:
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
Click to expand...
Click to collapse
U want a app=u code. No code=No app
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Irwenzhao said:
U want a app=u code. No code=No app
Smack that thanks button if I helped!
Note 2 LTE powered by Illusion ROM and Plasma Kernel.
Sent from dat small country called Singapore.
Click to expand...
Click to collapse
I know enough to know that's simply not true...the reason for the post is that there's loads of drag and drop simple app builders out there that require no coding whatsoever....the point in the question is what is the best one and also the embedded question of why are there monthly charges that have such a huge range?
So, no...no code does not = no app.
carlitobriganteffs said:
Just sounds like thats way more advanced than I'm looking for dude.
I want build an app to ad onto my local directory business and it really isn't doing anything advanced or unique...it's the content that separates it's from other apps, not it's functionality....an app containing a load of menus with click through links (are these called hyperlinks?) to that section of the directory then linked again to open specific entries within that section of the directory....
Surely, there's a nice easy, almost drag and drop, design software out there I can use?
I'm really put off by these app builders I see that are $50 per month or whatever but if I have to go that way, ok. Thoughts? (Appreciate everyone's input and I know it can be frustrating talking to newbies that really don't have a clue so appreciate the input and patience folks!)
Click to expand...
Click to collapse
Eclipse allows drag and drop bit you're dreaming man. There is no way you can make anything work on android when making an app without knowing some basics of code.
So get that book I told you about, get eclipse, and get the book "hello android" which helped me start out.
Android apps are way more complicated than they seem bro
Monthly charges is because to make app building software is so damn hard. Trust me. Try your hand at old school app development. You will learn to appreciate app makers cause no joke its hard as hell
Sent from my HTC first using XDA Premium 4 mobile app
carlitobriganteffs said:
Hi,
Looking for software to develop an app (preferably offline) which will help someone with no coding experience. I am proficient with photoshop & after effects but I don't know any coding.
I am sure at some point I'll require a pro to write some custom script for me but I want to get as far into the project on my own as possible.
I don't want to be bound by some websites hosting terms, with monthly fees and all this other stuff. Preferably, I'd build my app offline and go from there...I don't honestly trust these websites with little app builders then your app is stuck on their site and you're forced to use their hosting and things like that....if it's my app, it's my app!!! I shouldn't be bound to some website or whatever.
So, preferably offline app builder which someone with no coding experience can use?
Click to expand...
Click to collapse
But question is that why any company offer you free tool that helps you to create app without coding knowledge. So only two option is here May be company offer paid tool for that and i think so no as such paid tool available in the market.
2nd option is company offer you online tool where you can create app without the knowledge of tool, in return companies want you to buy their subscription etc... to use that code.
I used some tools for testing person and some of them give you .apk and .ipa file to test your app on device but do not give you source code of app. You can read more about 4 best app building softwares, but as i mentioned that they do not give you source code.
I hope so above mentioned information helps you.
Please don't forget to thumb up button if it is helpful. Thanks
Not long ago, people / businesses in the UK would have to pay at least £12,000 for the development of a simple website, without administration / hosting / commerce functions, etc.
Now, you can produce professional websites yourself with a little cost and effort. Downloading free templates, Adobe Muse, WebPlus X8, etc.
Adobe have now launched DPS (Digital Publishing Solutions) which will eventually become a standalone, offline solution for people that want the ability to create apps on an offline basis, with a one-off cost (no monthly subscriptions).
Without a doubt, such offline app dev software is in development now, and I cannot wait until it arrives.
For now, I use HTML5 based WYSIWYG solutions which work well in good wifi / 4g connection, but with no App Store listing and no ability to push notify, but I can create these without subscription / cloud based resources.
It suits clients that have a user base that would generally be within good connection areas and require their services in such a place.

[Q] Total NOOB needs some help :)

Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
fabiansc said:
Hi all,
My name is Fabian, and I have a strong background in C. (Done a CS course in C).
I want to do an Android app for my final project(nothing too fancy or complicated but I have to at least have some interface ) and I'm a little stuck with how to proceed from here.
I watched the Java essential course on Lynda and I did understand a little the difference between C in Java, however I don't know how to proceed from here to actual Android development.
If anyone can recommend me finding a crash course, a book or any other resource that could get me up and running as soon as possible, I would really appreciate it.
I don't mind spending money on it.
Thanks in advance.
Fabian
Click to expand...
Click to collapse
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
thanks little question regrading databases
shimp208 said:
A great resource for Android development is the official Android training documentation from Google, as well as these tutorials. Let me know if you still have questions I'll be happy to help.
Click to expand...
Click to collapse
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
And one more question
Is there any way to do a phone number authentication (like Whatsapp) instead of user name and password which I think is a little to tedious for my planned app ?
Thanks in advance
Hola, for the task sending. Would you like to make all task public? Or should you send it like a message?
But when i need access to a server, i use php scripts. But we can take that later, when you have answered my last question
For the phone number authentication, you have to have a online database, with all phone numbers. User inserts their phone number, the first time they starts the app. Then you can retrieve it from the database. But we can also take that later.
I´m glad if i helped.
(Sorry for my bad english.. )
Hola
Well I want it to be like a manager that gives a task to his employee. I want the task to be between them and only they can close it.
Likewise, it would be a problem if I make a simple phone number insertion if there's no validation. I was thinking about a number verification (like whatsapp) to prevent other people from accessing the tasks.
Do you think it's possible or should I go with username and password?
Thanks
fabiansc said:
Hi,
Thanks for your help I learned a lot and I'm already planning my app
I just have one question that could really help.
I want to make an app where people on different devices can interact and send each other tasks. I guess I need a kind of SQL server that supports Android, right? Is there a better or at least more economic way to do it if I will have around 1000 users where each one can add people to send tasks to?
Many thanks,
Fabian
Click to expand...
Click to collapse
I am using OpenShift - https://www.openshift.com/developers - which is a open source cloud architecture in that they offer packages like NodeJS and DB's. They allow you to have 'gears' which I guess is their name for services running on their cloud. The free account has 3 gears.
I currently only have a NodeJS server running to deliver files however (as far as I understand it) you can have MySQL and others as a backend. I would think that whatever devices you develop on would simply log into the DB and look up messages/tasks etc. I would also think that your app could insert those things. The best part is it is free until you reach Enterprise level or so. I would check it out since free is good. Offhand, I do not know what DB's Android supports via java but MySQL is probably one of them.
Just some info for you to examine.
Good luck
Hola, of course its possible! But maybe Username and Password is easiest.
You can use e-mail validation.
I actually worked on a application, there store products in databases. So i have tried it before. Ask if you are confused
And Sum1nil, sqlite is implemented in android, so for local database, use sqlite.
But for online database access, i use php

[Q] (CODING) Need help coding a simple, lightweight application

So, I need some help.
I want to develop a simple app for my Android phone that lets you input a text when accessing the phone's lockscreen, this text should then be saved in a log file containing not only the input text but also date and time of input registration. There should not be any way of avoiding the input either, entering no text and continueing should result in a log that only contains the date and time.
This should result in being able to check who accessed your device and when. For me this would be helpful. I'd then input a nickname for myself that nobody knows of and if someone tries entering the device using my real name, I'd know it wasn't me.
Now here is the problem, I haven't ever developed an application or anything of the sorts. My only experience in coding would be HTML. Does anybody feel like helping me out?
It's a complicated situation, so I'm not responding to the usual "Why don't you just do this or that". I want this specific method that works for me if at all possible.
Thank you for your consideration.
_Valkyr//
Anyone? ;-;
Sent from my GT-I9505 using XDA Free mobile app

Categories

Resources