1,249 Topics
| |
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 … | |
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 … | |
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 … | |
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? | |
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 … | |
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 | |
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" … | |
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 … | |
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 … | |
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 … | |
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; … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
Android Application Development or iphone Application development??? Which Apps are more useful and cool??? | |
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 … | |
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 … | |
**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 … | |
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 … | |
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 … | |
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 | |
How to create 3 type languages ( Chinese, English, Malay ) dictionary application for android ????? | |
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 … | |
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 | |
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 … | |
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 … | |
| 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 … |
| 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 … |
The End.