adrian rowlands

Greenhorn
+ Follow
since Apr 30, 2021
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by adrian rowlands

Ye I can do that but I have an show all option in the spinner and id like that to always be first so the user doesn't have to go search for this
2 years ago
i have a table that i currently use to fill a spinner with in alphabetical order, i was wondering if there was a way where i could set a certain row as always top then order the rest below it in alphabetical order?



thats the code im currently using
2 years ago
Ok ill take a look thanks
2 years ago
Do you know any good tutorials that go through this?
2 years ago
So have a creates a basic app in android studio, for storing item information, so have title, value, category and an image, I've also added a barcode scanner. Is it possible to search the Internet for the data retrieved from the barcode and retrieve some information or a picture?

Thanks
2 years ago
Ok I will have a look at those two options, no the only errors i get in location is trying to retrieve the image but obviously its because its not actually there

Thanks
2 years ago
hey im trying to save an image from an imageview to a directory inside the application using android studio.



thats the code im using but my issue is that it doesnt acctual seem to save the image, the directory is empty when i look

i also have this inside the manifest


any help would be appreciated
2 years ago
Ok thanks, will look into, never dealt with this side so it's all new to me
3 years ago
Ok ill take a look, I'm just creating an app at home on my personal computer

Thanks
3 years ago
im trying to set up a basic login and register system on an app that will connect to xampp server on my pc using a physical device, when i type in the pc ip and xamp port in the browser of my device i can see the xamp page and my folders but in the app itself when i try adding to table or logging in i get this error

javax.net.ssl.SSLHandShakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found

any have any ideas on what this is and how to fix it?

3 years ago
adapter

3 years ago

[/code]
3 years ago
i have an app where i can store customer information and job details in a table, these details are then read and displayed on another activuty using recyclerview and cardviews , i have also set up the ability to click each one and load an update activity where it takes the information from the selected card and fills out edittexts on another activity this works for the edit text fields but i dont know how i can get this to select the right spinner item?
i have 2 spinners set up both filled with items from an xml file, how do i read through the spinner items and compare it to the stored string value and select that item when the activity loads?

update activity


3 years ago

Tim Holloway wrote:Don't despair. It's not that hard and it does work reliably. There's probably some simple mistake you made that, when fixed, magically makes the whole thing work. That's usually how it is for me. Although it usually takes 3-4 days of swearing and finally getting a junior programmer to point out I'm missing something trivial.

Being that this is Android, probably one of the trickiest things to know is what methods get called when, since Android does much of the calling, not your code. Adding some tracing statements to the log (or IDE breakpoints) can help with that.

If you're new to Java, though, learning Java AND Android at the same time is going to be harder than learning just Java.



I'll take a look in the later/morning what are tracing statements?
3 years ago

Tim Holloway wrote:I expected that you would say that.

But all that means to me is that either you've accidentally created more than one instance of your SQLiteDBOpenHelper class and haven't initialized the one you're currently using, or you've managed to nuke/re-initialize the one you were using.



well ive started again and followed a youtube tutorial to create a basicapp to add to database and update, and ive gone through it exactly and the update doesnt actually work so i give up
3 years ago