1,245 Topics

Member Avatar for
Member Avatar for shanki himanshu

what is the use of string.xml file in android? is it like defining global strings if we have multiple .java files in android application? correct me if i am wrong

Member Avatar for peter_budo
1
68
Member Avatar for kendaop

Hi everyone. I'm teaching myself Android and it's been nothing but trouble. I'm having difficulty even doing some of the simplest tasks. Anyways, I've created a login screen, and when the user presses "OK", I want to switch activities, but it's not working. Here're my Logcat erros: 10-26 10:24:23.779: E/Trace(952): …

Member Avatar for peter_budo
0
607
Member Avatar for SCass2010

Hi all, I was looking to make an android app that gets data from a C# wcf server - at the minute I can pull some basic data and they are communicating - however what is the best way to create an app like this? I know that networking operations …

Member Avatar for peter_budo
0
103
Member Avatar for ziyaddinsadigov

Hi, guys, i made listactivity and i want to enter to other activities by clicking to list items. But there is a problem. This is my code: public class Main extends ListActivity { String[] values = { "Samsung", "Sony Ericsson", "Iphone" }; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //setContentView(R.layout.activity_main); …

Member Avatar for peter_budo
0
103
Member Avatar for bettybarnes

Hello, I'd like to ask if you know how to keep my simple stopwatch timer running even when I press the back button to go back to the previous activity. How can I achieve this? Thanks for your help in advance.

Member Avatar for BigPaw
0
90
Member Avatar for Cronicle8

Hello, I'm building this app, which requires a Camera, but it is not working, it doesn't show anything except the design, here's teh code: Camera c = null; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.qrreaderscreen); SurfaceView v = (SurfaceView) findViewById(R.id.v); SurfaceHolder surface_holder = null; v = new SurfaceView(getApplicationContext()); if (surface_holder …

Member Avatar for Cronicle8
0
303
Member Avatar for LaughingOtter

Hi! I'm in charge of building a somewhat complicated app for the Android. I know enough Java to do this, but I have been running into a couple of snags as far as the mobile bit goes. The app opens on a standard login page, using the client's ID number/SSN …

Member Avatar for LaughingOtter
0
134
Member Avatar for lse123

Android intents Qs: Phonebook app, on view particular contact...facebook call works, skype is like not press, email shows not supported, and phone call gives error 2.3.3/2.2 ... well? all from menu button menu... can you debug... private void call(int i) { // TODO Auto-generated method stub switch (i) { case …

0
64
Member Avatar for hwoarang69

note i am working on eclipse, java, xml and anroid. i have a activity_right_sub_menu.xml file <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/I_ABOUT" android:title="About Us" android:numericShortcut="1" android:alphabticShortcut="a" android:orderInCategory="100" android:showAsAction="never"/> <item android:id="@+id/I_PREFERENCE" android:title="Preferences" android:numericShortcut="2" android:alphabticShortcut="b" android:orderInCategory="100" android:showAsAction="never" /> </menu> than i have a Menu.java file public class Menu extends ListActivity { …

Member Avatar for jalpesh_007
0
3K
Member Avatar for bettybarnes

Hello everybody, I'd like to ask for your help regarding my Android project. I'm planning to track user's data like BMI, and display it in a bar graph. Please give me some help how to implement, what APIs could I use and if you have any experiences developing an app …

0
53
Member Avatar for davecoteproductions

Hi, Cote here, and I'm very pleased to announce that I've ported ALL my sl4a apps to eclipse apk, it embeds with the python interpreter, no need to install anything but the app off google play! I have completed: A) Android Eye (Computer Vision), that takes a picture and tells …

Member Avatar for BigPaw
0
324
Member Avatar for jemz

Hi, I am still learning android and i want to ask some help on how to use the menu in android.I already have edited in the ...res/menu/main_menu.xml...i put it there addition,subtraction,mulitplication...now what i want is that when i am going to launch my application i have a default screen displayed …

Member Avatar for jemz
0
54
Member Avatar for chuyauchi

I'm making an Android maze game. Currently, I'm using the UP/DOWN/LEFT/RIGHT button from the emulator. I would like to add the motion sensor to move the ball. How do I use the motion sensors? Is there any open source to control the ball? http://images.plurk.com/4OmXYw7VZ76FYg2eufH4Bz.jpg package com.chrischu.inclassassignment_3; //import com.chrischu.mazegame.R; import android.annotation.SuppressLint; …

Member Avatar for peter_budo
0
154
Member Avatar for hwoarang69

i got a text file <TextView android:id="@+id/TV_LABEL" /> <Button android:id="@+id/B_BUTTON" /> than in my java file password = (EditText)findViewById(R.id.ET_PASSWORD); button = (BUTTON)findViewById(R.id.B_BUTTON); public void onClick(View view) { // TODO Auto-generated method stub switch(view.getId()) { case R.id.TB_TOGGLE: } my question is what is value these variables password switch(view.getId()) case R.id.TB_TOGGLE case …

Member Avatar for peter_budo
0
68
Member Avatar for otttt

Hi Thgin i seek is to create a connection (android) to the latest postgresql 9.2 database. Theat is running on a distant server. Can i Do it? Is postgre 9.2 JDBC driver fro andoid out? & little bit distant question. If the prevous is doable. How i an write tet …

Member Avatar for peter_budo
0
169
Member Avatar for hwoarang69

i am useing java xml to make android apps. in my xml file i have a 2 edittext where user will enter 2 numbers. <EditText android:id="@+id/ET_FIRST" android:layout_width="300dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginTop="50dp" android:hint="Enter 1st number hint" android:inputType="numberDecimal" android:textColor="#ffffff" android:textSize="25dp" android:textStyle="bold" /> <EditText android:id="@+id/ET_SECOND" android:layout_width="300dp" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_marginTop="100dp" android:hint="Enter 2nd number hint" android:inputType="numberDecimal" …

Member Avatar for Wisestepp
0
269
Member Avatar for happygeek

Samsung has fixed the Unstructured Supplementary Service Data (USSD) exploit that could remotely wipe data from a Galaxy S III smartphone, but that doesn't mean the USSD threat is over: far from it in fact. According to some security researchers, 400 million Android device users are at risk from having …

Member Avatar for solutionsinfini
0
661
Member Avatar for hwoarang69

i am trying to play music when my app start but this line is giving me a error. on 'res'. so i have a project called ANDROID_01 ANDROID_01 > res > sound ourSong = MediaPlayer.create(Splash.this, R.res.sound.intro); my folder tree ANDROID_01 assets bin gen libs res drawable layout menu sound intro.mp3 …

0
66
Member Avatar for LaughingOtter

Hello again! So, what I have so far is a partial app that accepts a username/password, does two-way server work to determine legitimacy, then if successful, slurps in an XML file that has all the data the app itself will need. One of the most important XML variables determines which …

0
94
Member Avatar for happygeek

Continuing the Lord of the Rings theme that I started with in the title of this review, I believe it is Gandalf who says "there is only one Lord of the Ring, only one who can bend it to his will. And he does not share power" but he sure …

Member Avatar for bryandavison1
0
402
Member Avatar for dasd

I'm interested in the HTC One. It is reported to have a 'hard to damage' polycarbonate case and seems to have great user reviews. My issue is with AT&T selling this phone for $549.00 without contract (* $199.00 with a 2 Year - which I do not want!*) when it …

Member Avatar for rubberman
0
196
Member Avatar for supravat

Hi, Suppose I have 3 bluetooth devices( device1, device2, device3) paired with my android phone. Is there any way to test whether the remote bluetooth device is turned on or not using python script ?

0
67
Member Avatar for supravat

Hi, I want the list of paired bluetooth device list of an android device using python script. can any one please help me ?

0
45
Member Avatar for muzamilsw10

Hi, I work on Microsoft Windows XP, I have installed - Eclipse(Version: eclips-mobile-juno) - ADT(Version: 20.0.1.v201207132230-403220) - Android 2.2(API 8) But I need to get Android 2.3.3(API 10), so when I select Android 2.3.3(API 10) and try to install, my catalog shows this errors Preparing to install archives Downloading SDK …

Member Avatar for peter_budo
0
119
Member Avatar for chuyauchi

My Android preference (menu) is not opening a new activity. When I click the 'menu' button on the emulator, I can see my 'Setting' option. However, when I click the 'Setting', the setting page is not showing. There is no error and warning. Thank you for your time. I am …

0
63
Member Avatar for supravat

Hi, I am writing some code for android using python. I want to control the visibility of bluetooth ( i.e on or off of the bluetooth visibility) using some python script. Can you please help me ?

Member Avatar for M.S.
0
297
Member Avatar for m1n1m3

Hey! **Im here to ask for Your advice.** For a school project we choosed to create a android application that uses a database. As we are thrid year studens we have some experiance. But it is not as notable. We have **seen some**: **Access SQL** only on acess. How to …

Member Avatar for peter_budo
0
226
Member Avatar for abhishek_s_n

My application has two parts; a server and multiple clients. This project has its implementation both on Windows(Swing) and Android. The Server sends a song which a client receives and starts playing; more like we watch videos on YouTube; streaming. Sending data in chunks and receiving the same is accomplished. …

0
131
Member Avatar for Andyjava

Hello all. public class LoginFragmentActivity extends SherlockFragment { EditText e1 = null; EditText e2 = null; Button b; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInatanceState) { View view = inflater.inflate(R.layout.login_layout, container, false); e1 = (EditText) view.findViewById(R.id.reg_email); e2 = (EditText) view.findViewById(R.id.reg_password); b = (Button) view.findViewById(R.id.btnLogin); b.setOnClickListener(new View.OnClickListener() { @Override …

Member Avatar for Andyjava
0
119
Member Avatar for mIND.dEcEpToR

How can I programatically and accurately detect the touch/slide made by a user's touch on an android phone? I want this to be used as suppose I have two android devices synced with each other. Both of them have anything opened suppose pdf file, music file video file. Then if …

1
97

The End.