Quantcast
Channel: User Mr.Goomer - Stack Overflow
Browsing latest articles
Browse All 42 View Live
↧

Comment by Mr.Goomer on Translate Custom Notification String

@javdromero Thanks for replying, Yes they are, and they are working,its just the description that mistranslate

View Article


Comment by Mr.Goomer on Bitmap crash activity

Unfortunately I dont, but I think its the byte[] to Bitmap causing this..

View Article


Comment by Mr.Goomer on Google Places API crash after installing app from...

Crash report added,thanks Abdullah

View Article

Comment by Mr.Goomer on Replace Instead Of Adding Item To Arraylist

Yes,and when I am trying to add another one,its just replace what I already added

View Article

Comment by Mr.Goomer on Replace Instead Of Adding Item To Arraylist

Hey androidLearner thank you for reply.Its still replacing the row instead of adding another one..

View Article


Comment by Mr.Goomer on Retrofit BaseUrl And API

Thanks for replying,but how can I use the rest of the path in the interface?

View Article

Comment by Mr.Goomer on Retrofit BaseUrl And API

Thanks,however I tried that before but I am getting this error: "E/Failure:: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $"

View Article

Comment by Mr.Goomer on OnClick Fragment Transactions Does Nothing

I replaced it, however, it's still doing nothing..

View Article


Comment by Mr.Goomer on Delete FireBase Value Without Knowing The Key Name

Hey Alex,Thank you very much,that worked but I wanted to delete the value without knowing the key name. Thanks again.

View Article


Comment by Mr.Goomer on Can't create new directory on internal storage

No, still doesn't write the folder...

View Article

Detect when user enter circle

I am working on a app based on google maps.I added a circle to the map ( https://ibb.co/PhZy0t6 ) and I have been tring to detect if the user entered the circle.The user is a marker I added with the...

View Article

Answer by Mr.Goomer for Tranfer Data from service to activity

So thanks to @Mohammadreza I used sharedPref on the service intent and its worked.This is what I did: public static final String MY_PREFS_NAME = "MyData";//Save SharedPref(BackgroundActivity):...

View Article

Tranfer Data from service to activity

When user kill app,my service is running in the background.It has a button which I can return to the map activity.However,when the user return to the app through the notification button after...

View Article


Component Listener

I have huawei phone and when I use foreground service on huawei its just stop the service.However, I found this solution ( https://stackoverflow.com/a/51726040/14446860 ).Because my app isn't enable in...

View Article

intent starts again after finish

I use a button to exit my app,however,when I am exit it and press the recent app button(picture below)and re-enter my app through the grey screen,instead of starting the app from the main activity,its...

View Article


Change Language Button

I am trying to create a button that changes the app language.I created the string file for the language and I tried this code for changing the default language but with no success:public void...

View Article

Answer by Mr.Goomer for Change Language Button

So I found this code that solved my problem in seconds:I created a new Java file name "MyContextWrapper" and inside I paste the following code: /** * Created by hosam azzam on 07/01/2017. * CopyRights...

View Article


Answer by Mr.Goomer for Fragment TextView Not Changed Back Locale

So after few hours,I figure out what the problem was.The problem was I extended FragmentActivity:public class MapsActivity extends **FragmentActivity** implements OnMapReadyCallback {And I should have...

View Article

Image may be NSFW.
Clik here to view.

Fragment TextView Not Changed Back Locale

I have very wierd problem when translate the app using translations editor.So I did like the following( https://stackoverflow.com/a/66483251/14446860 ) and it work,I have 3 activies,when I press the...

View Article

Service Notification Text Uses System Language

My app support 2 languages,English and Hebrew. When I change the language to English and minimize the app, the service notification text showing in Hebrew instead of English.Besides of the...

View Article

Answer by Mr.Goomer for Translate Custom Notification String

SOLUTION:So after long research ,because I am using RemoteView for the custom notification I used setTextViewText and added the...

View Article


Answer by Mr.Goomer for Bitmap crash activity

Okay so finally I got it working.The picture I was trying to transfer through intent was too big and that was the reason some of the photos were fine and some of them crashed my app.To solve it I used...

View Article


Answer by Mr.Goomer for Getting Parse Row Wrong ObjectId

So I fix it by adding these 2 lines:The first:MyData Editdata = (MyData) adapter.getItem(position);ToMyData Editdata = (MyData) adapter.getItem(finalPosition);The second line I added is(I added it...

View Article

Getting Parse Row Wrong ObjectId

I have a listview that contains 4 objects in it.When I long press one of them ,a menu open with "Delete" option that I can delete the row.However,I am getting the wrong row objetId for some reason and...

View Article

Answer by Mr.Goomer for Google Places API crash after installing app from...

So it was the proguard,I had to include the library in "proguard-rules.pro" like the following:-keep class com.seatgeek.*{ *; }-keep class com.seatgeek.placesautocomplete**{ *; }-keep class...

View Article


Retrofit BaseUrl And API

I am learnng how to use retrofit library,however I come across a little problem.So I set everything and run my project but first I git this error:Caused by: java.lang.IllegalArgumentException: baseUrl...

View Article

Answer by Mr.Goomer for OnClick Fragment Transactions Does Nothing

So I notice that when I press the button and open the drawer,the fragment is showing but next to drawer item. So I changed R.id.navMemories to drawer_layout and now its displayingthe final code: //...

View Article

Image may be NSFW.
Clik here to view.

Delete FireBase Value Without Knowing The Key Name

So I am working on the memories Firebase app and there is a stage where the user can upload photos to his memory. Each photo has uniq name "ImgLink0","ImgLink1",etc..The function I am working on is to...

View Article

Comment by Mr.Goomer on Get SerializedName Values

I am trying to get: @SerializedName("url") values

View Article



Answer by Mr.Goomer for Get SerializedName Values

So I managed to do it by running a loop: for (i in 0 until responseObject.pageInformation.count) { Log.e("Data","" + responseObject.data[i].images.downsized.url) }

View Article

Answer by Mr.Goomer for Detect when user enter circle

So finally thanks to @Axiumin ,I did this:@Overridepublic void onLocationChanged(Location location) { userLocationMarker.setPosition(new LatLng(location.getLatitude(), location.getLongitude()));...

View Article

Display toast after startActivityForResult

I am trying to display a toast message after the user gets to the main intent.I try to accomplish that by doing this by the code below but with no success:On the second activity(MapsActivity) I did:...

View Article

SMS isn't sending

I am using this code for sending SMS:public void sendSMS(String phoneNo, String msg) { try { SmsManager smsManager = SmsManager.getDefault(); smsManager.sendTextMessage(phoneNo, null, msg, null, null);...

View Article


--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article
Browsing latest articles
Browse All 42 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>