Android :: How Do You Approach Various Devices Your Application Runs On?
Jul 23, 2010
For my first application, the only testing I've really done to this point is on my Droid X. I want to think through the various hardware differences and come up with a testing plan that is representative of the Android landscape. My initial thought is to create a list of emulators that have unique qualities such as screen size and SDK levels. I've noticed very quickly how the UI of my application will need some adjustment when viewed on devices that don't carry a 4.3" screen. How have you approached this hurdle in your own development? Chris Stewart cstewart...@gmail.com http://www.androidsdkforum.com *Want to advertise your Android application for free? Email me for details!*
View 9 Replies
Nov 24, 2010
I am looking to create an Android application that uses Tabs.
Requirements
- When a user selects a tab and gets back to the same tab, there shouldn't be a loading period (preferably).
- Each tab will contain a listview.
- In one of the tabs, I will have to use subtabs. And that's it.
One great example I really liked (although I didn't try the app) is
http://www.usatoday.com/android/.
View 2 Replies
View Related
Jul 29, 2010
I'm working on an app that is meant to be used by fans of a sport team. In the future, I expect to use the same app but for any different team. So, what changes would be the colors, team logo, app name and the like. So, is there any technique that allows me to build binaries for different teams without having duplicated resources?
View 4 Replies
View Related
Aug 18, 2010
I used Eclipse with the Android SDK to develop the original application. I ask since this was my first Java (and Eclipse, and Android, and XML) project. I assume that most of the Java should run on the PC without too much trouble. I may want to restructure the code to isolate the Android specific functions. Should I stay with Eclipse or move to something like NetBeans?
View 3 Replies
View Related
Nov 2, 2009
I'm a total newbie to Android (and to Java in general... mostly a PERL/ PHP guy here...), so forgive me if I use the wrong terminology to refer to things... I have been asked by my company to implement an application for Android that allows a user to enter a note at the end of every call. E.g., either they or the other party hangs up, immediately a notes area pops up with a "save" button and if they enter a note, the note is saved with a reference to the call log entry. As I understand it, onCallStateChange() will give a pretty good indicator of a hangup if the state has become Telephony Manager.CALL_STATE_IDLE. I've figured out how to do the UI part, how to save it in a database, etc... My question, however, is about how I implement this "listening" aspect of it. Should I have a service running all the time that has an instance of android.telephony.PhoneStateListener? If so, do I use the onBind or onStart method, and how do I make sure it doesn't go away when memory runs low? Or can I somehow attach the listener to this event, and then terminate? Or is a Broadcast Receiver the way to go?
View 16 Replies
View Related
Jun 4, 2010
We need to make an application that runs on iPhone, Android and BB. What is the best approach to write the least ammount of code? I know about some frameworks but I am not sure the best approach.
View 5 Replies
View Related
Dec 22, 2009
I just read from internet to maintain the state of my application by overriding the onKeyDown function as given below. And set the launch mode of my activity as singleInstance. And it is working perfectly. Just want to know if it is correct approach. And how it is different from onSaveInstanceState.
View 3 Replies
View Related
Nov 3, 2010
In the past I have used Python for backend stuff along with Django for frontend stuff, but I don't know how well those two work with Android. Can anyone recommend a good way to go about making server-side software that works well with Android? Please take into account that I also want a web application as a frontend, so the backend should work with both the web app and the Android app.
View 1 Replies
View Related
Feb 27, 2010
What is the best approach to managing a small SQLite database private to the application? Open (getWritableDatabase)in OnStart and close in OnStop in each Activity?Open in OnCreate and keep open til the user quits the app (where would you put close?) Open, do work and close as soon as possible each time it is needed?
View 5 Replies
View Related
Jan 14, 2010
After deleting a phone device from the emulator, I can no longer hit the green triangle button in eclipse and have it launch my application in the emulator. I had been developing for 2.0.1, but then decided to try my app out in 2.1. I created a phone device for 2.1 and tried running it. I encountered some problems. Eclipse pops up a dialog box: Problem Occurred, Launching "my app" had encountered a problem. An internal error occurred during: 'Launching my app". When I look at details, it says: An internal error occurred during: "Launching Pingo". java.lang.NullPointerException.
View 3 Replies
View Related
Dec 8, 2009
I m a programming noob here..i need help on some issues here. I understand that Android is built from Java. I need to know if i can run a java application on android? Or can i run the application with minor change to the current coding? I read about Java ME can run on android but what abt .Jar file?
View 6 Replies
View Related
Jan 19, 2010
I want to close my application, so that it no longer runs in the background.How to do that? Is this good practice on Android platform?If I rely on the "back" button, it closes the app, but it stays in background. There is even application called "TaskKiller" just to kill those apps in the background.
View 6 Replies
View Related
Mar 16, 2010
I have a WebView. I'm not quite sure how caching works for it. Ideally I'd like to load a web page from the network once (images included), then from then on only ever load it from the local cache. I'm not sure if we have this level of control over webview. Will it at some point just auto-clear the cache? How could I tell? I need to be sure that it's really keeping the page cached between different runs of my application.http://developer.android.com/reference/android/webkit/WebSettings.html.
View 1 Replies
View Related
Jun 23, 2010
Anyone have a favorite simple paid / free application they use while jogging? I noticed some remarks that accuracy seems to differ across different jogging applications, and some stop tracking if you get a phone call or text message. Any GPS jogging applications that run also in the background so you can call or text?
View 37 Replies
View Related
Jul 13, 2010
We are supposed to cache textual and audio data in our application until device is booted or maximum of two days, whichever happens earlier. To get a perspective on data to be cached, note that we are to store about 200 text headers containing around 10 fields, each of length 30 bytes and about 20 sound files each about a minute long.We are getting the textual data by parsing XMLs and then we keep them in ArrayLists. The sound files are directly written inside the app storage using File I/O (and not on SDcard or Apps Cache directory).This application is to be run on devices running Android 1.5 or later.I understand, and please correct me if I am wrong, that we can cache the files either on SDcard or inside the application or inside applications Cache directory.
View 2 Replies
View Related
Jan 23, 2010
BackGround: There are Facebook APIs(and SDKs) available to develop applications for other Mobile devices like iPhone, BlackBerry etc, but it seems there are no official ones for Android(?).
People have ported Java APIs to work on Android and have written FaceBook Client applications(FaceBook dev: Wiki Page). Apparently, there is also a light weight FaceBook SDK in alpha release for Android(a la FBRocket). But it is not avised to be used in Production.
Since these FaceBook functionalities have been exposed as REST based service, most of work would invove sending requests in desired format over Http. So, writing a FaceBook client app for Android certainly is doable.There are similar applications already in market e.g.: Bloo.
Questions: When asked to write a FaceBook client application what approach should one undertake? Should we choose the SDK or invoke the services over Http?
If there is already a Web application that integrates with FaceBook, can we just browse to that Application from inside a WebView and be done with this?
View 1 Replies
View Related
Mar 10, 2010
is there a terminal emulator app that runs on this fone that is free? or is it only the better terminal emulator pro on the android market that can still run on 1.5?
View 3 Replies
View Related
Sep 9, 2010
Today, I placed our new app onto the market store. It can be found by most mobile phones - unfortunately, it cannot be detected by one specific model which is used by one of our customers. It is the Vodafone 845, with a small screen (240x320p) and low density (120 dpi). It's running with Android 2.1, updated version (i.e. SDK 7), and has all the necessary hardware (GPS, cam, and internet access), but, however, doesn't detect the app in the market. I have already tried anyDensity="true". The app is free, not copy protected, and open to all countries. I have the following settings in the manifest:
xmlns:android="xxx"
package="xxx"
android:versionCode="10"
android:versionName="1">
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true".............
View 1 Replies
View Related
Jun 7, 2010
i have written an application that needs to process outgoing calls. Everything works fine, the application has already a few hundred downloads, but now i get feedback from people who would like to download it, yet cannot find it. I have done some tests and have found that the permission "PROCESS_OUTGOING_CALLS" seems to be responsible for this. If i include it in an app, people with branded phones (at least in Germany) cannot find it, as soon as i remove this permission, everything is fine (when i re-insert it again, the app vanishes again)
The weird thing is, that those users can see other apps which use this permission in the market. I have compared my manifest file to outputs from other manifest files and cannot understand why it doesn't work. Here is the manifest file for a test application i wrote to test the problem:......................
View 2 Replies
View Related
Nov 20, 2010
I added the application into Android market, but some phones(i think with android lower than Froyo(2.2)) does not find it!
my manifest:
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
android:installLocation="preferExternal"
package="com.skkap.utimetable"
android:versionCode="2"...................
View 1 Replies
View Related
Nov 23, 2010
i have received complaints from a number of customers that one of my paid apps is missing from the market and they can't download it after updating their phones to 2.2. I have no idea what the cause is and unfortunately i also don't have access to a device with 2.2. Maybe someone here can tell me what i'm doing wrong?...................
View 3 Replies
View Related
Dec 23, 2009
How can we resize our application for different screens on different Android devices?
View 2 Replies
View Related
Aug 8, 2010
I have an application published in the Android Market. Its target is 1.6 and its minSdkVersion is 1.5. The only persmission it uses is INTERNET. My Manifest file looks like this: I recently got an email from a user saying the application doesn't show up in the Market on an HTC Wildfire. I looked it up and the Wildfire is a QVGA (LDPI, 240x320) device running Android 2.1. The app does appear for MDPI and HDPI devices. Also, I can start up a QVGA 2.1 emulator and install the application without any problems.
View 3 Replies
View Related
Aug 27, 2010
Can we run our android application in all iphone devices?
View 5 Replies
View Related
Jun 26, 2010
My android app is not in the app store yet. Is it possible to send my app to someone, and they install it on their device. Something like iphone AdHoc?
View 3 Replies
View Related
Aug 31, 2010
How can I make it so that my application is seen on the Android Market only by devices with mdpi and hdpi densities. There is the <supports-screens> tag and there is the anyDensity parameter but I don't see how I can say what I want. If I set anyDensity to false, what does that mean? Where do I specify which densities I do support?
View 2 Replies
View Related
Aug 31, 2010
I am implementing the client side of some java application for Android devices which requires a lot of user interaction, image loadings and JSON object parsing. I'm trying to decide whether to implement it with html5, flash or Android native code.
View 1 Replies
View Related
May 14, 2014
How To Transfer TEXT MESSAGES from WP8.1 devices to Android Devices ??And also the contacts!!
View 2 Replies
View Related
Dec 23, 2009
In my application I have three buttons that are to be part of each and every activity. These button are independent of each other and on click do mutually exclusive things(say launch different activity). So, in my layout XML for every screen I have a <Linear Layout><Button/><Button/><Button/></Linear Layout> element.
View 2 Replies
View Related
Oct 11, 2010
I'm navigating through a 3-level hierarchy of names to get to a document view page. I've set up tabs for the 3 levels. The tabs are left, middle, and right where the right tab is the lowest level of the hierarchy. Each tab has a list of 10 to 20 Radio Buttons with the names. This all works great and is very efficient and intuitive. One note is that there may be 1000 documents available (from an online source) but the average user will only be viewing a handful regularly. So I store the choices for each of the 3 tabs. This way a user can quickly navigate to his favorite without having to negotiate the entire hierarchy each time. My question comes when the user is on the right tab. At this point they have navigated through to the document they want and I'm wondering what is the best way to initiate the document view page. Remember that most of the navigation happens on the right tab in the small set of documents the user regularly visits, with only occasional visits to the other tabs. So making the right tab efficient is good. My current approach is to add a LongClickListener to the buttons of the right tab. Then a press-and-hold kicks off the document view. This certainly minimizes the number of objects on the screen and the number of separate clicks required to get to the document but I question whether new users will know that a long press is expected. I guess I could put up some Toast if the user doesn't do anything for 5 seconds but that still seems clunky. Another approach is to add a Button at the top of the right tab Radio Buttons. This has the merit of being dead obvious but it's a less efficient use of screen space and also an extra click for an experienced user.
View 9 Replies
View Related