1,115 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for kohkohkoh

Hi, I have been struggling on a project for few weeks but yet, still no fruity result. Having an app that is running on ios ipad. I have a requirement to remove inhouse app if the app was not logged in for x number of days. It is in-house app, …

Mobile Development ios iphone
Member Avatar for rproffitt
0
866
Member Avatar for HibaPro

my activity is load a grid view from xml file and the controls from other xml file public class ResultActivity extends AppCompatActivity { GridView gridview; ArrayList<String> arrayList; String ip, db, un, passwords; Connection connect; PreparedStatement stmt; ResultSet rs; Button TButton; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.gridviews); TButton = …

Mobile Development android-development java
Member Avatar for imchivaa
0
340
Member Avatar for HibaPro

the scenario as the following, after the user login , the application returns he/she visiting numbers for example : 123 150 i preview the value on TextView , how i can make it clickable, and open pdf file like when user click on 150 open the pdf file the located …

Mobile Development android-development pdf
Member Avatar for rproffitt
0
257
Member Avatar for sireiz

Is there a way to develop a GUI which has graph data structure at the backend so that if we want to have information about a particular node or edge, we just tap its corresponding GUI representation and the app gives us the required info?

Mobile Development android-development java
Member Avatar for JamesCherrill
0
317
Member Avatar for Nova6112

Hi guys i am getting the following exception `java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.Resources$Theme android.content.Context.getTheme()' on a null object reference --------- Stack trace --------- android.app.AlertDialog.resolveDialogTheme(AlertDialog.java:222) android.app.AlertDialog$Builder.(AlertDialog.java:452) com.skyvin.numr.scanreceipt.ReceiptDetail$convertCurrency.onPostExecute(ReceiptDetail.java:2309) com.skyvin.numr.scanreceipt.ReceiptDetail$convertCurrency.onPostExecute(ReceiptDetail.java:2199) android.os.AsyncTask.finish(AsyncTask.java:651) android.os.AsyncTask.access$500(AsyncTask.java:180) android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668) android.os.Handler.dispatchMessage(Handler.java:102) android.os.Looper.loop(Looper.java:158) android.app.ActivityThread.main(ActivityThread.java:7229) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) ------------------------------- --------- Cause --------- ------------------------------- ` My code is as follows …

Mobile Development android-development
Member Avatar for rproffitt
0
2K
Member Avatar for Alfred_6

