Mobile Development ๐Ÿ“ฑ | iOS and Android Programming

114 readers
1 users here now

A community for all things related to iOS and Android application development. Also check out /c/mobile and /c/swift.

founded 1 year ago
MODERATORS
1
 
 

Sorry if this is not the right place to ask this kind of question, my options on Lemmy are kind of limited.

I play around a lot with experimental types of music and have been using a series of poly-rythm soundscapes that I have created for sleep aid. A couple of friends tried out the stuff I created and said it was amazing for sleep and relaxation.

This gave me the idea for an app that created the poly-rythm soundscapes using simple(ish) formulas that allowed the user to change the scale, scale mode, duration, ambient effects, and poly-meter type to suit their preferences.

I am currently injured and am on disability so have all time and boredom in the world to throw into this project.

My entire programming experience was a single semester of Visual Basic in 2003.

Where would I begin to bring something like this into existence?

Thanks in advance.

2
 
 

So, I decided to resurrect a thing I was working on a ~year ago.

There I had to update a library (one of the Compose ones), I don't even remember the reason why anymore. And then all the hell broke loose: AGP, kotlin compiler, compose compiler, something-kotlin-stdlib, a billion of tiny separate androidx.* libs, even the damn Android Studio itself, all incompatible with each other, some renamed, some replaced by a different thing, some having version coming from unknown depths.

Couple of hours of "copypaste meaningless error message to google, get some 'change version of X to Y' from stackoverflow, click the elephant of misery button, wait, maybe click the run button, goto 1" later I wonder, how (if?) is it even feasible to "just" make and maintain an app for Android as a single developer.

How do you guys deal with it? Reading changelogs every morning on the toilet? Using some secret thirdparty BOM? Maybe a template project one can copypaste the gradle stuff from? Or just use Qt/flutter/godot/raw opengl and forget about all this misery?

3
 
 

I need to a) make a simple change and b) re-build WiFi module

How to do it? Firstly, where is in the repo the code of the WiFi module?

And how to compile the Wifi module only?

4
 
 

Been looking at dart-flutter relationship recently... seen what it can do... pretty amaizing! Two birds with one stone is real!

Before jumping to it, i soldem wonder;

  • what are the compromises that one would face upon embarking this?
  • can these comporises be that bad? (compared to native ios/android app dev)
  • how bad are the work-arounds (if they exist) to these compromises?

PS: any extra information would be highly appretiated ๐Ÿ˜Š

5
 
 

Ladies and Gentlemen, this is it.

i have given this project 2 weeks of my precious life, and even now the project spits on my face. Got less than 24 hrs to get his thing working!

Background:

let it be known on the get-go that i have zero experience on android development. i just started 2 weeks ago... So, like a good folk, i jumped into YouTube, looking for a playlist that could assist me on the project build, and found this. the old "monkey see monkey do" went well, until the 5th video, where he ran his application, and mine couldn't.

Maaan dependency hell is REAL!, and the tutor playlist was a year old. (a lot has changed since then?, maybe) fought that battle the whole week, until i got Gradle smiling again (My God! pheeeeew!) so the project should run now right?... WRONG!

Every time the app starts on my phone, it crashes IMMEDIATELY!

  • clear project cache and restart? Nothing!
  • dependency version change? Gradle doesn't build!

I'm in the middle of yanking my hair off my fiery head.

here is my logcat:

this one above says InflateException... jumped to the file that causes this (line 16): and here is my introduction_register_login_graph: and below is the fragment that is called first from the graph above:

with my inexperienced eyes, everything looks okay... but again, i'm 2 weeks old in android dev... HELP?

below are the dependencies:

