Is there anyway to bypass 'Unknown sources' setting without having the application actually downloadable in the market? Signing up for the market is fine but I do not want the application actually available via the market due to partner restrictions. However, installation should be smooth without requiring the user to allow installation ...
*Updated: (See below)*I have been looking around for couple of days and can't find a straight answer to this.
Some say it possible to some say to accomplish some say it's not. I am getting crazy on this.
What I want is just to have the AsyncTaskTask showing a progressbar an external class. To do this I am passing the context as you ca...
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
mSurfaceView01 = (SurfaceView) findViewById(R.id.mSurfaceView1);
mSurfaceHolder01 = mSurfaceView01.getHolder();
mSurfaceHolder01.addCallback(EX10_04.this);
mButton02 = (Button)findViewById(R.id.buttonObj);
...
Is there an equivalent Android class to the BlackBerry's DateTimeUtilities? What I really need is DateTimeUtilities.copyCal(source, dest), and I can write it myself, but I really hate writing functions like this only to find it already exists but I just didn't know. I am aware of clone(), but what I really need is to be able to easily ...
I have a class that creates a view to gather data via a function getView() that provides a view with an EditText.
This class has also has variable answer.
When the user chances the EditText I want to store the content of the EditText in answer.
If I would use an onKeyListener I fear that the answer will probably get stored before the l...
Hi,
How do I figure out, if an app is loaded for the first time after it has been downloaded. I mean when the app is first bought/downloaded from market, how will I figure it that this is the first time(never has been run on this phone) this is going to run hence I can throw up some registration activity?
...
I have a single activity with multiple views that represent different steps in a wizard. I have gotten code working that will save and restore the wizard to the correct screen, but after a save/restore cycle I cannot seem to get setContentView to work. The code executes without throwing any exceptions but the view isn't actually updated...
New Android developer here. I'm following a tutorial at http://www.vogella.de/. The first applications (does temperature conversion) works. The second (does preferences and uses a menu) one never shows up. I've tried using both Helios and Galileo. I've tried re-installing Android SDK. I've tried removing the test device and re-creating i...
Hi,
How can I add/delete/modify values in "default.properties" for Android.
Any examples?
Thanks,
Sana.
...
My main dev phone is a Nexus 1 running 2.2. I have successfully been streaming live video to this device from a Wowza server for several weeks now.
I have now taken my application (without modifications) and put it on a Sony Ericsson Xperia running 1.6. The video will not play. I get the following errors:
MediaPlayer: Couldn't open fil...
In my android application, I am using the tab view and so I have two tabs: parameters and results.
the user enters the various parameters on the first tab and then switches to the second tab to view the results.
i have a service that performs some long-running calculations. the user enters parameters on the first tab and hits 'calcula...
Hello,
I am trying to install a new Java Security Provider for the javax.net.ssl package on Android. I know how to install a Security Provider on Linux, but am confused about where to place files on the Android system so that they will be built correctly.
My Security Provider uses JNI to interface to a C library. In Linux, the follow...
Currently in my design I've got a base abstract class that all of my activities extend from, however I discovered recently that in order to use a MapView you need to make your activity extend MapActivity. Since Java does not have multiple inheritance I was wondering if there is any way I can use a MapView without having to recreate my d...
I'm using an sqlite database in my app. I have this dbhelper class in a services class like so.
public class MushroomService {
private int downloadprogress;
private int databasesize;
private DataBaseHelper myDbHelper;
}
public MushroomService(Context context)
{
myDbHelper = new DataBas...
According to the SDK we should be able to read the bootloader and radio versions, but Eclipse is freaking out about it.
I can read any other Build.ITEM fine.
Any idea?
...
I have an Android project that contains a class that uses JNI to pull a value from a C function. The C function was built into a library using NDK. The value returned from the C function is in turn used to initialize a variable inside a class when its first loaded. This works fine. However, I also want it to work when the library is miss...
How can I programatically read the SD Card's CID register, which contains a Serial Number and other information? Can I do it through Android Java, or Native code?
Thanks in advance,
Eric
...
Is there any possibility to do a block of text in a justify layout?
...
I'm using notifications in my simple timer app (early testing stage), and found that maybe 5% to 20% of the times I fired a notification, the sound did not play. The notification appeared correctly in all other respects, including LED flash, but was silent. I have confirmed with temporary extra log lines that the sound URIs I'm using are...
I'm getting unexpected behavior in my Android 1.5 application under the Windows emulator and debugging with Eclipse. Here's a generalization of what the code is doing:
if (someCondition) {
System.out.println("got here");
return "a";
}
if (someOtherCondition)
return "b"
return "c";
If I step through this code with the de...