1,249 Topics

Member Avatar for
Member Avatar for raul8

I have an ArrayList containing folder name which contains songs: private ArrayList<String> searchableDir = new ArrayList<String>(); searchableDir.add("/mnt/sdcard/Tracks/U2/"); searchableDir.add("/mnt/sdcard/Tracks/Coldplay/"); Now I want to run a managed query that will fetch songs from both these folders. Currently I'm only able to fetch one folder at a time: String abc = "/mnt/sdcard/Tracks/U2/"; cursor …

0
57
Member Avatar for hatebin

Hi ! I'm devloping a Personal Trainer app on android and I need to remember training results in a history. I decided to remeber this results in a XML file. WHAT I HAVE: is an User class with results class User{ String name; int result1; int result2; User(String name, int …

Member Avatar for peter_budo
0
292
Member Avatar for harlequinForest

So, I'm going to make an app for my convenience and probably some others, and here's what makes me wonder: I have no prior knowledge in databases, so I really don't know the most efficient practice in making a database. Here's the problem: let's say I want to make three …

0
71
Member Avatar for pmark019

Example: A website contains 2 textbox with names Username and Password. I am planning to make those textbox appear in the application and if I input a value in those textbox, it's like I am inputing value to the website itself. Is there any way for me to do that?

Member Avatar for peter_budo
0
59
Member Avatar for harlequinForest

So, I'm going to make an app for my convenience and probably some others, and here's what makes me wonder: I have no prior knowledge in databases, so I really don't know the most efficient practice in making a database. Here's the problem: let's say I want to make three …

0
57
Member Avatar for sdr001

Hello, I start to record with this line: Intent intent = new Intent(MediaStore.Audio.Media.RECORD_SOUND_ACTION); startActivityForResult(intent, RQS_RECORDING); I would like specify where this file gets saved, and the files name. Is there a way to do this? Thank you

0
71
Member Avatar for <HHH>

i have error which teel me no resource found in my main.xml file and i cant resolve it any help please <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="@android:drawable/images.jpg"{it give me error here} > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0.07" android:gravity="center_horizontal" android:text="@String/hello" />{and here} > <Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="0.01" android:text="Back" android:textSize="40dp" …

Member Avatar for peter_budo
0
133
Member Avatar for pmark019

Is it possible to send the content of a textbox in an android application to the textbox of a website?... Example: I have IDNo and Pass as textbox in my application. There is also a log.in button. If i press the login button, the content of IDNo and Pass will …

Member Avatar for pmark019
0
123
Member Avatar for progra_learner

Hi i'm new to android development.So i have comeup with a simple dictionary application.It should connects with sqlite database and show the meaning of an english word, when button clicks.The user enter the relevant word into a Edittext field and click the translate button.Then it should show the meaning on …

Member Avatar for kvprajapati
0
118
Member Avatar for user1133q

