1,125 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for SimonIoa

Hello i want to access my SQL database with a Android Studio Emulator. I use `ionic cordova run android` and the project/app begins correctly but when i put the credentials (username and password) it stucks there. It works fine when i use `ionic serve` Any hint?

Mobile Development android android-development php
0
268
Member Avatar for akhil1

Hi, How can i calculate time difference in swift 2 between two dates/time and store in 2 different variables, one showing the full difference in terms of "Year, Month, Days, Hours, Minutes" & one variable for converting the total time difference in minutes. For example- First Date/time - 04/13/2016 8:11 …

Mobile Development ios
Member Avatar for Zivs
0
15K
Member Avatar for SimonIoa

Hello i have a problem working with Camera on Ionic and i need some advice. I have installed both ionic camera and media capture plugins. I am using two scripts one to capture Video (Start Reocording) and one to capture a Photo (Take Photo) I am getting the errors displayed …

Mobile Development android-development api dataset json
Member Avatar for SimonIoa
0
2K
Member Avatar for SimonIoa

Hello, i am trying to do an Ionic app and i am getting an error. Any suggestion? Runtime error this.file.documentsDirectory is null [194]/HomePage.prototype.startRecord@http://localhost:8100/build/main.js:80:13 View_HomePage_2/<@ng:///AppModule/HomePage.ngfactory.js:36:19 handleEvent@http://localhost:8100/build/vendor.js:13608:132 callWithDebugContext@http://localhost:8100/build/vendor.js:15093:39 debugHandleEvent@http://localhost:8100/build/vendor.js:14680:12 dispatchEvent@http://localhost:8100/build/vendor.js:10057:16 renderEventHandlerClosure/<@http://localhost:8100/build/vendor.js:10671:38 decoratePreventDefault/<@http://localhost:8100/build/vendor.js:36353:53 F</l</t.prototype.invokeTask@http://localhost:8100/build/polyfills.js:3:15649 onInvokeTask@http://localhost:8100/build/vendor.js:4973:24 F</l</t.prototype.invokeTask@http://localhost:8100/build/polyfills.js:3:15562 F</c</r.prototype.runTask@http://localhost:8100/build/polyfills.js:3:10815 F</h</e.invokeTask@http://localhost:8100/build/polyfills.js:3:16787 p@http://localhost:8100/build/polyfills.js:2:27646 v@http://localhost:8100/build/polyfills.js:2:27893 home.html <ion-header> <ion-navbar> <ion-title> Sound Recorder & Player </ion-title> </ion-navbar> </ion-header> <ion-content padding> …

Member Avatar for SimonIoa
0
2K
Member Avatar for SimonIoa

Hello i want to make a script in Ionic 3 to capture audio and video from device. index.html `<button ion button (click)="captureApp()" id="captureAudio">Capture Audio</button>` index.ts document.addEventListener("deviceready", onDeviceReady, false); function id(element) { return document.getElementById(element); } function onDeviceReady() { navigator.splashscreen.hide(); captureApp = new captureApp(); captureApp.run(); } function captureApp() { } captureApp.prototype = …

Mobile Development audio
Member Avatar for SimonIoa
0
500
Member Avatar for SimonIoa

Hello i just started to use Ionic and i have some questions. First of all i downloaded an existing ionic project on GitHub to start. I do these commands and works fine. $ git clone https://github.com/srinivastamada/ionic-restful-authentication.git $ cd ionic-restful-authentication $ npm install $ ionic serve The project starts at localhost:8100 …

Mobile Development api github node.js visual-studio
Member Avatar for SimonIoa
0
917
Member Avatar for maylynn

Hi all. I need some help. I want to display username after user has login. I am currently using Visual Studio and Javascript. Not using any PHP page. What should i do? This is my home.html page: <!DOCTYPE html> <html> <head> <!--Customize the content security policy in the meta tag …

Member Avatar for pty
0
5K
Member Avatar for SimonIoa

I tried to run an Ionic 3 project from existing files using not C++ but Apache/Cordova and i am getting these errors. Idid a Typescript project works fine. But Cordova won't run with Javascript? Severity Code Description Project File Line Suppression State Error TS2304 Build:Cannot find name 'object'. ionic2 C:\Users\Simon\AppData\Local\Microsoft\Windows\INetCookies\Desktop\Various …

