1,785 Topics

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

Member Avatar for stultuske
0
761
Member Avatar for Hans_1

pls, i have a project and am a begineer at this. am to write a vb program which would detect phones(precisely android phones ) when they get connected to the computer and use the phone as a modem for the computer.

Member Avatar for rproffitt
0
118
Member Avatar for Saboor880

hi to all! i am using eclipse with android api 19. i have an android phone whose os version is 6.0 marshmallow . i have only sdk for api 19 in my eclipse. i made a simple helloworld app by setting its min and max sdk "19" in manifest file. …

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

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".

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

0
184
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
71
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 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
118
Member Avatar for Karthik_4

![Screenshot_from_2016-05-05_10:40:29.png](/attachments/large/4/d1a3b93ed36e54fabc134d4a3a268ccd.png "align-center") I am trying to write a python code to verify for the presence of `.mp3` and corresponding `.json` file in the dropbox. dropboxmp3txt = self.driver.find_element_by_xpath('//android.widget.ListView/android.view.View/android.widget.TextView[contains(@index, "1")]') print dropboxmp3txt.text This gives me the output : `abc2016-05-05, 10.38.26.mp3` Which is perfectly fine!!! I need the similar xpath to find the …

0
166
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
215
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
384
Member Avatar for AleMonteiro

Hey fellas. I've been using Windows as my main OS since I sat on an PC with win 95. Now I think is time to finally change to Linux! The main reason I didn't change sooner was because the .NET dev env, but now there's Mono. So, I really would …

Member Avatar for BitBlt
1
633
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
347
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
191
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
184
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
238
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
254
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
184
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
367
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
123
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 Stuugie

Hi All, I have a simple form that I want to send me an email when the button is clicked. I have two questions, 1. How can I make the fields Name and Email mandatory? 2. It does not send an email to me when used with my smartphone, which …

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

Member Avatar for cereal
0
863
Member Avatar for Za3mi

Dear all! I am gonna devlop a launcher in android studio in which icons of all apps are created(app's original icon+some effects) at run time. Kindly provide me suggestion, what should i do? I am having problem in making it's logic. Thanks in advance...!

Member Avatar for rproffitt
0
258
Member Avatar for Nova6112

I am new to Android, Now i need to integrate my app with Google Drive i have search google a lot, i have got Drive quick start sample from git hub (https://github.com/googledrive/android-quickstart) but while i am running it is always showing Mail authentication Dialog. please help me. And also i …

Member Avatar for rproffitt
0
128
Member Avatar for Natsu123

Hi guys, I am programming an Android App and I am trying to do a multiple SQL insert but it doesn't work. Can someone help me? And I also want to have the ID from the new created student. How do I get that ? <?PHP if($_SERVER['REQUEST_METHOD']=='POST'){ $Name = $_POST['Name']; …

Member Avatar for Za3mi
0
270
Member Avatar for asif49

What is the best way, using technology, to discern whether someone has gone from an awake state to a sleep state. Ideally, this would be something passive and non invasive/not limited to the room or location the person is in. Ideally this thing would be: 1) efficient 2) cheap 3) …

Member Avatar for diafol
0
354
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 Siberian

Anyone familiar with how to add a Galaxy S5 & S6 running Android Lollipop (5.x) to Chrome Web Device List; from what I know JSon is involved but I'm not familar with JSon, I hope I can get some help ?

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

Member Avatar for ArgadeC
0
201
Member Avatar for adele damon
Member Avatar for devianleong

Hi everyone, I've no idea how to design the grid layout like this : ![unnamed.png](/attachments/small/3/47d9a91730b2938e6dc33cc5102761ec.png "align-left") My image is square and I want to make it responsive to mobile and tablet. I only have title, price and image in one grid. Any can help me on this kind of design? …

Member Avatar for peter_budo
0
199
Member Avatar for asif49

Hi! I'm interested in being able to detect when someone goes from an awake state to a sleep state. I know this is possible with both the iPhone and Android devices as there are apps on both of these that claim to do this: On IOS there are: 1) Sleep …

0
216
Member Avatar for Learner010

I'm back here after a very long period. And see lots of changes here. Beautiful and amazing design. I was missing some illustrious members. here is who are they ? and why i still know them : `Reverend Jim` provided full assistance while i was learning `vb.net` . i still …

Member Avatar for Shattered
1
408
Member Avatar for Nation

I am using my mobile phone as a modem throught Wi-Fi tethering in Android OS. How can I see the port number to which my modem is listening? i have used "ipconfig" in cmd to see its defalt gateway but now I need to see its associated port number.

Member Avatar for rubberman
0
224
Member Avatar for DeanMSands3

Hi, Daniweb, it's been a while. I'm looking to do a mobile ssh-client (well, not quite a full client) that stores sensitive login information encrypted by a pattern-lock. However, I know very little about encryption. Can anyone recommend a good learning path - and by path, I mean Encryption for …

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

The End.