1,542 Topics

Member Avatar for
Member Avatar for *sharath*

can i know how can we use a double touch on tabs in android. I found that onclicklistener and onlongclicklistener are not working for tabs. so now am in need of a double touch on tabs. Thanks in advance.

Member Avatar for *sharath*
0
170
Member Avatar for happygeek

The results from what is claimed to be the most comprehensive global online job trends survey, the 'Fast 50' Q2 2012 report took data from 190,000 online job postings as an indicator of the global online employment economy. Some of the findings are surprising to say the least, such as …

Member Avatar for justinbob
0
798
Member Avatar for mjacqu3

Hello, I am trying to add admob to an android app and I want to test it out first before I publish the app anywhere, but it seems in order to test it I need an ad unit id which I can only seem to get from admob after actually …

0
70
Member Avatar for bo0ga

I'm a college student about to graduate, and I would love to get a job in programming. Unfortunately, I chose Information Technology as my major instead of Computer Science which focuses more on programming. I've been watching video tutorials series on thenewboston.com. The first was about 90 videos on basic …

Member Avatar for richardboss78
0
188
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
181
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
51
Member Avatar for mjacqu3

Hello, I was trying to add a group of radio buttons to an Android application and I wanted them to be displayed in two rows of two. I tried to put a table layout inside the radiogroup to achieve this and the radio buttons no longer work. They show up, …

Member Avatar for mjacqu3
0
84
Member Avatar for mjacqu3

Hello, I am new to Android development and fooling around with some sample programs to get better acquainted with it. One of the tutorial books I read recommended writing a class to extend the Application class for easy access to shared preferences and things. My application includes a login screen …

Member Avatar for mjacqu3
0
137
Member Avatar for *sharath*

i am using the following code to get the latitude and longitude values of a particular area. public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); List<Address> foundGeocode = null; /* find the addresses by using getFromLocationName() method with the given address*/ try { foundGeocode …

Member Avatar for *sharath*
0
101
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
139
Member Avatar for dennisx

Hi i'm doing an android app which requires that i retrieve data from a MySql database stored in a webserver I am using a rest approach to do this the data is being retrieved through a json object. I would like to ensure once the data is retrieved its handled …

0
64
Member Avatar for Member #957165

For a mobile application development project what would be the best data communication technology ? is it web service project is better or WCF application project ? any clear reasons are also welcome Thanks Sanjeewa

Member Avatar for Member #957165
0
128
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
184
Member Avatar for xinwei

Hi all, I'm developing app on managing sim card contact. While i'm researching on this, i found this on internet [Click Here](http://code.google.com/p/simsalabim/). Its outdated and there are several issue i faced mention but few unsolve. I try to find tutorial on management of sim card contact but there isn't. Could …

Member Avatar for xinwei
0
96
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
896
Member Avatar for *sharath*

I am having a video running. and when i pause the video and click on capture button the screen should be captured. how can this be done? i tried the following code to capture but its taking a blank picture. View v1 = myVideoView.getRootView(); System.out.println("Root View : "+v1); v1.setDrawingCacheEnabled(true); Bitmap …

Member Avatar for *sharath*
0
128
Member Avatar for liftthis

I am trying to send generated link from one app to my text messaging app. This works if I use the default messaging application, however I designed my own and I get null. Do you have any idea, how to do this. This is my manifest: <activity android:name=".SmsSend" > <intent-filter> …

0
50
Member Avatar for tabish saroha

Dear all, I have no idea to develop an application for mobile.. I want to join this field. any one please help me to develop my first application of Hello World.... and also tell me in which tool mobile development is done.. Thanks Regards Tabish Saroha

Member Avatar for cbe_88
0
88
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
89
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
77
Member Avatar for pmark019

ProgressBar loading; Button login; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); loading=(ProgressBar)findViewById(R.id.progressBar1); login=(Button)findViewById(R.id.button1); } public void loginAuthenticate(View view) { loading.setVisibility(View.VISIBLE); login.setVisibility(View.INVISIBLE); Log.v("EditText", uname = txtUname.getText().toString()); Log.v("EditText", pass = txtPass.getText().toString()); initControls(); } The initControls() is a function that connects to a website and sends login information. I want to display the …

Member Avatar for peter_budo
0
133
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
64
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
98
Member Avatar for vuquanghoang

I want to learn about exlicit intent in Android, I just creat a new project in Eclipse with some following files: **1. activity_main.xml** <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" > <Button android:id="@+id/button1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:layout_marginTop="47dp" android:text="@string/main" /> <EditText android:id="@+id/editText1" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:layout_alignParentTop="true" android:ems="10" android:hint="@string/main_writeSomething" > <requestFocus /> </EditText> …

0
72
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
197
Member Avatar for millroy

