• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Helpppp

My phone is hacked and I need to delete the apps and files that are harmful.
there is nothing harmful in your pictures that i can see. if you would explain your situation in more detail, we can help you better. just by going from the photos, you are stressing for no reason.

like the others have said 9 times out of 10 people who claimed are hacked have not been in reality. it is mostly due to misunderstanding on how android works with a little bit of paranoia mixed in.

Apps Can't seem to make Android foreground service run all the time

Hello!

I've had a big issue with the service running on my Android app. The app is connected to a websocket, which at certain events will send data to the users. If the app is not actively listening, it will lose data.

For the above reason, I created a foreground service. However, it seems to be very unstable. As long as I have the power cord connected, it runs just fine, but as soon as I unplug it, it starts to (what I belive) pause the service.

I have added the service in AndroidManifest:

<service android:name=".QtAndroidService" android:stopWithTask="true">
<!-- Background running -->
<meta-data android:name="android.app.background_running" android:value="true"/>
<!-- Background running -->
</service>

It is created within the application, in parallel with the activity. The service extension looks like this:

public void onCreate() {
super.onCreate();
Log.i(TAG, "Creating Service");
}

@override
public void onDestroy() {
super.onDestroy();
Log.i(TAG, "Destroying Service");
}

@override
public int onStartCommand(Intent intent, int flags, int startId) {
NotificationChannel serviceChannel = new NotificationChannel(
CHANNEL_ID,
"Example Service Channel",
NotificationManager.IMPORTANCE_NONE
);

serviceChannel.setShowBadge(false);

NotificationManager manager = getSystemService(NotificationManager.class);
manager.createNotificationChannel(serviceChannel);

Intent notificationIntent = new Intent(this, org.qtproject.qt5.android.bindings.QtActivity.class);
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, notificationIntent, 0);
Notification notification = new NotificationCompat.Builder(this, CHANNEL_ID)
.setContentTitle("Stryket")
.setSmallIcon(R.drawable.icon)
.setContentIntent(pendingIntent)
.build();
startForeground(1, notification);

PowerManager powerManager = (PowerManager) getSystemService(POWER_SERVICE);
WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK,
"MyApp::MyWakelockTag");

wakeLock.acquire();

Timer timer = new Timer();

TimerTask t = new TimerTask() {
@override
public void run() {
DO_SOME_STUFF_WHILE_SERVICE_IS_RUNNING_FOREVER();
}
};
timer.scheduleAtFixedRate(t,0,10000);

return START_REDELIVER_INTENT;
}

@override
public IBinder onBind(Intent intent) {
return null;
}

I also added a wake lock of pure desperation. That does not solve the issue either....

I'm not sure I've done everything according to what a foreground service requires, but I do get the foreground service notification showing.

What am I missing getting this service to run forever?

TTS KEYBOARD ENTRY

I have lost my voice so I use two different TTS Apps, on my Android phone, to type a message and play it back.
I have a mini keyboard that makes it much easier to type the messages, however I can not use the the Keyboard to activate the 'play speech' feature of each App.
This a real pain because i have to go to my phone and Tap the icon to play the message.

Is there a way to use the keyboard, i.e. a combination of keys, or can I somehow program the keyboard to be able to activate the 'play speech' feature in the Apps on my phone?
Thanks,
Jack
what keyboard app are you using? maybe try a different tts keyboard that might have a better option for you.

I need your guidance guys, please :) Java/ android

Hello Cyber Philip
I have been trying to learn android java for about a year in my spare time, i have done some other programming in visual basic.

I am at the stage now where i am begining to understand the whole structure and can write code that will work after fixing all the bugs.

I suggest you get headfirst java, and work all through the book, then with a basic understanding of java you will be able to work through 3 more books. Headfirst android development, Android app development for dummies, and the big nerd ranch guide Android programming.
Check that the latest edition of these books is not for Kotlin, a 5 year old book will teach you most of what you need to know
The best way of course is to be taught by somone, so if you can find somone to help explain to you. Brilliant.
All the best
Longjohn

Trigger a task 2 hrs before calendar event

You might be better off just setting a calendar reminder to tell you to do it.

Tasker can be activated by a calendar event with a particular name, but I don't (on a quick look only) see a way of telling it to activate before that event, just when the event is happening. So I guess you could create an event "warm up Tesla" 2 hours before you need the car, which would trigger this action?

Need to access photos on locked Rugby Pro LTE

I have the proper credentials for the gmail account. Is there some way I could update thé phone so it would have the current gmail password?
unfortunately there is not much you can do unless there is a forget password function on the phone......which in most phones there isn't, especially when it comes to pins as the lockscreen security. the only way to unlock the phone is to do a hard rest. but you will trip frp (factory reset protection). as long as your google acct info is good then you should be fine. unless you used a different google account initially on the phone and never changed it.....then you will most likely need the original google acct info.

regardless your data is gone..........sorry

How to set and add widgets?

  1. Click "Widgets".
2. Choose from the 3 types of widgets.


3. Click the desired type and make the settings.


4. Click "Choose event" to custom your desired events.


5. Click "Appearance" to choose from dark and light.


6. Back to the homescreen.

7. Long press the empty area or pinch in two fingers.

8. Click "Add widget"


9. Find the Memory Timer widget.


10. Click to add.


11. Click the event to jump to the event detail page.

12. Drag the widget to change the place.


* Custom function only open to premium members.

What is Memory Timer premium?

1. Where to find member center?

Two methods:

  1. Click the diamond-like icon.

2) a.Click the profile photo to enter the personal center.




b. Click the "Member Center".


2. What are the premium privileges?


3. How to get privileges for free?
*Only for limited time1. Enter Member center.2. View the left times to get privileges in "Get for free ".




3. Click to watch ads and increase limits.



Filter

Back
Top Bottom