Mobile Development java javascript visual-studio
Member Avatar for SimonIoa
0
1K
Member Avatar for SimonIoa

Hello i am getting an error on log about npm... Any suggestion? PATH=.\node_modules\.bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External;%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\mingw32\bin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Web\External\npm.CMD" install npm WARN deprecated babili@0.0.10: babili has been renamed to babel-minify. Please update to babel-minify npm WARN engine …

Member Avatar for SimonIoa
0
865
Member Avatar for SimonIoa

Hello how do you feel about Ionic 3 and Angular 4 frameworks? Are they compatible with Ios? Do i need to know Java to use them?

Mobile Development android-development ios
Member Avatar for hericles
0
462
Member Avatar for Zxander

I've come across a little problem. How do I make it so that after my game is finished, I can choose whetever to exit my program or just restarting it from the beginning. In main method I've started my while loop to check my tries left if my counter is …

Mobile Development java
Member Avatar for Zxander
0
363
Member Avatar for spades0001

Greetings! I am trying to connect my android application to a MySQL database. The app serves as a tool for lawyers providing them features such as: - a calendar wherein they can add and view events -an agenda list wherein they can see a list of their agendas -a notification …

Mobile Development android-development mysql php
Member Avatar for HitsuGaya198
0
4K
Member Avatar for annya

Hi, I have an app that worked very fine before Iam enabling the SSL to my domian name, I used an web url Ex: api.domian.com for getting detils to the app like login, result etc. some days before I have added an SSL (lets encrypt) the subdomian name suddenly the …

Member Avatar for annya
0
326
Member Avatar for gahhon

Hi guys, I am new to Mobile Development. I do have some Assignment question want to clarify. **Task 3 Create an app. that will make use of 3 icons (from the Icon pack provided). Your app must display all 3 icons below some relevant text. - You must take a …

Mobile Development android android-development display
Member Avatar for annya
0
363
Member Avatar for AssertNull

I am brand new to Android development. Hopefully this is an easy one. Relevant code (I hope) below. import android.location.LocationManager; import android.content.Context; LocationManager locationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); I get the following: Error: error: cannot find symbol method getSystemService(String) All the code samples I am seeing say to do the above. …

Member Avatar for open_1
0
7K
Member Avatar for catastrophe2

hi So i made a simple game app, and am implementing music now i have easy and hard mode, and game over, as well as home screen homesecreen now plays music1, loops fine and all...then once player selects to play i want to stop the current music1, and start music …

Mobile Development android-development audio java
Member Avatar for Kubilay DoÄŸukan
0
329
Member Avatar for tarun_6

Can anyone guide me to find a way to convert swing application to Android app. If we just create the gui using xml is it enough to take the working code from the previous swing application to run on Android

Member Avatar for tarun_6
0
2K
Member Avatar for tarun_6
Member Avatar for rproffitt
0
389
Member Avatar for Dil_1

Hi everyone! What I want is to grab a specific textual data from a specif web-page of a website (not all the data containing on the web-page). Please suggest me the easiest way to do this. I look forward to your answers. Thank you!

Mobile Development android android-development
Member Avatar for Kubilay DoÄŸukan
0
347
Member Avatar for massivefermion

Apache Cordova is a framework that lets you build mobile applications using HTML5, CSS and Javascript for different mobile platforms. But because the applications you build with this framework live in a layer on the top of the native development tools of the targeted platform, they're slower than equivalent applications …

Mobile Development android-development apache ios
Member Avatar for rproffitt
0
655
Member Avatar for annya

Hello, I not an expert in android coding but I know little bit, that's why I bought this app from a person. Unfortunately the app author was not giving supporting to me that's why Iam posting this issue here. So please help me, my new app was working fine in …

Mobile Development android android-development java
Member Avatar for rproffitt
0
1K
Member Avatar for palash_1
Member Avatar for AssertNull
0
983
Member Avatar for Regiane

Hello, how are you? My name's Regie, I work for a technology company and recently one of our Developers wrote an article about the new Visual Studio Mobile Center. It would be great if you can take a look at it and maybe send us your feedback! https://blog.uruit.com/2017/04/05/mobile-visual-studio-mobile-center/ Also, we …

