293 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Stefce

Does all .apk files can be decompiled no matter on how they are protected and secured, and recompile back in apk file? I have an apk file which i need the source code to change something a little bit. I tried using [javadecompilers](http://www.javadecompilers.com) but i did not get the main …

Mobile Development android-development
Member Avatar for Umar_35
0
2K
Member Avatar for priyamtheone

I'm broadcasting an intent in my app and receiving it with a broadcast receiver. I can handle the broadcasting and receiving. No problem with that. However, I want to register the receiver completely programmatically instead of doing it in the manifest file. Notice, that in the manifest file, there are …

Mobile Development java
Member Avatar for priyamtheone
0
74
Member Avatar for Mr.M

Hi DW, I'm experiencing an issue I've tried invalidating, fixed the offline sync but still I'm getting this error. My App uses Firebase FCM. On the dependencies I have `com.google.firebase:firebase-core:16.0.5 com.google.firebase:firebase-messaging:17.3.4` My implementation `com.android.support:appcompact-v7:28.0.0-alpha1` This implementation is underlined with a red line and I think it is what having the …

Mobile Development android android-development firebase
Member Avatar for Mr.M
0
52
Member Avatar for Shahrokh_1
Member Avatar for Szabi Zsoldos

Hi guys, I'm having a weird problem regarding the simple ListView. On my emulator everything is allright and the data is loaded correctly from JSON API, the data also loads on my device. The problem is that on my emulator, the listview is populated but on my real device, not, …

Member Avatar for abu_5
0
5K
Member Avatar for engrjd91

I am developing an android app for the first time and I wanted to make the sessions for login and logout. I saw that most of the people suggested using SharedPreferences. But how can I check if the user logged out? If the user does not and clicks on my …

Member Avatar for veery channA
0
18K
Member Avatar for Saboor880

I am making an adroid application. I am saving sales data on firebase with current date. I have formatted the System.currentTimeMillis() into SimpleDateFormat. The date is successfully stored on firebase . Now I want to retrieve sales between two dates. I made two demo sales, one on (30-5-2019) and second …

Mobile Development android-development firebase java
Member Avatar for Lye
1
5K
Member Avatar for John_165

In my main activity, I have two tab, named tab1 and tab 2. Tab 2 page consists of a listView and I use StreamSubscription to listen upload progress result. On tab2 action bar, it has one icon. When icon is pressed, it will navigate to pageC,which consists of listView, and …

Mobile Development listview
Member Avatar for John_165
0
221
Member Avatar for Dani

This page keeps crashing on my iPhone, both in Mobile Safari as well as Chrome. https://www.daniweb.com/connect/developers/endpoints

Mobile Development iphone
Member Avatar for Dani
1
2K
Member Avatar for Mr.M

Hi DW. I'm developing an App that uses the FCM notification, but the problem is that my code doesn't seem to get the actual data like when I extract the `message` or `body` it shows just the icon only if the notification was received when the App is open, and …

Member Avatar for Mr.M
0
1K
Member Avatar for John_165

When posting code, I get error > begin a line with 4 spaces in a row (or one tab), preceded by a blank line. 4+ spaces or tabs may not be used anywhere else.

Mobile Development first-post java
Member Avatar for Anninflow
0
3K
Member Avatar for SimonIoa

Hello i want to add fa fa-users (the users icon from font awesome) but when i do <i class="fa fa-users" aria-hidden="true"></i> i am not getting the icon, html displays the code of the font-f0c0 that is. Any guess why? p.s. i am using other fonts just fine e.g. contact, search …

Mobile Development html-css
Member Avatar for Dani
1
815
Member Avatar for Zohre_1

Hello I'm try to use a hardware to create key for encryption in mobile devices( in a model at first) this is my question: can i get my keys from TPM? If is it possible, how can i do it?

Mobile Development encryption
Member Avatar for Zohre_1
0
643
Member Avatar for KushMishra

Hi, I am an absolute beginner to Xamarin and just started to develop a small application wherein, I am not getting any idea about why the BindableProperty changes are not getting reflected inside the view model. Presently, I have written my BindableProperty in a separate Class and the code is …

Mobile Development android-development ios xamarin
Member Avatar for KushMishra
0
994
Member Avatar for Saboor880

Hi I am developing an app for a specific facebook page. The problem is that when i load URL in mywebview.loadURL(https://web.facebook.com/CoversShopping/). The page opens successfully but the page always reload when the oreintation changes. This problem only occurs for the above type Urls(i-e when I give the link of specific …

Mobile Development android android-development
Member Avatar for rproffitt
0
459
Member Avatar for Saboor880

I have made a simple app which gets curren location (latitude and longitude). It is working perfectly. But now i want to take location updates. For this i implemented LocationListener interface . I overridded the metod On location Change, but when i run the application, this method does not respond …

Mobile Development android android-development
0
2K
Member Avatar for Saboor880

Hello! I have installed android studio 3.0.1 in my laptop . I had some android projects in my desktop computer (with older version of android studio) But after installing latest version(3.0.1) of android studio in my laptop, i copied projects from my desktop to my laptop and opened that projects …

Mobile Development
0
439
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 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 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 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 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 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 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 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 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 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

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 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 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 laguardian

Hello guys! I'm trying to create a countdown timer for a memory app. The user is given about 5-10 seconds to look at the gridview of pictures then the countdown timer starts. I was wondering how I can achieve this. The code below shows the countdown timer which starts at …

Mobile Development android-development
Member Avatar for laguardian
0
1K
Member Avatar for jemdev03

Hello, I need help with android programming. The problem is that I can't make this portion of my codes to work the way I want to. I want to simply: - Delete a record inside the SQL lite database - Delete the record also inside the AlertDialog Single Choice Item …

Member Avatar for jemdev03
0
299
Member Avatar for SimonIoa

Hello i ve got this message from a fellow programmer. * Directly you load your site from your server in to android or IOS like iframe, we have the option in mobile device webview you can directly load your site url into the mobile app* and this * if you …

Mobile Development android android-development ios
Member Avatar for hericles
1
369
Member Avatar for James_43

Hi all, I've been trying to follow the basic Apple developer tutorial, where you create a food tracker app. I can not get one part of the code to work, and I can't see why. Not only is it exactly the same as in the example, but searches online also …

Mobile Development apple ide ios
Member Avatar for James_43
0
807
Member Avatar for SimonIoa

Hello has anyone build an app using Ionic Creator?

Mobile Development smartphone
Member Avatar for rproffitt
0
227
Member Avatar for SimonIoa

ello i am a bit confused because i asked a couple of programmers but i couldnt get a straight answer. I want to make my website -it is written in PHP, Javascript, Jquery- a multiplatform app. As far as i read flash builder for PHP with ZEND is the best …

Member Avatar for SimonIoa
0
460
Member Avatar for Macko888

Hi I am currently developing a mobile / tablet application and i've run into a stump. I have a webview that loads a form from a website that i have no control over, this website utilises the django platform. So the situation is this: The form on the foreign website …

Mobile Development android android-development json tablet
Member Avatar for Macko888
0
5K
Member Avatar for k99rs

Hi, I am trying to import the package com.google.android.gms.gcm.GoogleCloudMessaging into my project. I get an error saying the cannot resolve symbol. Can you please help me. Thanks in advanced.

Mobile Development android seo
Member Avatar for k99rs
0
212
Member Avatar for newcoder310

I have an idea for an android app/add-on. I'm basically a Java programmer and I can develop this using HTML/CSS/JQUERY etc. However, I have no idea on how to develop this for Andriod. Where would be a good place to getting start on app development.

Member Avatar for newcoder310
0
129
Member Avatar for WebMedia_1

everbody, pls i m working on android application with the side menu navigation drawer with fragment and webview but android back button key is not working. this my code Main Activity public class MainActivity extends Activity {String[] menutitles; TypedArray menuIcons; String[] pageUrl; // nav drawer title private CharSequence mDrawerTitle; private …

Mobile Development android android-development listview
Member Avatar for Karan_8
0
372
Member Avatar for Hendo

I have an app that uses GPS proximity alerts. I want to populate two textviews from my string.xml when the proximity alert fires off. Does anyone know how to do this?? Thanks, hendo

Mobile Development android-development xml
Member Avatar for peter_budo
0
162
Member Avatar for Hendo

Hi all, I'm writing a scavenger hunt app and want to use the Proximity Alert functions. I'm having a hard time to finding any decent tutorials to help me with this. Does anyone have a code snippet on it's use that I can go off of? Much appreciated, Hendo

Mobile Development android android-development
Member Avatar for Hendo
0
803
Member Avatar for OsaMasw

Hello guys , am new to Android Development, I've created many test apps for learning, using webview and lists and creating multiple activities, I have an application that get URL with JSON data contain url with streaming video and when click on button open VLC with URL provided. JSon FILE …

Mobile Development android android-development json video
Member Avatar for peter_budo
0
4K

The End.