app source code - Vibrant Android Development

I am learning to program with Java and have a ways to go but want to play with a simple android app in eclipse. Anyone want to share some source code for a simple app that I can play with? I dont care what it does. Something that would have menu options would be nice. Also, something that works on the Samsung Vibrant or the G1.

Just realized the jdk has sample android apps so thats most likely all I need.

Related

Cydia-Like app

Hey everybody,
I was thinking about Cydia for the iPhone and thought..why doesn't android have that? So I was wondering if android does have something like that already or one that is in the making. If not then I was going to try and develop something similar. Only it will be one that is very, very basic. Here is how I planned it out.
1. Create an app that has a list of directories
-ROMS
-Scripts
-Apps (Ones such as swapper.apk etc. not ones from market)
* In the ROM's directory there will be a list for different phones
2. To transfer files an ftp server would be used ( I actually don't have one but was hoping someone would be able to offer an alternative or a server)
3. The app would then use the android browser to download the file and place it in the correct location ( updates would go in root of /sdcard or apps would be installed with the package manager)
Like I said I was thinking of something very basic..if this would be redundant then I'll just forget about it.
What does everyone else think?
wasnt there that SAM application? I wiped and never reinstalled it. i'm sure i can find the apk around here. also not the same but there is also a handango app.
Edit: ok did some quick searching... found the site: http://slideme.org/sam2 and http://slideme.org/sam... i hope that helps
That would have to be all custom... side note cydia uses debian binaries such as apt-get and dpkg which afaik is possible since you can install debian on your phone, and on the other hand android market uses a closed source xml.
Cydia is more than just a frontend for http/wget. It is a port of Debian APT. Iirc saurik did make some passing notes about possibly bringing APT to Android. However, from the lack of any implementation thus far, I can only surmise that he has either lost interest, doesn't feel Android needs an APT-based repository, or some mix of both.
You have to understand the main reason why Cydia is a very popular platform for iPhone. iPhone natively does not allow any outside app installation. Thus, Cydia provided a very good central repository for apps outside of Apple's app store system. Android, OTOH, was built from the ground up permitting the user to install apps from any source. Thus, there was never a burgeoning need to have a Cydia clone made because anyone could install apps from their own http server, from adb, from a sdcard, from a third party market.
Ah I should've done a little more research on cydia then. From what my friend told me he says that Cydia is just another appstore for the iPhone and that's it ( the android market is pretty open as opposed to the iPhone). That's the last time I listen to someone who bought an iPhone over an android phone.
thelamacmdr said:
Ah I should've done a little more research on cydia then. From what my friend told me he says that Cydia is just another appstore for the iPhone and that's it ( the android market is pretty open as opposed to the iPhone). That's the last time I listen to someone who bought an iPhone over an android phone.
Click to expand...
Click to collapse
To be honest, your friend sounds like doesn't know alot about the debian package system. You should take a look. It's very interesting, and it shows how primitive M$ and crApple products have become (pardon my invectives). Linux really is on the cutting edge on these fronts, and the linux backbone is what makes android so powerful.
sha.goyjo said:
To be honest, your friend sounds like doesn't know alot about the debian package system. You should take a look. It's very interesting, and it shows how primitive M$ and crApple products have become (pardon my invectives). Linux really is on the cutting edge on these fronts, and the linux backbone is what makes android so powerful.
Click to expand...
Click to collapse
Yup Debian has become the most used partition on my laptop but I keep Windows around just in case, also after researching about Cydia it sounds a lot like the Synaptics Package Manager ( correct me if I'm mistaken) and the Software Sources under Linux.
jashsu said:
You have to understand the main reason why Cydia is a very popular platform for iPhone. iPhone natively does not allow any outside app installation. Thus, Cydia provided a very good central repository for apps outside of Apple's app store system. Android, OTOH, was built from the ground up permitting the user to install apps from any source. Thus, there was never a burgeoning need to have a Cydia clone made because anyone could install apps from their own http server, from adb, from a sdcard, from a third party market.
Click to expand...
Click to collapse
Thanks for the whole understanding, never thought it as that way
A central app for downloading and publishing ROMs, recovery images, and the like (not apps) would be quite cool, though, and tethering applications are still disallowed from the Android Market (at least in the United States).
thelamacmdr said:
Synaptics Package Manager ( correct me if I'm mistaken) and the Software Sources under Linux.
Click to expand...
Click to collapse
Synaptics is more or less just a frontend for apt.
coolbho3000 said:
A central app for downloading and publishing ROMs, recovery images, and the like (not apps) would be quite cool, though, and tethering applications are still disallowed from the Android Market (at least in the United States).
Click to expand...
Click to collapse
No argument here. More options for users is always better (i'm talking to you, Apple Inc), especially when its a platform as elegant as Cydia.
There really is no need for anything like that on the g1 because the market is so free/open. As opposed to the app store which you have to go through a regulatory commission in order to get an app published.
the other part of the idea is good though, having rom selections that could just download update.zips to you phone. Also it would be cool to have scripts and other things you could download to that you cannot get in the market.
I would probably do it jsut for that but it will not be anywhere near as smooth as cydia nor will it run in the same manner
Sorry guys, I told a bunch of lies...because I had forgotten something very basic.
Cydia does NOT utilize *.deb packages like the debian apt system (the one synaptic uses). Cydia is a PORT repository (it holds ported programs, and other programs) designed for the BSD variant system that apple uses. As such, the systems are not compatible. IE cydia would not work on android and vice versa. Part of the problem with an apt based system on android is that it would have to deal with all the dependency issues inherent in typical linux software. To be honest, you'd have to design a completely new set of repositories, and that would be a LOT of work.
Although the current market system isn't quite as sweet as a full fledged debian package system, android isn't exactly a full fledged distro or anything. I think this is one that won't really work WELL until phones get beefier (IE to make it work well you'd need a BIG sd card and a snapdragon chip). You could get it working without those things, but the benefits just wouldn't be that great, because running programs that were small or didn't have a lot of dependencies negates the point of using a package manager.
I'm sorry for misspeaking, and I hope this clears things up.
well that's ok cause that's not what i was trying to do, this is only if I understood you correctly. I do not want port Cydia nor do I want to mimic exactly what it does. Cydia-like was the closest description I could come up with. Anyways, this idea is kind of redundant now that i saw this ( which I think has been up for a while)
http://forum.xda-developers.com/showthread.php?t=543082

[Q] running java on android

Does any know of any apps that will allow for the running of java web application?
Cheers!!!
By 'java web' apps i'll assume you mean applets. Short answer: don't think so. The java like stuff 'in' android is not like the java found on desktops and such. Android java lacks a bunch of libs and stuff that provide an environment for applets to run in.
There is some legal tusseling between google and oracle that is loosely related to this.
If someone does come up with some sort of applet container for android, I'd be mildly interested in it.
Sent from my GT-P1000 using XDA Premium App

developping geniuses please help !!!!!!

lately i found an app for android that is so cool i tried to find similar ones for wp8/7 but i couldn't so i tried to redev it for apk to xap but you see i'm a total dumb at developpment so anyone that know how to do it redev it for me please i'm on the verge of exanging my precious wp8 phone with an old android machine
here is the app's .apk link :ww.mediafire.com/download/wbk8mpx8u5l5a5l/Nade_Nade_Mezamashi_Kanonv2202.apkplease help me[/COLOR]
It is unfortunately impossible to port an android app to windows phone, they are two completely different platforms. In order to get it on wp8 you have to rewrite that thing from scratch.:banghead::banghead::banghead:
Sent from my HTC Evo 3D GSM
If it was written in C++ against the standard libraries, you might be able to re-use the program logic. Even then, though, the UI would need to be re-written.
If it's in Dalvik Java, though, it will need to be fully re-written. Thankfully, C# isn't *too* different, but it'll still be a lot of work.
Also, some Android apps need permissions that aren't available on WP8. I haven't checked what the linked app does, but not all platforms support the same types of third-party apps.

[Q] Can you Decompile an old WP7 App?

To be more Specific, I have a Dev Unlocked Nokia Lumia 822, and the KIK app hasn't been updated since 2010, It's super broken, and the Original Developers refuse to update it anymore. Rudy Huyn has made a his own Snapchat and Instagram and other apps. Is it possible to Create a 3rd party Kik app or Decompiling the Kik XAP and mixing it with the current Kik APK? Or something? The app KILLS my battery because it's just so old and bad. I've pleaded with the KIK Dev's and they always say "An update is not in the works, but you never know what the future holds" Blah blah thanks for contacting support. Can anything be done? If I knew coding or C++ I would atleast attempt some programming but sadly I'm quite Ignorant. So..... Am I just dreaming or is it possible?
Reverse engineering the app is easy (especially since third-party WP7 apps didn't use native code) but you can't "mix it with ... APK". You'd basically have to decompile the APK as well (also possible) and then re-write the WP app to do whatever the APK is doing, but using Windows Phone APIs (the Android code will be useless to copy-paste any but the most trivial stuff; the rest will need to be re-written).
In other words, yeah it can be done... but it's not a simple thing that you're asking for.

App Store Template wireframe

Hi there, since I'm not a skilled developer but wish to have a fast aproach to developing a simple store to distribute freely the apps developed by the company I work for, I would like to know if is there any kind of simple prebuilded App Store apk we can download, decompile make some basic personalization (as the apks download link and so on).
Sorry if the question is a bit vague, but I want somthing that is prebuilded, you know? Something to change some parameters and it's good to go.
Thanks!

Categories

Resources