1,543 Topics
I have this array in a page and i want to call it into a listview or textview in another page...how do i do that? [CODE]public class Screen2 extends Activity { public static EditText txt1; public static String player; public static ArrayList<String> playerList = new ArrayList<String>(); /** Called when the …
How do I disable the sms function in android?? so that when someone sends a text, it shows sms delivery failed in the sender's phone?? I want to leave the call function as it is. I tried using a broadcast receiver and aborting the message, but it'll show delivery success …
How to make [Java Websocket](http://java-websocket.org/) work with [Hessian protocol](http://java.dzone.com/articles/hessian-web-service-protocol)? I need both server and client using Hessian to communicate, but I don't know if it is possible and what to do. Thanks.
Hello, I would like to learn android programming, but have no knowledge in java whatsoever. Do I need to go through a java course first before starting with android, or is there a way to start programming directly with the latter?
A successful tournament poker player from Japan, with earnings estimated at $1.5 million from his prowess at bluffing and holding his nerve under pressure, has been arrested and charged with being behind an Android malware distribution operation that netted even more: $3.9 million according to Symantec. The Chiba Prefectural Police …
I want to develop a simple instant messaging application like whatsapp. I discovered the GCM cloud push system from google. I used it to do simple stuffs and it worked. but I noticed that for it to work you have to add a google account of every device that is …
error: No resource identifier found for attribute 'entriesValues' in package 'android' line: <ListPreference error: Error: No resource found that matches the given name (at 'entries' with value '@strings/list'). line: anroid:entries="@strings/list" error: Error: No resource found that matches the given name (at 'entriesValues' with value '@strings/lValues') line: android:entriesValues="@strings/lValues" res > xml …
Aside from the energy requirements awareness/limitations (does any Java programmer really try to be aware of them?) and the obvious lesser speed and memory limitations (does anyone try to program inefficient code just b/c a PC is more powerful?) What are the differences between PC and mobile program development? And …
From last few days I'm noticing that restaurant app industry becoming very popular and increasing interest of restaurant businessman's to use apps for their restaurant. can restaurant app really increase business?
Hi all, I have a .json file on a server. And I had simple app(phonegap) built which I uploaded into build.phonegap. So my question is will my app be able to pull data from .json file which is on a server? Regards layman114
I am considering going to android bootCamp "deltaprogram.us" or "www.codercamps.com" in texas. These are the only two good android camps i could find. Problem is that i cant seem to find any review about them. Let me know if any of you went there in past or you guys know …
my r.java file in android is not updating. i already tried: 1 - clean project 2 - refresh / restart eclipse/computer 3 - all my string are in double quotes
trying to create menu in android but having a error. i am 98% sure my code is right. can some one take a look and let me know if there is a problem they see. res > menu > main.xml <menu xmlns:android="http://schemas.android.com/apk/res/android" > <item android:id="@+id/action_settings" android:orderInCategory="100" android:showAsAction="never" android:title="@string/action_settings"/> <item android:id="@+id/newGame" …
Hi, I have created a fragment that contains code for a camera preview. I am now trying to create an activity that will look after taking the picture etc.. Here is my cam preview related code from my fragment (this works just fine) preview = (SurfaceView) view.findViewById(R.id.preview); previewHolder = preview.getHolder(); …
Hello, I have a Ruby On Rails app online which uses devise authentication. I am trying to make an android app which make a request from ror app when a user try to log in (so the users can use same account from ror app). I heard that what I …
I am trying to create android project in eclipse, for some reason it doesnt create gen > R.java file. I did clean project and doesnt work. any ideas?
Helo folks,please i need to know what it takes to connect your website with your mobile software.What and what do i need to do,what technologies are in volve thanks.
Hi everyone, so I'm developing this app for android, I'm using "Android Studio" to code it and it's layout, but there's the thing, I can't seem to make the layout as I want, like the buttons are too huge or they aren't in the correct position and they're always messed …
Hello everyone..I'm trying to develop a simple card game in android..i need to show the cards being dealt with some animation as well as coins being moved to the winner's stack..could anyone please tell me if I should do this with android drawables animation or i should choose a game …
This is my xml layout for the log in page <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:fillViewport="true"> <LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="@dimen/activity_vertical_margin" > <!-- Logo --> <TextView android:id="@+id/headText" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="60dip" android:textSize="45sp" android:fontFamily="sans-serif" android:textColor="#FFFFFF" android:textStyle="bold" android:layout_gravity="center" android:gravity="center" android:text="@string/logo" /> <!-- Email TextField --> <EditText android:id="@+id/loginEmail" android:layout_width="fill_parent" android:layout_height="wrap_content" android:inputType="text" android:hint="@string/username_text" …
Hello everyone, I am currently working on an Android application that I hope will one day link to the Quizlet website so it can download flashcards from their website: https://quizlet.com/api/2.0/docs/ and people can use them, otherwise this app is just going to be a menu. This is the first time …
ok i was working on simon says app...here is the codes ...something is giving me nullpointerexception...i have trying to think for hours and cant seem to find anything to correct on...please help Here is the Main.java package com.gagan.simonsaysreplica; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; …
Greetings, I'm a software development student and over the summer break I decided to make an Android app, figure the best way to improve as a programmer is to program. What I'm trying to do is search a website for information (i.e. search wikipedia for the release date of Superman …
i want to know what IDE, basic knowledge of language is needed for development of android apps?
Hello All, Kindly let me know if somebody can help with letting me know what kind of messages should be sent toward the mobile handset to display the Voicemail Notification Icon on the top of the mobile screen? Seems it's not an ordinary SMS which should be sent but some …
Hey guys. I'm making this android app called GPS Buddy. What I want it to do is to send my gps coordinates to a phone number via a text at a set interval. The problem that I am running into is fairly simple. I have all the barebones stuff done, …
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) …
hi all i have s3 and i cannot open it because i think during the update the battery was died know i want to open the recovery mode i press the volume down and home and power but it does not open
This is the code I have built so far. The shake detector is complete and works, I just don't know what to write for the execution code at line 26. I have 10 images stored in my res/drawable-hdpi folder, entitle 1-10 and I want to change between them randomly when …
Hi guys, I'm trying to make an app for iOS, Android and BlackBerry 10 that allows users to add frames to pictures. This is suppose to be a learning experience kind of thing for me! Anyway, I'm wondering what the best image editing libraries are for each platform.. Basically, I'm …
Hello, I am a 3rd year Computer Science major and taking a introduction to game design course. The project from this week is defined as follows: 1. Java game 2. Use the jMonkey SDK 3. "use an existing game engine and map to modify and create your own level" 4. …
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; …
Hi All, I am interested in developing a desktop application which takes a mobile number as an input and able to find out the current exact location where the device is. I am java developer and having little idea in Android. Note : No specific tracking apps are installed in …
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 …
when i run(compile/debug) an app after editing then it shows exception and save all changes.I shutdown my pc and when after restarting i run it again then code runs fine. if any one knows reason of this .please do tell me.
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
I'm moving onto android dev from a year of experience with Java. I want to build an app which scrolls randomly through about 40 photos when you shake it. I've already built a `ShakeDetector` class and `onShake();` method I'm unclear how I would build the class to manage the photos. …
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 …
I have a list of titles i want to display to the main activity so that each time the user starts the app, they can select an option from the data they gave previously. My problem is converting the cursor to array successfully so that i can maintain the ids …
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 …
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 …
I strongly think this is a bug on Eclipse. The problem I have is explained in the image I attached so please take a look. I think I did the all settings correctly. ${NDKROOT}/platforms/android-9/arch-arm/usr/include in Paths and Symbols GNU C/C++ But I keep having "No such file" error when I …
The End.