android

Image Processing Libraries for Android

I am currently developing an image processing application for android mobile phones and I would like to know what libraries would you guys recommend me based on your experience. I have heard of JJIL but I do not know how good it might be for what i want to achieve. I need something that implements the basic image processing functions fro...

How to create findViewById parm dynamically or programmatically at runtime

I have an xml layout that will display a grid made up of textviews within tablerows. The textview names are cell00, cell01, etc. At runtime, my program will determine which cell needs to be changed. Is there a way get format a name so that it can be passed to the findViewById method at runtime? For example, if cell00 is needed, how...

Android - how to raise an alert after a long time (a month or more)

What is the best way to set an long-term alert/reminder from an Android application? I'd like to display notification in a few weeks after current date. I believe there is no need to write a service for such task. Will AlarmManager do the trick? Or should application be started daily and performing check? After countdown was started, up...

Animations: How should I translate an ImageView out of/into visibility on the screen

I am using a translate animation: <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android"&gt; <translate android:fromXDelta="-75%p" android:toXDelta="0%p" android:duration="1000" /> </set> on a basic ImageView. This animation will slide the image out from the left until i...

Android Market Image View.

I would like to do something like the android market when you view screen shots. I have a list view and when they click on any one it takes them to a separate view where they can open several images related to the item then picked. Is there a way to do this and if so how? Sample code would be greatly appreciated! ...

Droid X is large screen ?

Reading the documentation: http://developer.android.com/guide/practices/screens_support.html. I judged that Droid X is a large screen phone, since it's physical dimension is 4.3". But reading/exploring further I'm realizing that large modifier has little to do with screen size. As there's quoted in documentation: Note that the dens...

Is it possible to set text in a TextView with format

Hi, In my layout.xml file, is it possible to set text with style? e.g. this is bold This is default Can I do that? ...

Is it possible to add donate button in mobile application (iOS,BB,Android)?

Some guys gave me the idea to add donate button in mobile apps instead of adding ads. I search in google, but i couldn't find useful information. It seems that this is impossible for iPhone. There isn't information for BB and i found one discussion for Android. Do you have experience with such implementation? Is it possible? I have a...

Maps force closing

Hi, I am trying to add a map into my app but it constantly force closes. I have tried some test code and the intent works fine I have followed the HelloGoogleMaps tutorial and created a api key logged the activity in manifest. I have also set permissions in manifest 4 internet ang maps but it still force closes when i select map; p...

How do you run a shell script inside of an Android app?

I am trying to write an android app for root users that runs a series of shell commands, or a shell script if that is preferable, and displays the output... can anyone point me in the right direction? ...

Open dialog in worker thread

Hi, When I try to open a dialog in a worker thread, the dialog opens and then the whole application crashes. It is an android app. I get the following error (i cant post the image because i have less then 10 points :(() Any help will be appreciated :) Best Regards ...

How to view a big picture by dragging on Android? Just like we do on Google Maps..

I've being trying this all night through. Is there any good solution to do this? Having a sample code is better! ...

What is the lowest level to get at OnTouchEvent?

I am trying to use OnTouchEvent to manipulate some variables but it seems to run too slowly. It runs along with a lower level game engine and seems slugish. Is there a lower level way to listen for screen touch events? float x; public boolean onTouchEvent(MotionEvent event) { x = event.getX(); int eventaction = event...

Accessing rows in a ListView

Hello, I'm having trouble changing the data held within a TextView inside of a listView. I can access the data and send a toast of the text, but the list isn't updated when I change it. public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setListAdapter(new ArrayAdapter<String>(this, android.R...

Android Layout Resources Question

Hi, I am trying to embed an xml layout resource onto a custom view created in code. So for instance I have an xml file called about.xml i was trying the inflate method, but i am getting a NULL POINTER EXCEPTION CALL and kills my app. in my onCreate method, i am calling linearOut = new LinearLayout(this); linear = new Linear...

Android: Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml

I'm trying to install a platform but when I open android manager then I click Available Software then select the https://dl-ssl.google.com/android/repository/repository.xml repository I get this error. Failed to fetch URL https://dl-ssl.google.com/android/repository/repository.xml I have also tried downloading by clicking on force "htt...

ListView selector problem: Selection does not get removed

I have a ListView. When I click on a ListItem, I set the background of the ListItem (it's view) to another color: listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView<?> a, View v, int position, long id) { setupDetailView(position)...

How to give motionEvent to a imageview

hello all.. I am new to android .. I am developing one application in which there is an imageview...in which i want to move along with mouse using mouse touch... please help me out. Thanks ...

KSoap2 or RESTful web services with android

Hi! What is the best way to deal with web services in Android? I have been looking at KSoap2 library and RESTful web services. I got one working with KSoap2, but only when the web service is on a remote server, not on localhost. I have tried to redirect the ports for incoming and outgoing as it says on the android dev site, i have use...

How to set the initial zoom/width for a webview

I am trying to get the WebView to have similar behavior as the android browser. The browser opens all pages in a way that tries to fit their width to the screen. However, the default behavior of the WebView is to start at a 100% pixel scale so it starts zoomed in on the top left corner. I have spent the last couple hours trying to f...