Hi,
I wonder if someone can help me... I've been developing VB.Net for years and C++/VB before that. I've also got some PHP experience. I'm now moving to Java to write an app for my Android mobile. I'm trying to use MOTODev Studio (Which extends eclipse)
I've not developed in Java before so it's a bit of a learning curve anyway. I'm fa...
Is there any free single-signon mechanism for Android that gracefully works with non-webapps? Say, something along the lines of...
You launch my app and use it until it makes a request from the app server that requires authentication. It responds to that request with a random token that the server will associate with you for a short ti...
I would like to serialize an object to XML inside Android.
Any libs suggested?
PS: Already tried XStream, but it doesn't serialize enums correctly with Android. The issue is here: http://stackoverflow.com/questions/3533894/serialization-problem-with-enums-at-android
...
I have this sprite rotating algorithm (its poorly named and just used for testing). It is so close, sprites drawn with it do rotate. Everyframe I can add +5 degrees to it and see my nice little sprite rotate around. The problem is, the other stuff drawn to the canvas now flickers. If I don't do the rotation the regular drawn sprites ...
I have a Nexus One, running Android 2.2, as the client. I want to make a socket connection to an embedded Linux board (Server). I have been able to get the connection up using the SPP UUID. My question has to do with pairing, actually why does the PIN request keep popping up every time I attempt to connect a socket, when the devices are ...
I have a menu and would like to open a new Activity when the user clicks on the menu item:
@Override
public boolean onOptionsItemSelected(MenuItem item) {
// Handle item selection
switch (item.getItemId()) {
case R.id.add_symbol:
System.out.println("ADD SYMBOL CLICKED!");
Intent myIntent...
Disabling a radiobutton does not 'grey out' the control in the same way as disabling a checkbox.
I was thinking, how difficult would it be to place a semi-transparent black bitmap over the whole radiobutton view, thereby making it appear darker?
Not really sure where to start on this one, any ideas?
...
I have an Android app which needs to play a sound resource on a timed interval, say every 120 seconds.
I know how to access the sound resources and play them, however it's time timer part I'm not sure of. What's the best approach?
...
I'm trying to connect to connect to my T-Mobile G1 to test a simple android app I an creating. I cannot get it to show up in the list of connected android devices. Here are the details:
32-bit Windows XP
I have enabled USB Debugging on my device
I am not prompted with the New Hardware Wizard when I plug my device in, it is merely seen...
I'm designing am HTML 5 WebApp -- will use the local db storage, etc. It is targeted for AppPhones (iPhone and Android), and HTML 5 browsers. (IE and old browsers will get the old version of the site.)
Questions:
Is there a max download size for iPhone or Android native browsers?
Any limitations with PC-based browsers?
I also plan to...
I first retrieve information from the SQLite database into a cursor.
The cursor contains a timestamp column in the format: yyyy-MM-dd HH:mm:ss.SSS, for example, 2010-08-27 21:25:30.575
Once retrieved, I set aSimpleCursorAdapter like so (code simplified):
SimpleCursorAdapter adapter =
new SimpleCursorAdapter(this, R.layout...
How can I get the alpha/opacity of a View after I've animated it?
My fadeIn() is below - fadeOut() is the same with the endpoints switched.
public void fadeIn(View view) {
Animation animation = new AlphaAnimation(0.0f, 1.0f);
animation.setDuration(1000);
animation.setFillAfter(true);
view.startAnimation(animation);
}
...
When picking out contact details, is there a built in domain class they can be mapped to? Or, do you have to create your own?
For example I do the following :
ContentResolver cr = getContentResolver();
Cursor cur = cr.query(ContactsContract.Contacts.CONTENT_URI,
null, null, null, null);
String s = null;
if (cursor.getCount() >...
I have a GLSurfaceView where I show some animations using OpenGL.
I now want to add a button to this view. How is this accomplished?
Can it be done without involving the xml layout?
...
Hello,
I've created an own accountType and it works fine to insert my contacts to the ContactsContract and I can view all values of these contacts in the Contacts application. But when I click on "add contact" or "edit contact" I have only input-fields for the given name and for the family name but not for the rest of the fields, like ph...
I'm attempting to loop through database values creating tabs. I have setup a method called createTab which accepts a Long value and a String value. It's working with static data, but I'm struggling to understand how to loop through SQLite database records.
Here is my failed attempt (replace [lessthan] with less than symbol):
for (in...
Hi all, I've seen this question asked many times but none of the answers really made sense in what I'm doing...
I have an android game (see source at google source control)
It's a card game, and I've used a method that redraws each hand every round - that might be wasteful but I couldnt think of a better way to do it.
Here is the code fo...
I'm surprisingly frustrated by this, and I suspect the answer is simple.
I have compiled and signed my android app using the Export Wizard, as described here in the section 'Compile and sign with Eclipse ADT'.
I would like to backup the keystore and have it handy for future app updates, but I can't figure out for the life of me where t...
My application starts with a welcome screen Activity, but that screen has an option to skip that screen altogether in future launches.
What's the proper Android way to do this? Initially, I just automatically detected the skipWelcome preference and switched to the 2nd activity from Welcome. But this had the effect of allowing the use...
I'm trying to follow the setup instructions on phonegap-android's wiki page, but I'm having trouble. I've got all of the prereqs/path variables/etc set-up, but when I execute the command (in gitbash as per the instructions) for building the project, I get errors which I do not understand.
Here is the script which I run:
$ ruby ./droid...