Mobile Development microsoft visual-studio
Member Avatar for rproffitt
0
394
Member Avatar for Joe_10

I have a simple form that submits a name to a database. the php works on the html form already. xml for form <Button android:id="@+id/button" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="Button" android:onClick="sumbitdata" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" tools:layout_constraintTop_creator="1" tools:layout_constraintRight_creator="1" android:layout_marginTop="53dp" app:layout_constraintTop_toBottomOf="@+id/name" tools:layout_constraintLeft_creator="1" /> <EditText android:id="@+id/name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ems="10" android:inputType="textPersonName" android:text="Name" tools:layout_constraintTop_creator="1" tools:layout_constraintRight_creator="1" android:layout_marginEnd="69dp" app:layout_constraintRight_toRightOf="parent" android:layout_marginTop="222dp" app:layout_constraintTop_toTopOf="parent" …

Mobile Development android android-development
Member Avatar for JamesCherrill
0
400
Member Avatar for Stefce

How do i get every user that installs my app but without asking the user to register anywhere also sorting by every time it joins (opens) the app. Any help will be appreciated.

Mobile Development android android-development
Member Avatar for rproffitt
0
293
Member Avatar for sireiz

Hi, I have a view say a Button, i made a border for it in a paint application, now i wwant to use that border as the border for my button, how can i do that in such a way that it looks well on all screen sizes?

Mobile Development android-development java
Member Avatar for shivya_1
0
258
Member Avatar for Naveen_20

![ThemeStyle.jpg](/attachments/large/4/31d4230c77b20fb9af32ad748aae54e3.jpg "align-center") ![styles.jpg](/attachments/large/4/0fc7d1c38e3f3fb412ee34a7a56e3abe.jpg "align-center") ![stylesv21.jpg](/attachments/large/4/bf208775fabcb23124fc6f1b79e86dae.jpg "align-center") ![activity_main.jpg](/attachments/large/4/579d91fae02cb95c1b34fc7d52c365a6.jpg "align-center") ![tool_bar.jpg](/attachments/large/4/38db3d667138e5709888f3aac97193ce.jpg "align-center") I tried various forums but no luck I couldn't figure out what's wrong with it

Mobile Development android-development
Member Avatar for rproffitt
0
906
Member Avatar for macdonald12

Dear contributers of Daniweb, Currently I'm working on an Android/Java project, where I'm running into a problem with the following code. private List<Property> filteredList; private List<Property> propertyList; public List<Property> getPropertyList() { Boolean useFilter = false; if (!filter_town.trim().equals("")) useFilter = true; if (filter_bedrooms > 0) useFilter = true; if (useFilter) { …

Mobile Development android android-development java
Member Avatar for JamesCherrill
0
314
Member Avatar for coroshea

In my AndroidManifest.xml file, I have the following definition for the EditText <EditText android:id="@+id/dob_aob" android:layout_width="match_parent" android:layout_height="@dimen/edtxt_height" android:layout_below="@+id/textView1" android:layout_marginTop="0dp" android:gravity="center_vertical" android:padding="10dp" android:background="#eed0d0" android:textSize="@dimen/edtxt_font_size" android:textColor="@android:color/black" android:textCursorDrawable="@null" android:imeOptions="actionGo" android:inputType="numbers" android:digits="*+-0123456789" android:ems="10"/> I.e.: The user enters an integer between 0 through 9 and the multiplication, addition, and subtraction symbols. The following came up on …

Mobile Development android android-development
Member Avatar for rproffitt
0
319
Member Avatar for Dani

I'm just laying here in bed browsing DaniWeb on my iPhone and I randomly clicked a link to the RSS feed. An iOS dialogue box popped up saying it was going to open in the News App. Then the Apple News app opened and it proceeded to tell me that …

Mobile Development apple ios iphone xml
Member Avatar for Dani
0
313
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 ipad iphone
Member Avatar for rproffitt
0
866
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 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 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?

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 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 android-development listview
0
405
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 image json
Member Avatar for md.Rayad
0
979
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 storage
Member Avatar for Andrew_35
0
450
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 …

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 android-development
Member Avatar for Oleg_3
0
383
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 …

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

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 image 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 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 android-development github
0
193

The End.