Hi, i'm working on a project, that scales and move the image, now i want to rotate the image, i tried using `matrix.postRotate(degrees);` but didn't work for me, here is my code: @Override public boolean onTouch(View v, MotionEvent rawEvent) { WrapMotionEvent event = WrapMotionEvent.wrap(rawEvent); // ... // Dump touch event …

Member Avatar for john29
0
381
Member Avatar for trektrak

Hey Guys, I'm playing with android webview.. and I would like to have it running background whenever I press home button... Please let me know if this is possible... Here are the codes, maybe I need to tweak anything .. package trektrak.GeoWebView; import android.app.Activity; import android.os.Bundle; import android.webkit.GeolocationPermissions; import android.webkit.WebChromeClient; …

Member Avatar for ejosiah
0
240
Member Avatar for iamthesgt

I am going to redo the interior of my truck (a 1998 Chevy K1500 Pickup) and want to mount a Android tablet in the dashboard to replace all my stereo and environment control (maybe vehicle lights too). My plan is to write an Android app to do this, but I'm …

Member Avatar for iamthesgt
0
121
Member Avatar for steven447

I have recently bought a Galaxy S3 with icecream sandwich. One of the futeres I like is the social networks integration with the contacts app. I can now see status updates from facebook, hyves,Google+ and whatsapp. I want to be able to see my twitter contacts in ics to. How …

0
131
Member Avatar for M.Waqas Aslam

hello ! i love to use cell phone apps , but now i want to develop them , please guide me which is the best and easy sdk for android mobile applications , and from where i can start working on it. Regards

Member Avatar for peter_budo
0
187
Member Avatar for baig772

I am running an application in which i am running an audio when it is clicked on image, while audio is being played and i changed the mode from landscape to portrait or from portrait to landscape and click on image, it plays another audio clip i.e. 2 audios are …

Member Avatar for peter_budo
0
127
Member Avatar for hatebin

Hi, I'm tring to create an application to count steps and i need to know how to use gravity sensors in smartphones in android. Do you have any suggestions how could i do that ? What I already have is a simple app to count pushups but it is based …

0
76
Member Avatar for elantech

Android Application Development or iphone Application development??? Which Apps are more useful and cool???

Member Avatar for Decidebay
-2
271
Member Avatar for shanki himanshu

i am new to android application development. i have run hello world program only. now i want to run some sample code. when i try to run them i got this error in new dialog box: "Could not write file: C:\Program Files (x86)\Android\android-sdk\samples\android-15\SoftKeyboard\.project. C:\Program Files (x86)\Android\android-sdk\samples\android-15\SoftKeyboard\.project (Access is denied)" i …

0
67
Member Avatar for baig772

i am new to android. While i am running my application, it is running well in landscape mode, but in portrait mode, application is forcefully closed giving the following in log 05-31 16:48:30.958: W/KeyCharacterMap(428): No keyboard for id 0 05-31 16:48:30.958: W/KeyCharacterMap(428): Using default keymap: /system/usr/keychars/qwerty.kcm.bin 05-31 16:50:45.728: D/AndroidRuntime(484): Shutting …

Member Avatar for baig772
0
182
Member Avatar for Perigee

**Appcelerator releases Titanium 2.0 with suite of mobile cloud services.** On April 17th, 2012, Appcelerator took the wraps off of the latest release of their flagship product Titanium 2.0. This major point release of the seminal cross-platform mobile development environment brings with it a new suite of ready-to-use 'Instant Mobile …

0
238
Member Avatar for Nickl246

Hi, below is my code for an android app I am developing, I was wondering how I can pass the value of pos from the array adapter to another activity through intent? What I would like is for the code in the next activity to be performed based on the …

Member Avatar for peter_budo
0
607
Member Avatar for dschuett

The code below currently pulls data from a mysql database and displays it in a ListView. What I am looking to do is find a way to have the application check the mysql database every minute or so to check for any new entries, and if it finds a new …

Member Avatar for peter_budo
0
185
Member Avatar for baig772

Hi all, How i can exit from an application? Button exit = (Button)findViewById(R.id.exit_btn); exit.setOnClickListener(new Button.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub finish(); java.lang.System.exit(0); } }); this code just takes me to the last activity but i want to completely close the application

Member Avatar for peter_budo
0
52
Member Avatar for vicsong93

How to create 3 type languages ( Chinese, English, Malay ) dictionary application for android ?????

0
61
Member Avatar for im abcd

So my android project should show a startup image at first and then start the program but instead it shows a blank black screen . Here is my code : My class.java : package abcd.pack; import java.util.Timer; import abcd.pack.R.layout; import android.app.Activity; import android.content.Intent; import android.os.Bundle; public class Class extends Activity …

Member Avatar for peter_budo
0
119
Member Avatar for baig772

Hi all, i am new to android development, in fact its my first application. i am making a simple calculator. i just want to know how to get the value of a pressed button. Any help plz

Member Avatar for peter_budo
0
9K
Member Avatar for im abcd

I have just started android development and i cannot even compile a simple program because i get a error " button cannot be resolved to a type " in the .java file . .java file : package abcd.pack; import android.app.Activity; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.TextView; public class …

Member Avatar for im abcd
0
793
Member Avatar for mannanmanish

Dear all, I am New to Mobile development and would like to have your help and i am trying to install Android on my eclipse but i am unable to do so Please find the below details about version may be usefull for rectifying the issue 1.eclipse version Eclipse SDK …

0
124
Member Avatar for OldDeveloper01

I have this printed "ljava.lang.string;@40585b18" instead of a vlaue from the string array called answers. At the moment i am not pick really as to what is pritned out. Just get the app to display something meaningfull from the array will be a good place to start right now. The …

Member Avatar for peter_budo
0
134
Member Avatar for OldDeveloper01

I have this block of code below which is to control questions which are to be displayed from the array. I am having problem with the the 3rd line of code, an i am not entirely sure what the problem is. rnd1, rnd2 are both double. Eclipse is telling me …

Member Avatar for m4ster_r0shi
0
245

The End.