Hello! I'm trying to display a list of items in a fragment called AgendaList. I am not quite sure what I missed. Here's what I have under AgendaList onCreateView: public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { // Inflate the layout for this fragment View view = inflater.inflate(R.layout.fragment_agenda_list,container,false); String[] …

Mobile Development android-development listview
0
405
Member Avatar for vishalsingh1080

...I want to start Android app development. Was wondering anyone of you could suggest me the best resources to learn from. I know java but have no idea about Android app development. I hope the resources cover all the basic features that are there in any modern day app like …

Mobile Development android-development java smartphone
Member Avatar for mack_5
1
473
Member Avatar for md.Rayad

Now its almost 6 days and i am trying to fix image upload issue in cordova-php but not able to fix it. I tried multiple solutions from google/SO. But none of them is working for me. I am using the below code as front end. <div> <h3>Server URL for upload.php:</h3> …

Mobile Development
Member Avatar for md.Rayad
0
978
Member Avatar for gregkawere

i am very keen to learn how to develop mobile apps, but i want to master one programming language. i hear you can design mobile apps for android, windows & ios using Java. Is this true, if you can someone explain the details of doing this in each platform

Mobile Development android-development java microsoft
Member Avatar for Andrew_35
0
637
Member Avatar for jouwa

What is the best platform to use in developing mobile application? Should I set up internal storage?

Mobile Development
Member Avatar for Andrew_35
0
449
Member Avatar for Anmol_4

Hello everyone,I am having no experience in android or mobile app develpment but having some questions is it possible to have app which works offline without internet(devices can be connected LAN) where in each device have data stored of main stock of items which will be updated once in month.Now …

Mobile Development android-development smartphone
Member Avatar for rproffitt
0
410
Member Avatar for Stefce

I want to know is it possible to do that and install your own custom software on it ?

Mobile Development android-development
Member Avatar for Oleg_3
0
381
Member Avatar for Shahid_9

I am working on an Android app in which I am submitting some variables in url in order to save the data in database what ever user enter in the text fileds but I am unable to do so as I am getting an error called "com.android.volley,Server error". I have …

Mobile Development android-development
0
173
Member Avatar for Nathan_6

Hi, I am working on a blackjack game as a person learning swift. Due to my need to learn the basics of swift before jumping into learning how the view controllers and other mobile-app specific details work, I am making this game in a playground. I wrote a function that …

Mobile Development
Member Avatar for Nathan_6
0
323
Member Avatar for imso

As what was stated on the header I want to implement either a "paint" or "eraser" function whichever feature more convenient for user to edit paint/censor unwanted parts of a photo displayed on a imageview before uploading it to a server in the edited format and a redo function if …

Mobile Development android-development html-css java
Member Avatar for imso
0
291
Member Avatar for MaheshKale

I am trying to change the background of imageview using the following code. Here's my xml code. <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context="com.devnami.maya.maya.MainActivity" > <ImageView android:layout_width="match_parent" android:layout_height="match_parent" android:background="@drawable/forest" android:adjustViewBounds="true" android:scaleType="fitXY" android:id="@+id/view1" /> <ImageButton android:id="@+id/button1" android:layout_width="45dp" android:layout_height="45dp" android:textStyle="bold" android:textColor="#FFFFFF" android:background="@drawable/flower" android:layout_alignParentBottom="true" android:layout_alignParentLeft="true" /> </RelativeLayout> And here's my mainactivity.java …

Mobile Development android-development daniweb-bug
0
162
Member Avatar for s_s21

Hi, I'm looking for a good tutorial or other source I can use to learn how to create calendar view using UICollectionView. I would be happy to receive your help.

Mobile Development ios web-design
Member Avatar for rproffitt
0
1K
Member Avatar for mcroni

have a code that loads an image online with the AsyncImage module in kivy. i wrote the code in python3 which runs well on the pc but doesnt work on a packaged apk. i think this is because i packaged it using python2.7 buildozer. thanks an image showing the error …

Mobile Development android-development python
Member Avatar for mcroni
0
703
Member Avatar for nitin1

Hi guys, Here is the question: I have Activity A, Activity B. Now, A --> B . Now, pressed the home button. Now, go to any image & "open with" will show my app. when pressing my app as the option, it will hit Activity A. When it will hit …

Mobile Development android-development java
0
211
Member Avatar for lisaab
Member Avatar for Prince_15

Hello guys... i am a newbie to android development, i tried to load an image from url using picaso and it displays 'node static field, refference cannot be refferenced from static field package io.github.froger.instamaterial.ui.adapter; import android.content.Context; import android.support.v7.widget.LinearLayoutCompat; import android.support.v7.widget.RecyclerView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.FrameLayout; import android.widget.ImageButton; …

Mobile Development android-development
0
193
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-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 …

Mobile Development android-development
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-development
Member Avatar for rubberman
0
416
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-development java
Member Avatar for stultuske
0
761
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 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
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-development
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 …

Mobile Development android-development storage
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 …

Mobile Development android-development
0
177
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 …

Mobile Development android-development pay-per-click
Member Avatar for rproffitt
0
372
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 …

Mobile Development android-development
Member Avatar for rproffitt
0
297
Member Avatar for Royce_1

Hi Guys Please tell me what are the building blocks of android. Thanks

Mobile Development android-development
Member Avatar for Avani_3
1
787
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
346
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 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 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 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-development
Member Avatar for rproffitt
0
366
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 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-development 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 …

Mobile Development android-development java
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
862
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 …

Mobile Development android-development client-server
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-development
Member Avatar for ArgadeC
0
201
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 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 adele damon
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 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

The End.