Member Avatar

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 app, then the sign in page won't show up! The user can immediately go to the main page. Here is my java class file where the user id and password would be asked... package example.hiitattendance; import android.os.Bundle; import android.app.Activity; import android.content.Intent; import android.content.SharedPreferences; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener; import …

Member Avatar
0
14,432
Member Avatar

Hey I want to Develop A mobile app in android for my food business. Can anyone suggest me any company and the cost of the App? Thanks

Member Avatar
2
1,644
Member Avatar

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 on (31-5-2019). For retrieving the sales data I have just put two above mentioned static dates in my Query and ran it . The problem is that it only gives me one sale record between two dates. It should give me 2 sale records. Below is my source code. // …

Member Avatar
1
2,346
Member Avatar

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 I use StreamSubscription too. The problem is I notice when I upload image in PageC, it will display the upload progress in Tab2 page first, then only it will display upload progress in pageC. Why would this happened? I defined subscription in both page as below StreamSubscription<UploadTaskResponse> _subscription; FlutterUploader uploader …

Member Avatar
0
113
Member Avatar

Many aspiring entrepreneurs want to start their business online but quite a few of this lot actually succeeds in turning their awesome application idea into reality. The question arises, what to do with a crazy app idea? Generally, businesses having their own mobile apps, ensure a strong connection with their customers or end-users. This connection nourishes when the business improves the overall user experience which further implies more sales and increasing revenue. Here in this article, we will unravel some of the most useful tips you can employ to give life to your app or a game idea within the …

0
386
Member Avatar

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

Member Avatar
2
1,549
Member Avatar

I have three tables(table, table2,table3). From table1 i want to return three rows: Title, Desc,time,'products' AS type From table2 i want to return three rows: group_title, group_desc, created,'groups' AS type From table3 i want to return three rows: name, occupation,birth,'users' AS type $sql = "SELECT DISTINCT * FROM (SELECT table1.title, table1.desc, table1.time,'products' AS type FROM table1 ORDER BY rand() LIMIT 5) AS T UNION ALL (SELECT table2.group_name,table2.group_desc,table2.created,'groups' AS type FROM tabl2 JOIN table1 ON table2.id = table1.id ORDER BY rand() LIMIT 5) UNION ALL (SELECT table3.name,table3.occupation,table3.birth,'users' AS type FROM table3 JOIN table1 ON table3.id = table1.id ORDER BY rand() LIMIT …

Member Avatar
1
1,347
Member Avatar

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 it shows the `title` and `body` if the notification is received when the App is not running. Basically what I'm trying is to get the `message` and put that on a textView so that it is seen on the actual App when you click the notification. Here is my `FirebaseMessagingService` …

Member Avatar
0
995
Member Avatar

Hello i want to show html5 video with content over it . Like background image. The whole div html5 video must be of 400px height <div style="height: 400px"> <video controls poster="{{item.media_pic}}"> <source src="{{item.image_path}}" type="video/webm" /> <source src="{{item.image_path}}" type="video/mp4"> <source src="{{item.image_path}}" type="video/ogg"> Your browser does not support HTML5 video. </video> <ion-row> <ion-col col-4> some text </ion-col> <ion-col col-8> button </ion-col> </ion-row> </div>

Member Avatar
0
1,482

The End.