Hello,
I am making a simple game for class on an Android phone in which you can change a ball's position by touch. I had it working in Processing by simply using mouse position. In Android, I am using the gesture scanner and corresponding methods for various gestures, but I can't figure out the exact way to pull in the coordinates of t...
Hello,
Has anyone created an app for i-Jetty? I'm trying to get started using it but I don't understand what I need to do to create the .war file. When using the dx tool to change my .class files to .dex I get an
UNEXPECTED TOP-LEVEL EXCEPTION: ...
I'm trying to crop a photo to use in a Live Wallpaper but I'm getting a FileNotFoundException when the crop activity tries to save my new cropped image. This is the code I'm using:
File file = new File(getFilesDir(), "wallpaper.jpg");
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setData(uri);
DisplayMetrics met...
Hi,
I want to use DTLS (on OpenSSL) using JNI on Android 2.1/2.2.
Can someone help me get started (tutorials, howto, pointers etc) with building OpenSSL for Android (2.1/2.2) using the Android NDK?
Anything important that I should be aware of before doing it.
Thanks.
...
Intent intent = new Intent(this,AnotherClass.class);
intent.putExtra("Name", "foo");
setResult(RESULT_OK, null);
super.onActivityResult(requestCode, resultCode, data);
switch (requestCode) {
case (1): {
TextView textView = (TextView) findViewById(R.id.TextView01);
if (resultCode == Activity.RESULT_OK) {
...
I have a ListView where each item is a TextView.
I want to enable the long press behavior similar to an EditText that displays the default context menu with items like "Select all", "Cut all", "Copy all", etc.
Is there an easy way to enable this for a TextView?
...
I am currently finding about how to build a XMPP client application on android 2.1.I came across this link which somewhat talks about the same problem.I am a newbie to android dev and thus found the solution given there to be difficult to digest.
The system currently has Active MQ as a JMS provider.My job is to fed the messages coming f...
I have about twenty pages of information that is stored in tables that needs to be stored in my Android application. Each column is a designated stop on a bus route and the column is filled with times that the bus will be at the stop. There is also certain information that needs to be associated with some times, such as if the bus is han...
Hello all,
I'm trying to integrate posting to one's wall from within my app. I already have an area where the user can save his/her username and password (encrypted). I would like my program to recall the saved username and password, pass that to Facebook for authentication, and then allow the app to post simple text (maybe a link too) ...
Is there a script for the Android Webkit browser thats make a site "homepage"
Or in other words can I make a "Set as homepage" button
...
I'm wondering if it is possible to rerender just one element in a listview? I assume by calling notifyDatasetChanged() is gonna rerender the whole list?
Thanks,
...
is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml??
I know there are tools such as baksmali / smali to disassemble / re-assemble given classes.dex from .apk, but not sure limitation what could be modified from there on?
I'm trying to add additional activity, to modify st...
Hey,
i want receive all start app intents (i think MAIN/LAUNCHER, see below) to log how often i used the application. So i do not want create an activity... I tried several receiver blocks, but for now nothing works:
with, without priority, only the action, both, only the category and so on..
<receiver android:name=".Receiver" android...
I am trying to access the JavaScript Camera API via the Android browser as demo'd at Google IO on Froyo (yes, I have Froyo on my Nexus1). Since there is no documentation, I am going by the W3C specs. But, I am unable to access the navigator.device object and unable to access navigator.camera either - both return undefined. Can anyone ...
I want to show the user a flattened pick list of all their contacts phone numbers and it must work from versions 1.6 up. I have read the related questions on SO and the Android documentation for Eclair (http://developer.android.com/resources/articles/contacts.html#legacy).
The problem is, even splitting my code into a factory class and ...
Is there any way to correctly stop the camera service? This does not seem to work:
public void surfaceDestroyed(SurfaceHolder holder){
camera.stopPreview();
camera = null;
}
After doing that the camera does not work, even if I use the program that is preinstalled in my handset.
...
Hi,
I'm brand new to Android development and right now I am building a simple calculator for healthcare workers. My program implements the OnClickListener class, but every time I click on the button to initiate the calculation, I get an error saying the "Source is not Found".
Here is the code:
public class KidneyeGFR extends Activity ...
I have an screen that displays all the names in the Contacts in a ListView.
When the user clicks on a name, I want to launch another Activity which display the details of the selected Contact (Phone number/ email) in another screen. How do I display details for the selected row. (i.e When starting the intent how do I send over the row...
So I recently ordered a Droid Incredible and starting looking through the Google documentation for the Android, but I learn better by reading a book. So I need some programming book recommendations for Androids. Thanks in advance.
...
Hello. I'm new to Android application development and I'm currently experimenting with various UI ideas. In the image below, you can see a vertically scrolling list of horizontally scrolling galleries (and also textviews as you can see). I'm also doing some matrix and camera transformations which I will come to in a minute.
For the b...