919 Topics

Member Avatar for
Member Avatar for SolidSora

I'm trying to make a mobile version of my website, the one on the computer works fine, but the mobile one is not. It will only show text, but not images. I think the problem is with Yahoo and not on my end. Anyone know of a way to get …

Member Avatar for pritaeas
0
171
Member Avatar for xinwei

I have doubts on android sdk-15 sample ContactManager. 1) ContactManager.java => getContacts() Is there any way i query out contacts only located in sim card or phone book ? 2) ContactAdder.java => onAccountsUpdated(Account[] a) When i'm in debug mode on my device, I check the account array, a. As I …

0
45
Member Avatar for Sunil Bagri

hi i am developing an android application on platform 2.1 im presently working on two classes: Dbhelper.java RssActivity.java I have made a students table, its schema is created but my problem is values are not being inserted into it. There are two textbox: one for Name and other for entering …

Member Avatar for Sunil Bagri
0
125
Member Avatar for supreet.kaur26

hii..i am new to android..i am developing an android application on platform 2.1.. There are two textbox: one for Name and other for entering job.I want the values should be taken from the 2 textboxes editText1 and editText2 and inserted in my database whenever a user clicks the button.Please help …

Member Avatar for peter_budo
0
170
Member Avatar for Cenchrus

Hey everybody! I recently bought a book on developing for android. I got stuck on the main.xml file code when it gave me a bunch of errors... here's the code <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" > <SlidingDrawer     android:id="@+id/drawer"            android:layout_width="320dip"              android:layout_height="440dip"              android:orientation="vertical" …

Member Avatar for Mike Askew
0
871
Member Avatar for bflack

Hi guys, I'm practicing on developing a flash application for android mobile. The application/game's functionality is suppose to perform drag and drop. Specifically, it should drag and drop images that I create. The question is that: Is the drag and drop functionality in flash apps supported in android??? Thanks

0
75
Member Avatar for millroy

hi i am making a android app for a compass but i havew a great problem with Images cuz i m using images and i am new to android the problem occurs wen i call the ImageView constructor or try accessing any of its methods like setImageDrawable. this is my …

0
70
Member Avatar for millroy

hi i amm new to android programming i am having a problem with the views i.e i am creating a custom veiw the promble is when i attatch it to activity is does not work the emulator gives up an error saying the app suddently stopped running i also need …

Member Avatar for peter_budo
0
58
Member Avatar for pmark019

This is the XML <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/RelativeLayout1" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@drawable/login" android:gravity="center_horizontal" android:orientation="vertical" > <ScrollView android:id="@+id/ScrollView01" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:isScrollContainer="false" android:layout_alignParentTop="true" > <TextView android:id="@+id/textView1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="TextView" /> </ScrollView> <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_centerHorizontal="true" android:layout_marginBottom="129dp" android:background="@drawable/bg" android:onClick="loginAuthenticate" android:text="Login" android:textColor="#FFFFFF" /> <EditText android:id="@+id/editText2" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_above="@+id/button1" android:layout_centerHorizontal="true" android:layout_marginBottom="76dp" …

0
90
Member Avatar for Desh2350

Hello All, I'm currently working on developing a game app for Android. The game app is based off of 'Mr.Nom' from Beginning Android 4 Games Development. I've kept the code the same for this first version, but did make some original graphical and audio attributes. I worked through the last …

Member Avatar for saisyam.dampuri
0
186
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 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 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
117
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
377
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
130
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
126
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 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
237
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
604
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
184
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 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 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
127
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
243
Member Avatar for arshad115

Hello, I am making an application for Android that will save users voice command and then while the application is running; compares the realtime data from the mic input to the one that is saved. So far I have saved the voice in wav file now I want to compare …

0
142
Member Avatar for Cenchrus

Hey guys, I was wondering if someone could help me interpret line by line what is happening in this code... package com.example.helloandroid; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); …

Member Avatar for Syrne
0
220

The End.