[Q] Popup message - Galaxy S 5 Q&A, Help & Troubleshooting

Hello,
since i've installed Lollipop on my S5, i get the message on the bottom of the screen from time to time.
The message is:
"alternating TimerReceiver onReceive() - attempt to invoke virtual method 'void android.app.AlarmManager.setExact(int,long, android.app.PendingIntent)' on a null object reference"
Screen from the device in attachments.
What does it mean and how to get rid of it?
Thanks,
pawjas21
SM-G900F
Android 5.0 (clean install)
G900FFXXU1BNL9

Related

MessageBox.Show() fails to show !?!?

Hello,
I write a WindowsMobile C# application (details below).
I added a try...catch statement, wrapping the Main Form, trying to show a message to my users to report of any issues. something like...
Code:
try {
Application.Run(new MainViewForm());
}
catch (Exception e) {
String msg = "Failed to execute properly :(\n" +
"Please report error to [email protected]\n" +
"I'll do my best to fix this!";
MessageBox.Show(msg, "Application Error");
}
Sadly, The exception is being called, but the dialog is not showed (a quick flickering appears and disappears.
I even tried to show another Form with my error but same thing happens.
I was wondering
1. how can I handle an error message that would succeed?
2. is there a BKM to handle app crash reporting?
I'd really appreciate help on this.
Thanks
My ReliRescue app for free at http://www.logelog.com/utils
- I'm using HTC Blackstone reflashed with Miri_WM65_21885_V33.0_Premium

[Q] ACTION_CALL Error to ACTION_DIAL

Hi,
I'm about to develop a little App and wanted to have a little Call-Button to call a fixed phonenumber(not in contactlist)
So I used this code:
Code:
public void onClick(View src) {
switch(src.getId()){
case R.id.ButtonCall:
Intent phonecall = new Intent(Intent.ACTION_CALL, Uri.parse("tel:11112222"));
startActivity(phonecall);
break;}
}
But wehen i run the App in AVD or also on my HTC Desire Stock Rom it always throws an Error : "The Application XYZ (process com.yyy.zzz.) has stoppen unexpectly. Please try again."
But when i use ACTION_DIAL it works, well it don't dials the number but the dial button shows up with the specified number...
So 1. what is my failer in the code (android.permission.CALL_PHONE is set) and 2. is there a possibility to prefent the app from crashing with ACTION_CALL and than use ACTION_DIAL instead? (Kind of Errorhandling...)
Thanks Spazzt
Ok, sry the error was that the permission was not set correctly...
But what when the user dont grants the permission, how do i do such an "error" handling? Or how can I test if the user has grated the permission or not and then if not use DIAL instead?
Idear?

[Q] CM7 Builtin Sceenshot error

The new screenshot option on the power button menu is giving me an error and saving the shot to "null". I just noticed this option after I updated to Nightly #126, so I'm not sure how "new" this is.
Its saying that the y value + (something or other1) has to be => (something or other2). I'll try to update with the actual values of the SOO# variables
I tried this in landscape and portrait and LCD density of 161 (default) and 187 (my preferred). Neither makes any difference to the error message.
Any ideas? Has this been seen before and my search missed it?
Thanks
Edit: The error message is "y+height<=bitmap.height()"

[Q] Unsent Messages Notification

Hi,
I search the internet for the notification "unsent messages" but I is not successful. I can not find the "badgeprovider" in running applications and "do not keep activities" in the development options. When I clear the notification it disappears "unsent messages", but when I return to the menu SMS / MMS it reappears and I can not get rid of it .. If someone has a real solution please. For even *#272#IMEI# does not work, I get a message marked with "UNKNOW APPLICATION". And by the way I also have another problem, I do not know if its just the ROM or another, but by the time the two touch buttons at the bottom of the phone no longer works, I have to press the "Home" button and keys working again again.
ROM: CM 10.2 Nightly
Kernel: KT-SGS4
Launcher: Nova
Widgets; ZooperWidget
Recovery: CWM Touch 6.0.3.6
Model: GT-I9505 16Go (Intl - jfltexx).
Sorry for my bad English, i'm French and i use Google Translation .
Attachement Image.
Here is the logcat, I do not know if this will help you :/.

ArrayList problem with If(position=.....)

Hello!
I have a little problem.
I had EditText filter, Array List(with Listview), and every position from list is opening new Activity(with some text) by "if(position==0,1,2,3...)"
But when i search with filter some text, and single rows are changing position after search, Activity called "Chicken" is geting a wrong String(from String.xml)
I know the problem is cause i use "if" with position, but i dont know how to solve that.
I don't even know what i should write to uncle google, Please help
using viewholder?
Use view.setTag(someText) on every list item
Then when it is clicked call getTag() to get the string you should pass to the activity
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
Maybe the problem you don't clear filtered list whenever you add new letter to EditText ??
if so, Use filteredList.clear(); once the text changed.
You have to call notify() on the listview or in the ListView adaper to tell the list that changes have been done.
GeknGekn said:
You have to call notify() on the listview or in the ListView adaper to tell the list that changes have been done.
Click to expand...
Click to collapse
I'm not sure whether notify() will work as well, I only know of notifyDatasetChanged(), which I already tested
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0

Categories

Resources