1,248 Topics
| |
Hey guys. I have a simple question about my android app. I know what you are thinking " this dumbass just posted this in the wrong thread". But I did it for a reason. The error that I have is related to java...not android. (I will star every line of … | |
I have 4 ImageViews which need to be moving from right to left. This is the sample video of my animation: https://docs.google.com/file/d/0B-Jk0rK9-8gUQTlUb3BrVGZEUHc/edit?usp=sharing Here is the code I'm working on: private void getCorrectObject() { List<Integer> objects = new ArrayList<Integer>(); for(int arr : images){ objects.add(arr); } // Shuffle the collection Collections.shuffle(objects); iv.add((ImageView) … | |
good day. we are a group of 4 students. our school wants us to provide a unique and not yet existhing thesis proposal with hardware. do you any in mind? thank you! | |
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; … | |
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; … | |
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 … | |
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 … | |
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............ | |
Hello, I am creating my app and whenever a page loads it instantly focuses on the edit text. How do i stop this? - Mat | |
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 | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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, … | |
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 … | |
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? | |
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 … | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
**give me source code if anyone can** | |
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 … | |
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 … | |
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 |
The End.