1,247 Topics

Member Avatar for
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 …

Member Avatar for rubberman
0
409
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 …

Member Avatar for rproffitt
0
523
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 …

Member Avatar for stultuske
0
758
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".

Member Avatar for rproffitt
0
212
Member Avatar for happygeek

The Google Experience Launcher, as it was, first arrived exclusively for the Nexus 5 towards the end of last year. That changed recently when the renamed Google Now Launcher (GNL) appeared in the Play Store as a standalone app for Nexus devices and those handsets running Google Play Edition (GPE), …

Member Avatar for Yasar_2
0
426
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 …

Member Avatar for rproffitt
0
1K
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
181
Member Avatar for A_6

I run Android Lollipop. I know that if I have enabled networking, and I enable "Location" in my menu, NSA is able to pinpoint exactly where I am and where I went and is able to show it on maps of Google. The problem is that I don't have any …

Member Avatar for
0
259
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
201
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 …

0
176
Member Avatar for panduranga_1

What is the exact reason that Iphone is more costlier than Andriod phone like samsung or other brands with china hardware. I have not found any difference between two phones. Many andriod phones have same outer design like iphone.

Member Avatar for deceptikon
0
184
Member Avatar for lakmalglp

I created webview app using Android studio..I created that app for download wallpapers. but when loard web site through the web view download button dosent work..how can I alow download button to work

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

Wanting to learn android, have a Pragmatic Programmers "Hello, Android" book third edition android 2 copyright 2010 book. Is this to outdated?

Member Avatar for hericles
0
117
Member Avatar for Siberian

Anyone have a Samsung Galaxy running Andriod 5.0.2. I just need to collaberate with you trying to solve a web design problem; and I also may need you in the future regarding the same device ;-)

Member Avatar for Siberian
0
211
Member Avatar for Royce_1
Member Avatar for AssertNull

I have a Toshiba Satellite P55W-C running 64-bit Windows 10 Home. I bought it new less than a year ago. I am the only user. It has an Intel Core i7 CPU, 8 Gigs of RAM, 2.4 GHz. I'm generally surfing the web and streaming audio/video. I'm not a gamer …

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

Member Avatar for Kubilay Doğukan
0
340
Member Avatar for Karthik_4

I am writing an **automation test** using **python**, where an **android app** records an audio and stores it in a specific directory within the internal storage (sdcard0) of the android device. I need to check whether the **recording** (recordingX.mp3) actually exists with the same name within the specific directory or …

Member Avatar for Karthik_4
0
3K
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. …

0
182
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 …

0
182
Member Avatar for AleMonteiro

Hello reader! I've been working in a laptop with 6GB RAM, i5, 500GB HD and I can't take it anymore! What I mostly use : 1. Office Package (word, excel, powerpoint) 2. Visual Studio 5. Eclipse 3. SQL Server / Analisys Services / Management Studio 4. Adobe Package: PhotoShop and …

Member Avatar for AleMonteiro
0
237
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", …

Member Avatar for rproffitt
0
253
Member Avatar for Fathima_1

I've created a mobile app and styled it with CSS and ThemeRoller on Dreamweaver. It looks great on safari but when I use PhoneGap Build to test it on my Android device, the styling disappears. I've tried embedding the CSS as well as the ThemeRoller style into my code without …

0
183
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 …

Member Avatar for rproffitt
0
364
Member Avatar for pauline marie
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 …

0
148
Member Avatar for Za3mi

Hello! I want to create water drops main screen as well as on icons(images shown on that screen). The capacity of number of rain drops is decided at run time. In assets, i have background image and some icons. Actually what i wanted to do is to create a water …

0
122

The End.