G33K-TRICKS - Your source to Tips and Tricks : android
Showing posts with label android. Show all posts
Showing posts with label android. Show all posts

Thursday, March 9, 2017

[SOLVED] WIFI not working after replacing /editing /modifying the wpa_supplicant.conf file



How to solve WIFI not working if WPA_supplicant.conf is modified or changed.

I ran into the problem one day when I was just playing around my Android phone's wpa_supplicant.conf file.
I happily rooted my phone and went to /data/misc/wifi folder and edited the file using root explorer and saved it. Till this point it was all looking so easy. I rebooted my phone and was surprised.
My Wifi was not switching On at all after replacing the wpa_supplicant.conf file.
Tried many things but did not solve the issue. Was thinking to factory reset my phone.
Somehow I found the solution to WIFI not working.

The reason was, when we edit the wpa_supplicant.conf file while saving the ownership to file changes as we will be editing the file as a root.

You can see from the screenshot, the ownername and ownergroup are changed to "root" instead they should be "wifi"

The solution to wifi not working is,
$ adb root
$ adb -d shell

# cd /data/misc/wifi
# chown system.wifi wpa_supplicant.conf
# reboot


Hope you find this useful.


Thursday, November 17, 2016

How to Run JAVA games with Android Phones



Like everyone else, I to had a question boggling me, whether I can run JAVA games/ app from my Android phones.
The Answer to it is Yes!!!
Yes, you can run the old JAR apps on your android phones using the utility explained below.


Netmite App Runner

You can download the app from PlayStore

Below are the features for Netmite App Runner

  • Among the famous apps to run Java games  & apps  (J2ME/MIDP – jar/jad) app on Android Phones
  • It is integrated with Browser-Browse any j2me site, click to run any jad/jar file.
  • You can immediately port your existing Java apps (jar/jad) to Android WITHOUT source code.
  • App is having integrated File explorer to load the java apps

Using JBED 

1. We need to Root your Android Phone. Rooting now a days is very easy.

2. Download JBED

3. Download lib jbedvm

4. Using ES Explorer, enable root access by going to the Settings.

5. Browse system/lib using the explorer. and copy and paste the lib jbeddm to it.

6. Launch JBED. And, you can normally install any java games on your Android.


Using PhoneME 

1. Install and use phoneMe.

2. Download the "phoneMe Feature" APK from internet and install on your phone.
http://davy.preuveneers.be/phoneme/?q=node/10

3. Also download and install OpenIntents File Manager

4. Download JADGen on PC and create a JAD file for any JAR file using the JADGen.

5. Now, copy both JAD and the respective JAR file into the same folder on your phone.

6. Open the phoneME app and run the game

Using JBLEND 

1. Download the JBlend archive file and extract the contents.

2. Copy the files on your phone.

3. Install the Root Explorer application.

4. Open Root Explorer and tap the "r/w" button in the upper corner. Copy the following files to the destination specified:
ibDxDrmJava.so – /system/lib
libjbmidpdy.so – /system/lib
libjbmidp.so – /system/lib
javax.obex.jar – /system/framework
MetaMidpPlayer.apk – /system/app
MidpPlayer.apk – /system/app

5.Copy the JAR files that you want to run to your phone.

6.Use JBlend to select the files to run them. 

Thursday, October 27, 2016

How to make mobile a webcamera



How to make your mobile a webcameraNot everyone has a laptop and not everyone has a Desktop PC with a Webcam. Now a days, not having a camera/webcamera is a big deal. Attending Skype Calls, Facebook Live streams and many other applications and website demands you to have a webcam.
When I say a webcam , its just a camera which can stream you over internet, hence the name 'web camera' aka webcam.

So, here I am going to tell you about a simple application that I have tried and tested to make your mobile phone as webcam and save money.
As I am talking about Skype video call, I think I should call this post of mine as "How to use Mobile phone as a webcam for Skype "


 IP WEBCAM
This one is simple and elegant application which you can install on your android phone from the Play Store.
IP Webcam turns your phone into a network camera with multiple viewing options. View your camera on any platform with VLC player or web browser. Stream video inside WiFi network without internet access.

Features include:
• Video upload to Dropbox, SFTP, FTP and Email using Filoader plugin
• Several web renderers to choose from: Flash, Javascript or built-in
• Video recording in WebM, MOV, MKV or MPEG4 (on Android 4.1+)
• Audio streaming in wav, opus and AAC (AAC requires Android 4.1+)
• Motion detection with sound trigger, Tasker integration.
• Date, time and battery level video overlay.
• Sensor data acquisition with online web graphing.
• Videochat support (video stream only for Windows and Linux via an universal MJPEG video streaming driver)
• Cloud push notifications on motion and sound, cloud recording for motion-triggered records, online video broadcasting powered by Ivideon.
• Extensive baby and pet monitor features: night vision, motion detection, sound detection.

Here is the link for IP WEBCAM. Install the app on your smartphone and Launch it.
There are plenty of things which are there in the mobile app, which you dont need to worry about.

Next Step is to Download the configuration software.Download from https://ip-webcam.appspot.com/
After installing the PC app and launching it, below screen will be shown
Click on Auto Detect.
Settings window

If everything works fine, the camera will be available in Windows software. If something is wrong, please check your firewall rules and your network by visiting your network camera in a web browser.

For example, in skypeTry restarting your PC if it does not work.
After restart, launch any application
say Skype and you can then configure your skype with the IP Cam.
In Skype, Go to Tools - Options - Video Settings .
Here You need to choose, MJPEG Camera
And Baam!!! all done.

You can see your pretty cat over your PC by using your phone.

In the similar way, you can config any Streaming application . You just need to use MJPEG camera as a webcam source.

Check Out the Latest Posts

Recent Posts Widget