[Q] Question about android plarform and app developing - Android Software Development

Hi,
I'm using Motorola Milestone. A lot of times I have to update a new version of an app which has several bug fixes for Nexus One. As I know that the Milestone and Nexus One are running the same Android OS version (2.1). I just wonder why a normal application (such as Calendar or Note) must be dependent on hardware? I mean the same application version that works on Milestone but some of its features don't work in the Nexus. Let's take an example of Windows OS. We can install Firefox, Winamp or even some low level interacting program like anti virus in any computer (Lenovo, Acer,...) as long as they're running the same Windows version (like Vista). Is it a down side of Android platform?

I think I have a similar question. On my work the have a winmo databas app that work like an workordersystem. Can this program run in Android by any chance or has it to be rewritten to work on a Android platform?

I managed to install my application on the SD card by using to apkInstaller.
I thus wanted to test the installation from Android Market... My application does'nt settle down on the SD card but on the telephone... Why ? Nevertheless I added in the manifest the option android:installLocation="preferExternal" !
Needs to make other thing ?
Thank for your answers !

It's mostly localization.
Either developers ask google to make their app available only for certain devices, or certain manufacturers ask google to make only certain apps available.
If an app is built against the SDK, then it's compatible with all devices that share that SDK version.

Related

Android / Mogul / Google Apps sync

I know that people are working on developing the Android platform for other phone, what I am wondering is this: will we ever be able to sync our google apps with the mogul (or any other phone) without running Android?
What I am wondering is this; I am using an exchange server right now, but come January/Febuary I am not going to have that option available anymore, so I was wondering if we will be able to sync our google apps at some point without having an Android phone...
I don't know much about hacking or the developement that goes into customizing Android, but it would seem like it would be possible to lift whatever part of the Android os that is being used for syncing the google apps, so that it could be used on other devices. It seems like this would be possible just like taking off touch flo, or any other built in program (I know it probably isn't quite that simple, I was just trying to explain my concept of things).
Will this be possible? Will we be limited to haveing a phone with Android os for this?
I know there isn't mass support for google apps on WM but there is the gmail Java App, which i use. I don't use this, but i know its out there, and its an app to sync your google calender with your WinMo calendar. I'll see if i can spot it and drop a link for you here.
parrott84 said:
will we ever be able to sync our google apps with the mogul (or any other phone) without running Android??
Click to expand...
Click to collapse
who uses google 'apps'? lol. google.com is good for searching, and that's about it. all their side software has never impressed me or been usefull.
agreed. I and the majority of the people using windows mobile don't give a **** about google apps. I want android to just simply be bootable and stable from my sd card. I really don't want to run it all the time as windows mobile is second nature to me now.
Sweeny Russ said:
agreed. I and the majority of the people using windows mobile don't give a **** about google apps. I want android to just simply be bootable and stable from my sd card. I really don't want to run it all the time as windows mobile is second nature to me now.
Click to expand...
Click to collapse
I second this.

[Q] what to be aware of

I'm about to start working on my bc thesis which is an android app.
I just wanna know what to be aware of when developing an app for android if I want it to run on all devices. Are there any incompatibility issues ? How do I avoid them ?
I didn't even start learning, I just want to know this in advance so I won't be surprised.
My next stop is http://developer.android.com/index.html
grandioso said:
I'm about to start working on my bc thesis which is an android app.
I just wanna know what to be aware of when developing an app for android if I want it to run on all devices. Are there any incompatibility issues ? How do I avoid them ?
I didn't even start learning, I just want to know this in advance so I won't be surprised.
My next stop is http://developer.android.com/index.html
Click to expand...
Click to collapse
Depends on the application you want to make. It has more to do with different OS versions then actual devices, only thing between devices that you will have to worry about(generally) is screen size. This again depend on the app could be a big or non issue.
Different OS versions support different versions of the API, for example i believe openGL 1.1 was only officially supported after os1.6, and then openGL after 2(mayb 2.1).
There shouldnt be to many issues that can not be overcome.
Congrats on being close to completing your bachelor's degree, i still got around 1.5 years .(i assume this i what BC is?...)
I still got a lotta work to do, but thanks
So this sreen resolution thing... how do I overcome it ?
My app will be an advanced location-aware organiser with alarms, notes (text and voice), calender and stuff, maybe a widget too.
- should I be developing the application for an older version of Android just to by sure ? Or should I stick with the newest ?
- which operations need the user to have root access ? I want them to be able to use my app without root access, which functions do I need to avoid ?

