1,245 Topics

Member Avatar for
Member Avatar for Djmann1013

Hi, my app that I am making is not working. Here is the code: package com.awsomechat; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.ArrayList; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.NameValuePair; import org.apache.http.client.HttpClient; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http.client.methods.HttpPost; import org.apache.http.impl.client.DefaultHttpClient; import org.apache.http.message.BasicNameValuePair; import org.json.JSONObject; import android.os.Bundle; import android.app.Activity; import android.content.SharedPreferences; …

Member Avatar for peter_budo
0
314
Member Avatar for kodewa
Member Avatar for game06

error on lines: setContentView(R.layout.activity_main); getMenuInflater().inflate(R.menu.activity_main, menu); error: ----- R cannot be resolved to a variable package com.example.android_01; import android.os.Bundle; import android.app.Activity; import android.view.Menu; import android.widget.EditText; public class MainActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); } @Override public boolean onCreateOptionsMenu(Menu menu) { getMenuInflater().inflate(R.menu.activity_main, menu); return true; …

Member Avatar for cool_zephyr
0
267
Member Avatar for Gen.Asura

Hi i'm practising in creating an android application where a user can store records into an external database (my local server in myphpadmin). I can store records into the the database just fine but I wish to prevent the same information being entered twice. I wish for my system to …

Member Avatar for rubberman
0
145
Member Avatar for cool_zephyr

hi, I've developed an anroid app for API level 10 which corresonds to android 2.3 as far as I know. But when I try it on a phone with 2.3.6, the app doesn't show correct results. Is it because of different RAM and CPU speeds?? How can I make the …

Member Avatar for cool_zephyr
0
186
Member Avatar for GlenRogers

Hi guys, does anyone know of a way to make divs scrollable in android devices? Ihave used overflow:scroll; This works ok in pc browsers and even makes the div scrolable on the iphone, but does not make the div scrollable on an android device. Any help appreciated............

Member Avatar for GlenRogers
0
108
Member Avatar for aVar++

Hello, I am creating my app and whenever a page loads it instantly focuses on the edit text. How do i stop this? - Mat

Member Avatar for coolbud012
0
83
Member Avatar for Violet_82

Hi guys, I need to buy a new battery for my Samsung galaxy GT-I9000, because the one I currently have doesn't hold charge for that long. I wonder, do you think it is safe to get one off ebay/amazon, or is it better to get a samsung's? thanks

Member Avatar for Violet_82
0
230
Member Avatar for amkaos

Hi: form validation and submission to email and mysql database work fine on pc. android is different story. 1. js validation returns error messages on fields that are filled in; 2. when i turn off javascript and use php only, the validated form submits to email fine but Not to …

Member Avatar for amkaos
0
83
Member Avatar for MasterHacker110

When ever I try to run my project I get this error: C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(2,2): Error MSB4018: The "Aapt" task failed unexpectedly. System.InvalidOperationException: Sequence contains no elements at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at Xamarin.Android.Tasks.BuildToolsUtils.GetBuildToolsPath(String androidSdkDirectory) at Xamarin.Android.Tasks.Aapt.GenerateFullPathToTool() at Microsoft.Build.Utilities.ToolTask.ComputePathToTool() at Microsoft.Build.Utilities.ToolTask.Execute() at Xamarin.Android.Tasks.Aapt.Execute() at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext() (MSB4018) (test) And I dont …

Member Avatar for MasterHacker110
0
301
Member Avatar for Cheeve

Hello, I am curious about how to root an Android phone without using any one click methods. A Google search returns only how to use programs to do this for you. Obviously there is a security vulnerability that is exploited, but I'd like to know in detail how this is …

Member Avatar for CimmerianX
0
392
Member Avatar for reddsoxy

I am intereseted in writing a game or two for the android platform but am much more comfortable and knowledgable about python than I am about Java. I was curious if python is used for android games and if so some basic points of advice.

Member Avatar for TrustyTony
0
118
Member Avatar for cool_zephyr

hey could anyone please tell me how to create a dialog from a background thread that is not a UI thread in Android?? something like this.. Thread t=new Thread(new Runnable() { @Override public void run() { Thread innerThread=new Thread(new Runnable() { @Override public void run() { /////***** i need to …

Member Avatar for peter_budo
0
380
Member Avatar for christ123

Hi. I have read a bunch of posts,articles and everything but i cant get a solution.. i make an android app.. i start the first activity(first class). then i have a button for the second activity which i load it like this: Intent i=new Intent(firstactivity.this,secondactivity.class); startActivity(i); in the second activity …

Member Avatar for cool_zephyr
0
133
Member Avatar for happygeek

This one is for UK-based DaniWeb members, or those of you who are visiting the UK and want to be able to charge your smartphone via a USB mains charger that is neither bulky or heavy. I'm not usually the type of person to get excited by a plug, honestly, …

Member Avatar for kasi123
1
558
Member Avatar for bdheeraj

hi i am new to android.i am using eclipse ide for android development.i am unable to add files into my emulator Here's what i did 1.opened the ddms and went to file explorer and push the file to the device and selected the file. it says the file is pushed …

Member Avatar for peter_budo
0
117
Member Avatar for rey00795012

When you make an app that sends sms msgs using the android bulit in or the smsmanager, are those text msgs sent for free? or they are sent as part of whatever text contract the user has? does anyone know?

Member Avatar for rayidi
0
89
Member Avatar for 9tontruck

Hi, I am implementing an Android app using my old C++ classes. Everything looks okay but I have a wierd message which is : Invalid arguments ' Candidates are: void * malloc(?) ' The malloc code is written in a cpp file and <stdlib.h> is included properly but compiler does …

Member Avatar for rubberman
0
128
Member Avatar for Rubinder singh

I planning to buy an Android phone of medium budget so I need your help to find out the best so it does not hangs and works smoothly, it should support most apps in the play store?

Member Avatar for Rubinder singh
0
211
Member Avatar for engrjd91

i have to develope a attendance system based on rfid ... the interface will be shown on a tablet pc (android) now the system will be conceptually work as: 1- the student will scan the card on rfid reader.. 2- the respective barcode that is scanned will be checked for …

Member Avatar for rubberman
0
123
Member Avatar for LateNightCoder

I recently uploaded an application to Google Play and since then have realised tht it has no supportive devices. After searching the web I found that maybe it was down to not having an 'active' APK. I checked that and it was active. Also other suggestion were that I hadn't …

0
81
Member Avatar for n5555

I am developing Android app in which i upload large video from android to php server and i done this task which run perfect on emulator but when i checked on mobile it doesn't give any error but video is not upload on server please give me any suggestion as …

Member Avatar for n5555
0
137
Member Avatar for setu basak

package com.example.crypton; import android.app.Activity; import android.content.Intent; import android.database.Cursor; import android.net.Uri; import android.os.Bundle; import android.provider.Contacts; import android.provider.Contacts.People; import android.provider.ContactsContract; import android.provider.ContactsContract.CommonDataKinds; import android.provider.ContactsContract.CommonDataKinds.Phone; import android.provider.ContactsContract.CommonDataKinds.StructuredName; import android.provider.ContactsContract.Data; import android.telephony.SmsManager; import android.util.Log; import android.view.MenuInflater; import android.view.MenuItem; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.Toast; import android.app.PendingIntent; public class CREATEMESSAGE extends …

Member Avatar for setu basak
-1
252
Member Avatar for setu basak
Member Avatar for Nomorewine

Hello. Please help with fragments in android. I have Activity which extends FragmentActivity to where I'm adding/replacing fragments dynamically. activity.xml and fragment.xml are the xml files. MyFragment class extends Fragment public class MyFragment extends Fragment { TextView t; View view; public static Fragment newInstance(){ MyFragment myFrag = new MyFragment(); return …

Member Avatar for Nomorewine
0
5K
Member Avatar for nakedl

Im an IT student from La Salle University, where having a problem regarding our final Thesis project. Our Project is about Android Application, our problem is that **(1)we dont know if an application can get a stored 3d animation(video) from a web server**. **(2) We cannot get the Conceptual Framework …

Member Avatar for Ketsuekiame
0
106
Member Avatar for lena1990

hi all is there is a way to give an android application a root privilage so that it will be run as a system application

Member Avatar for lena1990
0
85
Member Avatar for bdheeraj

hi i want to create a simple android app that gets two numbers in the main activity and when we click submit it goes to another activity and displays the result. i created two classes mainactivity.java public class MainActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); …

Member Avatar for peter_budo
0
122
Member Avatar for Adami

Hi all, I wrote a simple app that shows your current location depends on GPS, WiFi, 3G signals, and shows in a Text View the location as city,street, country. The problem is that I saw that the location is pretty updated with WiFi\ 3G \ GPS, but the Text View …

Member Avatar for BitBlt
0
2K
Member Avatar for Z33shan

i have GridView, populated with images of 6 fruits (from drawable-hdpi). like this: ![de4e62f8db2c5d5afe016e20eda3d9d6](/attachments/large/3/de4e62f8db2c5d5afe016e20eda3d9d6.png "de4e62f8db2c5d5afe016e20eda3d9d6") now on selection, how can i come to know, what fruit the user has selected? since i'm populating my images from drawables-hdpi, so wot would be the identifier, and how to identify selection through it? …

Member Avatar for BitBlt
0
80

The End.