1,125 Archived Topics
Remove Filter ![]() | |
Hi All, I am new to Android developement now i need to develop a OCR application. in that i need to get Retailer name and Total from Expense receipts. for example Costo / Walmart using their Logo in top of the receipt. i need to Train tesseract to understand that … Mobile Development android android-development | |
Hi to all! I made a class named “Database” I called openOrCreateDatabase in in its constructor but it was giving error. Then I searched on internet and got a solution that in case of non activity class I should also pass context. Then I passed context but then I am … Mobile Development android android-development database-design sqlite | |
hi to all! i have installed android studio, my sdk path is C:\ androidsdk\sdk\sdk . my android studio installed successfully. but after installation when android studio opens then in event log tab an error message appears: Grade sync failed: Cause: failed to find target with hash string ' android-19' in … Mobile Development android android-development ide | |
Hello All, I am unable to import javax.sound.sampled in a mobile app I have been playing with. I am currently using AndroidStudio and I do have the path pointing to the JDK not the JRE. I was for a while able to import them when I included the jar files … Mobile Development android-development java | |
Not sure why but the chronometer counter will start as soon as the application starts without me clicking the button. Does anyone see what the issue would be? package com.example.android.courtcounter; import android.os.SystemClock; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import android.view.Window; import android.view.WindowManager; import android.widget.TextView; import android.widget.Chronometer; public class MainActivity extends … Mobile Development android android-development java | |
Hi,I am new to android programming In my app I am launching an another app(whats app,calculator,etc) I can launch any app successfully by using this code: Intent i=getPackageManager().getLaunchIntentForPackage("your package name"); i.setFlags(Intent.FLAG_ACTIVITY_REORDER_TO_FRONT); startActivity(i); But it always created new instance/restarted of the app.I want it to launch and resume it from where … Mobile Development android | |
Hello guys .Plz help I am stucking in my first android program. IDE is Android Studio 1.0.1. "R.layout.activity_main" when i move pointer on 'R' it shows "cannot resolve symbol 'R' ". I have done "restart" android studio. I have done" clean project and rebuild project". Mobile Development android android-development ide | |
I designed app to make order for pizza food restaurant I show userid,menu id ,address,longtiude,latitude then press on button make order Error show after I press button and found in async task doin background It give me fatal exception error An error occurred while executing doInBackground() and it show to … Mobile Development android-development json | |
Hello to all! I have started learning android recently and I am facing a problem in file handling (in internal storage). I wrote a simple program which creates a file and writes some data in that file . I have two buttons first button writes data in the file and … Mobile Development android android-development file-system storage | |
hi everyone, i am currently creating an app in android and i used a package from kivy garden;androidtabs but i want to open another screen but it doesnt seem to work from kivy.app import App from kivy.uix.boxlayout import BoxLayout from kivy.uix.button import Button from kivy.uix.textinput import TextInput from kivy.uix.floatlayout import … Mobile Development android android-development | |
I'm a beginning Android Developer trying to learn the file system, etc. I'm hoping to eventually delve into Home Automation and traffic analysis using phones/GPS, but I'm in the beginning arc of this learning curve. My background is mostly C/C++, though I've done some work in Java. I'm not so … Mobile Development android android-development pay-per-click sqlite | |
Dear all! Is there any way to animate icons on home screen in android app using android studio like [IPhone](https://www.youtube.com/watch?v=Q9HOne7zLro) provides some effects of motion. There are some apps like clean master on google play store that animates its own icon as user clicks icon of clean master to clean … Mobile Development android android-development app-store iphone | |
![]() | I'm getting my ArrayList from a service and populate my ListView with it when user creates the widget. I have 3 button on my widget and I want to modify/filter the data in the ListView by button click. I saw examples of pending indent but I couldn't reach my ArrayList … Mobile Development android-development java listview ![]() |
Greetings everyone, I'm still new to android programming and currently leanrning how to connect to DB. I'm following a online tutorial but I'm still facing problems. The tutorial is about creat a registration form and sending it to the database through volley. I'm using .hostinger.ae as host and Android studio. … Mobile Development android-development java json mysql | |
I keep getting a direct identifier error. I have tried deleting the pillarPlat004 assets and re-importing it and connecting it to the code, but that doesn't seem to be the problem. I'm using swift in xcode.   | |
Hi guys! im working with google places and i'm currently able to show 20 markers on the map. I have a FloatingActionButton on my map screen and once the user presses/clicks on it it should display the markers based on the next_page_token. Currently ive hard coded one in for testing … Mobile Development android-development java seo | |
Can anyone tell me what is wrong with this? App crashes if user input is left blank. I was hoping it would display toast and wait for input. EditText userWireInput = (EditText) findViewById(R.id.WireSizeInputET); String userWireData = userWireInput.getText().toString(); double userWire = Double.parseDouble(userWireData); if (userWire == 0) { Toast.makeText(ISOM_Int_Results.this, "ENTER WIRE SIZE", … Mobile Development android-development | |
Error:Unable to load class 'com.android.tools.idea.gradle.project.GradleProjectSyncData'. Possible causes for this unexpected error include:<ul><li>Gradle's dependency cache may be corrupt (this sometimes occurs after a network connection timeout.) <a href="syncProject">Re-download dependencies and sync project (requires network)</a><li>The state of a Gradle build process (daemon) may be corrupt. Stopping all Gradle daemons may solve this … Mobile Development android android-development ide | |
i am implementing Google Drive in Android with Java code i didnt use Android formats, i just created client id and i used in Manifest <meta-data android:name="com.google.android.apps.drive.APP_ID" android:value="id=344123456789"/> and my code to create folder is credential = GoogleAccountCredential.usingOAuth2(this, Collections.singleton(DriveScopes.DRIVE)); credential.setSelectedAccountName(accountName); service = getDriveService(credential); java.io.File fileContent = new java.io.File(path); FileContent mediaContent … Mobile Development android android-development google seo | |
I have a series of activities the last of which holds results. I have 'Send to Printer' button which needs to send these results to a wireless printer. Can anyone give me an example of doing this? I''ve trawled the web but there seems to be very little on this … Mobile Development android android-development java printer | |
Hi, I am programming an app and facing a problem now. I want to Update my Database over the GUI from my App via PHP. My Problem is that the app always sends the value of the checkbox even if it is unchecked. I will post my Script below. update.php … Mobile Development android-development java mysql php | |
So i have been searching all the net but haven't exactly found what I'm looking for and I'm starting to believe that it is impossible. The problem is that I have a local MS SQL Server stored on my notebook. What I would like to do is an android application … Mobile Development android android-development client-server sql | |
I want to develope app for android which open realtime camera from application and in that i can change different color or shades of lips(Mouth) ...i am stuck .. i wasted so much time in this please revert me back soon Mobile Development android android-development | |
Hi all, I wanted to develop an app about retrieving latest transport service updates from a specific twitter account @LTAsg. My app's targeted user is not expected to have a Twitter account. Therefore, I know that I need to use Application-Only Authentication method, if I am not mistaken after I … | |
Hi all, as per title. How can I programtically determine if Cellular is disabled and no Wifi connected from my iDevice, my app will show a popup that asking for user permissions to enable cellular connection using "OK" button. Similarly if there is no Cellular Connection (But enabled) and Wifi … Mobile Development ios | |
I am working on project, where i want to show multiple list view (different design layout using different layoutsa for lists) using one list adapter class, in one Main Activity class. Like i want to show first list view on first button click, and then i want to show second … Mobile Development android-development listview smartphone | |
Hello , I want to show some images in my app using php and universal-image-loader-1.9.1 Iam an stater and I have collected some code from another apps, My problem is when i use the same code to add the gallery in my app it was showing application stopped. If any … Mobile Development android-development asp.net java | |
Hello, I'm using the rotate-layout library by rongi (https://github.com/rongi/rotate-layout) to achieve a horizontal list view by implementing the suggestion given by Kc Ochibili as an answer to this question: http://stackoverflow.com/questions/3240331/horizontal-listview-in-android. I'm getting the following errors when I try to use the library: "error: Error parsing XML: unbound prefix" and "Attribute … Mobile Development android-development java xml | |
Hi All, Back after a LONG break from Daniweb, love the new look! I have the following data scanned from a pdf417 and need to extract certain text to certain text fields, not sure how to go about this... Data scanned with manatee works plugin and android app using android … Mobile Development android android-development | |
# Good day to all ..i need help with this..i want to delete and edit the selected row from a listView with the use of alert dialog.i have a bit knowledge of constructing an alert dialog in my class..the problem is the method to call for deleting and editing from … | |
I've made a simple webview app . I have tried a lot but I cant get it to work, refered to link dint work out . Hope someone can help me here. admob is not displaying after the splash screen .if linearlayout changed to Relativelayout ad appears without splash screen … Mobile Development android android-development | |
Why can't I use || or && with double as in sample below? if (((mDiameter = 1 || mDiameter = 1.2) && mPitch = 0.25) || (mDiameter = 1.6 && mPitch = 0.35) || (mDiameter = 2 && mPitch = 0.4) || (mDiameter = 2.5 && mPitch = 0.45) || … Mobile Development android-development java | |
Hi all, I'm currently developing an Android application with Android Studio that allows visitors to enter information such as their name, company and reason for visiting our work premises and have this information stored in a SQL database. The app would have to allow for the printing of this information … Mobile Development android-development java printer | |
Hello guys am totally new to java development but I red some tutorial on web on how to create different application on Android Studio. I've created simple webview application with navigation drawer and everything work perfect, when I tried to add Parse.com SDK to use notification service my program crashes … Mobile Development android android-development java web-design | |
I'm currently working on an android app to fetch data from the server. But when i run it, i get a NullPointerException. Can anyone help me with that? Here is my code: public class MainActivity extends AppCompatActivity { ListView lvPost; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); lvPost = … Mobile Development android android-development java listview | |
The code below works ok and displays result (mDisplayNominalEff) to screen but I want to round the result to 3 places. I assume that I need to parse string to double. Any ideas on how to do this? String mDisplayNominalEff = ("" + (myDiameter - (myPitch * 0.649519))); TextView displayNominalEff … Mobile Development android-development java | |
I am looking for pointers on how to program communications between a custom app which will run on an Android tablet and Quicken running on a Windows desktop or server, I have never worked with Quicken, does anyone have any pointers where to start ? - jeff Mobile Development android android-development finance tablet | |
I have 4 textviews which take their values from dropdown list (spinner) selected at previous screen. There can be either 2 or 4 numbers/letters as result of this selection. The first position will always be a number and the second position will always be a letter. The third position can … Mobile Development android-development java | |
I'm creating a small and simple app to use with my poker league. I've created a small DB that I simply enter the player name, who took them out, and what place they went out in. All of that works just fine. What I need to do is implement the … Mobile Development android android-development sqlite | |
Hi, I am struggling with xml layout in my android app... please help here is what I want: I have to display two poarts in one activity - image part and login component part which are in one linearLayout. When the device is landscape, I want it to be 30% … Mobile Development android-development web-design xml | |
Hello all, My chess piece images are being cropped from the bottom. There is a sense of a squeeze which seems to make the bottom parts of my images disappear. Can anyone tell me why this is happening? Thank you in advance... [Click Here](https://www.facebook.com/photo.php?fbid=10153417612584037&set=gm.937346006302419&type=3&theater) <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" … Mobile Development android android-development | |
Hello , i am new in adroid programing , and i need some help and info D: I create an activity with a log in "user" and "pass" and takes the user to the welcome activity, the log in works perfect but when i close the app , and re … Mobile Development android android-development apache json | |
Hello guys! I'm currently working on a matching app. In the app, the user can select what mode of difficulty they want(easy, medium, hard and suvival) as well as select one of the sets of images for the GridView(nba logos or world flags). My problem is that when the user … Mobile Development android-development java | |
public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); ParseObject.registerSubclass(MyFirstClass.class); Parse.initialize(this, "Id", "Id"); Button button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { callSearch(); } }); ParseUser user = new ParseUser(); user.setUsername("username"); user.setPassword("password"); /*user.signUpInBackground(new SignUpCallback() { @Override public void done(ParseException arg0) { … Mobile Development android-development | |
Hello, i faced some problem in building the android calculator. The problems like this: 1) If i click 2 + 3, it worked well, and screen will show the 5.** BUT! **when i clicked + and + and + and +...... it will continuosly add the answer. How can i … Mobile Development android android-development java os-x | |
List Fragment height is not working properly, it only shows 1st row of list, other rows of list dont show. I used wrap content for height but not working. If i run Fragment directly it shows all rows but if i add fragment in my main activity its show single … Mobile Development android-development java listview | |
I'm working on an android project and created a widget for toggling Bluetooth (i.e., Pressing the widget turn on Bluetooth if turned off and vice versa). But the problem is that click listener of button is not working and when I click on the widget on the home screen it … Mobile Development android android-development | |
Dear All, I am working on IM app . I want to add call featuer in my app. I googled alot and downloaded 10's of projects but unable to execute them due to missing files. I am looking for running project of Doubango or PJSIP so that I can use … Mobile Development microsoft smartphone windows-10 | |
Hey guys! I'm currently working on a simple matching game. The game has 3 difficulties: easy, medium, and hard. When the game starts up, it is already set to the easy difficulty with 12 tiles. Medium difficulty displays 20 tiles and hard difficulty displays 30 tiles. I've figured out how … Mobile Development android-development |
The End.