dependencies {

`implementation("androidx.core:core-ktx:1.12.0")`

`implementation("androidx.lifecycle:lifecycle-runtime-ktx:2.6.1")`

`implementation("androidx.activity:activity-compose:1.7.2")`

`implementation(platform("androidx.compose:compose-bom:2023.03.00"))`

`implementation("androidx.compose.ui:ui")`

`implementation("androidx.compose.ui:ui-graphics")`

`implementation("androidx.compose.ui:ui-tooling-preview")`

`implementation("androidx.compose.material3:material3")`

`implementation("androidx.constraintlayout:constraintlayout:2.1.4")`

`implementation("com.google.firebase:firebase-firestore-ktx:24.7.1")`

`testImplementation("junit:junit:4.13.2")`

`androidTestImplementation("androidx.test.ext:junit:1.1.5")`

`androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")`

`androidTestImplementation(platform("androidx.compose:compose-bom:2023.03.00"))`

`androidTestImplementation("androidx.compose.ui:ui-test-junit4")`

`debugImplementation("androidx.compose.ui:ui-tooling")`

`debugImplementation("androidx.compose.ui:ui-test-manifest")`

`apply (plugin ="kotlin-kapt")`

`//loading button`

`implementation("br.com.simplepass:loading-button-android:2.2.0")`

`//Glide`

`implementation("com.github.bumptech.glide:glide:4.13.0")`

`//circular image`

`implementation("de.hdodenhof:circleimageview:3.1.0")`

`//viewpager2 indicatior`

implementation("io.github.vejei.viewpagerindicator:viewpagerindicator:1.0.0-alpha.1")

//stepView

`implementation("com.shuhart.stepview:stepview:1.5.1")`

`//Android Ktx`

`implementation("androidx.navigation:navigation-fragment-ktx:2.7.2")`

`// Dagger Core`

`implementation("com.google.dagger:dagger:2.44")`

`kapt("com.google.dagger:dagger-compiler:2.44")`

`//Dagger hilt`

`implementation("com.google.dagger:hilt-android:2.44")`

`kapt("com.google.dagger:hilt-compiler:2.44")`

`kapt("org.jetbrains.kotlinx:kotlinx-metadata-jvm:0.5.0")`

`// Import the BoM for the Firebase platform`

`implementation(platform("com.google.firebase:firebase-bom:32.2.3"))`

`// Add the dependency for the Firebase Authentication library`

`// When using the BoM, you don't specify versions in Firebase library dependencies

`implementation("com.google.firebase:firebase-auth-ktx")`

`// Also add the dependency for the Google Play services library and specify its version`

`implementation("com.google.android.gms:play-services-auth:20.7.0")`

}

6
8
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/mobiledev
 
 

cross-posted from: https://lemmy.ml/post/1550828

Download the latest TestFlight beta for iOS 16+

Hello, Mlem Community!

Tonight we bring you another update. Not as massive as the last updates, but still with some wonderful new goodies to test and enjoy! See below:

NEW ADDITIONS

  • New, gorgeous Profile tab!
  • Added the ability to delete posts and comments
  • Added option to show user's server in command and post views
  • Added Lemmy 0.18 new sort options
  • Updated reply field to display account name and the username you're replying to
  • Added setting for default sorting for comments and posts

BUG FIXES

  • Fixed subscribed communities only showing the first 10 communities
  • Fixed OP users not showing up as orange
  • Fixed account connection issues if the server domain name contained "v1" in it
  • Fixed favorites duplication issue in the community list
  • Fixed posts with no thumbnail URL displaying incorrectly

KNOWN ISSUES

  • Tapping comment text in profile does not navigate to comment in context. Tap comment link instead.
  • NSFW images embedded in description text do not blur. (this is a Lemmy issue)

MORE TO COME

  • Full a11y compliance which should work perfectly with iOS's Accessibility functionality like Guided Access and Screen Reader coming. Each build comes with increased functionality!
  • Messages Tab
  • New & improved fullscreen image viewer
  • Inbox notifications
  • Custom app icons

Again, please keep in mind that this is beta software. As such, it's not feature-complete and there will be bugs and unexpected behavior. Enjoy testing, and we look forward to hearing your bug reports via TestFlight and your feedback! You can comment here or come chat with us in The Mlem Space on Matrix.

Enjoy!

The Mlem Team

7
4
What's new in Xcode 15 (developer.apple.com)
submitted 1 year ago by [email protected] to c/mobiledev
 
 

Looks like a lot of nice new features this year. Having Xcode previews for UIKit apps will save me a ton of time.

8
 
 

Welcome! This community is intended to be a place to discuss software engineering and development on either of two major mobile operating systems.