1,125 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Nova6112

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
Member Avatar for Nova6112
0
249
Member Avatar for Saboor880

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 …

Member Avatar for rproffitt
0
3K
Member Avatar for Saboor880

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
Member Avatar for rubberman
0
417
Member Avatar for Sergio_4

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
Member Avatar for rproffitt
0
532
Member Avatar for geoffy0404

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
Member Avatar for stultuske
0
761
Member Avatar for Adarsh_2

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
Member Avatar for Adarsh_2
0
308
Member Avatar for rahulrevolution

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
Member Avatar for rproffitt
0
212
Member Avatar for _1_14

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
Member Avatar for rproffitt
0
1K
Member Avatar for Saboor880

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 …

0
202
Member Avatar for mcroni

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
0
184
Member Avatar for AssertNull

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 …

Member Avatar for rproffitt
0
374
Member Avatar for Za3mi

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 …

Member Avatar for rproffitt
0
297
Member Avatar for Kubilay Doğukan

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
Member Avatar for Kubilay Doğukan
0
347
Member Avatar for nunu_psu

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
0
191
Member Avatar for Lp_baez

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. ![Screenshot_2016-04-09_19.27_.25_.png](/attachments/small/4/1f4a31b4ae5c37226cc4901e500e6fcd.png "align-left") ![Screenshot_2016-04-09_19.31_.50_.png](/attachments/small/4/4d94fd0a79c2f6fa708b11ec67f58885.png "align-left")

Mobile Development apple ide iphone
0
297
Member Avatar for spud91

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
0
184
Member Avatar for Centorpe

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
Member Avatar for rproffitt
0
254
Member Avatar for Vinod_9

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
Member Avatar for rproffitt
0
366
Member Avatar for Nova6112

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
0
148
Member Avatar for Centorpe

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 …

Member Avatar for rproffitt
0
349
Member Avatar for Natsu123

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
Member Avatar for cereal
0
863
Member Avatar for lukemaister

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 …

Member Avatar for Kamran_10
0
2K
Member Avatar for ArgadeC

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
Member Avatar for ArgadeC
0
201
Member Avatar for adele damon
Member Avatar for samuel1991

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 …

Mobile Development api ios
0
214
Member Avatar for samuel1991

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
0
206
Member Avatar for Nikhil_6

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 …

Member Avatar for Raul Perez
0
252
Member Avatar for annya

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
Member Avatar for Raul Perez
0
321
Member Avatar for admiralchip

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
Member Avatar for Raul Perez
0
457
Member Avatar for AndreRet

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
Member Avatar for AndreRet
0
283
Member Avatar for zhacHaven

# 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 …

Mobile Development listview sqlite
0
99
Member Avatar for shalini crazy

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
0
169
Member Avatar for Centorpe

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
Member Avatar for Centorpe
0
218
Member Avatar for C Newbie

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
Member Avatar for rproffitt
0
563
Member Avatar for OsaMasw

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 …

Member Avatar for OsaMasw
0
653
Member Avatar for NONONO123

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 = …

Member Avatar for NONONO123
0
3K
Member Avatar for Centorpe

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
Member Avatar for Centorpe
0
284
Member Avatar for Jeff-Bennett

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

Member Avatar for rproffitt
0
130
Member Avatar for Centorpe

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
Member Avatar for Centorpe
0
283
Member Avatar for Hendo

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
0
215
Member Avatar for 9tontruck

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
Member Avatar for AleMonteiro
0
264
Member Avatar for Aziz_2

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
0
173
Member Avatar for Elkin Jose

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
0
193
Member Avatar for laguardian

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
Member Avatar for stultuske
0
337
Member Avatar for nitin1

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
Member Avatar for peter_budo
0
208
Member Avatar for Lau_1

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
Member Avatar for BenWard
0
429
Member Avatar for burhanahmed92

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
Member Avatar for peter_budo
0
651
Member Avatar for KhizarIqbalEngr

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
0
174
Member Avatar for M.Waqas Aslam

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
0
205
Member Avatar for laguardian

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
Member Avatar for laguardian
0
215

The End.