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

App Inventor Drawables and getResource()?

Can anyone try to explain to me what 'getResource( )' is?

I have some code running inside my game loop, all I need to do is display images on the canvas/infront of the canvas:

p=new Paint();
Bitmap b=BitmapFactory.decodeResource(getResources(), R.drawable.img1);
p.setColor(Color.RED);
canvas.drawBitmap(b, 0, 0, p);

I've looking into a number of different methods and most use getResource(), what is it and why can it not be resolved in my code? Do I need to import a library or is it referring to another piece of my code?.

Backing Tracks Player

Hi everyone.
I am not shure if is allowed here to publish a post like this, so if not, I want to apologize to the administration team of this forum first.

I developed an app dedicated for gigging musitians to play with backing tracks live, as an ansver to very famous Apple solution, but on android platform.
(I and my friends musitians are using it in the giggs already with sucess so I decided to publish the app in a PlaySore)

The basic funtionality is:
- Autopause as default. (You can disable it for each song separately)
- Crete as many customs setlists as you want (even during your performance changes are allowed).
- Suport any audio format that supports your android device.
- Very quick media browser, sorted by folders, SD cart supported (included name filter).
- You can adjust the volume for each track separately.
- You can can assign multiple text changes inside the progress of your tracks, so no scrolling is needed.
- The player is "service based", so it never stops even if you accidentaly quit the aplication.
- The tho different layouts for portail and landscape. (changes during playback also allowed)

I would like if someone of gigging musitians will test it and post me an opinion to make it better.
If you are interesting, search for "StageBaxx" in PlayStore, and install a free demo.

Thank You very much.

Mr

I rebooted my Mobice REBEL but it still requires Privacy Protection Password of I don't know, how do I remove it?? please help
did you factory reset your phone? is the phone new or used? that is what it seems to be. if so then you tripped the phone's FRP (factory reset protection). you can't bypass this. the only way to get into your phone is to enter the google acct info that the phone was originally used during setup as @Dannydet suggested.....no other way around it.

Languages problem

With your Gboard on screen, tap on the wrench icon to get to its Settings menu -- in the Languages menu you can add or delete additional language keyboards; in the Preferences menu there's an option to 'Show language switch key' which adds a little globe shaped icon next to the space bar so if you have multiple language keyboards installed just tap on that icon to toggle from one to another; in the Advanced menu there's an option to 'Show app icon' which may or may not make things more convenient to access the Gboard app itself if needed.

Lots of other tips here:
https://www.computerworld.com/article/3048523/gboard-android-shortcuts.html

Accessories Chromebook or chromebox

well are you looking for mobility? or not?

i love my pixelbook. it is pretty much all i use.....especially now that i have stadia, i can even game on it now!!!!!!

....so yes my vote goes to the chromebook. plus i see a lot of folks come here asking for help with their android box with not much help as most of us here do not own an android box.

also i love asus products. i used to have a few of the tablets and i think i have a laptop from them lying around some place.

Battery slowly expanding?

I would also like to put as a side note that the phone used to come into contact with fresh water quite frequently but no salt water, I have never noticed the phone act strangely after coming into contact with water during any of those times nor had either lens fogged up. It never came into contact with water after the lens broke either.
welcome to AF!!!!!!!!!!!!!!!!!

are you like a lifeguard?????:p:p:p:p:p:p:p:p

if the back of the phone is expanding, i would bet my money on it being the battery. the s7 is getting pretty old and batteries tend to have a shelf life of about 3-4 years which puts your device right in the middle of it. i would suggest you start looking for an upgrade asap.

Filter

Back
Top Bottom