New to Android dev, are there objects I can use to change widget state with gyros? - Android Software/Hacking General [Developers Only]

I'm very new to Android development and I'm trying my hand at creating a few widgets. I'm really interested in creating something similar to Desktop Visualizer, with more visual options.
Mainly, I'd like to have my widgets (which would be nothing more than over-sized launchers) change their state based on input from a device' motion-sensing hardware, (eg: a 'glare' that moves as if light were shining on it from a fixed source outside the device.)
I'm moderately familiar with C#, php, and PERL, but have never done anything in Java. Is there some already-existing object, etc. I can look at that will help me go down this road?

Related

Creating a WM Application - Where to start ?

I hope this is the right place to put this, if not, mods, feel free to remove and/or delete it. I've dabbled a bit with C before, but that's about the extent of my programming experience. I'd like to create a program that will parse the information from a website and display it... I don't imagine something like that would be hard to do, but I have no idea what tools I would even need to start writing a PPC application.
Kitco (a website that gives live quotes of precious metals) recently came out with an application for the iphone that neatly formats all this information:
http://www.kitco.com/images/banners/KitcoiPhone/iphone.html
I'd like to basically create a PPC version of this application.
Is this something that an individual with next to no experience could hope to achieve ? I'd have to create a GUI, initialize the internet, connect and retrieve a webpage and remove the relevent information before displaying it.
Any help would be greatly appreciated. I've always wanted to become more familiar with these sorts of things and figured this project would be a great way of learning it.
Thanks!
ThreadMoved
Next to no experience? I dont think so. You have to have a little under your belt first and the only way to achieve that is to start readin right here!
I'm also interested in the expert answers to this question.
My very non-expert understanding is as follows:
VS 2005 (microsoft visual studio) can create executables for WM devices using a SDK (low level) or .Net CF (medium level) interface. You want to use .Net CF (compact framework) because it is supposed to make things easier. I think you have to use C++ to use the SDK but you can use C++, C#, or Visual Basic and write to .NET CF.
VS 2005 is an IDE (integrated development environment). It contains features to edit, compile, and even test your program using simulator/debugger. I think there are some non-microsoft IDE's that can also generate Windows Mobile code -- there is a market for cross-platform environments (e.g. programmers write code using a special library instead of the windows SDK or .NET function and the same source code can be compiled to run on Blackberry, iPhone, S60, Windows Mobile, etc...)
Instead of writing to the phone hardware (or .NET abstraction) directly, you can write your application using Java. You would use some Java compatible IDE (like Eclipse, Jbuilder, or NetBeans) to create Java applets that you download to your phone. You'd have to install a Java VM (virtual machine) on your phone to run these applets. I think the downloadable games for phones are Java applets.
Disclaimer: I haven't worn my "programming cap" since 2001 and hopefully things have gotten simpler. In my previous life I designed operating systems for mainframe computers.

[Q] Programming android apps

I've started taking up java and would like to try my hands at android.
I'm going into computer Science at my university and have been taking a Java programming class this semester.
I kinda assumed that I was learning the correct syntax needed to program in Android since I thought it was mostly java based, however ever project we've done (and will do, according to the professor) was based on importing a java library called objectdraw.
I guess my question is weather or not I can import objectdraw into an android app project.
or is there an android version?
any help would be greatly appreciated.
What parts of the objectdraw library do you generally use? I'll be happy to give you some pointers on the Android equivalents (if you don't get an answer to your question)
well, I'm pretty new at it all,
so far we've been creating objects such as rect tangles (framedRect) and other shapes.
asking you to define all of them for me would be a pain for you.
but you did answer my question which was whether or not I would simply be able to use the same commands.
any other tips for someone who's just beginning?
I'd recommend digging through the sample apps that come with the Android SDK. You'll probably find a lot of useful drawing stuff in there, and one or two of them could be a good base project to start from when writing your own apps.

[Q] Wanting to start creating homebrew applications.

