android

Is MobiForms for Android worth investigating ?

I'm working my way through the NotePad tutorial, and that's all fine - I'm not a Java programmer but it's close enough to C# (or vice versa) to make it easy to pick up. I'm surprised that there aren't any RAD tools for Android apart from Mobiforms. Is there anyone out there with experience of Mobiforms ? ...

Android Cursor size

Hey, Anyone knows how to change cursor size in Edittext in Anroid??? I'm trying to implement SMS function. I used EditText and tried to put background image. The background image has lines so I need to put extra space between lines so that the background image and the lines fit nicely. But... if I use linespacingextra, it increase c...

References to other strings in strings.xml ?

Hi Is it possible to reference other strings inside of strings.xml ? Something of the form: <string name="string_one">My string</string> <string name="string_two">Here it is: android:id="@string/string_one" </string> (If it did exist, there would of course be problems of circular, infinite definitions, etc. to beware of). Thanks. ...

CustomListAdapter Problem in Android? Getting ClassCast Exception? How???

i want to improve the list view's performance. this is the code for my getView method in my Adapter? public View getView(int arg0, View text_view_name, ViewGroup parent) { try { if (text_view_name == null) { text_view_name = mInflater.inflate( R.layout.bs_content_list_item1, null); ...

Android multimedia frameworks- How does audioflinger manage the connected audio devices?

what is the actuall detailed control flow while playing or recording an audio? and what is the role of audioflinger component here.. ...

How to link paid app user account to the system ?

Hi guys, I have an issue related publishing the paid app to android market. (My application is internet connection based app.) If I've put the app to the android market, can user who bought the app pass to anyone ? How is its security (I mean safe of .apk file) ? Also, what is payment tool of android market ? My main point is choosi...

Insert space after autocompletion in Android

Hello, I'm an Android developer and when my apps summon the keyboard, choosing an option in the autocompletion menu inserts the chosen word but not a space after it. Is there a way to make a space appear automatically I trigger autocompletion? Thank you in advance. ...

Android Shape Line

I have the following code: <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="line"> <stroke android:width="1dp"/> <size android:height="1dp" /> <solid android:color="#FFF"/> </shape> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" ...

Screen lock customization for android

Hi frens I'm planning to explore the possibilities on how to make a screen lock better (like pattern based). It will be great help if someone points out the difficulty level or where to actually start digging. This is going to be my project idea for minor research paper. What do u guys think or if anyone has more ideas worth exploring, I...

android mobile development performance vs extensibility

im developing a game in android, and i've been thinking about subdividing many of the elements of the game (e.g. game objects) into separate classes and sub-classes. but i know that method calls to these objects will cause some overhead. would it be better to improve performance or to improve extensibility? ...

Communication between Activities: Intent or Service: what is faster?

Is there a significant difference in time needed for sending data over a service or by using an intent? Are there general advices when to use service and when to use intents? ...

A simple free MIDI implementation in Java besides javax.sound.midi: Are there any?

The problem is: Android doesn't implement javax.sound.midi. I need a simple free library that allows me to create simple 1-track midi files. I searched the net for it, but can't really find anything, since everything uses javax.sound.midi . The license needs to be one where I don't need to opensource my linked app. Any ideas? I also...

fast scroll custom thumb

Hi, how can i set custom thumb for fast scroll in listview. ...

How to hang up (disconnect, terminate,..) incomings call???

"How do you hang up incoming calls (in Android of course)?" First, I know this question has been asked and answered several times, and the response is always "you can't". But if we look in the market we get a few applications (all private software, no access to the source code... :-( ) that do this action, such as CallFilter, Panda fire...

Using Regular Expressions

I am having problems trying to use the regular expression that I used in JavaScript. On a web page, you may have: <b>Renewal Date:</b> 03 May 2010</td> I just want to be able to pull out the 03 May 2010, remembering that a webpage has more than just the above content. The way I currently perform this using JavaScript is: DateStr = /...

How to exit current activity to homescreen (without using "Home" button)?

Hi everyone, I am sure this will have been answered but I proved unable to find it. So please excuse my redundancy. What I am trying to do is emulating the "Home" button which takes one back to Android's homescreen. So here is what causes me problems: I have 3 launcher activities. The first one (which is connected to the homescre...

Android insertImage and the Gallery Application

I am adding a bmp file to the media store using the line below ContentResolver cr = getContentResolver(); Uri uri = Uri.parse(MediaStore.Images.Media.insertImage(cr, bmp, "name", "now")); I then go to the gallery application and it shows the image, but shows it under "Camera Pictures". Is there a way to change this to its own group,...

Android application files

Hi, Is there a way to programatically get the path to the databases/files an application uses instead of hardcoding "data/data/mypackage.com/database.db" ? ...

How to programmatically add view in ViewFlipper

Hi, I have following main layout: <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="fill_parent" android:layout_height="fill_parent" xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical"> <ViewFlipper android:id="@+id/viewstack" android:layout_width="fill_parent" ...

Dynamically build data for ExpandableListView

Hi, I'm using "ExpandableListView" in my application to display some options that . I need a way to build automatically the information to show when a group is expanded as the information might be different each time the group is expanded. ...