BOOT_COMPLETED intent not received on my application - Oppo Find 7 and 7a

Hi,
I'm testing develop my first android application. It's need to do something after phone booted. I googling and found the solution for that by create BOOT_COMPLETED intent receiver class and register on AndroidManifest.xml. It completely works if test run my app on android emulator bundled on Android Studio v.1.3.2. But when I try to testing my app on real device with my Oppo Find7a (ColorOS v.2.0.8i). It not working and I found wanring message from logcat on Android Studio like below
W/OppoAutostartManager﹕ *Do not want to launch app ... for broadcast Intent { act=android.intent.action.BOOT_COMPLETED ...
I don't know what its mean and what the working solution for make it accomplish.
Thk for help.
(Sorry for my english is not very strong. This is the first my own thread in the very very great forum for all developers and the beginner like me. I try to be better on next time )

Related

Android application developer Guides (for Dummies!)

Hi all,
I created this thread to collect informations, suggestions and links for who want to start learning developing android applications, whitout being an expert developer.
I like programming (vb6, vb.net ) but I don't know anything about android and linux, and just a little about java... Now I bought an Hero and I met android world... I downladed Eclipse IDE, Android SDK and I starded with dev guide on SDK... I just take a look to helloandorid application... it works! and now? In the xml layout seems easy to add View like buttons or text... but how can I handle to the user actions like the button click? in vb is simple to manage the buttonpressed event...!
If someone knows some simple guides about java, eclipse and android, please let links on this thread!
Thank you!
This one's awesome for learning how to create widgets:
http://nm-blog.sanid.com/wp-content/uploads/2009/07/android_howto-hellowidget.pdf
here are some other resources you could easily find by using google search:
http://www.helloandroid.com/tutorials
http://nexsoftware.net/wp/2009/07/29/tutorial-creating-a-custom-analogclock-widget/
http://www.anddev.org/index.php
Other than that, just start from the simplest Hello World -examples on Google's own Android site.
I'm going to start leurning Android programming
If ill find nice links i will post them here. Is there btw a way to program inside visual studio? Cuz all tutorials on the net are using eclipse.
You'll need to use Eclipse to my knowledge as its all Java based. The other alternatives are the IntelliJ plugin and doing it all from Command line/Text Editor.
Back to the Topic, I'm just trying my hand at a little Android development this week too, the tutorials and manuals at developer.android.com have been great!
Another thing, while I remember, if you've done any sort of .NET/ASP.NET development before you should find it a breeze, apart from the lack of Visual Studio (best IDE that ever was), they're VERY similar compared to some other languages/technologies I've used.
HeY Furios, Im new to android dev also, so if you don't mind, I would like to follow you and share any info I find with you and to whom ever else would like any info...Thanx
SDK 2.1
Hi Guys,
I went onto the SE developer site and got he x10 SDK, but it only gives me the choice for a 1.6 virtual Machine. Is there another place that I have to go to get the SDK for 2.1?
Thanks.
It would be cool to learn how to develop roms as well...or is that much deeper?
Well guy's start here on this thread first >>>http://forum.xda-developers.com/showthread.php?t=667298
Made me think
need minor help!
im actually developing a few games, but im running into some seemingly basic issues, that i seem i cannot get to work. basically a button mash game, single/multi player, well on multi player i cannot for my life get the multi player functions to work, as in in the end the game already knows who the winner is based on an integer score, then it is supposed to use an sqlite database to take the highest scored player such as P1 or P2 and allow them to input there name to be permanently displayed. it cannot seem to differentiate using IF statements, but the feature does work with single player flawlessly, i may link source code if asked, TY

[Q] Dreamweaver and phonegap + development

Last week I've gotten a HTC sensation and decided to start developing some web-like applications for it. As because I don't like Eclipse, I went with Dreamweaver CS5.5 and the included phonegap framework.
I build and emulate my application just fine, it works as expected in emulator, the .apk gets created, but when I try to do adb install haluza.apk, I get failure
Code:
Failure [INSTALL_FAILED_ALREADY_EXISTS]
which is obviously incorrect, as before the haluza.apk wasn't ever installed before. aswell adb uninstall haluza.apk reports only "Fail"
Are there some reserved words that shouldn't be used as application/site name ?
I'm more or less convinced it might be some dreamweaver thing, but am not sure
And forums are empty regarding this topic :s
Or the best solution is simply to install Eclipse and go with pure java programming ?
You try renaming it and trying an install?
Also is it just eclipse you don't like or is it java as well? Cause i cant stand eclipse either, but Intellij is a way better ide for java and their Android community edition is free
From something awesome
yep, I tried 3 different names.
Weeeell I've been doing some java at the Uni, but I don't like its appealing strictness. PHP = <3 ... But anyhow there's quite a lot demand for java developers so I guess I'll try to move on to it.
And I hate eclipse. I don't know why, it just appears SO SLOW, that it's unusable. Dreamweaver / VS.NET are like rockets compared to it.

Best tools for Android automated testing

Hi all,
(Hoping this is the right forum - its description includes "Discuss functional and performance testing tools and services" but if I select the Question box when posting I'm told "This is not a Q&A forum. By posting questions in this forum you are breaking the forum rules.")
I'm looking for tools to automate functional testing of Android apps. Robotium looks promising but I'd be interested to hear what more experienced Android developers think and if they have other recommendations. Cloud-based services may be interesting too.
Thanks
Mirko
Robotium is a nice choice. I've written a guide about it which you can take a look at.
Also the standard tool provided by the SDK, called the MonkeyRunner Tool, is also a great option.
EatHeat said:
Robotium is a nice choice. I've written a guide about it which you can take a look at.
Also the standard tool provided by the SDK, called the MonkeyRunner Tool, is also a great option.
Click to expand...
Click to collapse
Good tutorial, thanks.
The ability to control more than one device with MonkeyRunner sounds very interesting. I wonder if you could even simulate two users interacting with each other.
mikron said:
Good tutorial, thanks.
The ability to control more than one device with MonkeyRunner sounds very interesting. I wonder if you could even simulate two users interacting with each other.
Click to expand...
Click to collapse
You can do it with Robotium itself. Just specify the actions which you want sequentially, depending on your needs.
EatHeat said:
You can do it with Robotium itself. Just specify the actions which you want sequentially, depending on your needs.
Click to expand...
Click to collapse
I recently uese monkeyrunner on automated test. I really think it's easier than Robotium. Espesially the additional tool hierarchy to view perspective provided by the SDK is very useful.
fishwy said:
I recently uese monkeyrunner on automated test. I really think it's easier than Robotium. Espesially the additional tool hierarchy to view perspective provided by the SDK is very useful.
Click to expand...
Click to collapse
Maybe I should try using MonkeyRunner once after all. Though I never felt the urge to use anything else after Robotium.
Unit tests
Robotium
Initial set-up
Creating Robotium tests
Running your Robotium test
MonkeyRunner
Putting it all together
Android TV using monkey runner
Hi All,
Im new to this forum and Monkeyrunner as well. I tried connecting my cell phone using monkey runner and it works fine, but when I try to connect my Android TV, it doesn't connect. When I type adb devices, it gives output as <IP ADRRESS>:<port>, but waitforconnection command is not able to connect to my TV. My TV and my PC is on same network, I use ADB commands like logcat, push and pull works fine, but this connection using monkey runner is not working out.
Any suggestion guys.
Regards
Devendra
Alternative Tool: Ranorex
I have another recommendation for you: Ranorex. It supports both iOS and Android testing. You needn’t write any code because Ranorex lets you record your tests on real Android devices. It’s even possible to manage your devices over Wi-Fi from a desktop PC without having a USB connection to the devices.
Robotium is no doubt the best tool for android automation. To use it effectively, you can use this app: Robotium
Playstore link: https://play.google.com/store/apps/details?id=com.appzdevelopers.robotiumf
mikron said:
Hi all,
(Hoping this is the right forum - its description includes "Discuss functional and performance testing tools and services" but if I select the Question box when posting I'm told "This is not a Q&A forum. By posting questions in this forum you are breaking the forum rules.")
I'm looking for tools to automate functional testing of Android apps. Robotium looks promising but I'd be interested to hear what more experienced Android developers think and if they have other recommendations. Cloud-based services may be interesting too.
Thanks
Mirko
Click to expand...
Click to collapse
Hey Mirko,
Have you ever opted to try Cocos Test Automation? Cocos is providing a test automation service which allow you to automate your testing across over 80% of the relevant market share of real mobile devices. All you need to do is submit your games IPA or APK and our QA specialists will perform and record test flows. A test script will then be automatically replicated on hundreds of devices. A test report will be created and sent within 48 hours. Please feel free to contact me if you want to know more about this Cocos Service.
All the best,
Cocos Services
Crash log tool
I am not sure about automated testing by my favourite tool is Acralyzer. Best part is its free to install on your server and generates comprehensive reports.
I guess automated testing is also possible but it is something I have never tried.
thank you guys it's the first I heard of Robotium

[Q] What do I need to know to start functional testing?

Hi everyone,
I just took an internship position in which my first project is coming up with ways to QA our company's mobile application, which we do not personally develop. I thought that thorough test cases run with some kind of automation framework (like Appium) would be the best way to do this, but please correct me if I'm wrong.
I don't have any real Android application development experience. Our application is a client-side application, not web-based. I am assuming that I am going to need to teach myself a fair amount of Java, start looking into how to use the Android development kit, and then learn how to write and implement test scripts using an automation framework. Could anyone once over my thinking on how I need to progress here to make sure I'm heading down the right path to learn how to functionally test client side applications? Will I just need to know Java to write these test scripts, or do I need to learn Javascript?
cbutler94 said:
Hi everyone,
I just took an internship position in which my first project is coming up with ways to QA our company's mobile application, which we do not personally develop. I thought that thorough test cases run with some kind of automation framework (like Appium) would be the best way to do this, but please correct me if I'm wrong.
I don't have any real Android application development experience. Our application is a client-side application, not web-based. I am assuming that I am going to need to teach myself a fair amount of Java, start looking into how to use the Android development kit, and then learn how to write and implement test scripts using an automation framework. Could anyone once over my thinking on how I need to progress here to make sure I'm heading down the right path to learn how to functionally test client side applications? Will I just need to know Java to write these test scripts, or do I need to learn Javascript?
Click to expand...
Click to collapse
You could stick with Java if you wish. There may be more work involved. Android has a built in testing framework wrapped around JUnit. Check out the documentation on developer.android.com/tools/testing/testing_android.html.
Although I suppose JUnit is more suited for unit testing. It may be that using an automation framework like Appium may better suit your needs. It also looks like Appium provides support for testing in Java, so you may be able to skip learning Javascript.

[Mod/Hack] iWOWN i6 hr help on alternate app

Hi guys, I bought an iWOWn i6hr , it's working good but the application to manage it it's awful like all other lowcost smartband i owned.
I'm an android developer but without experience on modding so i want to ask you if there is a way to get the sdk or api for that smartband so i could write my own application for it and maybe starting to develop an universal app for all lowcost smartbands.
I hope you have adivices for me
Thank you!
I asked them to create an API to open it to developers, but chinese don't bother with these kind of thing I guess.
I'm sad that it doesn't work with Sleep as Android...
Try to ask them an API or something to connect with the iwown products, maybe you can have luck.
Or try to break their protocol.
There are other app that can comunicate with iwown producs.
https://play.google.com/store/apps/details?id=com.linkfit.heart

Categories

Resources