Ok, so I have no experience of working with any type of coding of development except for Adobe Flash. I don't think that really counts though, nor help me here, but I want to start off by saying that I'm simply a 17 year old.
I want to start development of an app to edit the registry. For example, I got the idea for everytime you click a button on the app, it edits something on the registry. Of course, phones will have to be Interop-Unlocked (Which my Samsung Focus is).
So to get on topic, how may I start creating an app for Windows Phone to edit registry and etc.? As I said before, I really don't have much experience, but I would love to learn and help the community.
Thanks in advance.
Bump up....
Ok, basic first steps: do you have the WP7 SDK? You can get it for free, and you'll need it. It includes the tools to build and deploy apps (compilers and so forth).
The project you're talking about is a bit heavy for a first foray into app development, but you can give it a shot. One of the easier ways (for me, at least) to learn things is to look at what other people did, which in coding usually means looking at open source projects. There are a few open-source apps which access the registry.
For example, my MultiTaskToggle app (linked in my sig) works on Samsung and provides an example of how to read and write a specific registry value.
If you want to browse the registry at all, you'll need something different. This can be done, using COM to call native APIs. Look at the Homebrew library (used by the Webserver projects, among others) or WP7 Advanced Explorer (open source, code is on Codeplex). These types of project have two parts: managed (.NET code, typically in C#) that calls the COM interface, and native (C/C++, written using the Windows Mobile SDK) that implements the COM object.
You may want to do some research online to get started, either here on XDA-Devs (though I think most tutorials here assume at least basic knowledge) or elsewhere (even from MS directly) if you're really starting from scratch.

[Q] What programming languages do you need to know to make a custom Android ROM?

Hello!
What programming languages do you need to know in order to make a custom Android ROM? Currently, I have no knowledge of any programming languages other than very low-level Java basics. I cannot seem to find a definitive answer anywhere. I wish to change the color scheme (and make it customizable), change system app colors and styles, prevent many background apps from running, and emulate another dektop/home screen on a monitor (like the Chromecast, except with a new UI and through a Micro-USB). I'd also like to support Mult-Tasking windows (so you can have a setup like Calculator and Google Docs open at the same time in the same screen for work or homework). These windows will be adjustable and movable (also can minimize or full screen them). If there is any one language I could learn to do these things, that would be prefered. Eventually, I'd like to add more features to the ROM. I'd like to learn of all languages used to do these things, and ones that will prepare me for the future of development. Thanks!
lordkennedy99 said:
Hello!
What programming languages do you need to know in order to make a custom Android ROM? Currently, I have no knowledge of any programming languages other than very low-level Java basics. I cannot seem to find a definitive answer anywhere. I wish to change the color scheme (and make it customizable), change system app colors and styles, prevent many background apps from running, and. I'd also like to support Mult-Tasking windows (so you can have a setup like Calculator and Google Docs open at the same time in the same screen for work or homework). These windows will be adjustable and movable (also can minimize or full screen them). If there is any one language I could learn to do these things, that would be prefered. Eventually, I'd like to add more features to the ROM. I'd like to learn of all languages used to do these things, and ones that will prepare me for the future of development. Thanks!
Click to expand...
Click to collapse
"What programming languages do you need to know in order to make a custom Android ROM? " >> NONE!
"change the color scheme (and make it customizable), change system app colors and styles, prevent many background apps from running" >> NONE!
" emulate another dektop/home screen on a monitor (like the Chromecast, except with a new UI and through a Micro-USB)" >> This guy here is tough. You probably might need to know advanced java, perl, C++ and Python mabye
"support Mult-Tasking windows" >> NONE! (repo.xposed.info/module/com.lovewuchin.xposed.xmultiwindow)(add http before repo)
Hit the thanks button if you think i was helpful
Well the Android System uses XML and Java, so I think yo I should do some heavy Java learning. It'll help allot.
Java, UNIX, a bit of HTML, and xml
Sent from my HUAWEI Y210-0100

New to development. Don't know where to start

Hello everyone.
I have had an idea for an app. It's not entirely original, and I am completley green when it comes to app development, but I'm a keen "skills collector" so wouldn't mind learning how to do this. (the end product for me is just the bonus) where would I start?
I am looking to create basically a "control" surface, Similar to any of the Remote Keyboard apps , or any of the "game controllers" but for a specific game, with unique, specific graphics (animations would be a plus. All I would need (yeah I know it's probably not a simple endeavour) is to have custom graphics, trigger keyboard inputs. (analogue control would be a bonus) does anyone have any idea of where to start learning / app builder for someone so new,? I understand I would have to have a client on the PC, would I start by learning how to create that? Or start on the Android side? Basically, What I want to learn how to do, Is make Buttons, Press keystrokes on a PC from an android device.
In my limited Research, Downloading Android Studio, I came across my first Hurdle. Do I Choose to learn Kotlin or Java?
I appreciate your time. Thank you.

Categories

Resources