[Q] Firesheep app for Andriod

Hello all,
Its been a long time no speak on this forum for a while, I have finally made the jump from WM (HTC LEO/SE X1) to Android on a Dell Streak. Admittedly I am still waiting on a stable o2 sanctioned version of Froyo to put SENSE UI on!
My question here relates to Firesheep, an add on for Firefox that allows packet capture on public WiFi networks. I was wondering if anyone could port this application to android as a stand alone App, or if anything else similar had been developed?
I hope someone can give me an answer at least to the feasibility of this request.
+1
I too would love to know hehe
Sent from my Desire HD using XDA App
It would require drivers for the wireless chipset in the phone to be put in promiscious/monitor mode to capture packets, as far as I know, neither is possible, unfortunately.
timekeeper said:
It would require drivers for the wireless chipset in the phone to be put in promiscious/monitor mode to capture packets, as far as I know, neither is possible, unfortunately.
Click to expand...
Click to collapse
Couldn't it run in firefox mobile
monitor mode in galaxy S
There is an app available in market called pixie who get the promiscuous mode for the wifi interface. I'm able to capture packets in Samsung Galaxy S (GT-I9000) with the app installed.
Now we're waiting for firesheep realease for android... it's impossible to install the XPI in Firefox mobile beta...
Yeah, I tried porting the XPI over to firefox mobile, but it wont work without a packet capture utility, like WinPcap, which is used with the normal Firefox Win version.
I would be definately interested in seeing where this goes though...
vit_mar said:
Yeah, I tried porting the XPI over to firefox mobile, but it wont work without a packet capture utility, like WinPcap, which is used with the normal Firefox Win version.
I would be definately interested in seeing where this goes though...
Click to expand...
Click to collapse
It is also working in OSX so I guess libpcap should be enough to use it. By reading this http://seclists.org/tcpdump/2010/q1/98 it seems that there is support for Android. However you will need root access to use it.
This thread, discussing Shark for Root app, refers to a lot of functions that firesheep uses: http://forum.xda-developers.com/showthread.php?t=725692
Perhaps using libpcap/tcpdump (as janfsd suggested), we can port this over. Root is a must though, true...
any updates?
i need this for my N1
Tanks
Bumping for an update on this project!
Found this thread in google. Try http://faceniff.ponury.net/ I've wrote it yesterday I wrote it to sniff only facebook accounts but it can be easily modified to other services.
Hello!!
This is awesome! wooow! I don't mean the fact that you can steal web session profiles,
but the fact that an Android application can open an interface e.g. WIFI and realise sniffing -
network monitoring without being run as root or system. To do so, an application should be
signed with the platform's key : http://stackoverflow.com/questions/6010796/run-secure-api-calls-as-root-android
How is this possible?? I am really wondering about that. Some time ago I tried to port
jNetPcap, so as to use it in an Android application for monitoring the WIFI. I successfully
ported it but I couldn't read the list of Android interfaces from its API and realise web
monitoring.. (see here for details: http://stackoverflow.com/questions/5966603/jnetpcap-on-android-problem-with-findalldevs-method,
http://jnetpcap.com/node/792)
I am really wondering how faceniff faces this problem??
e.g. Shark for Android runs an instance of libpcap in the background and derives the
appropriate information from the pcap traces..
What faceniff do to get the information it wants, e.g. the web sessions?? I am
really curious about that.. Any ideas?
faceniff runs as root....
Yes, but how is it possible to make an application that runs as root?
There is no Android permission you can use in Android manifest to give you
such privileges.. Even other Android applications that run only in rooted phones
cannot open an interface an capture traffic, and for this reason they run in the
background a tcpdump and process the pcap traces it produces (e.g. Shark for
Android).
is anybody here that knows how faceniff can capture packets??
I know how it works because I wrote it
It has a binary file which lies in /data/data/net.ponury.faceniff/
Then the java app executes "su" (to gain root permissions) and executes that binary file. And it grabs results from the binary showing them on the screen. Hope it helps.

Windows 8 Apps....

Just a few questions....I will be getting my 920 early next week.....
Presumably there are a few apps in the store.... so they will be installed 1st... I can then load my prepaid and free old WP7 apps on, I know that.... If one of the WP7 Apps receives a Windows 8 upgrade, will this happen automatically, Or will I need to load the WP8 app then delete the WP7 app???
Also, apps bought on WP8 are they the same/ compatible with Windows 8 installed on my PC.... Ie if I buy an app on one can I load it on the other FOC... I suspect that they may be kept separate as I cant find any WP7 apps to install on my PC.....
Any help with clearing all this up would be greatly appreciated..... I suppose next week, when I have the phone, will probably be able to work most of it out myself..... Cheers,
The WP8 version of a previously installed WP7 App will show up as an update - at least it is a supported scenario in the Store and I guess most developers will go that route. They could create a separate App for WP8 though (similar to the possibility that Devs could instead of updating an App simply submit it as a new one).
The Windows 8 Store is completely separate from the Windows Phone Stores. Apps might have the same name and similar design but Devs need separate Accounts to publish Apps and having purchased an App for WP8 does not mean you have a license for it on Windows 8.
StevieBallz said:
The WP8 version of a previously installed WP7 App will show up as an update - at least it is a supported scenario in the Store and I guess most developers will go that route. They could create a separate App for WP8 though (similar to the possibility that Devs could instead of updating an App simply submit it as a new one).
The Windows 8 Store is completely separate from the Windows Phone Stores. Apps might have the same name and similar design but Devs need separate Accounts to publish Apps and having purchased an App for WP8 does not mean you have a license for it on Windows 8.
Click to expand...
Click to collapse
Cheers for the prompt response....

What are the alternatives for developing android application?

I tried to develop an android application that will be used to calculate electricity bill in a house using android studio and Genymotion as the emulator. But i encountered some problems as the laptop i used is running out of RAM if i were using both of them at the same time. When i tried using Genymotion to run the application, the emulator will tell me "unfortunately, application has stopped.". I struggled to find the problem because the android studio sometimes are running fine and sometimes dont. It will lag most of the time together with Genymotion.
As i am running out of time for the developing process, I would like to seek some alternatives for developing android application instead of using Android Studio. I have Adobe Flash, Flash Builder and Unity in my laptop as well.
My laptop is 2.5GB of RAM. Is there any other software to develop the android applications without upgrading my RAM?
Thank you.
Try to run the application on a real device
deleted
Have you tried Android studios emulator?
Make sure you are using the right system image for your CPU architecture. Also older versions of Android should be lighter on RAM to run. Try the oldest version your app will support.
If you're still unable to run it you can try removing some system apps from the emulator.
I do all my testing on my phone through wireless adb. It makes life so easy. If you're going to be doing a lot of Android development you need an android device period.
Android Studio Emulator is heavier than Genny Motion, but no limitation.
You may use real device for testing purpose. Use eclipse is also less heavier than Android Studio, but it's nolonger supported.
If you running the Android Studio and emulator, the hardware must be at least 4GB ram.
If you have to make a videogame, I suggest to continue to use Unity.

Categories

Resources