1,245 Topics

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

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

Member Avatar for rproffitt
0
318
Member Avatar for charles_23
Member Avatar for Susan_5

I need a little advice. I am working on a webpage that includes tabbed panels that use hidden checkboxes to switch between panels and, for smaller devices, a collapsing menu that triggers with a hidden checkbox. I have tested this page on a number of browsers and operating systems (can't …

Member Avatar for gentlemedia
0
292
Member Avatar for ICHI_2
Member Avatar for ravindra_5

how to user select spinner json through submit report for date to date and select user name how in androis studio

0
162
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 …

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

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

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[] …

0
400
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 …

Member Avatar for mack_5
1
457
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

Member Avatar for Andrew_35
0
598
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
404
Member Avatar for Aarav

Hi, As you all know that, Android is a mobile operating system based on the Linux kernel and designed primarily for touchscreen mobile devices such as smartphones and tablets. While working on Android applications, I encountered an issue where I need to create a verticle bargraph which can be rotated …

Member Avatar for rproffitt
0
170
Member Avatar for Stefce
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
169
Member Avatar for HM
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 …

Member Avatar for imso
0
288
Member Avatar for panduranga_1

In Andrioid OS mobile, if you drag from top there will be many unread notifications, it is said that they are called push notifications. But in my mobile i am getting many such spam notifications every hour like movie updates etc, which are not required for me. How to disable …

Member Avatar for panduranga_1
0
270
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
159
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 …

Member Avatar for mcroni
0
697
Member Avatar for John_122

How can I freely obfuscate an Android App that I am creating with Xamarin? Proguard only works for trimming the app size, but not obfuscation. Thanks, John

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

0
205
Member Avatar for lewashby

My daughter has a Samsun Android tablet that has ran out of space so I purchased an sd card. The card is mounting and I reformatted it from the Android device but the device is still claiming to be full when she tries to install new apps. I tried this …

Member Avatar for rubberman
0
319
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; …

0
190
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 …

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

Member Avatar for rubberman
0
408

The End.