hi i have created a j2me application which uses gps but wen it wants to use gps it prompts out a message to comfire its usage over location services. now i want to know how to make location servies to be used my default by the cellphone. i know its …

Member Avatar for saisyam.dampuri
0
147
Member Avatar for ret801

I have a basic TTS app that I want to output speech to the person on the other line, I just dont know what packages to look for to access the connection/ports or whatever so that my speech system can be heard by the other person, right now it just …

Member Avatar for saisyam.dampuri
0
73
Member Avatar for pmark019

This is originally a Java code. I tried to convert it for Android. In my XML I have a textbox. The text.setText is supposed to write the output to the textbox, but nothing is appearing. private static URL URLObj; private static URLConnection connect; public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); …

Member Avatar for stevelg
0
100
Member Avatar for *sharath*

can anyone explain this lines please. private ArrayList<View> history; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); this.history = new ArrayList<View>(); group = this; View view = getLocalActivityManager().startActivity("Sales", new Intent(this, SalesRouteActivity.class).addFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP)) .getDecorView(); replaceView(view); } public void replaceView(View v) { history.add(v); setContentView(v); } what does the line View view = getLocalActivityManager().startActivity("Sales", new …

Member Avatar for peter_budo
0
122
Member Avatar for *sharath*

can anyone help me out in displaying a calender. I tried out using date and time picker. But i need a way to make the user click a button and on the click of it a calender gets displayed. Any help would be appreciatable. Thanks in advance.

Member Avatar for peter_budo
0
145
Member Avatar for Hazuan Nazri

Hello!! can someone help me? i want to build a system for my Programming final project, i hope i can build a system that can connect with hardware and device. After searching on internet, i found this video [Click Here](http://www.youtube.com/watch?v=Kd7kLSAPG-A&list=FLObIBl2o5zE_XqgDBfIF59Q&feature=mh_lolz) i already watch all the video, and this system is …

0
149
Member Avatar for *sharath*

can anyone help me in providing a way to zoom an image with a zoom in and zoom out button. I tried using webViews but i want the zooming to be done in any other way. I also checked the code for zooming touching the screen but it didnt help …

Member Avatar for *sharath*
0
149
Member Avatar for dorien

I am trying to run an easy Android ndk app in cpp, but I get UnsatisfiedLink Error for the Generate() function. Any help would be appreciated. I am quite fluent in c++, but my java is a little bit rusty. I have been trying a lot of tips from the …

Member Avatar for dorien
0
287
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
63
Member Avatar for RazorNapster

I am familliar with Android Development however i am not familliar with web technologies.My idea is to make app that willnotify you when something on web page/you account happens.for example when private message arrives on your daniweb account notification would come up on your android phone.So if you could point …

Member Avatar for peter_budo
0
57
Member Avatar for dany12

Hy I want to install ubuntu on android netbook using a usb data link and my pc I have seen on the web a video where is used and eeepad from asus Can I do this with my goclever i102 netbook? Thank you in advance

Member Avatar for dany12
0
155
Member Avatar for hatebin

Hello. I'm develping an app on Andoird and I'm stuck on adding Values from a sensor to an arrayList. The sensor is working good because it shows my in the Log. But the (ArrayList) al.Size() = 0. Code: ArrayList<Float> aL = new ArrayList<Float>(); sm SensorManger = (SensorManager) getSystemService(SENSOR_SERVICE); public void …

Member Avatar for peter_budo
0
110
Member Avatar for *sharath*

am having a check box in my launcher activity. i need to enable it so that it helps in performing some action using a broadcast receiver. its working fine until and unless i use the back button to navigate back. but now i need to save the state of the …

0
128
Member Avatar for *sharath*

hi all.[ I am new to android programming and i got struck when i am trying to work with speech recognizer. i tried this tutorial and it worked fine ](http://www.jameselsey.co.uk/blogs/techblog/android-how-to-implement-voice-recognition-a-nice-easy-tutorial/) but now i want speech recognition to be done as and when i enter the oncreate().i dont want any button …

0
86
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
313
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
69
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
64
Member Avatar for sharathg.satya

can anyone please say what does the following error mean? android.app.ServiceConnectionLeaked: Activity com.readmessage.ReadingTTS has leaked ServiceConnection android.speech.tts.TextToSpeech$1@44f3aa68 that was originally bound here thanks in advance

0
61
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
78
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
142
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
143
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
135
Member Avatar for sshekhar.1987
Member Avatar for peter_budo
0
110
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
398
Member Avatar for coroll

Hi all, Im new to android and eclipse. When i create a new android project it provides a string call "hello" and the value is "Hello world, Test1Activity" as my project name is Test1. So when i run it the string is shown.No prob there. But if i modify the …

Member Avatar for coroll
0
109

The End.